diff options
author | Sergey M. <dstftw@gmail.com> | 2015-03-03 21:32:13 +0600 |
---|---|---|
committer | Sergey M. <dstftw@gmail.com> | 2015-03-03 21:32:13 +0600 |
commit | 376817c6d48b0915502e687655e266d80cb45a7a (patch) | |
tree | a74649b0fe34f3c42162e432af6444d06ed8f218 /youtube_dl | |
parent | 7fde87c77da41f24faf34b37f5d05c029ac23d4f (diff) | |
parent | e0d0572b731b79393a5c5121acf4a43017160936 (diff) |
Merge pull request #5115 from chaos33/youporn-json
fix youporn extractor's json search regex
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/youporn.py | 2 |
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) |