mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-15 13:47:48 +01:00
[svtplay] Update API URL (closes #13767)
This commit is contained in:
parent
95908ce453
commit
2a7a823211
@ -181,7 +181,7 @@ class SVTPlayIE(SVTBaseIE):
|
|||||||
|
|
||||||
if video_id:
|
if video_id:
|
||||||
data = self._download_json(
|
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)
|
info_dict = self._extract_video(data, video_id)
|
||||||
if not info_dict.get('title'):
|
if not info_dict.get('title'):
|
||||||
info_dict['title'] = re.sub(
|
info_dict['title'] = re.sub(
|
||||||
|
Loading…
Reference in New Issue
Block a user