go ahead... be a heretic | |
PerlMonks |
Re: Cookies, JavaScript and User Agent Problemsby keszler (Priest) |
on Oct 25, 2011 at 01:01 UTC ( [id://933512]=note: print w/replies, xml ) | Need Help?? |
Your first, commented out, cookie_jar line is fine; it should be outside the loop. I'd put it right after you create $ua. What seems to me to be missing is the bit where you log in. It's likely that the site only assigns session cookies, so you need to login each time you start scraping.
In Section
Seekers of Perl Wisdom
|
|