GithubHelp home page GithubHelp logo

typeofprototype / notanotherytdlgui Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 21 KB

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

License: MIT License

Python 100.00%
gooeymenu pyinstaller youtube-dl

notanotherytdlgui's Introduction

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.

notanotherytdlgui's People

Contributors

typeofprototype avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.