From a70a3246927b72f1ded37acd55ee719515441b5b Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 1 Jun 2020 23:11:37 -0400 Subject: New upstream version 1.14.0. --- data/completion/gallery-dl | 2 +- data/man/gallery-dl.1 | 7 +++++-- data/man/gallery-dl.conf.5 | 48 +++++++++++++++++++++++++++++++++++++--------- 3 files changed, 45 insertions(+), 12 deletions(-) (limited to 'data') diff --git a/data/completion/gallery-dl b/data/completion/gallery-dl index 11a796a..921d601 100644 --- a/data/completion/gallery-dl +++ b/data/completion/gallery-dl @@ -10,7 +10,7 @@ _gallery_dl() elif [[ "${prev}" =~ ^(-d|--dest)$ ]]; then COMPREPLY=( $(compgen -d -- "${cur}") ) else - COMPREPLY=( $(compgen -W "--help --version --dest --input-file --cookies --proxy --clear-cache --quiet --verbose --get-urls --dump-json --simulate --list-keywords --list-modules --list-extractors --write-log --write-unsupported --limit-rate --retries --abort --http-timeout --sleep --no-part --no-mtime --no-download --no-check-certificate --config --config-yaml --option --ignore-config --username --password --netrc --download-archive --range --chapter-range --filter --chapter-filter --zip --ugoira-conv --ugoira-conv-lossless --write-metadata --write-tags --mtime-from-date --exec --exec-after" -- "${cur}") ) + COMPREPLY=( $(compgen -W "--help --version --dest --input-file --cookies --proxy --clear-cache --quiet --verbose --get-urls --dump-json --simulate --list-keywords --list-modules --list-extractors --write-log --write-unsupported --write-pages --limit-rate --retries --abort --http-timeout --sleep --no-part --no-mtime --no-download --no-check-certificate --config --config-yaml --option --ignore-config --username --password --netrc --download-archive --range --chapter-range --filter --chapter-filter --zip --ugoira-conv --ugoira-conv-lossless --write-metadata --write-tags --mtime-from-date --exec --exec-after" -- "${cur}") ) fi } diff --git a/data/man/gallery-dl.1 b/data/man/gallery-dl.1 index c115752..fe9a684 100644 --- a/data/man/gallery-dl.1 +++ b/data/man/gallery-dl.1 @@ -1,4 +1,4 @@ -.TH "GALLERY-DL" "1" "2020-05-02" "1.13.6" "gallery-dl Manual" +.TH "GALLERY-DL" "1" "2020-05-31" "1.14.0" "gallery-dl Manual" .\" disable hyphenation .nh @@ -68,6 +68,9 @@ Write logging output to FILE .B "\-\-write\-unsupported" \f[I]FILE\f[] Write URLs, which get emitted by other extractors but cannot be handled, to FILE .TP +.B "\-\-write\-pages" +Write downloaded intermediary pages to files in the current directory to debug problems +.TP .B "\-r, \-\-limit\-rate" \f[I]RATE\f[] Maximum download rate (e.g. 500k or 2.5M) .TP @@ -78,7 +81,7 @@ Maximum number of retries for failed HTTP requests or -1 for infinite retries (d Abort extractor run after N consecutive file downloads have been skipped, e.g. if files with the same filename already exist .TP .B "\-\-http\-timeout" \f[I]SECONDS\f[] -Timeout for HTTP connections (defaut: 30.0) +Timeout for HTTP connections (default: 30.0) .TP .B "\-\-sleep" \f[I]SECONDS\f[] Number of seconds to sleep before each download diff --git a/data/man/gallery-dl.conf.5 b/data/man/gallery-dl.conf.5 index a944167..5a37463 100644 --- a/data/man/gallery-dl.conf.5 +++ b/data/man/gallery-dl.conf.5 @@ -1,4 +1,4 @@ -.TH "GALLERY-DL.CONF" "5" "2020-05-02" "1.13.6" "gallery-dl Manual" +.TH "GALLERY-DL.CONF" "5" "2020-05-31" "1.14.0" "gallery-dl Manual" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) @@ -153,17 +153,25 @@ for any spawned child extractors. .SS extractor.*.path-restrict .IP "Type:" 6 -\f[I]string\f[] +\f[I]string\f[] or \f[I]object\f[] .IP "Default:" 9 \f[I]"auto"\f[] .IP "Example:" 4 "/!? (){}" +.br +{" ": "_", "/": "-", "|": "-", ":": "-", "*": "+"} +.br .IP "Description:" 4 -Set of characters to replace with underscores (\f[I]_\f[]) -in generated path segment names. +A string of characters to be replaced with the value of +.br +\f[I]path-replace \f[] +or an object mapping invalid/unwanted characters to their replacements +.br +for generated path segment names. +.br Special values: @@ -175,9 +183,20 @@ depending on the local operating system .br * \f[I]"windows"\f[]: \f[I]"\\\\\\\\|/<>:\\"?*"\f[] -Note: In a set with 2 or more characters, \f[I][]^-\\\f[] need to be +Note: In a string with 2 or more characters, \f[I][]^-\\\f[] need to be escaped with backslashes, e.g. \f[I]"\\\\[\\\\]"\f[] +.SS extractor.*.path-replace +.IP "Type:" 6 +\f[I]string\f[] + +.IP "Default:" 9 +\f[I]"_"\f[] + +.IP "Description:" 4 +The replacement character(s) for +\f[I]path-restrict \f[] + .SS extractor.*.path-remove .IP "Type:" 6 \f[I]string\f[] @@ -188,7 +207,7 @@ escaped with backslashes, e.g. \f[I]"\\\\[\\\\]"\f[] .IP "Description:" 4 Set of characters to remove from generated path names. -Note: In a set with 2 or more characters, \f[I][]^-\\\f[] need to be +Note: In a string with 2 or more characters, \f[I][]^-\\\f[] need to be escaped with backslashes, e.g. \f[I]"\\\\[\\\\]"\f[] .SS extractor.*.skip @@ -627,7 +646,7 @@ Download embedded videos hosted on https://www.blogger.com/ \f[I]bool\f[] .IP "Default:" 9 -\f[I]true\f[] +\f[I]false\f[] .IP "Description:" 4 Controls the download target for Ugoira posts. @@ -1023,6 +1042,17 @@ open the URL in the user's browser. .br * \f[I]false\f[]: Ask the user to copy & paste an URL from the terminal. +.SS extractor.oauth.cache +.IP "Type:" 6 +\f[I]bool\f[] + +.IP "Default:" 9 +\f[I]true\f[] + +.IP "Description:" 4 +Store tokens received during OAuth authorizations +in \f[I]cache \f[]. + .SS extractor.oauth.port .IP "Type:" 6 \f[I]integer\f[] @@ -1588,7 +1618,7 @@ directly passed to youtube-dl. \f[I]bool\f[] .IP "Default:" 9 -\f[I]true\f[] +\f[I]false\f[] .IP "Description:" 4 Forward cookies to youtube-dl. @@ -2094,7 +2124,7 @@ case the Python interpreter gets shut down unexpectedly .IP "Default:" 9 .br -* \f[I]tempfile.gettempdir()\f[] + \f[I]".gallery-dl.cache"\f[] on Windows +* (\f[I]%APPDATA%\f[] or \f[I]"~"\f[]) + \f[I]"/gallery-dl/cache.sqlite3"\f[] on Windows .br * (\f[I]$XDG_CACHE_HOME\f[] or \f[I]"~/.cache"\f[]) + \f[I]"/gallery-dl/cache.sqlite3"\f[] on all other platforms -- cgit v1.2.3