mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-16 21:33:19 +00:00
single quotes
Authored by: bashonly
This commit is contained in:
parent
82d4111b77
commit
0f108c7582
|
@ -89,7 +89,7 @@ class YouPornIE(InfoExtractor):
|
|||
def _real_extract(self, url):
|
||||
video_id, display_id = self._match_valid_url(url).group('id', 'display_id')
|
||||
webpage = self._download_webpage(
|
||||
f"https://www.youporn.com/watch/{video_id}", display_id or video_id,
|
||||
f'https://www.youporn.com/watch/{video_id}', display_id or video_id,
|
||||
headers={'Cookie': 'age_verified=1'})
|
||||
player_vars = self._search_json(r'\bplayervars\s*:', webpage, 'player vars', display_id)
|
||||
|
||||
|
|
Loading…
Reference in a new issue