[svtplay] Update API URL (closes #21075)
authorSergey M․ <dstftw@gmail.com>
Sun, 12 May 2019 16:23:29 +0000 (23:23 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 12 May 2019 16:24:01 +0000 (23:24 +0700)
youtube_dl/extractor/svt.py

index 7aa1b591949b298f5b1eee1d4c57e23e7d889d5f..0901c3163e6cab4723d451b30df8574e359ba899 100644 (file)
@@ -185,7 +185,7 @@ class SVTPlayIE(SVTPlayBaseIE):
 
     def _extract_by_video_id(self, video_id, webpage=None):
         data = self._download_json(
-            'https://api.svt.se/video/%s' % video_id,
+            'https://api.svt.se/videoplayer-api/video/%s' % video_id,
             video_id, headers=self.geo_verification_headers())
         info_dict = self._extract_video(data, video_id)
         if not info_dict.get('title'):