Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: WWW::Mechanize and Cookies generated through Javascript

by rowdog (Curate)
on Aug 03, 2010 at 11:56 UTC ( #852645=note: print w/ replies, xml ) Need Help??


in reply to WWW::Mechanize and Cookies generated through Javascript

Jethro's advice is good but I would be careful about launching a browser out of a mod_perl instance. I would try to scrape the cookie from the source with a regex first, then turn to the heavier user agents. An alternative might be WWW::Scripter with WWW::Scripter::Plugin::JavaScript which only pulls in spidermonkey rather than a full browser.


Comment on Re: WWW::Mechanize and Cookies generated through Javascript

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-12-19 06:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (72 votes), past polls