Skip to content

Download YouTube videos in any available resolution (up to 8K), or all videos from a playlist in the highest resolution (up to 720p), in .mp4 video format or .mp3 audio format.

Notifications You must be signed in to change notification settings

itsachrafmansari/yt_downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 

Repository files navigation

Dependencies

This program is based on :

  • PyTube (Downloading YouTube videos)
  • FFmpeg (Combining video and audio files, converting audio files to .mp3 and video files to .mp4)

Getting Started

  1. Download and install FFmpeg on your computer and make sure to add it to your system's PATH variable
  2. Install pytube using the following command :
python -m pip install --upgrade pytube

Sometimes, the pypi release becomes slightly outdated. So you can install pytube from the source using this command :

python -m pip install git+https://github.com/pytube/pytube

Usage

  1. Run the main.py file.
  2. Type the url of the video/playlist.
  3. Type V or v to for MP4 video format, and A or a for MP3 audio format.
  4. Wait for the video(s) to get loaded.
  5. If you're downloading a single video in MP4 mode, choose from the available resolutions (e.g. 1080p). Else, your video will start downloading automatically.
  6. Wait for the program to finish working, then hit Enter to exit.
  7. Your downloaded files are within the same directory the main.py file is currently located.

About

Download YouTube videos in any available resolution (up to 8K), or all videos from a playlist in the highest resolution (up to 720p), in .mp4 video format or .mp3 audio format.

Topics

Resources

Stars

Watchers

Forks

Languages