forked from ArtisanByteCrafter/pytube-gui
A python tool to download YouTube videos
- Python 96.5%
- Dockerfile 2.5%
- Shell 1%
Introduction
pytube-gui is a web interface around the wonderful pytubefix python library for downloading Youtube and Invidious videos.
Features
- Choose the highest quality automatically
- Choose audio only (mp3)
- Choose individual streams
- Playlist support
- Search support
How to install
Docker is the supported and recommended method of installation. Please note, that until this application reaches stable, there is no latest tag. Please use tag develop for now.
services:pytube-gui:container_name:pytube-guiimage:artisanbytecrafter/pytube-gui:developports:- 8501:8501volumes:- /path/to/downloads:/app/output# set to where you want downloads to goRunning locally outside of docker
It is possible to run this application locally on a machine, outside of docker. To do so, you need the following:
- a clone of this repo
- a copy of the ffmpeg binary at the root of your project. It is currently used to combine streams in the modern DASH/adaptive bitrate format (anything larger than 720p will require combining.)
- a python virtual environment with the dependency libraries installed in it:
$ cd ~/root-of-your-project
$ python3 -m venv venv # create a venv called 'venv' at the root of your project
$ source ./venv/bin/activate # activate your venv for this project
$ pip install -r requirements.txt # install your dependencies
$ streamlit run app.py
your application should now be listening at http://localhost:8501