mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
[YouPorn] Fix extractor
This commit is contained in:
parent
79adb09baa
commit
9ee53a49f0
|
@ -47,7 +47,7 @@ class YouPornIE(InfoExtractor):
|
||||||
|
|
||||||
# Get JSON parameters
|
# Get JSON parameters
|
||||||
json_params = self._search_regex(
|
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\((.+?)\)[,;]'],
|
r'var\s+currentVideo\s*=\s*new\s+Video\((.+?)\)[,;]'],
|
||||||
webpage, 'JSON parameters')
|
webpage, 'JSON parameters')
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue