1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-03 05:33:09 +08:00

Fix regex for video id

This commit is contained in:
kenavera 2018-03-30 10:08:46 +02:00
parent 190f6c936b
commit 7fe09be17b

View File

@ -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)