[YouPorn] Fix extractor
[youtube-dl] / youtube_dl / extractor / youporn.py
index 6abe72f739b63d8b39d8cdfc5bfccf70dc545715..4ba7c36db78fb457b63e05fe161a75b00383c78c 100644 (file)
@@ -47,7 +47,7 @@ class YouPornIE(InfoExtractor):
 
         # Get JSON parameters
         json_params = self._search_regex(
-            [r'var\s+videoJa?son\s*=\s*({.+?});',
+            [r'videoJa?son\s*=\s*({.+})',
              r'var\s+currentVideo\s*=\s*new\s+Video\((.+?)\)[,;]'],
             webpage, 'JSON parameters')
         try: