Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
to export proxy does not work to download youtube videos #805
Comments
|
same problem with the current version http_proxy=xx.xx.xx.xx:xxx youtube-dl http://www.youtube.com/watch?v=6UztEfwHt14 I´m using Debian 6.0 |
|
To strex... |
|
Is 2013.02.25 the last version that worked to you? |
|
[2013-04-28 08:59] [PACMAN] downgraded youtube-dl (2013.02.25-1 -> 2012.12.31-1) $ youtube-dl http://www.youtube.com/watch?v=DicLEWiFjtk -o - | mplayer - maybe due to my Archlinux + mplayer2. |
|
Could you try to run 2013.03.29 or the first releases of April (http://youtube-dl.org/downloads/) to discover the version that breaks proxy support. |
|
Fallback one by one, finally localed it. since http://youtube-dl.org/downloads/2013.04.03, it had this problem. |
|
Thanks, that will make a bit easier to catch the error. |
|
No No No sorry |
|
Ok, could you post the output when running |
|
$ youtube-dl -v http://www.youtube.com/watch?v=lm8N0eW_tZI $ youtube-dl -v http://www.youtube.com/watch?v=lm8N0eW_tZI |
|
[youtube] lm8N0eW_tZI: Downloading video info webpage |
|
Is that the continuation of the output? |
|
Yes |
|
@jaimeMF No, specifying an URL is perfectly fine. The problem is that the commit switches to HTTPS by default. I'm not sure whether that's the result of a broken proxy, but there are good reasons not to download via HTTP by default (namely, that HTTP is filtered by the Chinese Firewall). |
|
@westmin You can simply
Do you know if your proxy supports HTTPS? I.e. does
fix the problem for you? |
|
@westmin Download the zipfile from :https://github.com/rg3/youtube-dl/archive/927c8c49246bb7ae98596b3cf518425d46f39100.zip, extract it and run Use this if you don't have git, otherwise follow phihag method. |
|
ok. let me try both of your way......... |
|
@phihag It works! |
|
I check that commit. found:
|
|
@westmin Thanks, we'll use the HTTPS proxy even if only a HTTP one is specified then. |
what output?
$ youtube-dl http://www.youtube.com/watch?v=lm8N0eW_tZI
[youtube] Setting language
[youtube] lm8N0eW_tZI: Downloading video webpage
[youtube] lm8N0eW_tZI: Downloading video info webpage
ERROR: unable to download video info webpage: <urlopen error [Errno 110] Connection timed out>
what problem?
I'm behind the China GFW, need to connect to youtube completely via proxy. But even I 'export http_proxy=http://my_proxy_server:port', it turns out time out problem during the downloading video info webpage stage.
I'm sure my proxy server is working fine. And when I'm using VPN, it can download. So I doubt if it uses proxy in that stage.
My OS is Archlinux. It causes this problem after the last update. Before that, it works fine.