in reply to Why does HTTP::Cookies and/or LWP add Google cookies to my cookie jar when visiting another site?
There are two easy ways where Google cookies could come into the mix. One is, that your cookie file is already filled with them. Then the easy solution would be to delete these lines.
The second thing is that maybe one of the URLs you fetch redirects to Google, for whatever reason. One approach to see the requests that LWP makes would be to use LWP::ConsoleLogger
use LWP::ConsoleLogger::Easy qw( debug_ua ); debug_ua($browser);
... and then watch as the requests scroll by.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Why does HTTP::Cookies and/or LWP add Google cookies to my cookie jar when visiting another site?
by Polyglot (Chaplain) on Apr 27, 2022 at 14:27 UTC | |
by hippo (Archbishop) on Apr 27, 2022 at 14:43 UTC | |
by Polyglot (Chaplain) on Apr 27, 2022 at 15:23 UTC | |
by NERDVANA (Priest) on Apr 29, 2022 at 08:57 UTC |