single quotes

Authored by: bashonly
This commit is contained in:
bashonly 2024-05-05 16:58:49 -05:00
parent 82d4111b77
commit 0f108c7582
No known key found for this signature in database
GPG key ID: 783F096F253D15B0

View file

@ -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)