mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 14:41:44 +00:00
[extractor/crunchyroll] Fix incorrect premium-only error
Closes #6234 Authored by: Grub4K
This commit is contained in:
parent
149eb0bbf3
commit
c9d14bd22a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user