https://github.com/yassinouk/youtube_downloader
this piece of code use yt-dlp, so yt-dlp should be installed
https://github.com/yassinouk/youtube_downloader
Last synced: 6 months ago
JSON representation
this piece of code use yt-dlp, so yt-dlp should be installed
- Host: GitHub
- URL: https://github.com/yassinouk/youtube_downloader
- Owner: yassinouk
- Created: 2023-09-07T16:14:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-07T18:36:55.000Z (almost 3 years ago)
- Last Synced: 2024-06-21T17:01:29.014Z (about 2 years ago)
- Language: Go
- Size: 2.47 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Script for Downloading YouTube Videos in Bulk using yt-dlp
This Go script is designed to read YouTube video URLs from a CSV file and download them in bulk using `yt-dlp`. The script changes the working directory to "/root/downloads" before executing each download command. The downloads are performed concurrently using goroutines.
## Prerequisites
- A CSV file containing the list of YouTube video URLs (e.g., `urls.csv`) in the same directory as the script.
- `yt-dlp` installed and available in your shell environment. You can install `yt-dlp` from https://github.com/yt-dlp/yt-dlp.