summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2015-03-03 21:32:13 +0600
committerSergey M. <dstftw@gmail.com>2015-03-03 21:32:13 +0600
commit376817c6d48b0915502e687655e266d80cb45a7a (patch)
treea74649b0fe34f3c42162e432af6444d06ed8f218
parent7fde87c77da41f24faf34b37f5d05c029ac23d4f (diff)
parente0d0572b731b79393a5c5121acf4a43017160936 (diff)
downloadyoutube-dl-376817c6d48b0915502e687655e266d80cb45a7a.tar.gz
youtube-dl-376817c6d48b0915502e687655e266d80cb45a7a.tar.xz
youtube-dl-376817c6d48b0915502e687655e266d80cb45a7a.zip
Merge pull request #5115 from chaos33/youporn-json
fix youporn extractor's json search regex
-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)