A simple, robust CLI tool to scrape video details from YouTube playlists—no API key required.
Supports Notion-compatible markdown, JSON, CSV, and text exports.
Automatically falls back to a secondary scraping method if needed.
- Extract video titles, URLs, channels, durations from any YouTube playlist
- Output formats: JSON, CSV, Markdown (Notion checklist), text table
- Copy Notion markdown directly to clipboard (
-cflag) - No API key or authentication needed
- Cross-platform, Python 3.7+
pip install -e .
ytscrapper PLAYLIST_URL [OPTIONS]
ytscrapper "https://www.youtube.com/playlist?list=YOUR_PLAYLIST_ID" -f notion -c -n my_videos
-f, --format [json|csv|notion|text|all]Output format (default: all)-n, --name TEXTBase name for output files-e, --export PATHExport directory for saved files-c, --copyCopy Notion markdown to clipboard--testTest both scraping methods--verboseEnable detailed output
- Python 3.7+
- See
requirements.txtfor dependencies.
MIT License