Skip to main content

Utility for downloading media from various image hosting websites.

Project description

gallery-dvk

gallery-dvk is a command-line program designed to download media from various media sharing websites: See Supported Sites

It is heavily inspired by gallery-dl, and if I were smart, I probably would have just forked gallery-dl, but I couldn't fully wrap my head around how the codebase works, so here we are. I may not be able to parse the code very well, but I've ripped off gallery-dl's user documentation pretty thoroughly here.

Contents:

Installation

gallery-dvk can be downloaded from it's PyPI package using pip:

pip3 install gallery-dvk

If you are installing from source, the following python packages are required:

Usage

To use gallery-dvk call it with the URL you wish to download from:

gallery-dvk URL

You can also download a from a list of URLs from a text file:

gallery-dvk -i FILE

Use gallery-dvk --help for a full list of command-line options. You can access aditional options and configuration using a config file.

Configuration

Configuration files for gallery-dvk are stored in JSON format.

Documentation

Documentation for all the available configuration options can be found at /docs/configuration.md

A default config file can be found at /docs/gallery-dvk.json A more in-depth example config file can be found at /docs/gallery-dvk-example.json

Location

gallery-dvk looks for config files in the following locations:

WINDOWS:

  • %APPDATA%\gallery-dvk\config.json
  • %USERPROFILE%\gallery-dvk\config.json
  • %USERPROFILE%\gallery-dvk.json

(%USERPROFILE% usually refers to a user's home directory, i.e. C:\Users<username>)

LINUX/MAC/UNIX-BASED:

  • /etc/gallery-dvk.json
  • ${HOME}/.config/gallery-dvk/config.json
  • ${HOME}/.gallery-dvk.json

Authentication

Username and Password

Most extractors require login credentials to access some locked content, and some require login credentials to access the site at all.

You can set the necessary login information in your configuration file.

{
    "transfur":
    {
        "username": "<USERNAME>",
        "password": "<PASSWORD>"
    }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

gallery_dvk-0.3.0-py3-none-any.whl (76.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page