feat: YouTube playlist batch processing + note export#408
Open
fivedang wants to merge 1 commit into
Open
Conversation
New feature for processing entire YouTube playlists in one batch: Backend (backend/app/routers/playlist.py): - POST /api/playlist/info — extract playlist metadata and video list via yt-dlp - POST /api/playlist/generate — batch submit notes with full VideoRequest params (all 9 note styles, screenshot, link, video_understanding) - POST /api/playlist/cancel — cancel running batch job - POST /api/playlist/export — export completed notes as ZIP download organized as playlist_name/video_title.md Frontend (BillNote_frontend/public/playlist.html): - Paste playlist URL → load all videos with thumbnails - Select/deselect videos for batch processing - Full parameter parity with main app: all 9 styles, provider/model selection, screenshot, link, video_understanding toggles - Real-time per-video stage display in Chinese (解析中→下载中→转录中→总结中→完成) - Cancel button to stop batch mid-processing - Download individual .md or bulk ZIP with automatic naming App registration (backend/app/__init__.py): - Register playlist router at /api prefix
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
Adds YouTube playlist batch processing — paste a playlist URL, load all videos, select which to process, and generate notes in bulk.
New API Endpoints
POST /api/playlist/infoPOST /api/playlist/generatePOST /api/playlist/cancelPOST /api/playlist/exportplaylist_name/video_title.md)New UI Page
/playlist.html— standalone management page accessible from the main app:Dependencies
This PR depends on:
Screenshots
The UI is a dark-themed page matching BiliNote's design, with: