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

fix requested changes

This commit is contained in:
kenavera 2018-03-31 16:56:40 +02:00
parent 7fe09be17b
commit 8966a60bfb

View File

@ -140,7 +140,8 @@ 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'"vodId"\s*:\s*"(.+?)"',
r'<[^>]+id=["\']vod-(\d+)'),
webpage, 'video_id', default=None)