From the docs:
$mech->agent_alias('Windows Mozilla') is probably sufficient. You can use $mech->known_agent_aliases() to get a list of the agent aliases built into WWW::Mechanize.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
| [reply] [d/l] [select] |
Oh, this i tried... And more complex variations too, like:
verify_hostname => 0,noproxy => 0,cookie_jar=>{'ASP.NET_SessionId'=>'ihbh5neysr4cxybrgsskbm45'},agent=>"Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0" and other possible parameters.
| [reply] |
read the docs :) ->res->headers->as_string | [reply] |
Thanks.
However to understand the difference between WWW::Mechanize and Firefox i need the headers before get( $start_page ). The $mech->res->headers->as_string is not defined there. Sorry, if i misunderstood your reply.
| [reply] |