Rename bypass geo restriction options
[youtube-dl] / youtube_dl / __init__.py
index 94f461a78847efd43a1a921ba0688b0cf3daf138..f91d29a7b832d473c9876f9e8a455844b94f3cc0 100644 (file)
@@ -414,8 +414,8 @@ def _real_main(argv=None):
         'cn_verification_proxy': opts.cn_verification_proxy,
         'geo_verification_proxy': opts.geo_verification_proxy,
         'config_location': opts.config_location,
-        'bypass_geo_restriction': opts.bypass_geo_restriction,
-        'bypass_geo_restriction_as_country': opts.bypass_geo_restriction_as_country,
+        'geo_bypass': opts.geo_bypass,
+        'geo_bypass_country': opts.geo_bypass_country,
     }
 
     with YoutubeDL(ydl_opts) as ydl: