mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-01 12:05:26 +02:00
Update yt_dlp/extractor/abematv.py
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
parent
258e7e64fc
commit
777afc159f
@ -377,7 +377,7 @@ def _real_extract(self, url):
|
|||||||
f'https://api.abema.io/v1/video/programs/{video_id}', video_id,
|
f'https://api.abema.io/v1/video/programs/{video_id}', video_id,
|
||||||
note='Checking playability',
|
note='Checking playability',
|
||||||
headers=headers)
|
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
|
# cannot acquire decryption key for these streams
|
||||||
self.report_warning('This is a premium-only stream')
|
self.report_warning('This is a premium-only stream')
|
||||||
availability = 'premium_only'
|
availability = 'premium_only'
|
||||||
|
Loading…
Reference in New Issue
Block a user