Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/muhammadahmed-0/youtube-to-mp3-converter
- Owner: MuhammadAhmed-0
- Created: 2024-08-19T07:12:29.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-19T07:18:27.000Z (3 months ago)
- Last Synced: 2024-10-13T00:20:10.565Z (26 days ago)
- Topics: python, python-script, youtube, youtube-dl, youtube-to-mp3, youtube-to-mp3-converter
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.