rg3/youtube-dl — pull request #305 by thmttch (2012-03-08 06:40:27+00:00)
Title: Initial implementation of SOCKS4/SOCKS5 support

Hey,

I hacked together support for SOCKS proxies using some code I found (https://gist.github.com/869791). It works for me, but I haven't tested it any more than that (yet).

How do you feel about putting this back into master? There's a few problems right now, mainly that the socks code is in separate files (and they're not tiny, ~400 lines), so it breaks the nice, clean "download this script and run it" experience.

Let me know what you think. Cheers!

Matt