← 返回命令列表

Linux command

gallery-dl 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

Download from URL

gallery-dl [https://example.com/gallery]

Set output directory

gallery-dl -d [/path/to/downloads] [url]

List supported sites

gallery-dl --list-extractors

Download with metadata

gallery-dl --write-metadata [url]

Authentication

gallery-dl -u [username] -p [password] [url]

说明

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.

参数

-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.

FAQ

What is the gallery-dl command used for?

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.

How do I run a basic gallery-dl example?

Run `gallery-dl [https://example.com/gallery]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -d _PATH_, --dest _PATH_ do in gallery-dl?

Destination directory.