Examplesĭownload images in this case from danbooru via tag search for ‘bonocho’: gallery-dl "" To use gallery-dl simply call it with the URLs you wish to download imagesįor a full list of all command-line options. You can also add an alias to your shell for “gallery-dl” or create a simple bash script and drop it somewhere in your $PATH to act as a shim for this command. docker run -rm -v $HOME/Downloads/:/gallery-dl/ -v $HOME/.config/gallery-dl/nf:/etc/nf -it gallery-dl:latest If you setup a ci-cd pipeline to autobuild the container you can also add a -pull=newer flag so that when you run it docker will check to see if there is a newer container and download it before running. This will remove the container after every use so you will always have a fresh environment for it to run. Run docker image ls to check the name if you are not sure. If you gave the container a different tag or are using podman then make sure you adjust. ![]() Make sure to either download the example config file reference in the repo and place it in the mounted volume location or touch an empty file there. To run the container you will probably want to attach some directories on the host so that the config file and downloads can persist across runs. Pulling image from GitHub Container Registry: docker pull ghcr.io/mikf/gallery-dl docker tag ghcr.io/mikf/gallery-dl gallery-dl Pulling image from Docker Hub: docker pull mikf123/gallery-dl docker tag mikf123/gallery-dl gallery-dl Using the Dockerfile in the repository: git clone cd gallery-dl/ docker build -t gallery-dl:latest. Gallery-dl is also available in the Scoop “main” bucket for Windows users: scoop install gallery-dl Homebrewįor macOS or Linux users using Homebrew: brew install gallery-dl MacPortsįor macOS users with MacPorts: sudo port install gallery-dl Docker Windows users that have Chocolatey installed can install gallery-dl from the Chocolatey Community Packages repository: choco install gallery-dl Scoop Linux users that are using a distro that is supported by Snapd can install gallery-dl from the Snap Store: snap install gallery-dl Chocolatey (Requires Microsoft Visual C++ Redistributable Package (x86)) Required Python packages included are available for Prebuilt executable files with a Python interpreter and To ensure these packages are up-to-date, run python3 -m pip install -upgrade pip setuptools wheel Standalone Executable Including the essential packages setuptools and wheel. It is advised to use the latest version of pip, Note: Windows users should use py -3 instead of python3. Pip as well: python3 -m pip install -U -I -no-deps -no-cache-dir Installing the latest dev version directly from GitHub can be done with The stable releases of gallery-dl are distributed on PyPI and can beĮasily installed or upgraded using pip: python3 -m pip install -U gallery-dl SecretStorage: GNOME keyring passwords for -cookies-from-browser ![]() Toml: TOML configuration file support for Python<3.11 To download image galleries and collectionsīrotli or brotlicffi: Brotli compression support
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |