]> jfr.im git - yt-dlp.git/blobdiff - youtube_dlc/extractor/theplatform.py
Update to ytdl-2021.01.03
[yt-dlp.git] / youtube_dlc / extractor / theplatform.py
index 41bfbe80f48c7fa41638aadd53fe8769a783c6fe..adfe11e314212e9c9e50491c747f3560a0e32bfe 100644 (file)
@@ -234,6 +234,9 @@ def hex_to_bytes(hex):
 
     def _real_extract(self, url):
         url, smuggled_data = unsmuggle_url(url, {})
+        self._initialize_geo_bypass({
+            'countries': smuggled_data.get('geo_countries'),
+        })
 
         mobj = re.match(self._VALID_URL, url)
         provider_id = mobj.group('provider_id')