1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 00:52:55 +08:00

Update description of proxy help in options.p to include using HTTP/HTTPS

This commit is contained in:
Seth Prime 2017-11-01 21:47:12 -03:00
parent 7d6e533fb3
commit f00f965c43

View File

@ -203,11 +203,12 @@ def parseOpts(overrideArguments=None):
network.add_option( network.add_option(
'--proxy', dest='proxy', '--proxy', dest='proxy',
default=None, metavar='URL', default=None, metavar='URL',
help='Use the specified HTTP/HTTPS/SOCKS proxy. To enable experimental ' help='Use the specified HTTP/HTTPS/SOCKS proxy. To enable HTTP/HTTPS '
'SOCKS proxy, specify a proper scheme. For example ' 'or experimental SOCKS proxy, specify a proper scheme. For example '
'socks5://hostname:port/ or socks5://username:password@hostname:port/ ' 'protocol://hostname:port/ or protocol://username:password@hostname:port/ '
'for username and password authentication. Pass in an empty string ' 'for username and password authentication. The protocol attribute '
'(--proxy "") for direct connection.') 'can be exchanged with a string like http, https or socks5. Pass '
'in an empty string (--proxy "") for direct connection.')
network.add_option( network.add_option(
'--socket-timeout', '--socket-timeout',
dest='socket_timeout', type=float, default=None, metavar='SECONDS', dest='socket_timeout', type=float, default=None, metavar='SECONDS',