commit: 2a7a82321135bc59364c91caddde4211f378785b
parent 95908ce45382a72be26e918f8db1809b0ce81190
Author: Sergey M․ <dstftw@gmail.com>
Date: Sat, 29 Jul 2017 15:25:32 +0700
[svtplay] Update API URL (closes #13767)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/svt.py b/youtube_dl/extractor/svt.py
@@ -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(