imraj569 / YouTube_Downloader

YouTube Downloader is a powerful Python script that allows you to download YouTube videos and playlists effortlessly. Whether you want to download individual videos or entire playlists, this script has you covered. It is designed to be user-friendly, efficient, and versatile.

Home Page:https://github.com/imraj569

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🎬 YouTube Video Downloader

🌐 Overview

This script allows you to download YouTube videos using the Pytube library. It reads a list of YouTube video URLs from a file (urls.txt) and attempts to download each video in the highest resolution possible (720p, 480p, or 360p with audio)also able to download whole youtube playlist.

βœ… Prerequisites

  • Run pip install requirements.txt

✨ Usage

πŸ”Ή Download list of videos

  1. Create a text file named urls.txt in the same directory as the script.
  2. Add one YouTube video URL per line in the urls.txt file.
  3. Run the script using the command python downloader.py in your terminal or command prompt.

πŸ”Ή Download a playlist

  1. Run the script using the command python playlist.py in your terminal or command prompt.
  2. Enter the playlist URL when prompted.

πŸ“€ Output

  • Downloaded videos will be stored in the 'Youtube_Videos' folder in the script's directory.
  • The script will remove successfully downloaded video URLs from the urls.txt file.
  • If an error occurs during the download, the script will print an error message and continue to the next video.

πŸ–ŠοΈ Note

  • If the 'Youtube_Videos' folder does not exist, the script will create it.
  • The script prioritizes downloading videos in the following resolutions: 720p, 480p, and 360p with audio.
  • If a video cannot be downloaded due to an error, the error message will be displayed, and the script will proceed to the next video.

⚠️ Disclaimer

This script is for educational and personal use only. Respect the intellectual property rights of the content creators and adhere to YouTube's terms of service.

πŸ“ License

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

πŸ–₯️ Author

Rajkishor Patra

Contributors πŸ‰

Thanks goes to these wonderful people (πŸ€—):

Harsh Pandey
Rajkishor Patra
Harsh Pandey
BenoitPrmt

About

YouTube Downloader is a powerful Python script that allows you to download YouTube videos and playlists effortlessly. Whether you want to download individual videos or entire playlists, this script has you covered. It is designed to be user-friendly, efficient, and versatile.

https://github.com/imraj569


Languages

Language:Python 100.0%