Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2017-11-18 10:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?