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:
1 parent
8d6cf021c7
commit
3177aaf18e
9 files changed
+928
-23
No files matched your search
@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- MP3 format fallback: download manifest fetch, ZIP part download+extraction
|
||||
with .partial tracking and resume, format strategy selector (m4b_mp3_fallback,
|
||||
mp3_only, m4b_only), and `--limit` CLI flag for capped downloads
|
||||
- M4B download pipeline: streaming chunked download with .partial files,
|
||||
atomic rename to .m4b, resume support via HTTP Range header
|
||||
- `fetch_m4b_url()` client method for M4B download URL lookup
|
||||
|
||||
Reference in new issue
Block a user