all of a sudden I have a strange problem with WWW::Mechanize that I've boiled down to this:
What happens is that the output file contains only part of the expected content (a fragment of an html-document that looks as if it is truncated somewhere).use WWW::Mechanize(); my $mech = WWW::Mechanize->new; $mech->agent_alias( 'Linux Mozilla' ); my $url = "http://www.economist.com/news/world-week/21716670-politics- +week/print"; $mech->get($url, ":content_file" => "output.html");
wget has no problems to download the url correctly.
What could be the issue here?
Many thanks!
In reply to problem with WWW::Mech by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |