1
0
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:
Barak Tawily 2018-11-06 17:18:21 +02:00 committed by GitHub
parent 626fcaa22a
commit 04e7bf92a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(