To avoid complexity use google colab for running the ipynb file
A simple Jupyter Notebook to download audio from YouTube videos and convert it into high-quality 320kbps MP3 using yt-dlp
and FFmpeg
.
- Download YouTube audio: Uses
yt-dlp
to extract the best available audio. - Convert to MP3: Converts the audio to 320kbps MP3 using
FFmpeg
.
-
Clone the repository:
git clone https://github.com/rayan2162/mp3-download-from-youtube.git cd yt-audio-downloader
-
Open the Jupyter Notebook:
Launch your notebook environment (use google colab for avoiding complexity) and open the file
yt_audio_downloader.ipynb
. -
Run the notebook cells:
- Follow the instructions in the notebook.
- Enter the YouTube video URL when prompted.
-
Check the Downloads Folder:
- After running the download cell, the audio file will appear in the
downloads/
folder. - You can access it from the right sidebar in the Jupyter Notebook interface.
- After running the download cell, the audio file will appear in the
This project is licensed under the MIT License.