1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-07 07:27:15 +08:00
This commit is contained in:
Håkan Waara 2020-08-25 17:20:21 +02:00
parent 10709fc7c6
commit f7f61c45f4

View File

@ -225,7 +225,8 @@ class SVTPlayIE(SVTPlayBaseIE):
return info_dict return info_dict
svt_id = self._search_regex( svt_id = self._search_regex(
r'<video[^>]+data-video-id=["\']([\da-zA-Z-]+)', (r'<video[^>]+data-video-id=["\']([\da-zA-Z-]+)',
r'"content":\{"id":"([\da-zA-Z-]+)'),
webpage, 'video id') webpage, 'video id')
return self._extract_by_video_id(svt_id, webpage) return self._extract_by_video_id(svt_id, webpage)