mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 03:32:05 +00:00
[options] Update --proxy description for SOCKS proxies
This commit is contained in:
parent
fa5cb8d021
commit
6ddb4888d2
1 changed files with 4 additions and 1 deletions
|
@ -188,7 +188,10 @@ 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 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(
|
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',
|
||||||
|
|
Loading…
Reference in a new issue