feat(downloader): add MP3 fallback pipeline with ZIP download and format strategies (closes #6)

- Add fetch_download_manifest() to client for MP3 manifest endpoint
- Add download_zip_part() for streaming ZIP download, .partial tracking,
  resume via Range header, auto-extraction and cleanup
- Refactor download_book() with format_strategy param: m4b_mp3_fallback,
  mp3_only, m4b_only
- Add --limit N CLI flag to cap downloads for testing
- Wire config.format through CLI to download_book()
- 12 new tests (122 total), all passing
This commit is contained in:
AlexKucera committed 2026-06-03 13:22:45 +02:00
1 parent 8d6cf021c7
commit 455d3dd172
10 files changed
+932 -23

No files matched your search

+4
View File
@@ -133,3 +133,7 @@ download_history.json
.pi/improvements.db
audiobooks/
config.yaml
.DS_Store