From: Niklas Frykholm Date: 2002-01-16T00:58:17+09:00 Subject: Re: grabbing stuff from web pages [Pierre-Charles David]: > I have not tested it, but RAA contains a library called WebFetcher > which is designed to ease this kind of things. I don't know if it will > solve the 'Error 302' issue though. Yes it does. I'm the author so I should know ;) Here is a webfetcher script for downloading the cover image: require 'webfetcher' url = 'http://www.amazon.com/exec/obidos/ASIN/0201708426/' im = WebFetcher::Page.url(url).images.find {|i| i.url['MZ']}.save('cov.jpg') If you want to try the module you can get the latest version (0.5.3) here: http://www.acc.umu.se/~r2d2/programming/ruby/webfetcher/ The RAA entry is not completely up to date. I will fix it as soon as I can remember my passphrase. ;) // Niklas