Perl: the Markov chain saw | |
PerlMonks |
Re^5: can't get WWW::Mechanize to sign in on JustAnswerby Anonymous Monk |
on May 28, 2011 at 01:27 UTC ( [id://907089]=note: print w/replies, xml ) | Need Help?? |
The Firefox browser supports javascript.
LiveHttpHeaders addon shows you the HTTP Request that gets sent so you don't have to reverse-engineer the javascript. Then simply get Mechanize to send the same HTTP Request, either through Mechanize calls, or by crafting a custom HTTP::Request. Or simply use WWW::Mechanize::Firefox. No, these instructions are not a solution to the OPs exact problem (not a fish), instead, they're the solution to every such problem (instructions on how to fish). Like Corion says, javascript is not magical
In Section
Seekers of Perl Wisdom
|
|