LinuxCommandLibrary

gallery-dl

image gallery downloader for multiple sites

TLDR

Download from URL

$ gallery-dl [https://example.com/gallery]
copy
Set output directory
$ gallery-dl -d [/path/to/downloads] [url]
copy
List supported sites
$ gallery-dl --list-extractors
copy
Download with metadata
$ gallery-dl --write-metadata [url]
copy
Authentication
$ gallery-dl -u [username] -p [password] [url]
copy

SYNOPSIS

gallery-dl [options] urls...

DESCRIPTION

gallery-dl downloads image galleries from websites. It supports hundreds of image hosting sites, social media, and art communities through site-specific extractors.
The tool handles pagination, authentication, rate limiting, and metadata extraction automatically. Downloads can be organized with customizable directory and filename patterns.
gallery-dl is commonly used for archiving content from image boards, artist portfolios, and social media.

PARAMETERS

URLS

Gallery or image URLs.
-d PATH, --dest PATH
Destination directory.
-u USER, --username USER
Site username.
-p PASS, --password PASS
Site password.
--write-metadata
Save metadata as JSON.
--list-extractors
List supported sites.
-o KEY=VALUE
Set config option.
--help
Display help information.

CONFIGURATION

~/.config/gallery-dl/config.json

Main configuration file for output paths, filename patterns, authentication, and site-specific options.

CAVEATS

Site support may break with updates. Respect site terms of service. Large downloads may be throttled.

HISTORY

gallery-dl was created as a counterpart to youtube-dl for images. It provides comprehensive image downloading with support for hundreds of sites through Python-based extractors.

SEE ALSO

youtube-dl(1), wget(1), curl(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community