Browse Source

[mpora] Fix player regex

totalwebcasting
Sergey M․ 11 years ago
parent
commit
411f691b21
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/mpora.py

+ 1
- 1
youtube_dl/extractor/mpora.py View File

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