Skip to content

mbT-Infrastructure/docker-downloader

Repository files navigation

downloader image

This Docker image contains a script to automate downloads.

It downloads all new files from the given urls at the given cron schedule.

Environment variables

  • DOWNLOADER_CRON
    • The time to run the downloader. The default is 30 20 * * *
  • DOWNLOADER_LIST
    • List of urls to download. One per line. No spaces in url allowed. List is in the format [[movie|music|musicvideo|series]] URL ((NOTE)).
  • POST_EXECUTION_COMMAND
    • Command to run when the downloads are finished and new files are downloaded.

Volumes

  • /media/downloader
    • The config and output directory.
  • /media/downloader/config
    • The config directory, where downloaded id's are saved.
  • /media/downloader/fail
    • The output directory, if a file with the same name is already in the output directory.
  • /media/downloader/output
    • The output directory.
  • /media/workdir
    • The directory which is used while downloading.

Development

To build the image locally run:

./docker-build.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published