Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Mechanize downloading image WWW::Mechanize::Page::Link
Kyle Hunter
2/23/2008 10:01:00 PM
Hello,
I've got an html page that contains images that have text with the name
of the images. I'm using Mechanize to easily extract the URLs of the
images.
page.links.text(/jpg|png|gif/)
Unfortunately, I'm not sure as to the most efficient or simple way of
downloading these images using Mechanize. I was thinking about just
making an array containing all of the hrefs, and going through that.
Is there a better way?
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Mechanize downloading image WWW::Mechanize::Page::Link
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password