Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 examining the Monastery: (8)
As of 2015-07-05 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls