Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alicey0719/yt-dlp_docker
https://github.com/alicey0719/yt-dlp_docker
docker python twitch youtube yt-dlp
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alicey0719/yt-dlp_docker
- Owner: Alicey0719
- Created: 2024-08-01T12:55:01.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-18T07:58:25.000Z (2 months ago)
- Last Synced: 2024-11-18T08:40:35.234Z (2 months ago)
- Topics: docker, python, twitch, youtube, yt-dlp
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/alicey/yt-dlp
- Size: 29.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yt-dlp_docker
## ex
- compose.yaml
```
services:
yt-dlp:
container_name: yt-dlp
image: alicey/yt-dlp:latest
volumes:
- ./yt-dlp:/yt-dlp # dl-dir
command: ['https://www.youtube.com/watch?v=hogehogehiyohiyo']
```- k8s manifests
```
{{- range .Values.ytdlSchedule }}
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ .name }}
spec:
schedule: "{{ .schedule }}"
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
containers:
- name: yt-dlp
image: alicey/yt-dlp:latest
command: ['bash', '-c', 'yt-dlp -o "/yt-dlp/%(title)s.%(ext)s" {{ .content }} || exit 0']
volumeMounts:
- mountPath: /yt-dlp
name: yt-dlp-storage
restartPolicy: OnFailure
volumes:
- name: yt-dlp-storage
persistentVolumeClaim:
claimName: yt-dlp-pvc
{{- end }}
```