Question : Ruby Mechanize - Click Link - How To?

I'm trying to build a web scraper to dissect a site, and I'm getting hung up on how to click the 'NEXT >' Link.

Whenever I run this in my code:
1:
puts mx_page_1.links.inspect


It returns the following link I want to click
1:
2:
3:
4:
, #<Mechanize::Page::Link 
"NEXT >" 
"javascript:__doPostBack('SearchResults1$dgResults$_ctl1$_ctl1','')">


how do I make my scraper click this?
thx,
-JW

Answer : Ruby Mechanize - Click Link - How To?

Random Solutions  
 
programming4us programming4us