8000 GitHub - pl44t/yt-dlp-webui: A self-hostable webui for downloading videos using yt-dlp
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pl44t/yt-dlp-webui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yt-dlp webui

Version 2.2

big ui update

A yt-dlp Webui using python and flask.

version 2.1

  • better ui than previous versions.

You can run the it using:

  • The portable Windows app
  • Linux install
  • Linux server install which is great to have in a homelab.

Installation

Windows

You will Need:
  • python version 3.x
  • the python package "flask"
Install:
  • Head to the Releases Tab and look for the newest version of the Windows App.
  • Download and extract the zip file
  • Open the unzipped folder and run the app.py
  • A terminal will open and tell to head you to localhost:5000 in your web browser, there you can download your videos!

Linux

  1. Navigate to your desired directory for the install
  cd path\to\your\desired\directory
  1. Setup a screen session in terminal to keep the process running(optional)
  screen -S yt-dlp-webui
  1. Clone the repo
  git clone https://github.com/pl44t/yt-dlp-webui.git
  cd yt-dlp-webui
  1. Setup a virtual environment named yt-dlp-webui
python -m venv yt-dlp-webui

or depending on how your python is setup you may neeed to use

python3 -m venv yt-dlp-webui
  1. Then activate the environment
  source yt-dlp-webui/bin/activate
  1. Install flask and yt-dlp to the python environment
  pip install flask yt-dlp
  1. Edit the download paths

    1. Edit the app.py file to download to the correct directory (use nano or any other editor)
      nano app.py
    1. Head to line 8, you should see
      BASE_DOWNLOAD_FOLDER = '/BASE/DIRECTORY/FOR/DOWNLOADS/'
    1. Change '/BASE/DIRECTORY/FOR/DOWNLOADS/' to whatever path from root you want, for example:
      '/media/Videos/YouTube/'
    1. Edit the index.html
      nano templates/index.html
    1. On line 69 (nice)
      <input type="text" class="form-control" id="subdir" name="subdir" placeholder="Enter subdirectory under /BASE/DIRECTORY/FOR/DOWNLOADS/">

    Change the '/BASE/DIRECTORY/FOR/DOWNLOADS/' text to whatever directory you chose in the previous step

Running the webui

Start the webui

python app.py

or depending on how your python is setup you may neeed to use

python3 app.py

Then head to localhost:5000 to check if the webui is up and running.

To exit the screen session in the terminal but keep it running in the background press:

  "Ctrl + a"
  and then 
  "d"

And to resume:

  screen -r yt-dlp-webui

Features

  • Default Download Location: By default on Windows, downloads will go to C:\Users\Public\Downloads (where C is the drive letter where the application is running from). Videos will be downloaded to the specified subfolder within this location.

  • Changing the Base Download Location: Navigate to the _internal folder inside the yt-dlp webui folder. Open the config.json file. Edit the "base_download_folder" value to your desired location. Ensure you use double backslashes \ (e.g., \New\Download\Location\).

Additional checkbox options:

  • Download subtitles.
  • Download the video thumbnail.
  • Skip sponsored segments (integration with the SponsorBlock browser extension).

About

A self-hostable webui for downloading videos using yt-dlp

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0