Skip to content

mmorykan/YoutubeDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

108 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YoutubeDownloader

Description

YoutubeDownloader is an application built on the Python package yt-dlp to download audio from YouTube videos. This application utilizes ffmpeg to trim audio files and add metadata upon download and was created using PyQt5 and PyQt5 Designer.

All input fields in the program are optional except for the URL text box.

Installation

First install pyqt5 from pyqt installer and add the command qmake to your PATH. Then, create a Python virtual environment and install all the requirements in requirements.txt:

python3 -m pip install -r requirements.txt

Then, to bundle this application as a .app for MacOS, run:

pyinstaller --onefile --windowed --icon=resource/icon.icns --add-binary=ffmpeg_mac/bin/\*:. -n "Youtube Downloader" --clean app/app.py

To compile this program into a .exe for Windows, install the Windows FFmpeg binaries in the root of the project directory. Then run:

python3 -m PyInstaller --onefile --windowed --icon=resource\icon.ico --add-binary="ffmpeg_windows\bin\*;." -n "Youtube_Downloader" --paths=.venv\Lib\site-packages --clean app\app.py

The second .exe is necessary as an updater helper process to automatically update the application upon bootup if there is a more recent release on GitHub. This can be compiled with:

python3 -m PyInstaller --onefile --windowed --icon=resource\icon.ico -n "App_Updater" --paths=.venv\Lib\site-packages --clean updater/updater.py

About

Download audio from Youtube

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages