51 Commits

Author SHA1 Message Date
Mike Fährmann
e9989ff7bd [options] add '--config-json' command-line option 2026-02-14 19:33:33 +01:00
Mike Fährmann
98eb857794 [pp:exec] use non-UNC path replacements (#8879)
provide '{_path_unc}' and '{_directory_unc}' replacement fields
2026-02-14 12:09:54 +01:00
Mike Fährmann
d2477a94af [options] add 'sleep-retries' option 2026-02-13 18:04:05 +01:00
Mike Fährmann
0f41f343f4 implement linear/exponential backoff for 'sleep-429' 2026-02-12 19:23:29 +01:00
Mike Fährmann
56f2790626 [options] add '--config-type' command-line option
can also be set via 'GDL_CONFIG_TYPE' environment variable
9fd732afe8
2026-02-07 21:47:17 +01:00
Mike Fährmann
df8aaa7e22 [options] add '--restrict-filenames' & '--windows-filenames' 2026-02-05 09:32:24 +01:00
Mike Fährmann
3d36ee0e53 [common] support multiple codes/blocks for '--xff'
for example '--xff JP,CN,105.48.0.0/12'
2026-02-04 20:58:59 +01:00
Mike Fährmann
947085c6e3 [common] add '--xff' / 'geo-bypass' option 2026-02-04 18:45:02 +01:00
Mike Fährmann
87323fd71e rename 'image-*' & 'chapter-*' options to 'file-*' & 'child-*'
keep support for both names, e.g. file-filter & image-filter,
while prioritizing the new names
2026-02-02 18:01:45 +01:00
Mike Fährmann
6c9dff1e29 [docs/options] add Table of Contents 2026-01-27 19:27:40 +01:00
Mike Fährmann
19a27a47b3 [options] add '--sleep-skip' option (#6582)
https://github.com/mikf/gallery-dl/issues/6582#issuecomment-3677460485
2025-12-20 19:06:11 +01:00
Mike Fährmann
5da200945b implement 'post-filter' & 'post-range' options
(#8643)
2025-12-05 16:40:23 +01:00
Mike Fährmann
dadf405803 [options] add '-a' as short option for '--user-agent' 2025-08-26 07:40:55 +02:00
Mike Fährmann
8a97a1dad0 [docs/options] update '-A' & '-T' descriptions
2eb5e52055
2025-08-01 23:31:14 +02:00
Mike Fährmann
05cba49062 [options] add '--sleep-429' command-line option (#7871) 2025-07-22 20:57:54 +02:00
Mike Fährmann
d9a650d547 [options] add '--compat' command-line option 2025-07-14 18:52:39 +02:00
Mike Fährmann
e7922ababd [naver] change categories (#7746)
- 'naver'        -> 'naver-blog'
- 'chzzk'        -> 'naver-chzzk'
- 'naverwebtoon' -> 'naver-webtoon'
2025-07-02 23:20:40 +02:00
Mike Fährmann
2cbc5cc454 [options] swap --print and --Print semantics
--print now outputs values without downloading files
--Print now outputs values AND downloads files

add --Print-to-file with the same difference to --print-to-file
2025-06-22 18:19:41 +02:00
Mike Fährmann
8a35863e86 [options] add '--Print' command-line option 2025-06-20 16:32:48 +02:00
Mike Fährmann
a25e14e776 [dl:http] implement dynamic download 'rate' limits (#7638) 2025-06-08 20:04:31 +02:00
Mike Fährmann
a3b9cc7785 [options] mark '--list-extractors' argument as optional 2025-01-05 21:37:44 +01:00
Mike Fährmann
9e72968154 add '-4/--force-ipv4' and '-6/--force-ipv6' command-line options 2024-11-08 16:37:14 +01:00
Mike Fährmann
10c56a561d add '--print' and '--print-to-file' command-line options 2024-10-20 10:06:04 +02:00
Mike Fährmann
4da3347d18 allow filtering '--list-extractors' results
with blacklist/whitelist syntax, e.g.

--list-extractors pixiv
--list-extractors pixiv:user pixiv:work
--list-extractors :search
2024-09-08 09:27:32 +02:00
Mike Fährmann
359572162b [pp:rename] improve renaming files 'to' a format (#5846, #6044) 2024-09-03 21:17:31 +02:00
Mike Fährmann
60b655429f add '--rename' and '--rename-to' command-line options (#5846, #6044) 2024-08-30 18:22:46 +02:00
Mike Fährmann
2d55521582 [cookies:firefox] extract only cookies without container by default (#5957)
add support for 'all' to extract all cookies regardless of container
2024-08-14 18:59:41 +02:00
Mike Fährmann
8ecd408f53 add '-J/--resolve-json' command-line option (#5864) 2024-07-26 20:41:35 +02:00
Mike Fährmann
a1bb32792b do not try to read from stdin when it is non-interactive (#5733)
add '--no-input' command-line option and 'input' config file option
to allow users to manually configure this
2024-06-16 18:31:39 +02:00
Mike Fährmann
76385f5f18 re-categorize some command-line options in --help 2024-06-15 23:29:09 +02:00
Mike Fährmann
3fc2e61818 add '--config-open' and '--config-status' (#5713)
adapted from 119a25a59cd07781844136ed3d360e7d820b112c
2024-06-13 23:22:56 +02:00
Mike Fährmann
cbaf041cea [docs:options] add --update arguments 2024-06-02 18:16:25 +02:00
Mike Fährmann
bef0bd3b49 add '--no-colors' command-line option 2024-04-20 21:06:59 +02:00
Mike Fährmann
99b76628f7 implement '-e/--error-file' command-line option (#4732)
copying per-URL options from regular, read-only input files
does currently not work
2023-12-05 20:49:51 +01:00
Mike Fährmann
8bf161e574 reorder post processing options shown by --help 2023-11-16 17:37:15 +01:00
Mike Fährmann
168331d147 replace '--ugoira-conv' etc with a general '--ugoira'
update --ugoira webm to use the same FFmpeg args as Danbooru

--ugoira-conv          -> --ugoira vp8
--ugoira-conv-lossless -> --ugoira vp9-lossless
--ugoira-conv-copy     -> --ugoira copy

(--ugoira-conv and co still work as before,
 but --help now lists only --ugoira)
2023-11-16 17:15:17 +01:00
Mike Fährmann
97357e65ee replace '--mtime-from-date' with a more generic '--mtime'
--mtime-from-date -> --mtime date
for the same effect as before

(--mtime-from-date also still works,
 but --help now lists only --mtime)
2023-11-15 15:21:22 +01:00
Mike Fährmann
51e377e612 add '--cbz' command-line option 2023-11-14 23:10:31 +01:00
Mike Fährmann
4700051562 rework and extend input file processing (#4732)
- add 2 command-line options to modify input file contents
  - -I/--input-file-comment
  - -x/--input-file-delete
- implement InputManager class
- move code from util.py to __init__.py
  (mainly to avoid import cycles)
2023-11-14 20:50:11 +01:00
Mike Fährmann
67ba4ee842 [pp:exec] support more replacement fields for '--exec' (#4633)
- {_directory}
- {_filename}
- {_path} (alias for {})
2023-10-09 12:50:10 +02:00
Mike Fährmann
285391df43 add '-C' as short option for '--cookies'
and put cookie options into their own section
2023-05-06 20:45:44 +02:00
Mike Fährmann
b9b1cdd71b add '--cookies-export' command-line option 2023-05-06 17:37:49 +02:00
Mike Fährmann
a14b63d941 support selecting a domain for '--cookies-from-browser'
for example 'gallery-dl --cookies-from-browser firefox/twitter.com'
2023-05-06 15:09:49 +02:00
Mike Fährmann
075c965512 add '--config-create' command-line option
(#2333)
2023-03-01 14:49:40 +01:00
Mike Fährmann
632d5d7745 allow loading config files in TOML format with --config-toml 2023-02-28 21:54:46 +01:00
Mike Fährmann
c2bc70593e implement ability to load external extractor classes
- -X/--extractors
- extractor.module-sources
2023-01-30 23:10:10 +01:00
Mike Fährmann
f58215705a add '-O/--postprocessor-option' command-line option (#3565) 2023-01-26 14:59:24 +01:00
Mike Fährmann
3c03928d75 simplify 'docs/options.md' generation
use the plain text output from '--help'
instead of trying to generate 'fancy' HTML with Markdown restrictions
2023-01-06 11:21:47 +01:00
Mike Fährmann
f1a715dbcd improve docs/options.md
- use non-breaking hyphens
- don't replace '…' in examples
- don't force width for long option column
2023-01-04 14:41:05 +01:00
Mike Fährmann
50d89d4acb docs/options.md: use a separate table for each option group 2023-01-03 16:04:48 +01:00