From c9d14bd22ab31e2a41f9f8061843668a06db583b Mon Sep 17 00:00:00 2001 From: Simon Sawicki Date: Thu, 16 Feb 2023 15:54:11 +0100 Subject: [PATCH] [extractor/crunchyroll] Fix incorrect premium-only error Closes #6234 Authored by: Grub4K --- 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 7d356d673..1abffcd74 100644 --- a/yt_dlp/extractor/crunchyroll.py +++ b/yt_dlp/extractor/crunchyroll.py @@ -160,7 +160,7 @@ class CrunchyrollBetaIE(CrunchyrollBaseIE): episode_response = self._download_json( f'{api_domain}/cms/v2{bucket}/episodes/{internal_id}', display_id, note='Retrieving episode metadata', query=params) - if episode_response.get('is_premium_only') and not episode_response.get('playback'): + if episode_response.get('is_premium_only') and not bucket.endswith('crunchyroll'): if self.is_logged_in: raise ExtractorError('This video is for premium members only', expected=True) else: