feat: add parallel batch download API (fixes #3)#14
Open
nandanosql wants to merge 1 commit intoaverygan:mainfrom
Open
feat: add parallel batch download API (fixes #3)#14nandanosql wants to merge 1 commit intoaverygan:mainfrom
nandanosql wants to merge 1 commit intoaverygan:mainfrom
Conversation
- Add POST /api/batch/download endpoint accepting multiple URLs - Add GET /api/batch/status/<batch_id> for batch progress tracking - Use ThreadPoolExecutor with 3 concurrent workers for parallel downloads - Limit batch to 20 URLs per request - Update frontend 'Download All' to use batch API instead of sequential - Fallback to sequential download if batch API fails - Batch status shows done/errors/pending counts Fixes #3
DeBondor
added a commit
to DeBondor/reclip
that referenced
this pull request
Apr 11, 2026
…an#14 — cookies, playlist, AAC, GIF, batch download - averygan#25: cookies.txt support (COOKIES_FILE auto-detected, passed to all yt-dlp calls) - averygan#28: YouTube playlist expansion via /api/playlist endpoint (flat-playlist -J) - averygan#29: Force AAC audio codec (-S acodec:aac) for all video/audio downloads - averygan#20: GIF export via ffmpeg 2-pass palettegen/paletteuse, 15fps, max 480px width - averygan#14: Batch download via /api/batch/download + /api/batch/status, ThreadPoolExecutor(3), parallel Download All
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses issue #3 - batch download support.
Changes
Closes #3