aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/extractor/theplatform.py
diff options
context:
space:
mode:
authornixxo <nixxo@protonmail.com>2021-01-07 16:49:07 +0100
committerGitHub <noreply@github.com>2021-01-07 16:49:07 +0100
commit1c3a61baae8f9aea1fa5610317e9bfd63a259d2d (patch)
tree27b312678d5eb1bed87ebb0af9f453fbfa94a424 /youtube_dlc/extractor/theplatform.py
parent727006d9515441ae44dd034955fd220d5afed9a6 (diff)
parent9d88274ca2e5248481204e753b458e3a4eeac60e (diff)
downloadhypervideo-pre-1c3a61baae8f9aea1fa5610317e9bfd63a259d2d.tar.lz
hypervideo-pre-1c3a61baae8f9aea1fa5610317e9bfd63a259d2d.tar.xz
hypervideo-pre-1c3a61baae8f9aea1fa5610317e9bfd63a259d2d.zip
Merge branch 'master' into akamai-fix
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')