Li Chen wrote:
I want to download all the mp3 files from this website:
But I cannot see the link to each mp3 file in the source file. I wonder
how I can find out each link for the mp3 in source file.
A> What’s the relation to the language Ruby here?
#Use Ruby script to download a webpage ranging from 15274.html to
and here is an example
#download a webpage based on an address
create the address
(15274…15334) .to_a.each do |i|
addresses<<(address1 + i.to_s+ address3)
#download the files
open(a_uri) do |a_file|
a_file.each_line do |a_line|