mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-23 14:57:51 +08:00
skip-http-head flag added
This commit is contained in:
parent
626fcaa22a
commit
04e7bf92a0
@ -226,6 +226,13 @@ def parseOpts(overrideArguments=None):
|
|||||||
action='store_const', const='::', dest='source_address',
|
action='store_const', const='::', dest='source_address',
|
||||||
help='Make all connections via IPv6',
|
help='Make all connections via IPv6',
|
||||||
)
|
)
|
||||||
|
network.add_option(
|
||||||
|
'--skip-http-head',
|
||||||
|
action='store_const', default=False, dest='skip_http_head',
|
||||||
|
help='Skip the initial HTTP head request',
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
geo = optparse.OptionGroup(parser, 'Geo Restriction')
|
geo = optparse.OptionGroup(parser, 'Geo Restriction')
|
||||||
geo.add_option(
|
geo.add_option(
|
||||||
|
Loading…
Reference in New Issue
Block a user