https://github.com/srimur/youtubeplaylistscraper
A simple CLI tool to extract and save video details from YouTube playlists in Notion Checklist or text or JSON format. Perfect for quick and easy playlist data management.
https://github.com/srimur/youtubeplaylistscraper
mini-project mini-tools notion scraper youtube-playlist
Last synced: 3 months ago
JSON representation
A simple CLI tool to extract and save video details from YouTube playlists in Notion Checklist or text or JSON format. Perfect for quick and easy playlist data management.
- Host: GitHub
- URL: https://github.com/srimur/youtubeplaylistscraper
- Owner: srimur
- License: mit
- Created: 2024-08-17T17:52:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-19T14:28:39.000Z (7 months ago)
- Last Synced: 2025-03-19T15:33:16.922Z (7 months ago)
- Topics: mini-project, mini-tools, notion, scraper, youtube-playlist
- Language: Python
- Homepage:
- Size: 64.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ytscrapper
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.## Features
- 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 (`-c` flag)
- No API key or authentication needed
- Cross-platform, Python 3.7+## Installation
pip install -e .
## Usage
ytscrapper PLAYLIST_URL [OPTIONS]
### Example
ytscrapper "https://www.youtube.com/playlist?list=YOUR_PLAYLIST_ID" -f notion -c -n my_videos
### Options
- `-f, --format [json|csv|notion|text|all]` Output format (default: all)
- `-n, --name TEXT` Base name for output files
- `-e, --export PATH` Export directory for saved files
- `-c, --copy` Copy Notion markdown to clipboard
- `--test` Test both scraping methods
- `--verbose` Enable detailed output## Development
- Python 3.7+
- See `requirements.txt` for dependencies.## License
MIT License