Hi guys.
Im 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 <a href =
"https://…/reports/switch_accounts.html?.."See full report
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 doesnt 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