[mpora] Fix player regex

pull/8/head
Sergey M․ 11 years ago
parent 6e1e0e4b5b
commit 411f691b21

@ -28,7 +28,7 @@ class MporaIE(InfoExtractor):
webpage = self._download_webpage(url, video_id) webpage = self._download_webpage(url, video_id)
data_json = self._search_regex( 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) data = json.loads(data_json)

Loading…
Cancel
Save