impersonate true

Authored by: bashonly
This commit is contained in:
bashonly 2024-05-05 18:04:31 -05:00
parent 5aa444458d
commit b5919f4f87
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class CrunchyrollBaseIE(InfoExtractor):
try:
return self._download_json(
f'{self._BASE_URL}/auth/v1/token', None, note=note, errnote=errnote,
headers=headers, data=urlencode_postdata(data), impersonate='chrome')
headers=headers, data=urlencode_postdata(data), impersonate=True)
except ExtractorError as error:
if not isinstance(error.cause, HTTPError) or error.cause.status != 403:
raise