mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-07 07:27:15 +08:00
fix issue #26428
This commit is contained in:
parent
10709fc7c6
commit
f7f61c45f4
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user