The Python backend for a basic YouTube viderooo downloader web GUI that runs in a docker container
There aren't really any self-hosted YouTube video downloader web applications that I was able to find on Github. I only searched for a few minutes though, so I'm sure there are some out there, maybe.
- Query: Query a video via a YouTube URL and return information about the video.
- Download: Download a video to either the server or the server and the browser. Allow choosing the quality.
- Query: Query a video via a YouTube URL and return information about the video.
- Download:
Download a video to either the server or the server and the browser. Allows for choosing the quality.
None of the available stream resolutions were progressive except for 360p. Bummer.
- Download video stream at the requested resolution
- Download the highest quality audio stream
- Stitch these friends together using ffmpeg
- Leave the video on the server in the
./DownTheTube-backend-python/downloaded-videos
folder - Pass it back to the browser if requested
Go to DownTheTube Docker Compose repo
- Clone the source and CD
git clone https://github.com/sam-morin/DownTheTub-backend-python.git && cd DownTheTub-backend-python
- Build image
docker build . -t downthetube-backend
- Run the image
docker run -d --restart unless-stopped -p SOME_PUBLIC_PORT:5001 -v $(pwd)/server/downloaded-videos:/app/downloaded-videos downthetube-backend
- Clone the source and CD
git clone https://github.com/sam-morin/DownTheTube-backend-python.git && cd DownTheTube-backend-python
- Install required pip modules
pip install -r requirements.txt
- Run the server using Flask
python server.py