mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-22 06:00:00 +00:00
[extractor/crunchyroll] Fix incorrect premium-only error
Closes #6234 Authored by: Grub4K
This commit is contained in:
parent
149eb0bbf3
commit
c9d14bd22a
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ def _real_extract(self, url):
|
|||
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 a new issue