Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
WWW::Mechanize is behaving as a browser.
It is the stupid servers/cgi programs which is making assumptions, basically expecting a specific brand of browser and exploding when it gets something different. So if you're going to fool these stupid programs, you have to pretend you are that specific brand of browser. The way you do this is by using a regular browser to navigate the website successfully while you record the HTTP conversation with HTTP::Recorder/WireShark/Ethereal/LiveHTTPHeaders... and then you configure WWW::Mechanize to send similar headers.... In reply to Re: www::mechanize not behaving as browser?
by Anonymous Monk
|
|