diff options
author | pukkandan <pukkandan@gmail.com> | 2021-02-04 13:26:01 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2021-02-04 13:26:22 +0530 |
commit | 2181983a0c97c6fd3bb681c86d64699051061c1c (patch) | |
tree | 3b352353ae60cf8a889cccf89cfffc60d4db5f0d /youtube_dlc/extractor/svt.py | |
parent | e29663c644a65846125f5792be52dc27feb68297 (diff) | |
download | hypervideo-pre-2181983a0c97c6fd3bb681c86d64699051061c1c.tar.lz hypervideo-pre-2181983a0c97c6fd3bb681c86d64699051061c1c.tar.xz hypervideo-pre-2181983a0c97c6fd3bb681c86d64699051061c1c.zip |
Update to ytdl-2021.02.04.1 except youtube
Diffstat (limited to 'youtube_dlc/extractor/svt.py')
-rw-r--r-- | youtube_dlc/extractor/svt.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/svt.py b/youtube_dlc/extractor/svt.py index a0b6ef4db..4acc29fce 100644 --- a/youtube_dlc/extractor/svt.py +++ b/youtube_dlc/extractor/svt.py @@ -255,8 +255,10 @@ class SVTPlayIE(SVTPlayBaseIE): svt_id = self._search_regex( (r'<video[^>]+data-video-id=["\']([\da-zA-Z-]+)', r'["\']videoSvtId["\']\s*:\s*["\']([\da-zA-Z-]+)', + r'["\']videoSvtId\\?["\']\s*:\s*\\?["\']([\da-zA-Z-]+)', r'"content"\s*:\s*{.*?"id"\s*:\s*"([\da-zA-Z-]+)"', - r'["\']svtId["\']\s*:\s*["\']([\da-zA-Z-]+)'), + r'["\']svtId["\']\s*:\s*["\']([\da-zA-Z-]+)', + r'["\']svtId\\?["\']\s*:\s*\\?["\']([\da-zA-Z-]+)'), webpage, 'video id') info_dict = self._extract_by_video_id(svt_id, webpage) |