in reply to Re^4: can't get WWW::Mechanize to sign in on JustAnswer
in thread can't get WWW::Mechanize to sign in on JustAnswer
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