feat(progress): add TTY-aware download reporting (closes #8)

Rich progress bars with live %/ETA/speed/file size for interactive
terminals; plain log lines for pipes/cron. Reads Content-Length from
HTTP response so percentage works from first chunk onward. Per-book
failure isolation prevents one bad book from stopping the batch.
18 new tests, 156 total passing.
This commit is contained in:
AlexKucera committed 2026-06-03 14:44:37 +02:00
1 parent aceaece504
commit 6cefc79006
8 files changed
+935 -11

No files matched your search

+3 -2
View File
@@ -353,5 +353,6 @@ class TestCLIFormatWiring:
)
captured = capsys.readouterr()
assert "Downloaded" in captured.out
assert "Skipped" not in captured.out or "Downloaded" in captured.out
# Reporter now outputs "Completed:" for successful downloads (Issue #8)
assert "Completed" in captured.out
assert "Skipped" not in captured.out or "Completed" in captured.out