mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-03 05:53:02 +08:00
Fix regex for video id
This commit is contained in:
parent
190f6c936b
commit
7fe09be17b
@ -140,7 +140,7 @@ class MedialaanIE(GigyaBaseIE):
|
||||
'\\\\', '\\').replace(r'\"', '"').replace(r"\'", "'"))
|
||||
|
||||
vod_id = config.get('vodId') or self._search_regex(
|
||||
(r'\\"vodId\\"\s*:\s*\\"(.+?)\\"',
|
||||
(r'\"vodId\"\s*:\s*\"(.+?)\"',
|
||||
r'<[^>]+id=["\']vod-(\d+)'),
|
||||
webpage, 'video_id', default=None)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user