Skip to content

Linuxmaster14/yt-playlist-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Playlist Downloader

A simple, powerful Bash script to batch download and organize YouTube playlists by channel name using yt-dlp.

Features

  • Organized Structure: Creates separate directories for each channel.
  • Smart Sync: Skips files that have already been downloaded (--no-overwrites).
  • Clean Naming: Saves files as Playlist Title/Video Title.mp4 (no numeric prefixes).
  • Batch Processing: Reads multiple playlists from a playlists.txt file.

Prerequisites

  • yt-dlp: Make sure you have yt-dlp installed.
  • FFmpeg: Required for merging video and audio streams.

Usage

git clone https://github.com/Linuxmaster14/yt-playlist-downloader.git
cd yt-playlist-downloader
chmod +x download_playlists.sh
./download_playlists.sh

Configuration Setup

1. Add your playlists: Edit playlists.txt and add your channels and playlist URLs in the format:

Channel Name|PlaylistURL

Example:

Linux Tips|https://www.youtube.com/playlist?list=PLT98CRl2KxKF26ekyZUT_XtQ9HPciZKHX

2. Cookies Place your cookies.txt file in the same directory. How do I pass cookies to yt-dlp?

Configuration

You can customize the script by editing the variables at the top of download_playlists.sh.

License

MIT

About

A simple, powerful Bash script to batch download and organize YouTube playlists by channel name.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages