aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNigel Taylor <njtaylor0101@gmail.com>2012-11-01 22:48:15 +0000
committerNigel Taylor <njtaylor0101@gmail.com>2012-11-01 22:48:15 +0000
commit9f9664fa303271fc277e2ef742b0739f619a3cae (patch)
treeee20deae375a3c0e302beed34d4bb456ad4613fd
parent2f343e41e788f35b08f1439adb38fd2e87d9abdb (diff)
downloadget-flash-videos-9f9664fa303271fc277e2ef742b0739f619a3cae.tar.gz
Only socks proxy was working change to allow http proxy to work.
-rw-r--r--lib/FlashVideo/Mechanize.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/FlashVideo/Mechanize.pm b/lib/FlashVideo/Mechanize.pm
index bc799db..13489db 100644
--- a/lib/FlashVideo/Mechanize.pm
+++ b/lib/FlashVideo/Mechanize.pm
@@ -27,11 +27,11 @@ sub new {
$proxy = "socks://$host:$port";
- print STDERR "Using proxy server $proxy\n"
- if $App::get_flash_videos::opt{debug};
-
- $browser->proxy([qw[http https]] => $proxy);
}
+ print STDERR "Using proxy server $proxy\n"
+ if $App::get_flash_videos::opt{debug};
+
+ $browser->proxy([qw[http https]] => $proxy);
}
if($browser->get_socks_proxy) {