From: Sergey M․ Date: Thu, 26 Feb 2015 15:10:49 +0000 (+0600) Subject: [mpora] Fix extraction X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=6317a3e9da42f5d60e514fddcb89eec7f5768294;p=youtube-dl [mpora] Fix extraction --- 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')