aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorchaos33 <919946h43k48>2015-03-03 22:53:05 +0800
committerchaos33 <919946h43k48>2015-03-03 22:53:05 +0800
commite0d0572b731b79393a5c5121acf4a43017160936 (patch)
tree57e5c138218a1a987389ba18afa6c1b3ec6cf62e /youtube_dl
parentbd3749ed693ae96becd3832f20e765e1efe01476 (diff)
fix youporn extractor's json search regex
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/youporn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youporn.py b/youtube_dl/extractor/youporn.py
index 107c9ac36..a278386d4 100644
--- 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)