]> jfr.im git - yt-dlp.git/commit
[downloader/fragment] Ignore `FileNotFoundError` when downloading livestreams
authorLesmiscore <redacted>
Sat, 26 Feb 2022 03:34:36 +0000 (12:34 +0900)
committerLesmiscore <redacted>
Sat, 26 Feb 2022 03:34:36 +0000 (12:34 +0900)
commit195c22840c594c8f9229cb47ffec2a8984c53a0c
tree1578d4a9b0797d77410e394694cf312f5b7ea288
parentf0734e1190630f4cefa4a2028884413f54310f82
[downloader/fragment] Ignore `FileNotFoundError` when downloading livestreams

when `--live-from-start` is used for YouTube and the live ends, request for the last segment prematurely ends (or 404, 403).
this is causing lack of the file and `FileNotFoundError`
lacking segment doesn't have any data, so it's safe to ignore
yt_dlp/downloader/fragment.py