in reply to Re: jQuery & Perl?
in thread jQuery & Perl?
"How can WWW::Mechanize use javascript? You can't. JavaScript is entirely client-based, and WWW::Mechanize is a client that doesn't understand JavaScript. See the top part of this FAQ."
So can you suggest a way to identify the link and have mechanize click it? I think I 'might' be able to get it done with mech->link somehow? For instance, between the a tags, it has something like "ContestPop(334455)" as part of the link. Is there a way that if perl parses the content from the page, and finds anything like "ContestPop(334455)" in a link, it automatically follows it? Keep in mind the contest pop number could change, so what type of operator could I use with mech->link to have it follow a link that 'sort of' matches what I'm looking for?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: jQuery & Perl?
by Corion (Patriarch) on Sep 22, 2014 at 18:14 UTC | |
by jellisii2 (Hermit) on Sep 23, 2014 at 11:54 UTC |