From: Sergey M․ Date: Wed, 9 Jul 2014 12:12:42 +0000 (+0700) Subject: [mpora] Fix player regex X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=411f691b213f12d8020547316fb6c16239732a35;p=youtube-dl [mpora] Fix player regex --- diff --git a/youtube_dl/extractor/mpora.py b/youtube_dl/extractor/mpora.py index 39d6feb98..387935d4d 100644 --- a/youtube_dl/extractor/mpora.py +++ b/youtube_dl/extractor/mpora.py @@ -28,7 +28,7 @@ class MporaIE(InfoExtractor): webpage = self._download_webpage(url, video_id) data_json = self._search_regex( - r"new FM\.Player\('[^']+',\s*(\{.*?)\);\n", webpage, 'json') + r"new FM\.Player\('[^']+',\s*(\{.*?)\).player;", webpage, 'json') data = json.loads(data_json)