aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2025-03-30 18:28:14 -0500
committerGitHub <noreply@github.com>2025-03-30 23:28:14 +0000
commitf033d86b96b36f8c5289dd7c3304f42d4d9f6ff4 (patch)
tree9453655c9e0ed159624047549152f1cac69dde7a
parent9a1ec1d36e172d252714cef712a6d091e0a0c4f2 (diff)
[ie/mlbtv] Fix radio-only extraction (#12792)
Authored by: bashonly
-rw-r--r--yt_dlp/extractor/mlb.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/yt_dlp/extractor/mlb.py b/yt_dlp/extractor/mlb.py
index 935bf8561..f7726e5b1 100644
--- a/yt_dlp/extractor/mlb.py
+++ b/yt_dlp/extractor/mlb.py
@@ -449,9 +449,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')