in reply to Cookies, JavaScript and User Agent Problems
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cookies, JavaScript and User Agent Problems
by koolgirl (Hermit) on Oct 25, 2011 at 01:10 UTC | |
by DanielSpaniel (Scribe) on Oct 25, 2011 at 02:12 UTC |