This fork also builds upon the current infrastructure to provide an experience where the user can search youtube and view the thumbnail & title and choose to download a video. This project is forked from recodeuk and heavily based on youtube-dl
This example uses the docker run command to create the container to run the app. Here we also use host networking for simplicity. Also note the -v argument. This directory will be used to output the resulting videos
docker run -d -p 8080:8080 --name youtube-dl -v /home/core/youtube-dl:/youtube-dl splazit/youtube-dl-ui
Downloads can be triggered by supplying the youtube url of the requested video through the Web UI or through the REST interface via curl, etc.
Just navigate to http://localhost:8080/youtube-dl
curl -X POST --data-urlencode "url=<youtube url>" http://localhost:8080/youtube-dl/q
fetch(`http://${host}:8080/youtube-dl/q`, {
method: "POST",
body: new URLSearchParams({
url: url,
format: "bestvideo"
}),
});
Content type
Image
Digest
Size
49.4 MB
Last updated
about 5 years ago
docker pull splazit/youtube-dl-ui