Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/srimur/youtubeplaylistscraper
- Owner: srimur
- License: mit
- Created: 2024-08-17T17:52:10.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-08T16:07:40.000Z (5 months ago)
- Last Synced: 2024-10-12T12:01:57.851Z (4 months ago)
- Topics: mini-project, mini-tools, notion, scraper, youtube-playlist
- Language: Python
- Homepage:
- Size: 52.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YouTube Playlist Scraper
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.
### Text output
### JSON Output
## 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 .
```
## LicenseThis project is licensed under the [MIT License](LICENSE). See the `LICENSE` file for details.