This is a Python script that allows you to download YouTube videos in various formats and resolutions. You can also extract the audio from the downloaded videos and save them as mp3 files.
• Python 3.6 or higher
• pytube 11.0.1 or higher
• moviepy 1.0.3 or higher
• tkinter
• Clone this repository or download the zip file.
• Install the required libraries using pip install -r requirements.txt
• Run the script using python youtube_downloader.py
• A graphical user interface (GUI) will appear when you run the script.
• Enter the URL of the YouTube video you want to download in the text box.
• Select the desired location where you saved the video.
• Click on the “Download” button to start the download process.
• If you press the download button, both the video and the mp3 file will be downloaded
• The extracted audio will be saved as an mp3 file in the same folder.
This project is based on the pytube library, which is a lightweight, dependency-free Python library for downloading YouTube videos. See pytube for more information.