1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-05 02:32:44 +01:00

[svtplay] Update API URL (closes #13767)

This commit is contained in:
Sergey M․ 2017-07-29 15:25:32 +07:00
parent 95908ce453
commit 2a7a823211
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -181,7 +181,7 @@ def _real_extract(self, url):
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(