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

https://github.com/danielzlatanov/youtube-watch-later-scraper

๐Ÿ•ธ๏ธ scrape your youtube watch later playlist in seconds
https://github.com/danielzlatanov/youtube-watch-later-scraper

automation browser-automation cli-progress data-extraction exceljs javascript node open-source playlist-scraper puppeteer puppeteer-extra scraping-tool stealth-plugin task-automation video-sorting watch-later web-automation web-scraping youtube youtube-scraper

Last synced: 2 months ago
JSON representation

๐Ÿ•ธ๏ธ scrape your youtube watch later playlist in seconds

Awesome Lists containing this project

README

        


yt-wl-scraper-logo


youtube watch later scraper


scrape your watch later playlist in seconds for easy sorting and organization


## ๐Ÿ“– Quick Guide

1. **Clone the Repo**
```bash
git clone https://github.com/danielzlatanov/youtube-watch-later-scraper.git

cd youtube-watch-later-scraper

2. **Install Dependencies**
```bash
npm install

3. **Start the Script**
```bash
npm start

This will launch Chromium in visible (non-headless) mode and navigate to YouTube.

4. **YouTube Manual Login**

Once the terminal shows the message **'Log in manually in the browser, then press Enter in the terminal'**, go to the Chromium browser (installed by Puppeteer) for testing, log into your YouTube account, and return to the terminal.

Press **Enter** to continue the automation script.

5. **Progress Tracking**

You can track the progress in the terminal as the script scrolls through your YouTube playlist. This is optional, but the terminal log will show updates, and itโ€™s not really necessary to watch the loading process on YouTube.

##### **_Stopping the Script_**

_You can stop or exit the script at any time by pressing **`Ctrl + C`** in the terminal._

6. **Final Output**

After the progress bar finishes, the script will log the total extracted videos and the location of the output file.

The **.xlsx** file will be saved in the output folder in the root directory as **scrapeWatchLater_sorted_{date}_{time}.xlsx**

7. **View the File**

Open the sorted & styled Excel file with Google Sheets or Microsoft Excel and enjoy!

## ๐Ÿ“ฝ๏ธ Demo

https://github.com/user-attachments/assets/ed95ce2b-8a1d-4d71-b1e6-b0f0ae738e85