diff options
author | Nigel Taylor <njtaylor0101@gmail.com> | 2012-11-01 22:48:15 +0000 |
---|---|---|
committer | Nigel Taylor <njtaylor0101@gmail.com> | 2012-11-01 22:48:15 +0000 |
commit | 9f9664fa303271fc277e2ef742b0739f619a3cae (patch) | |
tree | ee20deae375a3c0e302beed34d4bb456ad4613fd | |
parent | 2f343e41e788f35b08f1439adb38fd2e87d9abdb (diff) | |
download | get-flash-videos-9f9664fa303271fc277e2ef742b0739f619a3cae.tar.gz |
Only socks proxy was working change to allow http proxy to work.
-rw-r--r-- | lib/FlashVideo/Mechanize.pm | 8 |
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) { |