mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 17:18:01 +01:00
fix youporn extractor's json search regex
This commit is contained in:
parent
bd3749ed69
commit
e0d0572b73
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ def _real_extract(self, url):
|
|||
|
||||
# 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 a new issue