1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-06-22 07:26:53 +02:00

[ie/Boosty] use base domain to get cookies

This commit is contained in:
rasmus 2024-04-17 18:41:57 +02:00
parent 3cf701bc59
commit 3d66274d7f

View File

@ -166,7 +166,7 @@ def _extract_formats(self, player_urls, video_id):
def _real_extract(self, url):
user, post_id = self._match_valid_url(url).group('user', 'post_id')
auth_cookie = self._get_cookies('https://api.boosty.to/').get('auth')
auth_cookie = self._get_cookies('https://boosty.to/').get('auth')
auth_headers = {}
if auth_cookie is not None:
try: