mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Updated gen-card-via-proxy.pl
This commit is contained in:
parent
e1f65eae90
commit
babb967041
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ die "card not found" unless $finded;
|
||||||
my $mech = WWW::Mechanize->new( autocheck => 1 );
|
my $mech = WWW::Mechanize->new( autocheck => 1 );
|
||||||
my $parser = HTML::TreeBuilder->new();
|
my $parser = HTML::TreeBuilder->new();
|
||||||
|
|
||||||
$ENV{'HTTP_PROXY'} = 'http://login:password@proxyserver';
|
$ENV{'HTTP_PROXY'} = 'http://login:password@proxyserver:port';
|
||||||
$mech->env_proxy();
|
$mech->env_proxy();
|
||||||
|
|
||||||
$mech->get("http://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=" . $multiverses[0] );
|
$mech->get("http://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=" . $multiverses[0] );
|
||||||
|
|
Loading…
Reference in a new issue