N
Newb Newb
How to download picture from the particular url ?
THanks Much
THanks Much
Newb said:How to download picture from the particular url ?
THanks Much
Lex said:using Mechanize you could do it like this ( if I remember correctly ) :
agent = WWW::Mechanize.new
link = some_site.com/whatever.jpg
agent.get(link).save_as(File.basename(link))
Newb said:How about implementing using 'open uri'
Help needed..
Newb said:How to download picture from the particular url ?
THanks Much
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.