aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2022-03-15 00:19:57 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2022-03-15 00:19:57 -0400
commitc2e774d3f5a4499b8beb5a12ab46a0099b16b1e7 (patch)
treea14107397b5bcb491aa4f4fb3e0feb4582e1879b /data
parent7900ee4e3692dbd8056c3e47c81bb22eda030b65 (diff)
New upstream version 1.21.0.upstream/1.21.0
Diffstat (limited to 'data')
-rw-r--r--data/completion/gallery-dl.fish62
-rw-r--r--data/man/gallery-dl.12
-rw-r--r--data/man/gallery-dl.conf.5130
3 files changed, 176 insertions, 18 deletions
diff --git a/data/completion/gallery-dl.fish b/data/completion/gallery-dl.fish
new file mode 100644
index 0000000..8f915fd
--- /dev/null
+++ b/data/completion/gallery-dl.fish
@@ -0,0 +1,62 @@
+complete -c gallery-dl -x
+complete -c gallery-dl -s 'h' -l 'help' -d 'Print this help message and exit'
+complete -c gallery-dl -l 'version' -d 'Print program version and exit'
+complete -c gallery-dl -r -F -s 'i' -l 'input-file' -d 'Download URLs found in FILE ("-" for stdin). More than one --input-file can be specified'
+complete -c gallery-dl -x -a '(__fish_complete_directories)' -s 'd' -l 'destination' -d 'Target location for file downloads'
+complete -c gallery-dl -x -a '(__fish_complete_directories)' -s 'D' -l 'directory' -d 'Exact location for file downloads'
+complete -c gallery-dl -x -s 'f' -l 'filename' -d 'Filename format string for downloaded files ("/O" for "original" filenames)'
+complete -c gallery-dl -r -F -l 'cookies' -d 'File to load additional cookies from'
+complete -c gallery-dl -x -l 'proxy' -d 'Use the specified proxy'
+complete -c gallery-dl -x -l 'source-address' -d 'Client-side IP address to bind to'
+complete -c gallery-dl -x -l 'clear-cache' -d 'Delete cached login sessions, cookies, etc. for MODULE (ALL to delete everything)'
+complete -c gallery-dl -s 'q' -l 'quiet' -d 'Activate quiet mode'
+complete -c gallery-dl -s 'v' -l 'verbose' -d 'Print various debugging information'
+complete -c gallery-dl -s 'g' -l 'get-urls' -d 'Print URLs instead of downloading'
+complete -c gallery-dl -s 'G' -l 'resolve-urls' -d 'Print URLs instead of downloading; resolve intermediary URLs'
+complete -c gallery-dl -s 'j' -l 'dump-json' -d 'Print JSON information'
+complete -c gallery-dl -s 's' -l 'simulate' -d 'Simulate data extraction; do not download anything'
+complete -c gallery-dl -s 'E' -l 'extractor-info' -d 'Print extractor defaults and settings'
+complete -c gallery-dl -s 'K' -l 'list-keywords' -d 'Print a list of available keywords and example values for the given URLs'
+complete -c gallery-dl -l 'list-modules' -d 'Print a list of available extractor modules'
+complete -c gallery-dl -l 'list-extractors' -d 'Print a list of extractor classes with description, (sub)category and example URL'
+complete -c gallery-dl -r -F -l 'write-log' -d 'Write logging output to FILE'
+complete -c gallery-dl -r -F -l 'write-unsupported' -d 'Write URLs, which get emitted by other extractors but cannot be handled, to FILE'
+complete -c gallery-dl -l 'write-pages' -d 'Write downloaded intermediary pages to files in the current directory to debug problems'
+complete -c gallery-dl -x -s 'r' -l 'limit-rate' -d 'Maximum download rate (e.g. 500k or 2.5M)'
+complete -c gallery-dl -x -s 'R' -l 'retries' -d 'Maximum number of retries for failed HTTP requests or -1 for infinite retries (default: 4)'
+complete -c gallery-dl -x -l 'http-timeout' -d 'Timeout for HTTP connections (default: 30.0)'
+complete -c gallery-dl -x -l 'sleep' -d 'Number of seconds to wait before each download. This can be either a constant value or a range (e.g. 2.7 or 2.0-3.5)'
+complete -c gallery-dl -x -l 'sleep-request' -d 'Number of seconds to wait between HTTP requests during data extraction'
+complete -c gallery-dl -x -l 'sleep-extractor' -d 'Number of seconds to wait before starting data extraction for an input URL'
+complete -c gallery-dl -x -l 'filesize-min' -d 'Do not download files smaller than SIZE (e.g. 500k or 2.5M)'
+complete -c gallery-dl -x -l 'filesize-max' -d 'Do not download files larger than SIZE (e.g. 500k or 2.5M)'
+complete -c gallery-dl -l 'no-part' -d 'Do not use .part files'
+complete -c gallery-dl -l 'no-skip' -d 'Do not skip downloads; overwrite existing files'
+complete -c gallery-dl -l 'no-mtime' -d 'Do not set file modification times according to Last-Modified HTTP response headers'
+complete -c gallery-dl -l 'no-download' -d 'Do not download any files'
+complete -c gallery-dl -l 'no-check-certificate' -d 'Disable HTTPS certificate validation'
+complete -c gallery-dl -r -F -s 'c' -l 'config' -d 'Additional configuration files'
+complete -c gallery-dl -r -F -l 'config-yaml' -d '==SUPPRESS=='
+complete -c gallery-dl -x -s 'o' -l 'option' -d 'Additional "<key>=<value>" option values'
+complete -c gallery-dl -l 'ignore-config' -d 'Do not read the default configuration files'
+complete -c gallery-dl -x -s 'u' -l 'username' -d 'Username to login with'
+complete -c gallery-dl -x -s 'p' -l 'password' -d 'Password belonging to the given username'
+complete -c gallery-dl -l 'netrc' -d 'Enable .netrc authentication data'
+complete -c gallery-dl -r -F -l 'download-archive' -d 'Record all downloaded files in the archive file and skip downloading any file already in it'
+complete -c gallery-dl -x -s 'A' -l 'abort' -d 'Stop current extractor run after N consecutive file downloads were skipped'
+complete -c gallery-dl -x -s 'T' -l 'terminate' -d 'Stop current and parent extractor runs after N consecutive file downloads were skipped'
+complete -c gallery-dl -x -l 'range' -d 'Index-range(s) specifying which images to download. For example "5-10" or "1,3-5,10-"'
+complete -c gallery-dl -x -l 'chapter-range' -d 'Like "--range", but applies to manga-chapters and other delegated URLs'
+complete -c gallery-dl -x -l 'filter' -d 'Python expression controlling which images to download. Files for which the expression evaluates to False are ignored. Available keys are the filename-specific ones listed by "-K". Example: --filter "image_width >= 1000 and rating in ("s", "q")"'
+complete -c gallery-dl -x -l 'chapter-filter' -d 'Like "--filter", but applies to manga-chapters and other delegated URLs'
+complete -c gallery-dl -l 'zip' -d 'Store downloaded files in a ZIP archive'
+complete -c gallery-dl -l 'ugoira-conv' -d 'Convert Pixiv Ugoira to WebM (requires FFmpeg)'
+complete -c gallery-dl -l 'ugoira-conv-lossless' -d 'Convert Pixiv Ugoira to WebM in VP9 lossless mode'
+complete -c gallery-dl -l 'write-metadata' -d 'Write metadata to separate JSON files'
+complete -c gallery-dl -l 'write-info-json' -d 'Write gallery metadata to a info.json file'
+complete -c gallery-dl -l 'write-infojson' -d '==SUPPRESS=='
+complete -c gallery-dl -l 'write-tags' -d 'Write image tags to separate text files'
+complete -c gallery-dl -l 'mtime-from-date' -d 'Set file modification times according to "date" metadata'
+complete -c gallery-dl -x -l 'exec' -d 'Execute CMD for each downloaded file. Example: --exec "convert {} {}.png && rm {}"'
+complete -c gallery-dl -x -l 'exec-after' -d 'Execute CMD after all files were downloaded successfully. Example: --exec-after "cd {} && convert * ../doc.pdf"'
+complete -c gallery-dl -x -s 'P' -l 'postprocessor' -d 'Activate the specified post processor'
diff --git a/data/man/gallery-dl.1 b/data/man/gallery-dl.1
index 1671d2d..3e373fd 100644
--- a/data/man/gallery-dl.1
+++ b/data/man/gallery-dl.1
@@ -1,4 +1,4 @@
-.TH "GALLERY-DL" "1" "2022-02-14" "1.20.5" "gallery-dl Manual"
+.TH "GALLERY-DL" "1" "2022-03-14" "1.21.0" "gallery-dl Manual"
.\" disable hyphenation
.nh
diff --git a/data/man/gallery-dl.conf.5 b/data/man/gallery-dl.conf.5
index 51b20cd..9651d18 100644
--- a/data/man/gallery-dl.conf.5
+++ b/data/man/gallery-dl.conf.5
@@ -1,4 +1,4 @@
-.TH "GALLERY-DL.CONF" "5" "2022-02-14" "1.20.5" "gallery-dl Manual"
+.TH "GALLERY-DL.CONF" "5" "2022-03-14" "1.21.0" "gallery-dl Manual"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -419,8 +419,6 @@ Specifying a username and password is required for
.br
* \f[I]nijie\f[]
-.br
-* \f[I]seiga\f[]
and optional for
@@ -553,6 +551,28 @@ Note: All proxy URLs should include a scheme,
otherwise \f[I]http://\f[] is assumed.
+.SS extractor.*.source-address
+.IP "Type:" 6
+.br
+* \f[I]string\f[]
+.br
+* \f[I]list\f[] with 1 \f[I]string\f[] and 1 \f[I]integer\f[] as elements
+
+.IP "Example:" 4
+.br
+* "192.168.178.20"
+.br
+* ["192.168.178.20", 8080]
+
+.IP "Description:" 4
+Client-side IP address to bind to.
+
+Can be either a simple \f[I]string\f[] with just the local IP address
+.br
+or a \f[I]list\f[] with IP and explicit port number as elements.
+.br
+
+
.SS extractor.*.user-agent
.IP "Type:" 6
\f[I]string\f[]
@@ -1874,13 +1894,13 @@ port than the default.
\f[I]list\f[] of \f[I]strings\f[]
.IP "Default:" 9
-\f[I]["images", "attachments", "postfile", "content"]\f[]
+\f[I]["images", "image_large", "attachments", "postfile", "content"]\f[]
.IP "Description:" 4
Determines the type and order of files to be downloaded.
Available types are
-\f[I]postfile\f[], \f[I]images\f[], \f[I]attachments\f[], and \f[I]content\f[].
+\f[I]postfile\f[], \f[I]images\f[], \f[I]image_large\f[], \f[I]attachments\f[], and \f[I]content\f[].
.SS extractor.photobucket.subalbums
@@ -2228,6 +2248,17 @@ Download video embeds from external sites.
Download videos.
+.SS extractor.skeb.sent-requests
+.IP "Type:" 6
+\f[I]bool\f[]
+
+.IP "Default:" 9
+\f[I]false\f[]
+
+.IP "Description:" 4
+Download sent requests.
+
+
.SS extractor.skeb.thumbnails
.IP "Type:" 6
\f[I]bool\f[]
@@ -2331,6 +2362,34 @@ Possible types are \f[I]text\f[], \f[I]quote\f[], \f[I]link\f[], \f[I]answer\f[]
You can use \f[I]"all"\f[] instead of listing all types separately.
+.SS extractor.twibooru.api-key
+.IP "Type:" 6
+\f[I]string\f[]
+
+.IP "Default:" 9
+\f[I]null\f[]
+
+.IP "Description:" 4
+Your \f[I]Twibooru API Key\f[],
+to use your account's browsing settings and filters.
+
+
+.SS extractor.twibooru.filter
+.IP "Type:" 6
+\f[I]integer\f[]
+
+.IP "Default:" 9
+\f[I]2\f[] (\f[I]Everything\f[] filter)
+
+.IP "Description:" 4
+The content filter ID to use.
+
+Setting an explicit filter ID overrides any default filters and can be used
+to access 18+ content without \f[I]API Key\f[].
+
+See \f[I]Filters\f[] for details.
+
+
.SS extractor.twitter.cards
.IP "Type:" 6
\f[I]bool\f[] or \f[I]string\f[]
@@ -2511,18 +2570,6 @@ Control video download behavior.
* \f[I]false\f[]: Skip video Tweets
-.SS extractor.twitter.warnings
-.IP "Type:" 6
-\f[I]bool\f[]
-
-.IP "Default:" 9
-\f[I]false\f[]
-
-.IP "Description:" 4
-Emit \f[I]logging messages\f[]
-for non-fatal errors reported by Twitter's API.
-
-
.SS extractor.unsplash.format
.IP "Type:" 6
\f[I]string\f[]
@@ -2912,6 +2959,20 @@ Connection timeout during file downloads.
Certificate validation during file downloads.
+.SS downloader.*.proxy
+.IP "Type:" 6
+\f[I]string\f[] or \f[I]object\f[]
+
+.IP "Default:" 9
+\f[I]extractor.*.proxy\f[]
+
+.IP "Description:" 4
+Proxy server used for file downloads.
+.br
+Disable the use of a proxy by explicitly setting this option to \f[I]null\f[].
+.br
+
+
.SS downloader.http.adjust-extensions
.IP "Type:" 6
\f[I]bool\f[]
@@ -3450,6 +3511,41 @@ Custom format string to build the content of metadata files with.
Note: Only applies for \f[I]"mode": "custom"\f[].
+.SS metadata.mtime
+.IP "Type:" 6
+\f[I]bool\f[]
+
+.IP "Default:" 9
+\f[I]false\f[]
+
+.IP "Description:" 4
+Set modification times for generated metadata files
+according to the accompanying downloaded file.
+
+Enabling this option will only have an effect
+*if* there is actual \f[I]mtime\f[] metadata available, that is
+
+.br
+* after a file download (\f[I]"event": "file"\f[] (default), \f[I]"event": "after"\f[])
+.br
+* when running *after* an \f[I]mtime\f[] post processes for the same \f[I]event\f[]
+
+For example, a \f[I]metadata\f[] post processor for \f[I]"event": "post"\f[] will
+*not* be able to set its file's modification time unless an \f[I]mtime\f[]
+post processor with \f[I]"event": "post"\f[] runs *before* it.
+
+
+.SS mtime.event
+.IP "Type:" 6
+\f[I]string\f[]
+
+.IP "Default:" 9
+\f[I]"file"\f[]
+
+.IP "Description:" 4
+See \f[I]metadata.event\f[]
+
+
.SS mtime.key
.IP "Type:" 6
\f[I]string\f[]