From: Vlad Smith Date: 2009-07-01T02:39:50+09:00 Subject: ruby (mechanize , net/http) Hi guys. I`m using mechanize to get some images from the web application. I have 2 problems: 1-st : I can`t catch the links. The whole link looks like And there`re couple of these that i try to catch with a singe regexp i tried this : final.links_with(:href => %r{/switch_accounts.html/} ).each do |link| puts link.href, link.text end but it doesn`t display anything, but i`m pretty much sure there`re those links in the 'final' webpage The second problem - how can i actually save the images to a selected folder(assuming i have the links for them)? Thatnks everybody, any ideas are really appreciated -- Posted via http://www.ruby-forum.com/.