Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/muhammadahmed-0/youtube-to-mp3-converter

A simple Python script to download YouTube videos as MP3 files.
https://github.com/muhammadahmed-0/youtube-to-mp3-converter

python python-script youtube youtube-dl youtube-to-mp3 youtube-to-mp3-converter

Last synced: 26 days ago
JSON representation

A simple Python script to download YouTube videos as MP3 files.

Awesome Lists containing this project

README

        

# YouTube to MP3 Converter

A simple Python script to download YouTube videos as MP3 files.

## Usage

1. Install the required library by running `pip install yt_dlp` in your terminal.
2. Set FFmpeg in to your PC
3. Run the script by executing `python script_name.py` (replace `script_name.py` with the actual name of the script).
4. Enter the URL of the YouTube video you want to download when prompted.
5. Enter the destination directory (leave blank for current directory).
6. The script will download the audio from the video in MP3 format.

## Requirements

* Python 3.x
* `yt_dlp` library (install using `pip install yt_dlp`)
* FFmpeg setup

## Features

* Downloads YouTube videos as MP3 files
* Allows user to specify destination directory
* Uses `yt_dlp` library for efficient and fast downloads

## Note

* This script is for personal use only. Please respect YouTube's terms of service.
* The script may not work for all videos due to YouTube's restrictions.