Compare commits

...

2 Commits

Author SHA1 Message Date
middlingphys
82b64ee49e
Merge 777afc159f into 28d485714f 2024-07-27 00:43:46 +00:00
middlingphys
777afc159f
Update yt_dlp/extractor/abematv.py
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
2024-07-27 09:43:44 +09:00

View File

@ -377,7 +377,7 @@ def _real_extract(self, url):
f'https://api.abema.io/v1/video/programs/{video_id}', video_id,
note='Checking playability',
headers=headers)
if not traverse_obj(api_response, ('label', 'free'), default=False):
if not traverse_obj(api_response, ('label', 'free', {bool})):
# cannot acquire decryption key for these streams
self.report_warning('This is a premium-only stream')
availability = 'premium_only'