aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2014-07-09 19:12:42 +0700
committerSergey M․ <[email protected]>2014-07-09 19:12:42 +0700
commit411f691b213f12d8020547316fb6c16239732a35 (patch)
treea46139ecbfb4f26cad06a731075783c5114e8ca5
parent6e1e0e4b5b1952b17007cf6489e0d3e2bc2a513a (diff)
downloadyoutube-dl-411f691b213f12d8020547316fb6c16239732a35.tar.gz
youtube-dl-411f691b213f12d8020547316fb6c16239732a35.zip
[mpora] Fix player regex
-rw-r--r--youtube_dl/extractor/mpora.py2
1 files changed, 1 insertions, 1 deletions
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)