Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 4 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.

Awesome Lists containing this project

README

        

# YouTube Playlist Scraper
Screenshot 2024-08-28 154754



A simple CLI tool to scrape video details from a YouTube playlist.
Keep track of what you're watching/get details about playlists from your terminal.

## 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

![gif11](https://github.com/user-attachments/assets/962086dd-35fc-408d-a77e-1676bd56ca24)

### 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.



gif11

### Text output
pic11

### JSON Output
pic12

## Usage
```bash
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:
```bash
git clone https://github.com/srimur/YoutubePlaylistScraper.git
```
```bash
cd YoutubePlaylistScraper
```

### 2. Install Dependencies:
```bash
pip install -r requirements.txt
```

### 3. Install the CLI Tool:
```bash
pip install -e .
```
## License

This project is licensed under the [MIT License](LICENSE). See the `LICENSE` file for details.