This is a docker image for anidl/multi-downloader-nx
Bash:
docker run -it --rm \
--name anidl \
-v <path-to-your-config>:/config:rw \
-v <path-to-your-downloads>:/videos:rw \
unstoppablemango/multi-downloader-nx \
<downloader-options>
Powershell:
docker run -it --rm `
--name anidl `
-v <path-to-your-config>:/config:rw `
-v <path-to-your-downloads>:/videos:rw `
unstoppablemango/multi-downloader-nx `
<downloader-options>
Currently downloads will be created as root. In the future I plan to allow setting UID and GID. For now to fix permissions, you can run
$ sudo chown <uid>:<gid> /path/to/downloads/*
<uid>
and <gid>
can be obtained from id
.
docker run -it --rm \
-v ~/.config/anidl:/config:rw \
unstoppablemango/multi-downloader-nx \
--service crunchy \
--auth
docker run -it --rm \
-v ~/.config/anidl:/config:rw \
unstoppablemango/multi-downloader-nx \
--service crunchy \
--search "Tower of God"
docker run -it --rm \
-v ~/.config/anidl:/config:rw \
-v ~/Videos/anidl:/videos:rw \
unstoppablemango/multi-downloader-nx \
--service crunchy \
--series G6J0G49DR
--all
Here is a barebones docker-compose file to get started.
This image comes with a default configuration, so the /config
mount is technically optional.
Using the default config won't persist authentication info so it is recommended to provide your own.
See Configuration.
Currently all configuration is provided via commandline. Refer to the source documentation for all options.
To persist configuration such as authentication, mount a volume to /config
.
Downloads will be put in /videos
.
version: '3'
services:
anidl:
image: unstoppablemango/multi-downloader-nx
volumes:
- "<path-to-your-config>:/config:rw"
- "<path-to-your-downloads>:/videos:rw"
command: <downloader-options>
docker build . -t anidl
Optionally specify a different version. The build works by cloning a tag from the source repository. So the version must be a valid tag in https://github.com/anidl/multi-downloader-nx.
#!/bin/bash
VERSION=$(cut -d'-' -f 1 VERSION)
docker build . --build-arg VERSION=$VERSION -t anidl:$VERSION
Note: The version in VERSION includes a suffix to track the image version so we strip that off before passing it to the build.
With BuildKit:
docker buildx build . -t anidl
#!/bin/bash
VERSION=$(cut -d'-' -f 1 VERSION)
docker buildx build . --build-arg VERSION=$VERSION -t anidl:$VERSION
Since creating this, the source project has added it's own image.
As far as I can tell, both images serve the same end. I'll attempt to keep this updated anyways.
Mines smaller 😏