youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 6317a3e9da42f5d60e514fddcb89eec7f5768294
parent 7ab7c9e93290f575747c1790c4aecf2055227a8d
Author: Sergey M․ <dstftw@gmail.com>
Date:   Thu, 26 Feb 2015 21:10:49 +0600

[mpora] Fix extraction

Diffstat:
Myoutube_dl/extractor/mpora.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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')