Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: WWW::Mechanize and Cookies generated through Javascriptby rowdog (Curate) |
on Aug 03, 2010 at 11:56 UTC ( [id://852645]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|