aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/extractor/theplatform.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan@gmail.com>2021-01-01 17:56:37 +0530
committerpukkandan <pukkandan@gmail.com>2021-01-05 00:02:27 +0530
commit29f7c58aafb25a094e267a8a3fb355e102e42792 (patch)
tree5537f53fb970bc5b29370f97e8f190a6e4dc7d4e /youtube_dlc/extractor/theplatform.py
parentc2b5f3114ff0f2888af211323ad60505d87fb2fd (diff)
downloadhypervideo-pre-29f7c58aafb25a094e267a8a3fb355e102e42792.tar.lz
hypervideo-pre-29f7c58aafb25a094e267a8a3fb355e102e42792.tar.xz
hypervideo-pre-29f7c58aafb25a094e267a8a3fb355e102e42792.zip
Update to ytdl-2021.01.03
Diffstat (limited to 'youtube_dlc/extractor/theplatform.py')
-rw-r--r--youtube_dlc/extractor/theplatform.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dlc/extractor/theplatform.py b/youtube_dlc/extractor/theplatform.py
index 41bfbe80f..adfe11e31 100644
--- a/youtube_dlc/extractor/theplatform.py
+++ b/youtube_dlc/extractor/theplatform.py
@@ -234,6 +234,9 @@ class ThePlatformIE(ThePlatformBaseIE, AdobePassIE):
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')