{"repo":"manbearwiz/youtube-dl-server","free":true,"listed":false,"github":"https://github.com/manbearwiz/youtube-dl-server","clone":"git clone https://github.com/manbearwiz/youtube-dl-server.git","description":"Web / REST interface for downloading youtube videos onto a server.","language":"Python","stars":934,"topics":["python","youtube-dl","videos","docker","rest-api"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"youtube-dl-server Very spartan Web and REST interface for downloading youtube videos onto a server. starlette + yt-dlp . ![screenshot][1] Running Docker CLI 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 To provide custom yt-dlp configuration (e.g., authentication, custom options), mount a config directory: Place your config file in /home/core/yt-dlp-config/ with yt-dlp options (one per line). See yt-dlp configuration documentation for details. Docker Compose This is an example service definition that could be put in docker-compose.yml . This service uses a VPN client container for its networking. Python If you have python ^3.6.0 installed in your PATH you can simply run like this, providing optional environment variable overrides inline. In this example, YDL UPDATE TIME=False is the same as the command line option --no-mtime . Usage Start a download remotely Downloads can be triggered by supplying the {{url}} of the requested video through the Web UI or through the REST interface via curl, etc. HTML Just navigate to http://{{host}}:8080/youtube-dl and enter the requested {{url}} . Curl Fetch Bookmarklet Add the following bookmarklet to your bookmark bar so you can conviently send the current page url to your youtube-dl-server instance. Implementation The server uses starlette for the web framework and yt-dlp ","default_branch":null,"files":null,"tree":[],"storefront":"/r/manbearwiz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/manbearwiz/youtube-dl-server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}