This Docker image contains a script to automate downloads.
It downloads all new files from the given urls at the given cron schedule.
DOWNLOADER_CRON- The time to run the downloader. The default is
30 20 * * *
- The time to run the downloader. The default is
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)).
- List of urls to download. One per line. No spaces in url allowed.
List is in the format
POST_EXECUTION_COMMAND- Command to run when the downloads are finished and new files are downloaded.
/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.
To build the image locally run:
./docker-build.sh