]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/nationalgeographic.py
debian/{compat,control}: Update compat to 10.
[youtubedl] / youtube_dl / extractor / nationalgeographic.py
index b91d865286e47affdc66c138dde9507963d62733..9e8d28f4848165ccdfda771800031e6c68359684 100644 (file)
@@ -111,7 +111,7 @@ class NationalGeographicIE(ThePlatformIE, AdobePassIE):
         release_url = self._search_regex(
             r'video_auth_playlist_url\s*=\s*"([^"]+)"',
             webpage, 'release url')
-        theplatform_path = self._search_regex(r'https?://link.theplatform.com/s/([^?]+)', release_url, 'theplatform path')
+        theplatform_path = self._search_regex(r'https?://link\.theplatform\.com/s/([^?]+)', release_url, 'theplatform path')
         video_id = theplatform_path.split('/')[-1]
         query = {
             'mbr': 'true',