XP is just a number | |
PerlMonks |
WWW::Mechanize doesn't respect <base>?by Arik123 (Beadle) |
on Apr 26, 2021 at 08:38 UTC ( [id://11131723]=perlquestion: print w/replies, xml ) | Need Help?? |
Arik123 has asked for the wisdom of the Perl Monks concerning the following question: I do something like
It prints 'http://domain.com/page' although the page contains the line <base href="http://domain.com/">. As a result, all the (relative) links are broken:
prints things like "http://domain.com/page/page2" instead of "http://domain.com/page2" Any way to fix it, without the need to regex the page myself for the Base tag? Thanks!
Back to
Seekers of Perl Wisdom
|
|