Skip to content

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.

Notifications You must be signed in to change notification settings

srimur/YoutubePlaylistScraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Topics

Resources

Stars

Watchers

Forks

Languages