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