in reply to Re^11: Need help with WWW::Mechanize and Chrome cookies
in thread Need help with WWW::Mechanize and Chrome cookies
Yes. So what is the value of $foo? Did you print it? Is the loop necessary for the bug to happen, or does the error happen with the hardcoded value for $foo as well?
From the URL you sent to me, it seems that WWW::Mechanize returns absolute URLs, while WWW::Mechanize::Chrome returns whatever URLs are contained in the file. Simple printing of the values can confirm that to you.
Until WWW::Mechanize::Chrome achieves API parity with WWW::Mechanize in that part, consider converting the URL to absolute yourself.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^13: Need help with WWW::Mechanize and Chrome cookies
by bakiperl (Beadle) on Jul 11, 2021 at 16:50 UTC | |
by Corion (Patriarch) on Jul 11, 2021 at 19:07 UTC | |
by bakiperl (Beadle) on Jul 11, 2021 at 20:05 UTC | |
by bakiperl (Beadle) on Jul 11, 2021 at 20:32 UTC | |
by bakiperl (Beadle) on Jul 17, 2021 at 19:54 UTC | |
by Corion (Patriarch) on Jul 18, 2021 at 07:17 UTC | |
by bakiperl (Beadle) on Jul 18, 2021 at 16:31 UTC | |
|
In Section
Seekers of Perl Wisdom