[medialaan] Fix vod id
authorkenavera <kenavera@users.noreply.github.com>
Sat, 31 Mar 2018 15:14:49 +0000 (17:14 +0200)
committerSergey M <dstftw@gmail.com>
Sat, 31 Mar 2018 15:14:49 +0000 (22:14 +0700)
youtube_dl/extractor/medialaan.py

index f8c30052f32486f511622656bdadbcf91f80717c..50d5db80276d3be6e68a773dbe5827a29555dff7 100644 (file)
@@ -141,6 +141,7 @@ class MedialaanIE(GigyaBaseIE):
 
         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)