aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-02-19 01:53:41 +0700
committerSergey M <dstftw@gmail.com>2017-02-19 05:10:08 +0800
commit0a840f584c3f1fedb6957c05587dec697143f2d5 (patch)
tree553633b925896d96c2224f65922a73ff38f6f27a /youtube_dl/options.py
parent0016b84e16965a07c52946c4672363153e8b18a2 (diff)
Rename bypass geo restriction options
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 2e194f6dc..ae3f50754 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -550,16 +550,16 @@ def parseOpts(overrideArguments=None):
'(maximum possible number of seconds to sleep). Must only be used '
'along with --min-sleep-interval.'))
workarounds.add_option(
- '--bypass-geo',
- action='store_true', dest='bypass_geo_restriction', default=True,
+ '--geo-bypass',
+ action='store_true', dest='geo_bypass', default=True,
help='Bypass geographic restriction via faking X-Forwarded-For HTTP header (experimental)')
workarounds.add_option(
- '--no-bypass-geo',
- action='store_false', dest='bypass_geo_restriction', default=True,
+ '--no-geo-bypass',
+ action='store_false', dest='geo_bypass', default=True,
help='Do not bypass geographic restriction via faking X-Forwarded-For HTTP header (experimental)')
workarounds.add_option(
- '--bypass-geo-as-country', metavar='CODE',
- dest='bypass_geo_restriction_as_country', default=None,
+ '--geo-bypass-country', metavar='CODE',
+ dest='geo_bypass_country', default=None,
help='Force bypass geographic restriction with explicitly provided two-letter ISO 3166-2 country code (experimental)')
verbosity = optparse.OptionGroup(parser, 'Verbosity / Simulation Options')