Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: can't get WWW::Mechanize to sign in on JustAnswer

by Anonymous Monk
on May 28, 2011 at 01:27 UTC ( #907089=note: print w/ replies, xml ) Need Help??


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


Comment on Re^5: can't get WWW::Mechanize to sign in on JustAnswer

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://907089]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-12-27 20:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls