X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fsocks.py;h=63d19b3a5214221afa71a6d43bde36a39c13cd4b;hb=582be3584761030bfbee13b0c6ea9e6ce2c8a790;hp=104807242bd3b0f35e0423faa096540be29d0a45;hpb=073d5bf583e8ff8ae71efca5fc6fae0743ac8961;p=youtube-dl diff --git a/youtube_dl/socks.py b/youtube_dl/socks.py index 104807242..63d19b3a5 100644 --- a/youtube_dl/socks.py +++ b/youtube_dl/socks.py @@ -103,6 +103,7 @@ class ProxyType(object): SOCKS4A = 1 SOCKS5 = 2 + Proxy = collections.namedtuple('Proxy', ( 'type', 'host', 'port', 'username', 'password', 'remote_dns'))