Add experimental geo restriction bypass mechanism
[youtube-dl] / youtube_dl / __init__.py
index 5c5b8094bc1b6cbc68b09eba85b06a63a2ee785d..94f461a78847efd43a1a921ba0688b0cf3daf138 100644 (file)
@@ -414,6 +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,
     }
 
     with YoutubeDL(ydl_opts) as ydl: