1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2026-03-04 21:31:01 +00:00

Merge branch 'master' into extract-common-_is_jwt_token_expired-to-InfoExtractor

This commit is contained in:
Michaël De Boey
2025-04-06 09:01:45 +02:00
74 changed files with 2427 additions and 1202 deletions

View File

@@ -446,9 +446,7 @@ mutation initPlaybackSession(
if not (m3u8_url and token):
errors = '; '.join(traverse_obj(response, ('errors', ..., 'message', {str})))
if 'not entitled' in errors:
raise ExtractorError(errors, expected=True)
elif errors: # Only warn when 'blacked out' since radio formats are available
if errors: # Only warn when 'blacked out' or 'not entitled'; radio formats may be available
self.report_warning(f'API returned errors for {format_id}: {errors}')
else:
self.report_warning(f'No formats available for {format_id} broadcast; skipping')