fix: archive yt-dlp videos when other assets fail #4
Loading…
Reference in a new issue
No description provided.
Delete branch "yt-dlp-ignore-errors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
A missing or failed English subtitle download made the whole yt-dlp archival fail, even when the video was available.
ignore_errorssetting to the yt-dlp archiver. It istrueby default.ignore_errors, yt-dlp runs with--ignore-errors. A failed subtitle or thumbnail download becomes a warning, and the video still downloads.WARNINGandERRORlines go to the log with the link URL.title.f400.mp4,title.f251-drc.webm) do not count as media. A video without its audio stream still fails.--no-warningsis removed from the download command, so failure messages show the warnings that explain them.Limits
fhls-720pare not detected.Tests
go test ./internal/archival/...passes.