mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08: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…
Add table
Add a link
Reference in a new issue