Skip to content

A container to download the latest filmlist. This container is mainly for the Filmlistmerger

License

Notifications You must be signed in to change notification settings

mediathekview/FilmlistDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Filmlist downloader

A container to download the latest MediathekView Filmlist and extract the XZ archive. This image is mainly for the Filmlistmerger.

Environment variables

OUTPUT_PATH

Default: /tmp
Description: The path where the downloaded Filmlist JSON should be copied to

SERVER_URL

Default: https://liste.mediathekview.de
Description: The url of the server from where the Filmliste-akt.json should be downloaded.

Usage

Docker

docker run -v $PWD/download:/output:rw -e OUTPUT_PATH=/output mediathekview/filmlistdownloader

Kubernetes

A K8s CRON Job
apiVersion: batch/v1beta1
kind: CronJob
metadata:
  namespace: mediathekview
  name: filmlist-download
  labels:
    app: filmlistmerger
spec:
  schedule: "30 * * * *"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
            - name: filmlist-downloader
              image: mediathekview/filmlistdownloader
              env:
                - name: OUTPUT_PATH
                  value: /output
              volumeMounts:
                - mountPath: /output
                  name: filmlistInput
              imagePullPolicy: Always
          restartPolicy: OnFailure

About

A container to download the latest filmlist. This container is mainly for the Filmlistmerger

Resources

License

Stars

Watchers

Forks

Packages

No packages published