|
|
|
|
|
by peterwwillis
2060 days ago
|
|
Do you have Docker? Then you can use an open source web UI rather than run the command-line tool. cat > youtube-dl-webui.Dockerfile <<EOF
FROM d0u9/youtube-dl-webui
RUN pip3 install --upgrade youtube_dl
EOF
cat > conf.json <<EOCONF
{ "general": {"download_dir": "/tmp/ytdui/download","db_path": "/tmp/ytdui/webui.db","log_size": 10},
"server": {"host": "0.0.0.0","port": 5000} }
EOCONF
docker build \
-f youtube-dl-webui.Dockerfile \
-t youtube-dl-webui:latest \
.
mkdir ytdui && chmod 777 ytdui
docker run \
--rm -it \
--name youtube_dl_webui \
-p 5000:5000 \
-e FLASK_DEBUG=1 \
-e CONF_FILE=/conf.json \
-v `pwd`/conf.json:/conf.json \
-v `pwd`/ytdui:/tmp/ytdui \
youtube-dl-webui:latest
firefox http://localhost:5000/
That's the simplest one to get running I think (https://github.com/d0u9/youtube-dl-webui). Another is in PHP (https://github.com/timendum/Youtube-dl-WebUI). |
|