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.

MIT License

Stars
2

YouTube Playlist Scraper

Features

  • Extract video titles and save them in a text file along with a table with clickable links.
  • Extract detailed video information and save it in a JSON file.
  • Output Video Titles as Checklist Hyperlinks for Notion (Copy Paste Markdown) - Use to keep track of videos completed watching
  • Easy-to-use CLI with clear output options.

Demo

Notion Markdown Output (Copies to Clipboard)

  • The Markdown automatically gets copied to clipboard (or you can manually copy it from the output provided)
  • Paste the Markdown in you Notion Page
  • Now you can keep track of watched videos and strike it as you complete, These are hyperlinks to the videos.

Text output

JSON Output

Usage

playlist-scraper scrape --format text

After selecting the format, the tool will prompt you to enter the YouTube playlist URL.

Steps to Set Up and Use the Project

1. Clone the Repository:

git clone https://github.com/srimur/YoutubePlaylistScraper.git
cd YoutubePlaylistScraper

2. Install Dependencies:

pip install -r requirements.txt

3. Install the CLI Tool:

pip install -e .

License

This project is licensed under the MIT License. See the LICENSE file for details.