Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: WWW::Mechanize doesn't respect <base>? (patch)

by Arik123 (Beadle)
on May 11, 2021 at 08:33 UTC ( #11132386=note: print w/replies, xml ) Need Help??


in reply to Re: WWW::Mechanize doesn't respect <base>? (patch)
in thread WWW::Mechanize doesn't respect <base>?

After many experiments, I can say this patch works perfectly. Thanks!

BTW, immediately after the call to $mech->get(), $mech->base() still gives the wrong value. It get fixed after a call to $mech->links(), which is OK for me.

  • Comment on Re^2: WWW::Mechanize doesn't respect <base>? (patch)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11132386]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2021-10-26 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (90 votes). Check out past polls.

    Notices?