mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-18 06:47:17 +08:00
Update --help documentation for SOCKS proxy to include authentication syntax
This commit is contained in:
parent
6d0630d880
commit
3cd4ff0d4a
@ -204,9 +204,11 @@ def parseOpts(overrideArguments=None):
|
||||
'--proxy', dest='proxy',
|
||||
default=None, metavar='URL',
|
||||
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')
|
||||
'SOCKS proxy, specify a proper scheme. a proper scheme. '
|
||||
'For example socks5://hostname:port/ or '
|
||||
'socks5://username:password@hostname:port/ for username and '
|
||||
'password authentication. Pass in an empty string (--proxy "") for '
|
||||
'direct connection.')
|
||||
network.add_option(
|
||||
'--socket-timeout',
|
||||
dest='socket_timeout', type=float, default=None, metavar='SECONDS',
|
||||
|
Loading…
x
Reference in New Issue
Block a user