Skip to content

TypeOfPrototype/NotAnotherYTDLgui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NotAnotherYTDLgui

YTICO

Extremely Simple Youtube-dl Gui using Gooey https://github.com/chriskiehl/Gooey
& ready to be packaged with Pyinstaller https://github.com/pyinstaller/pyinstaller
The heavy lifting from the wonderful Youtube-dl https://github.com/ytdl-org/youtube-dl

The packaging allows it to be self contained and distributed to friends/family that need something simple. 0 install as it is all included in the packaged binary for the respective OS courtesy of pyinstaller.

Enter URL, Provide Destination folder for download using either Browse button file picker or typed
and lastly click format dropdown to select Video or Audio (Best Quality MP4/MP3 will be retrieved)

Usage

To use this project, run the NotAnotherYTDLgui(.exe) binary file. You will see a window like this:

NAYTDLGUIMain

Enter the URL of the video or playlist you want to download in the YouTube URL field. Choose the destination folder where you want to save the files. Select the format of the output: Video(MP4) or Audio(MP3). Click the Start button to begin the download.

You will see the progress and status of the download in the console. When the download is finished, you will see a message like this:
NAYTDLGUIStatus
You can find the downloaded files in the destination folder.

Dependencies

**Important - Please install latest youtube-dl from github as pip seems to have issues

ytdl-org/youtube-dl#31530 (comment)

pip install --upgrade --force-reinstall "git+https://github.com/ytdl-org/ytdl-nightly.git"
pip install Gooey pyinstaller  

& ffmpeg binaries https://ffmpeg.org/download.html Unpack ffmpeg compiled binaries for respective OS into own ffmpeg folder within the project folder.

Packaging

Running pyinstaller in the project folder aimed at the .py script will then also grab ffmpeg and package it all together

Directory layout should resemble

project_folder  
├── YoutubeDLGuiFFmpeg.py  
└── ffmpeg  
    ├── bin  
    │   ├── ffmpeg.exe  
    │   ├── ffplay.exe  
    │   └── ffprobe.exe  
    ├── doc  
    │   └── ...  
    └── presets  
        └── ...  

Run one of these commands depending on OS from the project folder

(Windows)
pyinstaller NotAnotherYTDLgui.py --add-binary="ffmpeg/*;ffmpeg" --onefile
(Linux)  (That Colon/Semi Colon...)
pyinstaller NotAnotherYTDLgui.py --add-binary="ffmpeg/*:ffmpeg" --onefile  
  

This will produce a single binary to use depending on your OS (Currently tested on Windows & Ubuntu)

License

This project is licensed under the MIT License. See the [LICENSE] file for more details.

About

Extremely Simple Youtube-dl Gui using Gooey & packaged with Pyinstaller

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages