diff options
Diffstat (limited to 'data')
| -rw-r--r-- | data/completion/_gallery-dl | 26 | ||||
| -rw-r--r-- | data/man/gallery-dl.1 | 2 | ||||
| -rw-r--r-- | data/man/gallery-dl.conf.5 | 74 |
3 files changed, 82 insertions, 20 deletions
diff --git a/data/completion/_gallery-dl b/data/completion/_gallery-dl index 39fabcc..e5153f5 100644 --- a/data/completion/_gallery-dl +++ b/data/completion/_gallery-dl @@ -4,10 +4,10 @@ local curcontext="$curcontext" typeset -A opt_args local rc=1 -_arguments -C -S \ +_arguments -s -S \ {-h,--help}'[Print this help message and exit]' \ --version'[Print program version and exit]' \ -{-f,--filename}'[Filename format string for downloaded files ("/O" for "original" filenames)]':'<format>' \ +{-f,--filename}'[Filename format string for downloaded files ('\''/O'\'' for "original" filenames)]':'<format>' \ {-d,--destination}'[Target location for file downloads]':'<path>' \ {-D,--directory}'[Exact location for file downloads]':'<path>' \ {-X,--extractors}'[Load external extractors from PATH]':'<path>' \ @@ -15,7 +15,7 @@ _arguments -C -S \ --source-address'[Client-side IP address to bind to]':'<ip>' \ --user-agent'[User-Agent request header]':'<ua>' \ --clear-cache'[Delete cached login sessions, cookies, etc. for MODULE (ALL to delete everything)]':'<module>' \ -{-i,--input-file}'[Download URLs found in FILE ("-" for stdin). More than one --input-file can be specified]':'<file>':_files \ +{-i,--input-file}'[Download URLs found in FILE ('\''-'\'' for stdin). More than one --input-file can be specified]':'<file>':_files \ {-I,--input-file-comment}'[Download URLs found in FILE. Comment them out after they were downloaded successfully.]':'<file>':_files \ {-x,--input-file-delete}'[Download URLs found in FILE. Delete them after they were downloaded successfully.]':'<file>':_files \ {-q,--quiet}'[Activate quiet mode]' \ @@ -53,34 +53,28 @@ _arguments -C -S \ --config-toml'[Additional configuration files in TOML format]':'<file>':_files \ --config-create'[Create a basic configuration file]' \ --config-ignore'[Do not read default configuration files]' \ ---ignore-config'[==SUPPRESS==]' \ {-u,--username}'[Username to login with]':'<user>' \ {-p,--password}'[Password belonging to the given username]':'<pass>' \ --netrc'[Enable .netrc authentication data]' \ {-C,--cookies}'[File to load additional cookies from]':'<file>':_files \ --cookies-export'[Export session cookies to FILE]':'<file>':_files \ ---cookies-from-browser'[Name of the browser to load cookies from, with optional domain prefixed with "/", keyring name prefixed with "+", profile prefixed with ":", and container prefixed with "::" ("none" for no container)]':'<browser[/domain][+keyring][:profile][::container]>' \ +--cookies-from-browser'[Name of the browser to load cookies from, with optional domain prefixed with '\''/'\'', keyring name prefixed with '\''+'\'', profile prefixed with '\'':'\'', and container prefixed with '\''::'\'' ('\''none'\'' for no container)]':'<browser[/domain][+keyring][:profile][::container]>' \ --download-archive'[Record all downloaded or skipped files in FILE and skip downloading any file already in it]':'<file>':_files \ {-A,--abort}'[Stop current extractor run after N consecutive file downloads were skipped]':'<n>' \ {-T,--terminate}'[Stop current and parent extractor runs after N consecutive file downloads were skipped]':'<n>' \ ---range'[Index range(s) specifying which files to download. These can be either a constant value, range, or slice (e.g. "5", "8-20", or "1:24:3")]':'<range>' \ ---chapter-range'[Like "--range", but applies to manga chapters and other delegated URLs]':'<range>' \ ---filter'[Python expression controlling which files 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")"]':'<expr>' \ ---chapter-filter'[Like "--filter", but applies to manga chapters and other delegated URLs]':'<expr>' \ +--range'[Index range(s) specifying which files to download. These can be either a constant value, range, or slice (e.g. '\''5'\'', '\''8-20'\'', or '\''1:24:3'\'')]':'<range>' \ +--chapter-range'[Like '\''--range'\'', but applies to manga chapters and other delegated URLs]':'<range>' \ +--filter'[Python expression controlling which files 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'\'')"]':'<expr>' \ +--chapter-filter'[Like '\''--filter'\'', but applies to manga chapters and other delegated URLs]':'<expr>' \ {-P,--postprocessor}'[Activate the specified post processor]':'<name>' \ {-O,--postprocessor-option}'[Additional post processor options]':'<key=value>' \ --write-metadata'[Write metadata to separate JSON files]' \ --write-info-json'[Write gallery metadata to a info.json file]' \ ---write-infojson'[==SUPPRESS==]' \ --write-tags'[Write image tags to separate text files]' \ --zip'[Store downloaded files in a ZIP archive]' \ --cbz'[Store downloaded files in a CBZ archive]' \ ---mtime'[Set file modification times according to metadata selected by NAME. Examples: "date" or "status[date]"]':'<name>' \ ---mtime-from-date'[==SUPPRESS==]' \ ---ugoira'[Convert Pixiv Ugoira to FORMAT using FFmpeg. Supported formats are "webm", "mp4", "gif", "vp8", "vp9", "vp9-lossless", "copy".]':'<format>' \ ---ugoira-conv'[==SUPPRESS==]' \ ---ugoira-conv-lossless'[==SUPPRESS==]' \ ---ugoira-conv-copy'[==SUPPRESS==]' \ +--mtime'[Set file modification times according to metadata selected by NAME. Examples: '\''date'\'' or '\''status\[date\]'\'']':'<name>' \ +--ugoira'[Convert Pixiv Ugoira to FORMAT using FFmpeg. Supported formats are '\''webm'\'', '\''mp4'\'', '\''gif'\'', '\''vp8'\'', '\''vp9'\'', '\''vp9-lossless'\'', '\''copy'\''.]':'<format>' \ --exec'[Execute CMD for each downloaded file. Supported replacement fields are {} or {_path}, {_directory}, {_filename}. Example: --exec "convert {} {}.png && rm {}"]':'<cmd>' \ --exec-after'[Execute CMD after all files were downloaded. Example: --exec-after "cd {_directory} && convert * ../doc.pdf"]':'<cmd>' && rc=0 diff --git a/data/man/gallery-dl.1 b/data/man/gallery-dl.1 index caa0d4a..ad6fd4a 100644 --- a/data/man/gallery-dl.1 +++ b/data/man/gallery-dl.1 @@ -1,4 +1,4 @@ -.TH "GALLERY-DL" "1" "2023-12-23" "1.26.5" "gallery-dl Manual" +.TH "GALLERY-DL" "1" "2024-01-06" "1.26.6" "gallery-dl Manual" .\" disable hyphenation .nh diff --git a/data/man/gallery-dl.conf.5 b/data/man/gallery-dl.conf.5 index b641f29..a57d39b 100644 --- a/data/man/gallery-dl.conf.5 +++ b/data/man/gallery-dl.conf.5 @@ -1,4 +1,4 @@ -.TH "GALLERY-DL.CONF" "5" "2023-12-23" "1.26.5" "gallery-dl Manual" +.TH "GALLERY-DL.CONF" "5" "2024-01-06" "1.26.6" "gallery-dl Manual" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) @@ -761,6 +761,23 @@ to be passed to \f[I]ssl.SSLContext.set_ciphers()\f[] +.SS extractor.*.tls12 +.IP "Type:" 6 +\f[I]bool\f[] + +.IP "Default:" 9 +.br +* \f[I]true\f[] +.br +* \f[I]false\f[] for \f[I]patreon\f[], \f[I]pixiv:series\f[] + +.IP "Description:" 4 +Allow selecting TLS 1.2 cipher suites. + +Can be disabled to alter TLS fingerprints +and potentially bypass Cloudflare blocks. + + .SS extractor.*.keywords .IP "Type:" 6 \f[I]object\f[] (name -> value) @@ -1243,6 +1260,29 @@ To use a different formatting for those values other than the default after a colon \f[I]:\f[], for example \f[I]{date:%Y%m%d}\f[]. +.SS extractor.*.write-pages +.IP "Type:" 6 +.br +* \f[I]bool\f[] +.br +* \f[I]string\f[] + +.IP "Default:" 9 +\f[I]false\f[] + +.IP "Description:" 4 +During data extraction, +write received HTTP request data +to enumerated files in the current working directory. + +Special values: + +.br +* \f[I]"all"\f[]: Include HTTP request and response headers. Hide \f[I]Authorization\f[], \f[I]Cookie\f[], and \f[I]Set-Cookie\f[] values. +.br +* \f[I]"ALL"\f[]: Include all HTTP request and response headers. + + .SH EXTRACTOR-SPECIFIC OPTIONS .SS extractor.artstation.external .IP "Type:" 6 @@ -1587,7 +1627,13 @@ A (comma-separated) list of subcategories to include when processing a user profile. Possible values are -\f[I]"gallery"\f[], \f[I]"scraps"\f[], \f[I]"journal"\f[], \f[I]"favorite"\f[], \f[I]"status"\f[]. +\f[I]"avatar"\f[], +\f[I]"background"\f[], +\f[I]"gallery"\f[], +\f[I]"scraps"\f[], +\f[I]"journal"\f[], +\f[I]"favorite"\f[], +\f[I]"status"\f[]. It is possible to use \f[I]"all"\f[] instead of listing all values separately. @@ -1773,7 +1819,7 @@ Minimum wait time in seconds before API requests. .br * notes,pools .br -* ["notes", "pools" +* ["notes", "pools"] .IP "Description:" 4 Extract additional metadata (notes, pool metadata) if available. @@ -1940,6 +1986,28 @@ extraction and download for YouTube, Vimeo and SoundCloud embeds. * \f[I]false\f[]: Ignore embeds. +.SS extractor.fanbox.metadata +.IP "Type:" 6 +.br +* \f[I]bool\f[] +.br +* \f[I]string\f[] +.br +* \f[I]list\f[] of \f[I]strings\f[] + +.IP "Default:" 9 +\f[I]false\f[] + +.IP "Example:" 4 +.br +* user,plan +.br +* ["user", "plan"] + +.IP "Description:" 4 +Extract \f[I]plan\f[] and extended \f[I]user\f[] metadata. + + .SS extractor.flickr.access-token & .access-token-secret .IP "Type:" 6 \f[I]string\f[] |
