0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-30 03:33:02 +00:00

[svtplay] Update API endpoint (closes #20430)

This commit is contained in:
Sergey M․ 2019-03-21 22:39:35 +07:00
parent 0a8e251b35
commit c4580580f5
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -185,7 +185,7 @@ def _adjust_title(self, info):
def _extract_by_video_id(self, video_id, webpage=None):
data = self._download_json(
'https://api.svt.se/videoplayer-api/video/%s' % video_id,
'https://api.svt.se/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'):