mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-29 16:54:08 +00:00
[pornhub] Fix typo (Closes #9008)
This commit is contained in:
parent
c8b13fec02
commit
03442072c0
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ def _real_extract(self, url):
|
|||
|
||||
flashvars = self._parse_json(
|
||||
self._search_regex(
|
||||
r'var\s+flashv1ars_\d+\s*=\s*({.+?});', webpage, 'flashvars', default='{}'),
|
||||
r'var\s+flashvars_\d+\s*=\s*({.+?});', webpage, 'flashvars', default='{}'),
|
||||
video_id)
|
||||
if flashvars:
|
||||
video_title = flashvars.get('video_title')
|
||||
|
|
Loading…
Reference in a new issue