projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79adb09
)
[YouPorn] Fix extractor
author
Yen Chi Hsuan
<yan12125@gmail.com>
Tue, 28 Apr 2015 20:18:53 +0000
(
04:18
+0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Wed, 29 Apr 2015 16:50:48 +0000
(
00:50
+0800)
youtube_dl/extractor/youporn.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youporn.py
b/youtube_dl/extractor/youporn.py
index 6abe72f739b63d8b39d8cdfc5bfccf70dc545715..4ba7c36db78fb457b63e05fe161a75b00383c78c 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'v
ar\s+videoJa?son\s*=\s*({.+?});
',
+ [r'v
ideoJa?son\s*=\s*({.+})
',
r'var\s+currentVideo\s*=\s*new\s+Video\((.+?)\)[,;]'],
webpage, 'JSON parameters')
try: