GithubHelp home page GithubHelp logo

youtube_dl_gui's Introduction

youtube_dl_GUI

youtube_dl_GUI is intended to serve as a basic interface for downloading YouTube videos/audio tracks/playlists that can be easily shared and used by non-programmers. youtube_dl_GUI can be run as a standalone .exe by running /dist/youtube_dl_GUI.exe

Changelog

Aug 2023

Updating EXE to latest version of yt-dlp (prev version was broken)

Feb 2023

Migrating from youtube-dl to yt-dlp fork. Original repo is now broken and may not be maintained, yt-dlp fork is actively maintained.

GUI Application Usage

  1. Run standalone youtube_dl_GUI.exe in the /dist folder. (Alternatively, you can run the python code youtube_dl_GUI.py - setup in "Developer Setup" section below)
  2. Enter the URL of the video / playlist you want to download into the top "URL" textbox.
  3. Then enter the folder to save the video to in the "Output Folder" textbox.
  4. Next choose the video format
    1. To download the highest quality of video, select the video format Video - Best Quality
    2. If you only want the audio (saved as .mp3), select Audio Only - Best Quality
    3. If you want a specific video format, click the Detect All Formats button, which will fetch the available video formats and populate the dropdown with the available formats. Warning: some of these formats may be video only or audio only!
  5. Click the Download button. Output will display to the console.

Developer Setup (PyQT GUI App)

Just set up Python3 with libraries PyQT5 (pip install pyqt5) and youtube_dl (pip install yt-dlp), and you should be able to run the code.

Build Windows .exe with PyInstaller

To build the code into an .exe using PyInstaller (easier to do this in an virtual environment):

  1. Install PyInstaller: pip install pyinstaller
  2. Make sure you have PyQT5 and yt-dlp installed
  3. cd to the directory containing youtube_dl_GUI.py
  4. Run command: pyinstaller.exe youtube_dl_GUI.py --onefile --hidden-import PyQt5.sip

Troubleshooting

Make sure you have the latest version of the code! Youtube changes things frequently, so use the latest version of the executable in this repository. If you are a developer, use pip install --upgrade yt-dlpin the command line to make sure you have the latest library version.

FastAPI Web Application Developer Usage

  1. Make sure you have the Python 3.6+ with proper libraries installed with pip install -r fastapi_requirements.txt
  2. Start the webserver with python server.py or uvicorn server:app --reload
  3. Open localhost:8000 in your web browser (HTML templating is kept basic for demo purposes).
  4. API documentation located at localhost:8000/docs

youtube_dl_gui's People

Contributors

welkintern avatar welkinu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

songfang

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.