Skip to content

Gokruzk/python_youtube_converter

Repository files navigation

YouTube MP3 Converter

Requirements

Use the package manager pip to install the followings modules.

pip install pytube tk pyinstaller

Use a package manager to install ffmpeg.

Windows: winget

winget install ffmpeg

Linux: apt

sudo apt update
sudo apt upgrade
sudo apt install ffmpeg

Build

pyinstaller main.py --onefile --noconsole

Usage

1. If you just want to use the app, execute the file in dist folder, make sure to have ffmpeg installed.

cd dist

Windows

main.exe

Linux

./main

3. If you are going to modify the code, make sure to follow the requirements steps and then run main.py

4. The files will store into a folder called Music Downloaded in your root folder