From b5919f4f87601797b172338baa4ce494a82873d6 Mon Sep 17 00:00:00 2001 From: bashonly Date: Sun, 5 May 2024 18:04:31 -0500 Subject: [PATCH] impersonate true Authored by: bashonly --- yt_dlp/extractor/crunchyroll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/crunchyroll.py b/yt_dlp/extractor/crunchyroll.py index 6cf5bbaeb..aec68c427 100644 --- a/yt_dlp/extractor/crunchyroll.py +++ b/yt_dlp/extractor/crunchyroll.py @@ -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