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!
initial hacking in of socks4/5 support
you can now specify socks4 or socks5
youtube-dl is released to the public domain. This module would introduce a dependency on MIT-licensed sources.
Got it, fair enough. I'll close this pull request then.
I've written an public domain socks wrapper for python: