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
- Host: GitHub
- URL: https://github.com/danielzlatanov/youtube-watch-later-scraper
- Owner: danielzlatanov
- License: mit
- Created: 2024-11-05T20:45:59.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-11-28T18:08:48.000Z (6 months ago)
- Last Synced: 2025-01-27T08:31:26.220Z (4 months ago)
- Topics: 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
- Language: JavaScript
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
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-scraper2. **Install Dependencies**
```bash
npm install3. **Start the Script**
```bash
npm startThis 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