Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sashkab/docker-youtube-dl
Youtube-dl in a docker
https://github.com/sashkab/docker-youtube-dl
Last synced: about 1 month ago
JSON representation
Youtube-dl in a docker
- Host: GitHub
- URL: https://github.com/sashkab/docker-youtube-dl
- Owner: sashkab
- License: apache-2.0
- Created: 2018-07-03T23:55:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-20T15:09:21.000Z (4 months ago)
- Last Synced: 2024-11-23T21:16:34.969Z (about 2 months ago)
- Language: Python
- Size: 41 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# youtube-dl in a docker
![Build youtube-dl image](https://github.com/sashkab/docker-youtube-dl/workflows/Build%20youtube-dl%20image/badge.svg)
## Pull
```sh
docker pull ghcr.io/sashkab/docker-youtube-dl/docker-youtube-dl:latest
```## Create alias
Add alias into your `.bash_profile` or `.zshrc` files:
```sh
alias yt='docker run --rm -u $(id -u):$(id -g) -v $PWD:/downloads -t ghcr.io/sashkab/docker-youtube-dl/docker-youtube-dl:latest'
```## Automatically update via crontab
Add a schedule to update via crontab:
```sh
0 1 * * 0 docker pull ghcr.io/sashkab/docker-youtube-dl/docker-youtube-dl:latest
```