youtube-scrape
Installation
SKILL.md
Scrape YouTube videos: $ARGUMENTS
$ARGUMENTS should be one of:
- A YouTube channel handle (e.g.
@AlanHirsch) or channel ID (e.g.UCxVxcTULO9cFU6SB9qVaisQ) --video VIDEO_IDto scrape a single video--refreshto re-fetch stats for all existing videos without re-downloading transcripts- Empty — ask the user for the channel handle
Before Starting
- Confirm
YOUTUBE_API_KEYis set in.env.local— if not, tell the user to add it - Confirm
yt-dlpis installed (which yt-dlp) — if not, tell the user to install it (pip install yt-dlp) - Read
src/lib/database/schema.tsfor thevideos,videoSeriestable definitions - Read
scripts/youtube-scrape.tsto understand the existing scrape script