it works!

This commit is contained in:
arabcoders 2025-05-02 21:12:00 +03:00
parent 99a2f60ad7
commit 999dbf35c0

View file

@ -68,7 +68,10 @@ def _patched_prepare_live_from_start_formats(
retry.error = f"Cannot find refreshed manifest for format {format_id}{bug_reports_message()}"
continue
return (f["manifest_url"], f["manifest_stream_number"], is_live) if f else None
if not isinstance(f, dict) or not f.get("manifest_url"):
break
return f["manifest_url"], f["manifest_stream_number"], is_live
return None