mohammedhank91 / YouTube-Audio-Downloader

This is a Python script that downloads the audio from a YouTube video and saves it as an MP3 file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Download Audio from YouTube Videos

This script allows you to download the audio from a YouTube video and save it as an MP3 file.

Requirements

  • Python 3.6 or later
  • pytube library
  • tqdm library

Installation

  1. Clone the repository or download the script download_audio.py.
  2. Install the required libraries using pip install pytube tqdm.

Usage

  1. Run the script using python download_audio.py.
  2. Enter the URL of the YouTube video when prompted.
  3. Enter the destination folder to save the audio file (leave blank for current folder).
  4. The script will display a progress bar while downloading the audio file.
  5. Once the audio file is downloaded, it will be saved as an MP3 file in the destination folder with the same name as the YouTube video.

License

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

About

This is a Python script that downloads the audio from a YouTube video and saves it as an MP3 file.


Languages

Language:Python 100.0%