mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-15 03:27:46 +01:00
fix youporn extractor's json search regex
This commit is contained in:
parent
bd3749ed69
commit
e0d0572b73
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user