efedotov has asked for the wisdom of the Perl Monks concerning the following question:
I'm new to Mechanize. I'm trying to scrape: http://www.penny-arcade.com/comic/1998/11/18
Specifically, the next button that leads to the next comic.The link has the text "Next" but Perl is reporting the error that it can't find the link. My code:
$agent->follow_link(text => 'Next');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mechanize can't find a link with hidden text.
by bitingduck (Deacon) on Mar 04, 2015 at 05:50 UTC | |
by efedotov (Initiate) on Mar 04, 2015 at 06:02 UTC | |
by efedotov (Initiate) on Mar 04, 2015 at 06:15 UTC | |
by bitingduck (Deacon) on Mar 04, 2015 at 06:49 UTC | |
by efedotov (Initiate) on Mar 04, 2015 at 17:40 UTC |