Skip to content

Ismailco/YTDOWN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YY   YY TTTTTTT DDDDD    OOOOO   WW      WW NN   NN
YY   YY   TTT   DD  DD  OO   OO  WW      WW NNN  NN
 YYYYY    TTT   DD  DD  OO   OO  WW   W  WW NN N NN
  YYY     TTT   DD  DD  OO   OO  WW  WWW WW NN  NNN
  YYY     TTT   DDDDD    OOOOO    WWWW WWWW NN   NN v0.1.0

YouTube Downloader CLI Tool

A command-line tool for downloading YouTube videos and playlists with high quality options.

Features

  • Download single YouTube videos in best available quality
  • Download entire YouTube playlists
  • Progress bar with real-time download status
  • Colorful terminal output for better user experience
  • Automatic organization of downloaded content
  • Supports mp4 format

Installation

Prerequisites

  • Node.js (v14 or higher)
  • npm (v6 or higher)
  • youtube-dl binary (installed automatically as a dependency)

Install Globally

# Clone the repository
git clone https://github.com/ismailco/YTDOWN.git
cd YTDOWN

# Install dependencies
npm install

# Install the CLI tool globally
npm install -g .

Usage

After installing, you can use the ytdown command:

# Download a single video
ytdown -v https://www.youtube.com/watch?v=dQw4w9WgXcQ

# Download a playlist
ytdown -p https://www.youtube.com/playlist?list=PLxxx

Output

Videos are saved to ~/Movies/Youtube_Downloader/ with the following structure:

  • Single videos: ~/Movies/Youtube_Downloader/Single_Videos/
  • Playlists: ~/Movies/Youtube_Downloader/[Playlist_Name]/

Dependencies

License

This project is licensed under the MIT License - see the LICENSE file for details.

Troubleshooting

  • If you encounter permission issues, try running with sudo: sudo ytdown -v [URL]
  • Make sure the destination directory (~/Movies/Youtube_Downloader/) is accessible
  • For playlist errors, verify the playlist is public or unlisted

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

A Simple Node.js Script to download youtube videos and playlists in high quality

Topics

Resources

License

Stars

Watchers

Forks

Contributors