in reply to Download a file with WWW::Mechanize
I'm sure this is not WWW::Mechanize issue because this simple script works for me:
What HTML do you have?#!/usr/bin/perl use strict; use warnings; use WWW::Mechanize; my $mech = WWW::Mechanize->new(); #$mech->agent_alias("Windows IE 6"); $mech->get("http://dl.opensubtitles.org/en/download/file/1953419460"); $mech->save_content("result.srt");
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Download a file with WWW::Mechanize
by Limbic~Region (Chancellor) on Apr 21, 2013 at 15:44 UTC | |
by Anonymous Monk on Apr 22, 2013 at 00:17 UTC |
In Section
Seekers of Perl Wisdom