This commit is contained in:
2026-01-14 21:53:07 -08:00
parent 4b324b1e8e
commit 5d63777dee
5 changed files with 146 additions and 116 deletions

View File

@@ -229,9 +229,11 @@ class Download_File(Cmdlet):
except Exception as e:
log(f"Provider {provider_name} error handling {url}: {e}", file=sys.stderr)
# Fallthrough to direct download?
# If a provider explicitly claimed it but failed, we'll try direct download as a last resort.
pass
if not handled:
debug(f"Provider {provider_name} matched URL but failed to download. Skipping direct fallback to avoid landing pages.")
continue
# Direct Download Fallback
result_obj = _download_direct_file(