1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 16:55:36 +08:00

[mpora] Fix player regex

This commit is contained in:
Sergey M․ 2014-07-09 19:12:42 +07:00
parent 6e1e0e4b5b
commit 411f691b21

View File

@ -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)