[medialaan] Fix vod id

pull/8/head
kenavera 7 years ago committed by Sergey M
parent 3e78d23b57
commit 0b4bbcdcb6

@ -141,6 +141,7 @@ class MedialaanIE(GigyaBaseIE):
vod_id = config.get('vodId') or self._search_regex( 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+)'), r'<[^>]+id=["\']vod-(\d+)'),
webpage, 'video_id', default=None) webpage, 'video_id', default=None)

Loading…
Cancel
Save