diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-02-26 21:10:49 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-02-26 21:10:49 +0600 |
commit | 6317a3e9da42f5d60e514fddcb89eec7f5768294 (patch) | |
tree | edc2fb2fc1c5e59d5468fc8f0119734c0936fb1d /youtube_dl/extractor | |
parent | 7ab7c9e93290f575747c1790c4aecf2055227a8d (diff) |
[mpora] Fix extraction
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/mpora.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mpora.py b/youtube_dl/extractor/mpora.py index 6db3c67a5..a07d28928 100644 --- a/youtube_dl/extractor/mpora.py +++ b/youtube_dl/extractor/mpora.py @@ -25,7 +25,9 @@ class MporaIE(InfoExtractor): webpage = self._download_webpage(url, video_id) data_json = self._search_regex( - r"new FM\.Player\('[^']+',\s*(\{.*?)\).player;", webpage, 'json') + [r"new FM\.Player\('[^']+',\s*(\{.*?)\).player;", + r"new\s+FM\.Kaltura\.Player\('[^']+'\s*,\s*({.+?})\);"], + webpage, 'json') data = self._parse_json(data_json, video_id) uploader = data['info_overlay'].get('username') |