[medialaan] Fix vod id

This commit is contained in:
kenavera 2018-03-31 17:14:49 +02:00 committed by Sergey M
parent 3e78d23b57
commit 0b4bbcdcb6

View file

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