projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e1e0e4
)
[mpora] Fix player regex
author
Sergey M․
<dstftw@gmail.com>
Wed, 9 Jul 2014 12:12:42 +0000
(19:12 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 9 Jul 2014 12:12:42 +0000
(19:12 +0700)
youtube_dl/extractor/mpora.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/mpora.py
b/youtube_dl/extractor/mpora.py
index 39d6feb98d171f16b2ae5d69d71cde67b3a21372..387935d4db784641377b72f5be9ec5e7649f5908 100644
(file)
--- 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)