From a7513787a4dc1f327da751da545edb32175a977a Mon Sep 17 00:00:00 2001 From: Barak Tawily Date: Fri, 23 Nov 2018 22:49:14 +0200 Subject: [PATCH] Update options.py --- youtube_dl/options.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/youtube_dl/options.py b/youtube_dl/options.py index a89d602a8..e7dea1172 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -198,6 +198,11 @@ def parseOpts(overrideArguments=None): action='store_true', dest='no_color', default=False, help='Do not emit color codes in output') + general.add_option( + '--skip-http-head', + action='store_const', default=False, dest='generic_skip_http_head', + help='Skip the initial HTTP head request', + ) network = optparse.OptionGroup(parser, 'Network Options') network.add_option( @@ -226,12 +231,6 @@ def parseOpts(overrideArguments=None): action='store_const', const='::', dest='source_address', 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')