Apr 5, 2011, 11:09 AM
Post #1 of 2
using WWW::Mechanize to spoof newer browser
I am writing a script that will use WWW::Mechanize to traverse a web site and get information, however this web site only lets certain browsers view it (namely Internet Explorer 4.0 or higher, Netscape 6.0 or higher, Mozilla .9 or higherOpera 5.0 or higher, Safari/Konqueror) and when I load the page in my script, it gives me an error message and says that i must use one of these browsers if i want to log into their site.
Is there any way around this? Can WWW::Mechanize be set to imitate different browsers? Thanks in advance