Browse Source

[options] Update --proxy description for SOCKS proxies

master
Yen Chi Hsuan 8 years ago
parent
commit
6ddb4888d2
No known key found for this signature in database GPG Key ID: 3FDDD575826C5C30
1 changed files with 4 additions and 1 deletions
  1. 5
      youtube_dl/options.py

5
youtube_dl/options.py

@ -188,7 +188,10 @@ def parseOpts(overrideArguments=None):
network.add_option(
'--proxy', dest='proxy',
default=None, metavar='URL',
help='Use the specified HTTP/HTTPS proxy. Pass in an empty string (--proxy "") for direct connection')
help='Use the specified HTTP/HTTPS/SOCKS proxy. To enable experimental '
'SOCKS proxy, specify a proper scheme. For example '
'socks5://127.0.0.1:1080/. Pass in an empty string (--proxy "") '
'for direct connection')
network.add_option(
'--socket-timeout',
dest='socket_timeout', type=float, default=None, metavar='SECONDS',

Loading…
Cancel
Save