[svtplay] Update API URL (closes #13767)
authorSergey M․ <dstftw@gmail.com>
Sat, 29 Jul 2017 08:25:32 +0000 (15:25 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 29 Jul 2017 08:25:32 +0000 (15:25 +0700)
youtube_dl/extractor/svt.py

index 1b5afb73ee473b23e78c27caba6708ce9ceb348f..38a505f9ccc9818e8dae8ed95ec8ec32457d6384 100644 (file)
@@ -181,7 +181,7 @@ class SVTPlayIE(SVTBaseIE):
 
         if video_id:
             data = self._download_json(
-                'http://www.svt.se/videoplayer-api/video/%s' % video_id, video_id)
+                'https://api.svt.se/videoplayer-api/video/%s' % video_id, video_id)
             info_dict = self._extract_video(data, video_id)
             if not info_dict.get('title'):
                 info_dict['title'] = re.sub(