projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd3749e
)
fix youporn extractor's json search regex
author
chaos33
<919946h43k48>
Tue, 3 Mar 2015 14:53:05 +0000
(22:53 +0800)
committer
chaos33
<919946h43k48>
Tue, 3 Mar 2015 14:53:05 +0000
(22:53 +0800)
youtube_dl/extractor/youporn.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youporn.py
b/youtube_dl/extractor/youporn.py
index 107c9ac36e4f4f48bd768567e4399af15fd07743..a278386d4ded92b455ef99a0a5acc4935480efcd 100644
(file)
--- a/
youtube_dl/extractor/youporn.py
+++ b/
youtube_dl/extractor/youporn.py
@@
-47,7
+47,7
@@
class YouPornIE(InfoExtractor):
# Get JSON parameters
json_params = self._search_regex(
- r'var
currentVideo = new Video\((.*)\
)[,;]',
+ r'var
videoJason = (.*
)[,;]',
webpage, 'JSON parameters')
try:
params = json.loads(json_params)