Debian Codegraph @

data/man/gallery-dl.conf.5

raw
1 .TH "GALLERY-DL.CONF" "5" "2026-08-29" "1.32.10" "gallery-dl Manual"
2 .\" disable hyphenation
3 .nh
4 .\" disable justification (adjust text to left margin only)
5 .ad l
6
7 .SH NAME
8 gallery-dl.conf \- gallery-dl configuration file
9
10 .SH DESCRIPTION
11 gallery-dl will search for configuration files in the following places
12 every time it is started, unless
13 .B --ignore-config
14 is specified:
15 .PP
16 .RS 4
17 .nf
18 .I /etc/gallery-dl.conf
19 .I $HOME/.config/gallery-dl/config.json
20 .I $HOME/.gallery-dl.conf
21 .fi
22 .RE
23 .PP
24 It is also possible to specify additional configuration files with the
25 .B -c/--config
26 command-line option or to add further option values with
27 .B -o/--option
28 as <key>=<value> pairs,
29
30 Configuration files are JSON-based and therefore don't allow any ordinary
31 comments, but, since unused keys are simply ignored, it is possible to utilize
32 those as makeshift comments by settings their values to arbitrary strings.
33
34 .SH EXAMPLE
35 {
36 .RS 4
37 "base-directory": "/tmp/",
38 .br
39 "extractor": {
40 .RS 4
41 "pixiv": {
42 .RS 4
43 "directory": ["Pixiv", "Works", "{user[id]}"],
44 .br
45 "filename": "{id}{num}.{extension}",
46 .br
47 "username": "foo",
48 .br
49 "password": "bar"
50 .RE
51 },
52 .br
53 "flickr": {
54 .RS 4
55 "_comment": "OAuth keys for account 'foobar'",
56 .br
57 "access-token": "0123456789-0123456789abcdef",
58 .br
59 "access-token-secret": "fedcba9876543210"
60 .RE
61 }
62 .RE
63 },
64 .br
65 "downloader": {
66 .RS 4
67 "retries": 3,
68 .br
69 "timeout": 2.5
70 .RE
71 }
72 .RE
73 }
74
75 .SH EXTRACTOR OPTIONS
76 .SS extractor.*.filename
77 .IP "Type:" 6
78 .br
79 * \f[I]Format String\f[]
80 .br
81 * \f[I]object\f[] (\f[I]Condition\f[] → \f[I]Format String\f[])
82
83 .IP "Example:" 4
84 .. code:: json
85
86 "{manga}_c{chapter}_{page:>03}.{extension}"
87
88 .. code:: json
89
90 {
91 "extension == 'mp4'": "{id}_video.{extension}",
92 "'nature' in title" : "{id}_{title}.{extension}",
93 "" : "{id}_default.{extension}"
94 }
95
96
97 .IP "Description:" 4
98 A \f[I]Format String\f[] to generate filenames for downloaded files.
99
100 If this is an \f[I]object\f[],
101 it must contain \f[I]Conditions\f[] mapping to the
102 \f[I]Format String\f[] to use.
103 These \f[I]Conditions\f[] are evaluated in the specified order
104 until one evaluates to \f[I]True\f[].
105 When none match, the \f[I]""\f[] entry or
106 the extractor's default filename \f[I]Format String\f[] is used.
107
108 The available replacement keys depend on the extractor used. A list
109 of keys for a specific one can be acquired by calling *gallery-dl*
110 with the \f[I]-K\f[]/\f[I]--list-keywords\f[] command-line option.
111 For example:
112
113 .. code::
114
115 $ gallery-dl -K http://seiga.nicovideo.jp/seiga/im5977527
116 Keywords for directory names:
117
118 category
119 seiga
120 subcategory
121 image
122
123 Keywords for filenames:
124
125 category
126 seiga
127 extension
128 None
129 image-id
130 5977527
131 subcategory
132 image
133
134 .IP "Note:" 4
135 Even if the value of the \f[I]extension\f[] key is missing or
136 \f[I]None\f[], it will be filled in later when the file download is
137 starting. This key is therefore always available to provide
138 a valid filename extension.
139
140
141 .SS extractor.*.directory
142 .IP "Type:" 6
143 .br
144 * \f[I]list\f[] of \f[I]Format Strings\f[]
145 .br
146 * \f[I]object\f[] (\f[I]Condition\f[] → \f[I]Format Strings\f[])
147
148 .IP "Example:" 4
149 .. code:: json
150
151 ["{category}", "{manga}", "c{chapter} - {title}"]
152
153 .. code:: json
154
155 {
156 "'nature' in content": ["Nature Pictures"],
157 "retweet_id != 0" : ["{category}", "{user[name]}", "Retweets"],
158 "" : ["{category}", "{user[name]}"]
159 }
160
161
162 .IP "Description:" 4
163 A list of \f[I]Format String(s)\f[] to generate the target directory path.
164
165 If this is an \f[I]object\f[],
166 it must contain \f[I]Conditions\f[] mapping to the
167 list of \f[I]Format Strings\f[] to use.
168
169 Each individual string in such a list represents a single path
170 segment, which will be joined together and appended to the
171 \f[I]base-directory\f[] to form the complete target directory path.
172
173
174 .SS extractor.*.base-directory
175 .IP "Type:" 6
176 .br
177 * \f[I]Path\f[]
178 .br
179 * \f[I]object\f[] (\f[I]Condition\f[] → \f[I]Path\f[])
180
181 .IP "Default:" 9
182 \f[I]"./gallery-dl/"\f[]
183
184 .IP "Example:" 4
185 .. code:: json
186
187 "~/Downloads/gallery-dl"
188
189 .. code:: json
190
191 {
192 "score >= 100": "$DL",
193 "duration" : "$DL/video",
194 "" : "/tmp/files/"
195 }
196
197 .IP "Description:" 4
198 Directory path used as base for all download destinations.
199
200 If this is an \f[I]object\f[],
201 it must contain \f[I]Conditions\f[] mapping to the \f[I]Path\f[] to use.
202 Specifying a default \f[I]Path\f[] with \f[I]""\f[] is required.
203
204
205 .SS extractor.*.follow
206 .IP "Type:" 6
207 .br
208 * \f[I]Format String\f[]
209 .br
210 * list of \f[I]Format Strings\f[]
211
212 .IP "Default:" 9
213 \f[I]null\f[]
214
215 .IP "Example:" 4
216 .br
217 * "{content}"
218 .br
219 * "\\fE body or html or text"
220 .br
221 * ["{body}", "{html}", "{text}"]
222
223 .IP "Description:" 4
224 Follow URLs in the given \f[I]Format String\f[]'s result and
225 process them with child extractors.
226
227
228 .SS extractor.*.parent
229 .IP "Type:" 6
230 \f[I]bool\f[]
231
232 .IP "Default:" 9
233 \f[I]true\f[]
234 \f[I][chevereto]\f[] \f[I]
235 \f[I]erome\f[] \f[]
236 \f[I][imagehost]\f[] |
237 \f[I]urlgalleries\f[]
238 \f[I]false\f[]
239 otherwise
240
241 .IP "Description:" 4
242 Mark an extractor as a parent and enable
243
244 .br
245 * \f[I]parent-directory\f[]
246 .br
247 * \f[I]parent-metadata \f[]
248 .br
249 * \f[I]parent-session \f[]
250 .br
251 * \f[I]parent-skip \f[]
252
253 for it by default.
254
255
256 .SS extractor.*.parent-directory
257 .IP "Type:" 6
258 \f[I]bool\f[]
259
260 .IP "Default:" 9
261 \f[I]extractor.parent\f[]
262
263 .IP "Description:" 4
264 Use an extractor's current target directory as
265 \f[I]base-directory\f[] for any spawned child extractors.
266
267
268 .SS extractor.*.parent-metadata
269 .IP "Type:" 6
270 .br
271 * \f[I]bool\f[]
272 .br
273 * \f[I]string\f[]
274
275 .IP "Default:" 9
276 \f[I]true\f[]
277 \f[I]extractor.parent\f[]
278 \f[I]"_parent"\f[]
279 otherwise
280
281 .IP "Description:" 4
282 Forward a parent's metadata to its child extractors.
283
284 If this is a \f[I]string\f[], add a parent's metadata to its children's
285 .br
286 to a field named after said string.
287 For example with \f[I]"parent-metadata": "_p_"\f[]:
288 .br
289
290 .. code:: json
291
292 {
293 "id": "child-id",
294 "_p_": {"id": "parent-id"}
295 }
296
297
298 .SS extractor.*.parent-session
299 .IP "Type:" 6
300 \f[I]bool\f[]
301
302 .IP "Default:" 9
303 \f[I]extractor.parent\f[]
304
305 .IP "Description:" 4
306 Share a parent's
307 \f[I]session\f[]
308 with its child extractors, including
309 \f[I]cookies\f[],
310 \f[I]headers\f[],
311 and other networking settings.
312
313
314 .SS extractor.*.parent-skip
315 .IP "Type:" 6
316 \f[I]bool\f[]
317
318 .IP "Default:" 9
319 \f[I]extractor.parent\f[]
320
321 .IP "Description:" 4
322 Share number of skipped downloads between parent and child extractors.
323
324
325 .SS extractor.*.path-restrict
326 .IP "Type:" 6
327 .br
328 * \f[I]string\f[]
329 .br
330 * \f[I]object\f[] (character → replacement character(s))
331
332 .IP "Default:" 9
333 \f[I]"auto"\f[]
334
335 .IP "Example:" 4
336 .br
337 * "/!? (){}"
338 .br
339 * {"/": "_", "+": "_+_", "({[": "(", "]})": ")", "a-z": "*"}
340
341 .IP "Description:" 4
342 A \f[I]string\f[] of characters to be replaced with the value of
343 .br
344 \f[I]path-replace\f[]
345 or an \f[I]object\f[] mapping invalid/unwanted characters, character sets,
346 .br
347 or character ranges to their replacements
348 for generated path segment names.
349 .br
350
351 .IP "Special Values:" 4
352 \f[I]"auto"\f[]
353 Use characters from \f[I]"unix"\f[] or \f[I]"windows"\f[]
354 depending on the local operating system
355 \f[I]"unix"\f[]
356 \f[I]"/"\f[]
357 \f[I]"windows"\f[]
358 \f[I]"\\\\\\\\\f[I]/<>:\\"?*"\f[]
359 .br
360 (https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file)
361 .br
362 \f[I]"windows+"\f[]
363 \f[I]{"\\\\": "⧹", "\f[]": "|", "/": "⧸", "<": "<", ">": ">", ":": ":", "\\"": """, "?": "?", "*": "*"}\f[]
364 .br
365 (replace characters not allowed by Windows with Unicode alternatives)
366 .br
367 \f[I]"ascii"\f[]
368 \f[I]"^0-9A-Za-z_."\f[]
369 .br
370 (only ASCII digits, letters, underscores, and dots)
371 .br
372 \f[I]"ascii+"\f[]
373 \f[I]"^0-9@-[\\\\]-{ #-)+-.;=!}~"\f[]
374 .br
375 (all ASCII characters except the ones not allowed by Windows)
376 .br
377
378 .IP "Implementation Detail:" 4
379 For \f[I]strings\f[] with length >= 2, this option uses a
380 \f[I]Regular Expression Character Set\f[],
381 meaning that:
382
383 .br
384 * Using a caret \f[I]^\f[] as first character inverts the set
385 (\f[I]"^..."\f[])
386 .br
387 * Character ranges are supported
388 (\f[I]"0-9a-z"\f[])
389 .br
390 * \f[I]]\f[], \f[I]-\f[], and \f[I]\\\f[] need to be escaped as
391 \f[I]\\\\]\f[], \f[I]\\\\-\f[], and \f[I]\\\\\\\\\f[] respectively
392 to use them as literal characters
393
394
395 .SS extractor.*.path-replace
396 .IP "Type:" 6
397 \f[I]string\f[]
398
399 .IP "Default:" 9
400 \f[I]"_"\f[]
401
402 .IP "Description:" 4
403 The replacement character(s) for
404 \f[I]path-restrict\f[]
405
406
407 .SS extractor.*.path-remove
408 .IP "Type:" 6
409 \f[I]string\f[]
410
411 .IP "Default:" 9
412 \f[I]"\\u0000-\\u001f\\u007f"\f[] (ASCII control characters)
413
414 .IP "Description:" 4
415 Set of characters to remove from generated path names.
416
417 .IP "Note:" 4
418 In a string with 2 or more characters, \f[I][]^-\\\f[] need to be
419 escaped with backslashes, e.g. \f[I]"\\\\[\\\\]"\f[]
420
421
422 .SS extractor.*.path-strip
423 .IP "Type:" 6
424 \f[I]string\f[]
425
426 .IP "Default:" 9
427 \f[I]"auto"\f[]
428
429 .IP "Description:" 4
430 Set of characters to remove from the end of generated path segment names
431 using \f[I]str.rstrip()\f[]
432
433 .IP "Special Values:" 4
434 \f[I]"auto"\f[]
435 Use characters from \f[I]"unix"\f[] or \f[I]"windows"\f[]
436 depending on the local operating system
437 \f[I]"unix"\f[]
438 \f[I]""\f[]
439 \f[I]"windows"\f[]
440 \f[I]". "\f[]
441
442
443 .SS extractor.*.path-convert
444 .IP "Type:" 6
445 \f[I]Conversion(s)\f[]
446
447 .IP "Example:" 4
448 .br
449 * "g"
450 .br
451 * "Wl"
452
453 .IP "Description:" 4
454 \f[I]Conversion(s)\f[] to apply to each path segment after
455 \f[I]path-restrict\f[]
456 replacements.
457
458
459 .SS extractor.*.path-extended
460 .IP "Type:" 6
461 \f[I]bool\f[]
462
463 .IP "Default:" 9
464 \f[I]true\f[]
465
466 .IP "Description:" 4
467 On Windows, use \f[I]extended-length paths\f[]
468 prefixed with \f[I]\\\\?\\\f[] to work around the 260 characters path length limit.
469
470
471 .SS extractor.*.extension-map
472 .IP "Type:" 6
473 \f[I]object\f[] (extension → replacement)
474
475 .IP "Default:" 9
476 .. code:: json
477
478 {
479 "jpeg": "jpg",
480 "jpe" : "jpg",
481 "jfif": "jpg",
482 "jif" : "jpg",
483 "jfi" : "jpg",
484 "html": "htm"
485 }
486
487 .IP "Description:" 4
488 A JSON \f[I]object\f[] mapping filename extensions to their replacements.
489
490
491 .SS extractor.*.skip
492 .IP "Type:" 6
493 .br
494 * \f[I]bool\f[]
495 .br
496 * \f[I]string\f[]
497
498 .IP "Default:" 9
499 \f[I]true\f[]
500
501 .IP "Example:" 4
502 .br
503 * "abort:5"
504 .br
505 * "abort:5:2"
506 .br
507 * "abort:5:manga"
508 .br
509 * "terminate:3"
510
511 .IP "Description:" 4
512 Controls the behavior when downloading files that have been
513 downloaded before, i.e. a file with the same filename already
514 exists or its ID is in a \f[I]download archive\f[].
515
516 \f[I]true\f[]
517 Skip downloads
518 \f[I]false\f[]
519 Overwrite already existing files
520
521 \f[I]"abort"\f[]
522 Stop the current extractor
523 \f[I]"abort:N"\f[]
524 Skip downloads and
525 stop the current extractor after \f[I]N\f[] consecutive skips
526 \f[I]"abort:N:L"\f[]
527 Skip downloads and
528 .br
529 stop the current extractor after \f[I]N\f[] consecutive skips
530 Ascend \f[I]L\f[] levels in the extractor hierarchy
531 .br
532 \f[I]"abort:N:SC"\f[]
533 Skip downloads and
534 .br
535 stop the current extractor after \f[I]N\f[] consecutive skips
536 Ascend to an extractor with subcategory \f[I]SC\f[] in the extractor hierarchy
537 .br
538
539 \f[I]"terminate"\f[]
540 Stop the current extractor, including parent extractors
541 \f[I]"terminate:N"\f[]
542 Skip downloads and
543 stop the current extractor, including parent extractors,
544 after \f[I]N\f[] consecutive skips
545
546 \f[I]"exit"\f[]
547 Exit the program altogether
548 \f[I]"exit:N"\f[]
549 Skip downloads and
550 exit the program after \f[I]N\f[] consecutive skips
551
552 \f[I]"enumerate"\f[]
553 Add an enumeration index to the beginning of the
554 filename extension (\f[I]file.1.ext\f[], \f[I]file.2.ext\f[], etc.)
555
556
557 .SS extractor.*.skip-filter
558 .IP "Type:" 6
559 \f[I]Condition\f[]
560
561 .IP "Description:" 4
562 Python \f[I]Expression\f[] controlling which skipped files to count towards
563 \f[I]"abort"\f[] / \f[I]"terminate"\f[] / \f[I]"exit"\f[].
564
565
566 .SS extractor.*.sleep
567 .IP "Type:" 6
568 \f[I]Duration\f[]
569
570 .IP "Default:" 9
571 \f[I]5.0\f[]
572 \f[I]animepictures\f[]
573 \f[I]0\f[]
574 otherwise
575
576 .IP "Description:" 4
577 Number of seconds to sleep before each download.
578
579
580 .SS extractor.*.sleep-skip
581 .IP "Type:" 6
582 \f[I]Duration\f[]
583
584 .IP "Default:" 9
585 \f[I]0\f[]
586
587 .IP "Description:" 4
588 Number of seconds to sleep after
589 \f[I]skipping\f[]
590 a file download.
591
592
593 .SS extractor.*.sleep-extractor
594 .IP "Type:" 6
595 \f[I]Duration\f[]
596
597 .IP "Default:" 9
598 \f[I]0\f[]
599
600 .IP "Description:" 4
601 Number of seconds to sleep before handling an input URL,
602 i.e. before starting a new extractor.
603
604
605 .SS extractor.*.sleep-retries
606 .IP "Type:" 6
607 \f[I]Duration+\f[]
608
609 .IP "Default:" 9
610 \f[I]"lin=1"\f[]
611
612 .IP "Example:" 4
613 .br
614 * "30-50"
615 .br
616 * "exp=40"
617 .br
618 * "lin:20=30-60"
619
620 .IP "Description:" 4
621 Number of seconds to sleep before
622 \f[I]retrying\f[]
623 an HTTP request.
624
625 If this is a \f[I]string\f[], its \f[I]Duration\f[] value can be prefixed with
626 \f[I]lin[:START[:MAX]]\f[] for linear or
627 \f[I]exp[:BASE[:START[:MAX]]]\f[] for exponential growth.
628
629 .IP "Note:" 4
630 \f[I]lin\f[] and \f[I]exp\f[] can be any starting characters of
631 .br
632 \f[I]linear\f[] and \f[I]exponential\f[].
633 For example \f[I]l\f[], \f[I]li\f[], \f[I]lin\f[], \f[I]line\f[], \f[I]linea\f[], or \f[I]linear\f[].
634 .br
635
636
637 .SS extractor.*.sleep-429
638 .IP "Type:" 6
639 \f[I]Duration+\f[]
640
641 .IP "Default:" 9
642 \f[I]60\f[]
643
644 .IP "Example:" 4
645 .br
646 * "30-50"
647 .br
648 * "e=40"
649 .br
650 * "linear:20=30-60"
651
652 .IP "Description:" 4
653 Number of seconds to sleep when receiving a
654 \f[I]429 Too Many Requests\f[]
655 response before \f[I]retrying\f[] the request.
656
657 If this is a \f[I]string\f[], its \f[I]Duration\f[] value can be prefixed with
658 \f[I]lin[:START[:MAX]]\f[] for linear or
659 \f[I]exp[:BASE[:START[:MAX]]]\f[] for exponential backoff.
660
661
662 .SS extractor.*.sleep-request
663 .IP "Type:" 6
664 \f[I]Duration\f[]
665
666 .IP "Default:" 9
667 \f[I]"0.5-1.5"\f[]
668 \f[I]ao3\f[] \f[I]
669 \f[I]arcalive\f[] \f[]
670 \f[I]artfight\f[] \f[I]
671 \f[I]booth\f[] \f[]
672 \f[I]civitai\f[] \f[I]
673 \f[I][Danbooru]\f[] \f[]
674 \f[I][E621]\f[] \f[I]
675 \f[I][foolfuuka]:search\f[] \f[]
676 \f[I]hdoujin\f[] \f[I]
677 \f[I]itaku\f[] \f[]
678 \f[I][manganelo]\f[] \f[I]
679 \f[I]newgrounds\f[] \f[]
680 \f[I][nitter]\f[] \f[I]
681 \f[I][philomena]\f[] \f[]
682 \f[I]pixiv-novel\f[] \f[I]
683 \f[I]plurk\f[] \f[]
684 \f[I]poipiku\f[] \f[I]
685 \f[I]pornpics\f[] \f[]
686 \f[I]schalenetwork\f[] \f[I]
687 \f[I]scrolller\f[] \f[]
688 \f[I]sizebooru\f[] \f[I]
689 \f[I]sofurry\f[] \f[]
690 \f[I]soundgasm\f[] \f[I]
691 \f[I]thehentaiworld\f[] \f[]
692 \f[I]urlgalleries\f[] \f[I]
693 \f[I]vk\f[] \f[]
694 \f[I]webtoons\f[] \f[I]
695 \f[I]weebcentral\f[] \f[]
696 \f[I]xfolio\f[] \f[I]
697 \f[I]zerochan\f[]
698 \f[I]"1.0"\f[]
699 \f[I]animepictures\f[] \f[]
700 \f[I]furaffinity\f[] \f[I]
701 \f[I]rule34\f[]
702 \f[I]"1.0-2.0"\f[]
703 \f[I]flickr\f[] \f[]
704 \f[I]pexels\f[] \f[I]
705 \f[I]weibo\f[] \f[]
706 \f[I][wikimedia]\f[]
707 \f[I]"1.4"\f[]
708 \f[I]wallhaven\f[]
709 \f[I]"2.0-4.0"\f[]
710 \f[I]behance\f[] \f[I]
711 \f[I]imagefap\f[] \f[]
712 \f[I][Nijie]\f[]
713 \f[I]"3.0-6.0"\f[]
714 \f[I]bilibili\f[] \f[I]
715 \f[I]exhentai\f[] \f[]
716 \f[I][reactor]\f[]
717 \f[I]"6.0-6.1"\f[]
718 \f[I]twibooru\f[]
719 \f[I]"6.0-12.0"\f[]
720 \f[I]instagram\f[]
721 \f[I]0\f[]
722 otherwise
723
724 .IP "Description:" 4
725 Minimal time interval in seconds between each HTTP request
726 during data extraction.
727
728
729 .SS extractor.*.username & .password
730 .IP "Type:" 6
731 \f[I]string\f[]
732
733 .IP "Default:" 9
734 \f[I]null\f[]
735
736 .IP "Description:" 4
737 The username and password to use when attempting to log in to
738 another site.
739
740 This is supported for
741
742 .br
743 * \f[I]aibooru\f[] (\f[I]*\f[])
744 .br
745 * \f[I]ao3\f[]
746 .br
747 * \f[I]aryion\f[]
748 .br
749 * \f[I]atfbooru\f[] (\f[I]*\f[])
750 .br
751 * \f[I]bluesky\f[]
752 .br
753 * \f[I]booruvar\f[] (\f[I]*\f[])
754 .br
755 * \f[I]coomer\f[]
756 .br
757 * \f[I]danbooru\f[] (\f[I]*\f[])
758 .br
759 * \f[I]deviantart\f[]
760 .br
761 * \f[I]e621\f[] (\f[I]*\f[])
762 .br
763 * \f[I]e6ai\f[] (\f[I]*\f[])
764 .br
765 * \f[I]e926\f[] (\f[I]*\f[])
766 .br
767 * \f[I]exhentai\f[]
768 .br
769 * \f[I]girlswithmuscle\f[]
770 .br
771 * \f[I]horne\f[] (\f[I]R\f[])
772 .br
773 * \f[I]idolcomplex\f[]
774 .br
775 * \f[I]imgbb\f[]
776 .br
777 * \f[I]inkbunny\f[]
778 .br
779 * \f[I]iwara\f[]
780 .br
781 * \f[I]kemono\f[]
782 .br
783 * \f[I]madokami\f[] (\f[I]R\f[])
784 .br
785 * \f[I]mangadex\f[]
786 .br
787 * \f[I]mangoxo\f[]
788 .br
789 * \f[I]newgrounds\f[]
790 .br
791 * \f[I]nijie\f[] (\f[I]R\f[])
792 .br
793 * \f[I]nudostarforum\f[]
794 .br
795 * \f[I]pawchive\f[]
796 .br
797 * \f[I]pillowfort\f[]
798 .br
799 * \f[I]poipiku\f[]
800 .br
801 * \f[I]rule34world\f[]
802 .br
803 * \f[I]rule34xyz\f[]
804 .br
805 * \f[I]sankaku\f[]
806 .br
807 * \f[I]scrolller\f[]
808 .br
809 * \f[I]seiga\f[]
810 .br
811 * \f[I]simpcity\f[]
812 .br
813 * \f[I]subscribestar\f[]
814 .br
815 * \f[I]tapas\f[]
816 .br
817 * \f[I]vipergirls\f[]
818 .br
819 * \f[I]zerochan\f[]
820
821 These values can also be specified via the
822 \f[I]-u/--username\f[] and \f[I]-p/--password\f[] command-line options or
823 by using a \f[I].netrc\f[] file. (see Authentication_)
824
825
826 .IP "Note:" 4
827 Leave the \f[I]password\f[] value empty or undefined
828 to be prompted for a password when performing a login
829 (see \f[I]getpass()\f[]).
830
831 .. _pw-apikey:
832
833 (*) The \f[I]password\f[] value for these sites should be
834 the API key found in your user profile, not the actual account password.
835
836 .. _pw-required:
837
838 (R) Login with username & password or
839 supplying authenticated
840 \f[I]cookies\f[]
841 is *required*
842
843
844 .SS extractor.*.init
845 .IP "Type:" 6
846 .br
847 * \f[I]bool\f[]
848 .br
849 * \f[I]string\f[]
850
851 .IP "Default:" 9
852 \f[I]false\f[]
853
854 .IP "Description:" 4
855 Controls when to initialize extractor internals.
856 .br
857 (
858 .br
859 \f[I]postprocessors\f[],
860 \f[I]archives\f[],
861 path-* options, etc
862 )
863
864 \f[I]true\f[]
865 Initialize everything immediately upon extractor start
866 \f[I]false\f[] | \f[I]"lazy"\f[]
867 Initialize data structures when processing the first \f[I]post\f[]
868 or not at all when an extractor never yields a \f[I]post\f[].
869
870
871 .SS extractor.*.input
872 .IP "Type:" 6
873 \f[I]bool\f[]
874
875 .IP "Default:" 9
876 \f[I]true\f[] if stdin is attached to a terminal,
877 \f[I]false\f[] otherwise
878
879 .IP "Description:" 4
880 Allow prompting the user for interactive input.
881
882
883 .SS extractor.*.netrc
884 .IP "Type:" 6
885 \f[I]bool\f[]
886
887 .IP "Default:" 9
888 \f[I]false\f[]
889
890 .IP "Description:" 4
891 Enable the use of \f[I].netrc\f[] authentication data.
892
893
894 .SS extractor.*.cookies
895 .IP "Type:" 6
896 .br
897 * \f[I]Path\f[]
898 .br
899 * \f[I]object\f[] (name → value)
900 .br
901 * \f[I]list\f[]
902
903 .IP "Description:" 4
904 Source to read additional cookies from. This can be
905
906 .br
907 * The \f[I]Path\f[] to a Mozilla/Netscape format cookies.txt file
908
909 .. code:: json
910
911 "~/.local/share/cookies-instagram-com.txt"
912
913 .br
914 * An \f[I]object\f[] specifying cookies as name-value pairs
915
916 .. code:: json
917
918 {
919 "cookie-name": "cookie-value",
920 "sessionid" : "14313336321%3AsabDFvuASDnlpb%3A31",
921 "isAdult" : "1"
922 }
923
924 .br
925 * A \f[I]list\f[] with up to 5 entries specifying a browser profile.
926
927 .br
928 * The first entry is the browser name
929 .br
930 * The optional second entry is a profile name or an absolute path to a profile directory
931 .br
932 * The optional third entry is the keyring to retrieve passwords for decrypting cookies from
933 .br
934 * The optional fourth entry is a (Firefox) container name (\f[I]"none"\f[] for only cookies with no container (default))
935 .br
936 * The optional fifth entry is the domain to extract cookies for. Prefix it with a dot \f[I].\f[] to include cookies for subdomains.
937
938 .. code:: json
939
940 ["firefox"]
941 ["firefox", null, null, "Personal"]
942 ["chromium", "Private", "kwallet", null, ".twitter.com"]
943
944
945 .SS extractor.*.cookies-select
946 .IP "Type:" 6
947 \f[I]string\f[]
948
949 .IP "Default:" 9
950 \f[I]null\f[]
951
952 .IP "Description:" 4
953 Interpret \f[I]extractor.cookies\f[]
954 as a list of cookie sources and select one of them for each extractor run.
955
956 .. code:: json
957
958 [
959 "~/.local/share/cookies-instagram-com-1.txt",
960 "~/.local/share/cookies-instagram-com-2.txt",
961 "~/.local/share/cookies-instagram-com-3.txt",
962 ["firefox", null, null, "c1", ".instagram-com"],
963 ]
964
965
966 .IP "Supported Values:" 4
967 \f[I]"random"\f[]
968 Select cookies \f[I]randomly\f[].
969 \f[I]"rotate"\f[]
970 Select cookies in sequence. Start over from the beginning after reaching the end of the list.
971
972
973 .SS extractor.*.cookies-update
974 .IP "Type:" 6
975 .br
976 * \f[I]bool\f[]
977 .br
978 * \f[I]Path\f[]
979
980 .IP "Default:" 9
981 \f[I]true\f[]
982
983 .IP "Description:" 4
984 Export session cookies in cookies.txt format.
985
986 .br
987 * If this is a \f[I]Path\f[], write cookies to the given file path.
988
989 .br
990 * If this is \f[I]true\f[] and \f[I]extractor.*.cookies\f[] specifies the \f[I]Path\f[]
991 of a valid cookies.txt file, update its contents.
992
993
994 .SS extractor.*.proxy
995 .IP "Type:" 6
996 .br
997 * \f[I]string\f[]
998 .br
999 * \f[I]object\f[] (scheme → proxy)
1000
1001 .IP "Example:" 4
1002 .. code:: json
1003
1004 "http://10.10.1.10:3128"
1005
1006 .. code:: json
1007
1008 {
1009 "http" : "http://10.10.1.10:3128",
1010 "https": "http://10.10.1.10:1080",
1011 "http://10.20.1.128": "http://10.10.1.10:5323"
1012 }
1013
1014
1015 .IP "Description:" 4
1016 Proxy (or proxies) to be used for remote connections.
1017
1018 .br
1019 * If this is a \f[I]string\f[], it is the proxy URL for all
1020 outgoing requests.
1021 .br
1022 * If this is an \f[I]object\f[], it is a scheme-to-proxy mapping to
1023 specify different proxy URLs for each scheme.
1024 It is also possible to set a proxy for a specific host by using
1025 \f[I]scheme://host\f[] as key.
1026 See \f[I]Requests' proxy documentation\f[] for more details.
1027
1028 .IP "Note:" 4
1029 If a proxy URL does not include a scheme, \f[I]http://\f[] is assumed.
1030
1031
1032 .SS extractor.*.proxy-env
1033 .IP "Type:" 6
1034 \f[I]bool\f[]
1035
1036 .IP "Default:" 9
1037 \f[I]true\f[]
1038
1039 .IP "Description:" 4
1040 Collect proxy configuration information from environment variables
1041 (\f[I]HTTP_PROXY\f[], \f[I]HTTPS_PROXY\f[], \f[I]NO_PROXY\f[])
1042 and Windows Registry settings.
1043
1044
1045 .SS extractor.*.source-address
1046 .IP "Type:" 6
1047 .br
1048 * \f[I]string\f[]
1049 .br
1050 * \f[I]list\f[] with 1 \f[I]string\f[] and 1 \f[I]integer\f[] as elements
1051
1052 .IP "Example:" 4
1053 .br
1054 * "192.168.178.20"
1055 .br
1056 * ["192.168.178.20", 8080]
1057
1058 .IP "Description:" 4
1059 Client-side IP address to bind to.
1060
1061 Can be either a simple \f[I]string\f[] with just the local IP address
1062 .br
1063 or a \f[I]list\f[] with IP and explicit port number as elements.
1064 .br
1065
1066
1067 .SS extractor.*.user-agent
1068 .IP "Type:" 6
1069 \f[I]string\f[]
1070
1071 .IP "Default:" 9
1072 \f[I]"gallery-dl/VERSION"\f[]
1073 .br
1074 * \f[I][Danbooru]\f[]
1075 .br
1076 * \f[I]mangadex\f[]
1077 .br
1078 * \f[I][nitter]\f[]
1079 .br
1080 * \f[I]weasyl\f[]
1081 .br
1082 * \f[I][wikimedia]\f[]
1083 .br
1084 * \f[I]zerochan\f[]
1085 \f[I]"gallery-dl/VERSION (by mikf)"\f[]
1086 .br
1087 * \f[I][E621]\f[]
1088 \f[I]"net.umanle.arca.android.playstore/0.9.75"\f[]
1089 .br
1090 * \f[I]arcalive\f[]
1091 \f[I]"Patreon/126.9.0.15 (Android; Android 14; Scale/2.10)"\f[]
1092 .br
1093 * \f[I]patreon\f[]
1094 \f[I]"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/LATEST.0.0.0 Safari/537.36"\f[]
1095 .br
1096 * \f[I]instagram\f[]
1097 \f[I]"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:LATEST) Gecko/20100101 Firefox/LATEST"\f[]
1098 .br
1099 * otherwise
1100
1101 .IP "Example:" 4
1102 .br
1103 * "curl/8.14.1"
1104 .br
1105 * "browser"
1106 .br
1107 * "+chrome"
1108 .br
1109 * "@/opt/ChromeBrowser/bin/chrome"
1110
1111 .IP "Description:" 4
1112 User-Agent header value used for HTTP requests.
1113
1114 Setting this value to \f[I]"browser"\f[] will try to automatically detect
1115 and use the \f[I]User-Agent\f[] header of the system's default browser.
1116
1117 Starting this value with a \f[I]+\f[]
1118 .br
1119 will use the latest \f[I]User-Agent\f[] header of this preset target,
1120 e.g. \f[I]"+ff"\f[].
1121 (Supported values:
1122 .br
1123 \f[I]firefox\f[] \f[I] \f[I]ff\f[] \f[]
1124 \f[I]chrome\f[] \f[I] \f[I]cr\f[] \f[]
1125 \f[I]gallery-dl\f[] \f[I] \f[I]gdl\f[] \f[]
1126 \f[I]google-bot\f[] | \f[I]bot\f[]
1127 )
1128
1129 Starting this value with an \f[I]@\f[]
1130 .br
1131 will try to automatically detect and use the \f[I]User-Agent\f[] header
1132 of this installed browser,
1133 e.g. \f[I]"@C:/Program Files/Zen Browser/zen-browser.exe"\f[].
1134 .br
1135
1136
1137 .SS extractor.*.browser
1138 .IP "Type:" 6
1139 \f[I]string\f[]
1140
1141 .IP "Default:" 9
1142 \f[I]"firefox"\f[]
1143 \f[I]artstation\f[] \f[I]
1144 \f[I]behance\f[] \f[]
1145 \f[I]fanbox\f[] \f[I]
1146 \f[I]simplyhentai\f[] \f[]
1147 \f[I]twitter\f[] |
1148 \f[I]vsco\f[]
1149 \f[I]"chrome"\f[]
1150 \f[I]comicartfans\f[]
1151 \f[I]null\f[]
1152 otherwise
1153
1154 .IP "Example:" 4
1155 .br
1156 * "firefox"
1157 .br
1158 * "firefox/128"
1159 .br
1160 * "chrome:macos"
1161 .br
1162 * "chrome/138:macos"
1163
1164 .IP "Description:" 4
1165 Try to emulate a real browser (\f[I]firefox\f[] or \f[I]chrome\f[])
1166 .br
1167 by using its HTTP headers and TLS ciphers for HTTP requests
1168 .br
1169 by setting specialized defaults for
1170
1171 .br
1172 * \f[I]user-agent\f[]
1173 .br
1174 * \f[I]headers\f[]
1175 .br
1176 * \f[I]ciphers\f[]
1177
1178 Supported browsers:
1179
1180 .br
1181 * \f[I]firefox\f[]
1182 .br
1183 * \f[I]firefox/153\f[]
1184 .br
1185 * \f[I]firefox/140\f[]
1186 .br
1187 * \f[I]firefox/128\f[]
1188 .br
1189 * \f[I]chrome\f[]
1190 .br
1191 * \f[I]chrome/150\f[]
1192 .br
1193 * \f[I]chrome/138\f[]
1194 .br
1195 * \f[I]chrome/111\f[]
1196
1197 The operating system used in the \f[I]User-Agent\f[] header can be
1198 specified after a colon \f[I]:\f[] (\f[I]windows\f[], \f[I]linux\f[], \f[I]macos\f[]),
1199 for example \f[I]chrome:windows\f[].
1200
1201 .IP "Note:" 4
1202 Any value *not* matching a supported browser
1203 will fall back to \f[I]"firefox"\f[].
1204
1205 \f[I]requests\f[] and \f[I]urllib3\f[] only support HTTP/1.1, while a real
1206 browser would use HTTP/2 and HTTP/3.
1207
1208
1209 .SS extractor.*.referer
1210 .IP "Type:" 6
1211 .br
1212 * \f[I]bool\f[]
1213 .br
1214 * \f[I]string\f[]
1215
1216 .IP "Default:" 9
1217 \f[I]false\f[]
1218 \f[I]4archive\f[] \f[I]
1219 \f[I]4chanarchives\f[] \f[]
1220 \f[I]archivedmoe\f[] \f[I]
1221 \f[I]arena\f[] \f[]
1222 \f[I]nsfwalbum\f[] \f[I]
1223 \f[I]pholder\f[] \f[]
1224 \f[I]tumblrgallery\f[]
1225 \f[I]true\f[]
1226 otherwise
1227
1228 .IP "Description:" 4
1229 Send \f[I]Referer\f[]
1230 headers with all outgoing HTTP requests.
1231
1232 If this is a \f[I]string\f[], send it as Referer
1233 instead of the extractor's \f[I]root\f[] domain.
1234
1235
1236 .SS extractor.*.geo-bypass
1237 .IP "Type:" 6
1238 .br
1239 * \f[I]string\f[]
1240 .br
1241 * \f[I]list\f[] of \f[I]string\f[]
1242
1243 .IP "Default:" 9
1244 \f[I]"auto"\f[]
1245
1246 .IP "Example:" 4
1247 .br
1248 * "JP"
1249 .br
1250 * "105.48.0.0/12"
1251 .br
1252 * "JP,CN,105.48.0.0/12"
1253 .br
1254 * ["JP", "CN", "105.48.0.0/12"]
1255
1256 .IP "Description:" 4
1257 Use a random IP as fake
1258 \f[I]X-Forwarded-For\f[]
1259 header to try bypassing geographic restrictions.
1260
1261 Can be either
1262 .br
1263 \f[I]ISO 3166-2\f[]
1264 country codes
1265 or IP blocks in CIDR notation.
1266 .br
1267
1268
1269 .SS extractor.*.headers
1270 .IP "Type:" 6
1271 .br
1272 * \f[I]"string"\f[]
1273 .br
1274 * \f[I]object\f[] (name → value)
1275
1276 .IP "Default:" 9
1277 .. code:: json
1278
1279 {
1280 "User-Agent" : "<extractor.*.user-agent>",
1281 "Accept" : "*/*",
1282 "Accept-Language": "en-US,en;q=0.5",
1283 "Accept-Encoding": "gzip, deflate",
1284 "Referer" : "<extractor.*.referer>"
1285 }
1286
1287
1288 .IP "Description:" 4
1289 Additional \f[I]HTTP headers\f[]
1290 to be sent with each HTTP request,
1291
1292 To disable sending a header, set its value to \f[I]null\f[].
1293
1294 Set this option to \f[I]"firefox"\f[] or \f[I]"chrome"\f[]
1295 to use these browser's default headers.
1296
1297
1298 .SS extractor.*.ciphers
1299 .IP "Type:" 6
1300 .br
1301 * \f[I]string\f[]
1302 .br
1303 * \f[I]list\f[] of \f[I]strings\f[]
1304
1305 .IP "Example:" 4
1306 .br
1307 * "firefox"
1308 .br
1309 * .. code:: json
1310
1311 ["ECDHE-ECDSA-AES128-GCM-SHA256",
1312 "ECDHE-RSA-AES128-GCM-SHA256",
1313 "ECDHE-ECDSA-CHACHA20-POLY1305",
1314 "ECDHE-RSA-CHACHA20-POLY1305"]
1315
1316
1317 .IP "Description:" 4
1318 List of TLS/SSL cipher suites in
1319 \f[I]OpenSSL cipher list format\f[]
1320 to be passed to
1321 \f[I]ssl.SSLContext.set_ciphers()\f[]
1322
1323 Set this option to \f[I]"firefox"\f[] or \f[I]"chrome"\f[]
1324 to use these browser's default ciphers.
1325
1326
1327 .SS extractor.*.tls12
1328 .IP "Type:" 6
1329 \f[I]bool\f[]
1330
1331 .IP "Default:" 9
1332 \f[I]false\f[]
1333 \f[I]artfight\f[] \f[I]
1334 \f[I]artstation\f[] \f[]
1335 \f[I]behance\f[]
1336 \f[I]true\f[]
1337 otherwise
1338
1339 .IP "Description:" 4
1340 Allow selecting TLS 1.2 cipher suites.
1341
1342 Can be disabled to alter TLS fingerprints
1343 and potentially bypass Cloudflare blocks.
1344
1345
1346 .SS extractor.*.keywords
1347 .IP "Type:" 6
1348 \f[I]object\f[] (name → value)
1349
1350 .IP "Example:" 4
1351 {"type": "Pixel Art", "type_id": 123}
1352
1353 .IP "Description:" 4
1354 Additional name-value pairs to be added to each metadata dictionary.
1355
1356
1357 .SS extractor.*.keywords-default
1358 .IP "Type:" 6
1359 any
1360
1361 .IP "Default:" 9
1362 \f[I]"None"\f[]
1363
1364 .IP "Description:" 4
1365 Default value used for missing or undefined keyword names in a
1366 \f[I]Format String\f[].
1367
1368
1369 .SS extractor.*.keywords-eval
1370 .IP "Type:" 6
1371 \f[I]bool\f[]
1372
1373 .IP "Default:" 9
1374 \f[I]false\f[]
1375
1376 .IP "Description:" 4
1377 Evaluate each
1378 \f[I]keywords\f[]
1379 and
1380 \f[I]keywords-global\f[]
1381 \f[I]string\f[] value as a \f[I]Format String\f[].
1382
1383
1384 .SS extractor.*.keywords-global
1385 .IP "Type:" 6
1386 \f[I]object\f[] (name → value)
1387
1388 .IP "Example:" 4
1389 {"type": "Original", "type_id": 1, "type_category": "meta"}
1390
1391 .IP "Description:" 4
1392 Global name-value pairs to be added to each metadata dictionary.
1393
1394 .IP "Note:" 4
1395 Keywords defined here will be overwritten by keywords from
1396 \f[I]extractor.keywords\f[]
1397 with the same name.
1398
1399
1400 .SS extractor.*.metadata-url
1401 .IP "Type:" 6
1402 \f[I]string\f[]
1403
1404 .IP "Default:" 9
1405 \f[I]"_url"\f[]
1406
1407 .IP "Description:" 4
1408 Insert a file's download URL into its metadata dictionary as the given name.
1409
1410 For example, setting this option to \f[I]"gdl_file_url"\f[] will cause a new
1411 metadata field with name \f[I]gdl_file_url\f[] to appear, which contains the
1412 current file's download URL.
1413 This can then be used in \f[I]filenames\f[],
1414 with a \f[I]metadata\f[] post processor, etc.
1415
1416
1417 .SS extractor.*.metadata-path
1418 .IP "Type:" 6
1419 \f[I]string\f[]
1420
1421 .IP "Default:" 9
1422 \f[I]"_path"\f[]
1423
1424 .IP "Description:" 4
1425 Insert a reference to the current
1426 \f[I]PathFormat\f[]
1427 data structure into metadata dictionaries as the given name.
1428
1429 For example, setting this option to \f[I]"gdl_path"\f[] would make it possible
1430 to access the current file's filename as \f[I]"{gdl_path.filename}"\f[].
1431
1432
1433 .SS extractor.*.metadata-extractor
1434 .IP "Type:" 6
1435 \f[I]string\f[]
1436
1437 .IP "Default:" 9
1438 \f[I]"_extr"\f[]
1439
1440 .IP "Description:" 4
1441 Insert a reference to the current
1442 \f[I]Extractor\f[]
1443 object into metadata dictionaries as the given name.
1444
1445
1446 .SS extractor.*.metadata-http
1447 .IP "Type:" 6
1448 \f[I]string\f[]
1449
1450 .IP "Default:" 9
1451 \f[I]null\f[]
1452
1453 .IP "Description:" 4
1454 Insert an \f[I]object\f[] containing a file's HTTP headers and
1455 \f[I]filename\f[], \f[I]extension\f[], and \f[I]date\f[] parsed from them
1456 into metadata dictionaries as the given name.
1457
1458 For example, setting this option to \f[I]"gdl_http"\f[] would make it possible
1459 to access the current file's \f[I]Last-Modified\f[] header as \f[I]"{gdl_http[Last-Modified]}"\f[]
1460 and its parsed form as \f[I]"{gdl_http[date]}"\f[].
1461
1462
1463 .SS extractor.*.metadata-version
1464 .IP "Type:" 6
1465 \f[I]string\f[]
1466
1467 .IP "Default:" 9
1468 \f[I]null\f[]
1469
1470 .IP "Description:" 4
1471 Insert an \f[I]object\f[] containing gallery-dl's version info into
1472 metadata dictionaries as the given name.
1473
1474 The content of the object is as follows:
1475
1476 .. code:: json
1477
1478 {
1479 "version" : "string",
1480 "is_executable" : "bool",
1481 "current_git_head": "string or null"
1482 }
1483
1484
1485 .SS extractor.*.category-transfer
1486 .IP "Type:" 6
1487 \f[I]bool\f[]
1488
1489 .IP "Default:" 9
1490 Extractor-specific
1491
1492 .IP "Description:" 4
1493 Transfer an extractor's (sub)category values to all child
1494 extractors spawned by it, to let them inherit their parent's
1495 config options.
1496
1497
1498 .SS extractor.*.blacklist & .whitelist
1499 .IP "Type:" 6
1500 \f[I]list\f[] of \f[I]strings\f[]
1501
1502 .IP "Default:" 9
1503 \f[I]["oauth", "recursive", "test"]\f[] + current extractor category
1504
1505 .IP "Example:" 4
1506 ["imgur", "redgifs:user", "*:image"]
1507
1508 .IP "Description:" 4
1509 A list of extractor identifiers to ignore (or allow)
1510 when spawning child extractors for unknown URLs,
1511 e.g. from \f[I]reddit\f[] or \f[I]plurk\f[].
1512
1513 Each identifier can be
1514
1515 .br
1516 * A category or basecategory name (\f[I]"imgur"\f[], \f[I]"mastodon"\f[])
1517 .br
1518 * | A (base)category-subcategory pair, where both names are separated by a colon (\f[I]"redgifs:user"\f[]).
1519 Both names can be a * or left empty, matching all possible names (\f[I]"*:image"\f[], \f[I]":user"\f[]).
1520 .br
1521
1522 .IP "Note:" 4
1523 Any \f[I]blacklist\f[] setting will automatically include
1524 \f[I]"oauth"\f[], \f[I]"recursive"\f[], and \f[I]"test"\f[].
1525
1526
1527 .SS extractor.*.tags-blacklist & .tags-whitelist
1528 .IP "Type:" 6
1529 .br
1530 * \f[I]Path\f[]
1531 .br
1532 * \f[I]string\f[]
1533 .br
1534 * \f[I]list\f[] of \f[I]strings\f[]
1535
1536 .IP "Example:" 4
1537 .br
1538 * "/path/to/file.txt"
1539 .br
1540 * "1girl,long_hair, highres,commentary_request"
1541 .br
1542 * "1girl long_hair, highres -commentary_request"
1543 .br
1544 * ["1girl", "long_hair", "highres", "commentary_request"]
1545 .br
1546 * ["1girl long_hair", "highres -commentary_request"]
1547
1548 .IP "Description:" 4
1549 A list of tags to exclude/include for processed posts.
1550
1551 Posts containing a blacklisted tag or *not* containing any whitelisted tag,
1552 .br
1553 including all of their files,
1554 will be ignored and not processed any further.
1555 .br
1556
1557 \f[I]Danbooru Blacklist Rules\f[]
1558 are supported.
1559
1560 This can be
1561
1562 .br
1563 * The \f[I]Path\f[] of a plaintext file
1564 containing black-/whitelisted tag names separated by newlines
1565 .br
1566 * A \f[I]string\f[] with tag names separated by commas (\f[I]"tag1,tag2 tag3,tag4"\f[])
1567 .br
1568 * A \f[I]list\f[] of \f[I]string\f[] tag names (\f[I]["tag1", "tag2 tag3", "tag4"]\f[])
1569
1570 Lines starting with \f[I]#\f[] followed by a space
1571 .br
1572 will be ignored and can be used for comments.
1573 For example
1574 \f[I]# this is a comment\f[]
1575 .br
1576
1577 Using \f[I]"/import"\f[] as value will import and apply
1578 your account's blacklisted tags list. This is supported for
1579
1580 .br
1581 * \f[I][Danbooru]\f[] & \f[I][E621]\f[] instances
1582 (requires \f[I]username & api-key\f[])
1583 .br
1584 * \f[I]sankaku\f[]
1585 (requires \f[I]username & password\f[])
1586 .br
1587 * \f[I]gelbooru\f[] & \f[I][gelbooru_v02]\f[] instances
1588 (requires authenticated \f[I]cookies\f[])
1589
1590
1591 .SS extractor.*.archive
1592 .IP "Type:" 6
1593 .br
1594 * \f[I]string\f[]
1595 .br
1596 * \f[I]Path+\f[]
1597
1598 .IP "Default:" 9
1599 \f[I]null\f[]
1600
1601 .IP "Example:" 4
1602 .br
1603 * "$HOME/.archives/gdl.sqlite3"
1604 .br
1605 * [":~", ".archives", "{category}.sqlite3"]
1606 .br
1607 * "postgresql://user:pass@host/database"
1608
1609 .IP "Description:" 4
1610 File to store IDs of downloaded files in. Downloads of files
1611 already recorded in this archive file will be
1612 \f[I]skipped\f[].
1613
1614 The resulting archive file is not a plain text file but an SQLite3
1615 database, as either lookup operations are significantly faster or
1616 memory requirements are significantly lower when the
1617 amount of stored IDs gets reasonably large.
1618
1619 If this value is a
1620 \f[I]PostgreSQL Connection URI\f[],
1621 the archive will use this PostgreSQL database as backend
1622 (requires \f[I]Psycopg\f[]).
1623
1624 .IP "Note:" 4
1625 Archive files that do not already exist get generated automatically.
1626
1627 To use replacement fields in a path,
1628 .br
1629 specify it as a list of strings (see \f[I]Path+\f[])
1630 (for example \f[I][":~", ".archives", "{category}.sqlite3"]\f[])
1631 .br
1632
1633
1634 .SS extractor.*.archive-event
1635 .IP "Type:" 6
1636 + \f[I]string\f[]
1637 + \f[I]list\f[] of \f[I]strings\f[]
1638
1639 .IP "Default:" 9
1640 \f[I]"file"\f[]
1641
1642 .IP "Example:" 4
1643 .br
1644 * "after,skip"
1645 .br
1646 * ["after", "skip"]
1647
1648 .IP "Description:" 4
1649 \f[I]Event(s)\f[]
1650 for which IDs get written to an
1651 \f[I]archive\f[].
1652
1653 .IP "Available Events:" 4
1654 .br
1655 * \f[I]file\f[]
1656 .br
1657 * \f[I]after\f[]
1658 .br
1659 * \f[I]skip\f[]
1660
1661
1662 .SS extractor.*.archive-format
1663 .IP "Type:" 6
1664 \f[I]Format String\f[]
1665
1666 .IP "Example:" 4
1667 "{id}_{offset}"
1668
1669 .IP "Description:" 4
1670 An alternative \f[I]Format String\f[] to build archive IDs with.
1671
1672
1673 .SS extractor.*.archive-mode
1674 .IP "Type:" 6
1675 \f[I]string\f[]
1676
1677 .IP "Default:" 9
1678 \f[I]"file"\f[]
1679
1680 .IP "Description:" 4
1681 Controls when to write \f[I]archive IDs\f[]
1682 to the archive database.
1683
1684 \f[I]"file"\f[]
1685 Write IDs immediately
1686 after completing or skipping a file download.
1687 \f[I]"memory"\f[]
1688 Keep IDs in memory
1689 and only write them after successful job completion.
1690
1691
1692 .SS extractor.*.archive-prefix
1693 .IP "Type:" 6
1694 \f[I]Format String\f[]
1695
1696 .IP "Default:" 9
1697 .br
1698 * \f[I]""\f[] when \f[I]archive-table\f[] is set
1699 .br
1700 * \f[I]"{category}"\f[] otherwise
1701
1702 .IP "Description:" 4
1703 Prefix for archive IDs.
1704
1705
1706 .SS extractor.*.archive-pragma
1707 .IP "Type:" 6
1708 \f[I]list\f[] of \f[I]strings\f[]
1709
1710 .IP "Example:" 4
1711 ["journal_mode=WAL", "synchronous=NORMAL"]
1712
1713 .IP "Description:" 4
1714 A list of SQLite \f[I]PRAGMA\f[] statements to run during archive initialization.
1715
1716 See \f[I]<https://www.sqlite.org/pragma.html#toc>\f[]
1717 for available \f[I]PRAGMA\f[] statements and further details.
1718
1719
1720 .SS extractor.*.archive-table
1721 .IP "Type:" 6
1722 \f[I]Format String\f[]
1723
1724 .IP "Default:" 9
1725 \f[I]"archive"\f[]
1726
1727 .IP "Example:" 4
1728 "{category}"
1729
1730 .IP "Description:" 4
1731 \f[I]Format String\f[] selecting the archive database table name.
1732
1733
1734 .SS extractor.*.actions
1735 .IP "Type:" 6
1736 .br
1737 * \f[I]object\f[] (pattern → \f[I]Action(s)\f[])
1738 .br
1739 * \f[I]list\f[] of [pattern, \f[I]Action(s)\f[]] pairs
1740
1741 .IP "Example:" 4
1742 .. code:: json
1743
1744 {
1745 "info:Logging in as .+" : "level = debug",
1746 "warning:(?i)unable to .+": "exit 127",
1747 "error" : [
1748 "status \f[I]= 1",
1749 "exec notify.sh 'gdl error'",
1750 "abort"
1751 ]
1752 }
1753
1754 .. code:: json
1755
1756 [
1757 ["info:Logging in as .+" , "level = debug"],
1758 ["warning:(?i)unable to .+", "exit 127" ],
1759 ["error" , [
1760 "status \f[]= 1",
1761 "exec notify.sh 'gdl error'",
1762 "abort"
1763 ]]
1764 ]
1765
1766
1767 .IP "Description:" 4
1768 Perform an \f[I]Action\f[] when logging a message matched by \f[I]pattern\f[].
1769
1770 \f[I]pattern\f[] is parsed as severity level (\f[I]debug\f[], \f[I]info\f[], \f[I]warning\f[], \f[I]error\f[], or integer value)
1771 followed by an optional
1772 \f[I]Python Regular Expression\f[]
1773 separated by a colon:
1774 \f[I]<level>:<re>\f[]
1775
1776 Using \f[I]*\f[] as level or leaving it empty
1777 matches logging messages of all levels:
1778 \f[I]*:<re>\f[] or \f[I]:<re>\f[]
1779
1780
1781 .SS extractor.*.postprocessors
1782 .IP "Type:" 6
1783 .br
1784 * \f[I]Postprocessor Configuration\f[] object
1785 .br
1786 * \f[I]list\f[] of \f[I]Postprocessor Configuration\f[] objects
1787
1788 .IP "Example:" 4
1789 .. code:: json
1790
1791 [
1792 {
1793 "name": "zip" ,
1794 "compression": "store"
1795 },
1796 {
1797 "name": "exec",
1798 "command": ["/home/foobar/script", "{category}", "{image_id}"]
1799 }
1800 ]
1801
1802
1803 .IP "Description:" 4
1804 A list of \f[I]post processors\f[]
1805 to be applied to each downloaded file in the specified order.
1806
1807 Unlike other options, a \f[I]postprocessors\f[] setting at a deeper level
1808 .br
1809 does not override any \f[I]postprocessors\f[] setting at a lower level.
1810 Instead, all post processors from all applicable \f[I]postprocessors\f[]
1811 .br
1812 settings get combined into a single list.
1813
1814 For example
1815
1816 .br
1817 * an \f[I]mtime\f[] post processor at \f[I]extractor.postprocessors\f[],
1818 .br
1819 * a \f[I]zip\f[] post processor at \f[I]extractor.pixiv.postprocessors\f[],
1820 .br
1821 * and using \f[I]--exec\f[]
1822
1823 will run all three post processors - \f[I]mtime\f[], \f[I]zip\f[], \f[I]exec\f[] -
1824 for each downloaded \f[I]pixiv\f[] file.
1825
1826
1827 .SS extractor.*.postprocessor-options
1828 .IP "Type:" 6
1829 \f[I]object\f[] (name → value)
1830
1831 .IP "Example:" 4
1832 .. code:: json
1833
1834 {
1835 "archive": null,
1836 "keep-files": true
1837 }
1838
1839
1840 .IP "Description:" 4
1841 Additional \f[I]Postprocessor Options\f[] that get added to each individual
1842 \f[I]post processor object\f[]
1843 before initializing it and evaluating filters.
1844
1845
1846 .SS extractor.*.retries
1847 .IP "Type:" 6
1848 \f[I]integer\f[]
1849
1850 .IP "Default:" 9
1851 \f[I]4\f[]
1852
1853 .IP "Description:" 4
1854 Maximum number of times a failed HTTP request is retried before
1855 giving up, or \f[I]-1\f[] for infinite retries.
1856
1857
1858 .SS extractor.*.retry-codes
1859 .IP "Type:" 6
1860 \f[I]list\f[] of \f[I]integers\f[]
1861
1862 .IP "Example:" 4
1863 [404, 429, 430]
1864
1865 .IP "Description:" 4
1866 Additional \f[I]HTTP response status codes\f[]
1867 to retry an HTTP request on.
1868
1869 \f[I]2xx\f[] codes (success responses) and
1870 \f[I]3xx\f[] codes (redirection messages)
1871 will never be retried and always count as success,
1872 regardless of this option.
1873
1874 \f[I]5xx\f[] codes (server error responses) will always be retried,
1875 regardless of this option.
1876
1877
1878 .SS extractor.*.timeout
1879 .IP "Type:" 6
1880 \f[I]float\f[]
1881
1882 .IP "Default:" 9
1883 \f[I]30.0\f[]
1884
1885 .IP "Description:" 4
1886 Amount of time (in seconds) to wait for a successful connection
1887 and response from a remote server.
1888
1889 This value gets internally used as the \f[I]timeout\f[] parameter for the
1890 \f[I]requests.request()\f[] method.
1891
1892
1893 .SS extractor.*.verify
1894 .IP "Type:" 6
1895 .br
1896 * \f[I]bool\f[]
1897 .br
1898 * \f[I]string\f[]
1899
1900 .IP "Default:" 9
1901 \f[I]true\f[]
1902
1903 .IP "Description:" 4
1904 Controls whether to verify SSL/TLS certificates for HTTPS requests.
1905
1906 If this is a \f[I]string\f[], it must be the path to a CA bundle to use
1907 instead of the default certificates.
1908
1909 This value gets internally used as the \f[I]verify\f[] parameter for the
1910 \f[I]requests.request()\f[] method.
1911
1912
1913 .SS extractor.*.truststore
1914 .IP "Type:" 6
1915 \f[I]bool\f[]
1916
1917 .IP "Default:" 9
1918 \f[I]false\f[]
1919
1920 .IP "Description:" 4
1921 Use a
1922 .br
1923 \f[I]truststore\f[]
1924 \f[I]SSLContext\f[] for verifying SSL/TLS certificates
1925 to make use of your system's native certificate stores
1926 .br
1927 instead of relying on
1928 \f[I]certifi\f[]
1929 certificates.
1930
1931
1932 .SS extractor.*.download
1933 .IP "Type:" 6
1934 \f[I]bool\f[]
1935
1936 .IP "Default:" 9
1937 \f[I]true\f[]
1938
1939 .IP "Description:" 4
1940 Controls whether to download media files.
1941
1942 Setting this to \f[I]false\f[] won't download any files, but all other
1943 functions (\f[I]postprocessors\f[], \f[I]download archive\f[], etc.)
1944 will be executed as normal.
1945
1946
1947 .SS extractor.*.fallback
1948 .IP "Type:" 6
1949 \f[I]bool\f[]
1950
1951 .IP "Default:" 9
1952 \f[I]true\f[]
1953
1954 .IP "Description:" 4
1955 Use fallback download URLs when a download fails.
1956
1957
1958 .SS extractor.*.file-range
1959 .IP "Type:" 6
1960 .br
1961 * \f[I]string\f[]
1962 .br
1963 * \f[I]list\f[] of \f[I]strings\f[]
1964
1965 .IP "Example:" 4
1966 .br
1967 * "10-20"
1968 .br
1969 * "-5, 10, 30-50, 100-"
1970 .br
1971 * "10:21, 30:51:2, :5, 100:"
1972 .br
1973 * ["-5", "10", "30-50", "100-"]
1974
1975 .IP "Description:" 4
1976 Index range(s) selecting which files to download.
1977
1978 These can be specified as
1979
1980 .br
1981 * index: \f[I]3\f[] (file number 3)
1982 .br
1983 * range: \f[I]2-4\f[] (files 2, 3, and 4)
1984 .br
1985 * \f[I]slice\f[]: \f[I]3:8:2\f[] (files 3, 5, and 7)
1986
1987 Arguments for range and slice notation are optional
1988 .br
1989 and will default to begin (\f[I]1\f[]) or end (\f[I]sys.maxsize\f[]) if omitted.
1990 For example \f[I]5-\f[], \f[I]5:\f[], and \f[I]5::\f[] all mean "Start at file number 5".
1991 .br
1992
1993 .IP "Note:" 4
1994 The index of the first file is \f[I]1\f[].
1995
1996
1997 .SS extractor.*.post-range
1998 .IP "Type:" 6
1999 \f[I]string\f[]
2000
2001 .IP "Description:" 4
2002 Like \f[I]file-range\f[],
2003 but for posts.
2004
2005
2006 .SS extractor.*.child-range
2007 .IP "Type:" 6
2008 \f[I]string\f[]
2009
2010 .IP "Description:" 4
2011 Like \f[I]file-range\f[],
2012 but for child extractors handling manga chapters, external URLs, etc.
2013
2014
2015 .SS extractor.*.file-filter
2016 .IP "Type:" 6
2017 .br
2018 * \f[I]Condition\f[]
2019 .br
2020 * \f[I]list\f[] of \f[I]Conditions\f[]
2021
2022 .IP "Example:" 4
2023 .br
2024 * "re.search(r'foo(bar)+', description)"
2025 .br
2026 * ["width >= 1200", "width/height > 1.2"]
2027
2028 .IP "Description:" 4
2029 Python \f[I]Expression\f[] controlling which files to download.
2030
2031 A file only gets downloaded when *all* of the given \f[I]Expressions\f[] evaluate to \f[I]True\f[].
2032
2033 Available values are the filename-specific ones listed by \f[I]-K\f[] or \f[I]-j\f[].
2034
2035
2036 .SS extractor.*.post-filter
2037 .IP "Type:" 6
2038 .br
2039 * \f[I]Condition\f[]
2040 .br
2041 * \f[I]list\f[] of \f[I]Conditions\f[]
2042
2043 .IP "Example:" 4
2044 .br
2045 * "post['id'] > 12345"
2046 .br
2047 * ["date >= datetime(2025, 5, 1)", "print(post_id)"]
2048
2049 .IP "Description:" 4
2050 Like \f[I]file-filter\f[],
2051 but for posts.
2052
2053 Available values are the directory-specific ones listed by \f[I]-K\f[] or \f[I]-j\f[].
2054
2055
2056 .SS extractor.*.child-filter
2057 .IP "Type:" 6
2058 .br
2059 * \f[I]Condition\f[]
2060 .br
2061 * \f[I]list\f[] of \f[I]Conditions\f[]
2062
2063 .IP "Example:" 4
2064 .br
2065 * "lang == 'en'"
2066 .br
2067 * ["language == 'French'", "10 <= chapter < 20"]
2068
2069 .IP "Description:" 4
2070 Like \f[I]file-filter\f[],
2071 but for child extractors handling manga chapters, external URLs, etc.
2072
2073
2074 .SS extractor.*.file-unique
2075 .IP "Type:" 6
2076 \f[I]bool\f[]
2077
2078 .IP "Default:" 9
2079 \f[I]false\f[]
2080
2081 .IP "Description:" 4
2082 Ignore file URLs that have been encountered before during the
2083 current extractor run.
2084
2085
2086 .SS extractor.*.child-unique
2087 .IP "Type:" 6
2088 \f[I]bool\f[]
2089
2090 .IP "Default:" 9
2091 \f[I]false\f[]
2092
2093 .IP "Description:" 4
2094 Like \f[I]file-unique\f[],
2095 but applies to delegated URLs like manga chapters, etc.
2096
2097
2098 .SS extractor.*.date-before
2099 .IP "Type:" 6
2100 \f[I]Date\f[]
2101
2102 .IP "Default:" 9
2103 \f[I]null\f[]
2104
2105 .IP "Example:" 4
2106 .br
2107 * "2025-10-31"
2108 .br
2109 * "2026-01-09 15:30:00"
2110 .br
2111 * "2026-01-09T15:30:00Z"
2112 .br
2113 * 1767972600
2114
2115 .IP "Description:" 4
2116 Process only posts created before this \f[I]Date\f[].
2117
2118 Accepted values are \f[I]ISO 8601\f[] dates and Unix timestamps.
2119
2120
2121 .SS extractor.*.date-after
2122 .IP "Type:" 6
2123 \f[I]Date\f[]
2124
2125 .IP "Default:" 9
2126 \f[I]null\f[]
2127
2128 .IP "Description:" 4
2129 Process only posts created after this \f[I]Date\f[].
2130 .br
2131 Stop extraction when encountering
2132 .br
2133 a post created before or equal to this \f[I]Date\f[].
2134
2135 Accepted values are \f[I]ISO 8601\f[] dates and Unix timestamps.
2136
2137
2138 .SS extractor.*.write-pages
2139 .IP "Type:" 6
2140 .br
2141 * \f[I]bool\f[]
2142 .br
2143 * \f[I]string\f[]
2144
2145 .IP "Default:" 9
2146 \f[I]false\f[]
2147
2148 .IP "Description:" 4
2149 During data extraction,
2150 write received HTTP request data
2151 to enumerated files in the current working directory.
2152
2153 .IP "Special Values:" 4
2154 \f[I]"all"\f[]
2155 Include HTTP request and response headers.
2156 .br
2157 Hide \f[I]Authorization\f[], \f[I]Cookie\f[], and \f[I]Set-Cookie\f[] values.
2158 .br
2159 \f[I]"ALL"\f[]
2160 Include all HTTP request and response headers.
2161
2162
2163 .SH EXTRACTOR-SPECIFIC OPTIONS
2164 .SS extractor.ao3.formats
2165 .IP "Type:" 6
2166 .br
2167 * \f[I]string\f[]
2168 .br
2169 * \f[I]list\f[] of \f[I]strings\f[]
2170
2171 .IP "Default:" 9
2172 \f[I]"pdf"\f[]
2173
2174 .IP "Example:" 4
2175 .br
2176 * "azw3,epub,mobi,pdf,html"
2177 .br
2178 * ["azw3", "epub", "mobi", "pdf", "html"]
2179
2180 .IP "Description:" 4
2181 Format(s) to download.
2182
2183
2184 .SS extractor.arcalive.emoticons
2185 .IP "Type:" 6
2186 \f[I]bool\f[]
2187
2188 .IP "Default:" 9
2189 \f[I]false\f[]
2190
2191 .IP "Description:" 4
2192 Download emoticon images.
2193
2194
2195 .SS extractor.arcalive.gifs
2196 .IP "Type:" 6
2197 .br
2198 * \f[I]bool\f[]
2199 .br
2200 * \f[I]string\f[]
2201
2202 .IP "Default:" 9
2203 \f[I]true\f[]
2204
2205 .IP "Description:" 4
2206 Try to download \f[I].gif\f[] versions of \f[I].mp4\f[] videos.
2207
2208 \f[I]true\f[] | \f[I]"fallback\f[]
2209 Use the \f[I].gif\f[] version as primary URL
2210 and provide the \f[I].mp4\f[] one as
2211 \f[I]fallback\f[].
2212 \f[I]"check"\f[]
2213 Check whether a \f[I].gif\f[] version is available
2214 by sending an extra HEAD request.
2215 \f[I]false\f[]
2216 Always download the \f[I].mp4\f[] version.
2217
2218
2219 .SS extractor.artfight.include
2220 .IP "Type:" 6
2221 .br
2222 * \f[I]string\f[]
2223 .br
2224 * \f[I]list\f[] of \f[I]strings\f[]
2225
2226 .IP "Default:" 9
2227 .br
2228 * \f[I]["characters", "attacks", "defenses"]\f[]
2229
2230 .IP "Description:" 4
2231 A (comma-separated) list of subcategories to include
2232 when processing a user profile.
2233
2234 .IP "Supported Values:" 4
2235 .br
2236 * \f[I]characters\f[]
2237 .br
2238 * \f[I]attacks\f[]
2239 .br
2240 * \f[I]defenses\f[]
2241
2242 .IP "Note:" 4
2243 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
2244
2245
2246 .SS extractor.artstation.external
2247 .IP "Type:" 6
2248 \f[I]bool\f[]
2249
2250 .IP "Default:" 9
2251 \f[I]false\f[]
2252
2253 .IP "Description:" 4
2254 Try to follow external URLs of embedded players.
2255
2256
2257 .SS extractor.artstation.max-posts
2258 .IP "Type:" 6
2259 \f[I]integer\f[]
2260
2261 .IP "Default:" 9
2262 \f[I]null\f[]
2263
2264 .IP "Description:" 4
2265 Limit the number of posts/projects to download.
2266
2267
2268 .SS extractor.artstation.mviews
2269 .IP "Type:" 6
2270 \f[I]bool\f[]
2271
2272 .IP "Default:" 9
2273 \f[I]true\f[]
2274
2275 .IP "Description:" 4
2276 Download \f[I].mview\f[] files.
2277
2278
2279 .SS extractor.artstation.previews
2280 .IP "Type:" 6
2281 \f[I]bool\f[]
2282
2283 .IP "Default:" 9
2284 \f[I]false\f[]
2285
2286 .IP "Description:" 4
2287 Download embed previews.
2288
2289
2290 .SS extractor.artstation.videos
2291 .IP "Type:" 6
2292 \f[I]bool\f[]
2293
2294 .IP "Default:" 9
2295 \f[I]true\f[]
2296
2297 .IP "Description:" 4
2298 Download video clips.
2299
2300
2301 .SS extractor.artstation.search.pro-first
2302 .IP "Type:" 6
2303 \f[I]bool\f[]
2304
2305 .IP "Default:" 9
2306 \f[I]true\f[]
2307
2308 .IP "Description:" 4
2309 Enable the "Show Studio and Pro member artwork first" checkbox
2310 when retrieving search results.
2311
2312
2313 .SS extractor.aryion.recursive
2314 .IP "Type:" 6
2315 \f[I]bool\f[]
2316
2317 .IP "Default:" 9
2318 \f[I]true\f[]
2319
2320 .IP "Description:" 4
2321 Controls the post extraction strategy.
2322
2323 \f[I]true\f[]
2324 Start on users' main gallery pages and
2325 recursively descend into subfolders
2326 \f[I]false\f[]
2327 Get posts from "Latest Updates" pages
2328
2329
2330 .SS extractor.bbc.width
2331 .IP "Type:" 6
2332 \f[I]integer\f[]
2333
2334 .IP "Default:" 9
2335 \f[I]1920\f[]
2336
2337 .IP "Description:" 4
2338 Specifies the requested image width.
2339
2340 This value must be divisble by 16 and gets rounded down otherwise.
2341 The maximum possible value appears to be \f[I]1920\f[].
2342
2343
2344 .SS extractor.behance.modules
2345 .IP "Type:" 6
2346 \f[I]list\f[] of \f[I]strings\f[]
2347
2348 .IP "Default:" 9
2349 \f[I]["image", "video", "mediacollection", "embed"]\f[]
2350
2351 .IP "Description:" 4
2352 Selects which gallery modules to download from.
2353
2354 .IP "Supported Types:" 4
2355 .br
2356 * \f[I]"image"\f[]
2357 .br
2358 * \f[I]"video"\f[]
2359 .br
2360 * \f[I]"mediacollection"\f[]
2361 .br
2362 * \f[I]"embed"\f[]
2363 .br
2364 * \f[I]"text"\f[]
2365
2366
2367 .SS extractor.bellazon.order-posts
2368 .IP "Type:" 6
2369 \f[I]string\f[]
2370
2371 .IP "Default:" 9
2372 \f[I]"desc"\f[]
2373
2374 .IP "Description:" 4
2375 Controls the order in which
2376 posts of a \f[I]thread\f[] are processed.
2377
2378 \f[I]"asc"\f[]
2379 Ascending order (oldest first)
2380 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
2381 Descending order (newest first)
2382
2383
2384 .SS extractor.bellazon.quoted
2385 .IP "Type:" 6
2386 \f[I]bool\f[]
2387
2388 .IP "Default:" 9
2389 \f[I]false\f[]
2390
2391 .IP "Description:" 4
2392 Extract files from quoted content.
2393
2394
2395 .SS extractor.bilibili.livephoto
2396 .IP "Type:" 6
2397 \f[I]bool\f[]
2398
2399 .IP "Default:" 9
2400 \f[I]true\f[]
2401
2402 .IP "Description:" 4
2403 Download \f[I]livephoto\f[] files.
2404
2405
2406 .SS extractor.[blogger].api-key
2407 .IP "Type:" 6
2408 \f[I]string\f[]
2409
2410 .IP "Description:" 4
2411 Custom Blogger API key.
2412
2413 https://developers.google.com/blogger/docs/3.0/using#APIKey
2414
2415
2416 .SS extractor.[blogger].videos
2417 .IP "Type:" 6
2418 \f[I]bool\f[]
2419
2420 .IP "Default:" 9
2421 \f[I]true\f[]
2422
2423 .IP "Description:" 4
2424 Download embedded videos hosted on https://www.blogger.com/
2425
2426
2427 .SS extractor.bluesky.api-server
2428 .IP "Type:" 6
2429 \f[I]string\f[]
2430
2431 .IP "Default:" 9
2432 \f[I]"https://bsky.social"\f[] if a
2433 .br
2434 \f[I]username\f[]
2435 is provided
2436 \f[I]"https://api.bsky.app"\f[] otherwise
2437 .br
2438
2439 .IP "Description:" 4
2440 Server address for API requests.
2441
2442 Can be used when self-hosting a
2443 \f[I]PDS\f[]
2444
2445
2446 .SS extractor.bluesky.include
2447 .IP "Type:" 6
2448 .br
2449 * \f[I]string\f[]
2450 .br
2451 * \f[I]list\f[] of \f[I]strings\f[]
2452
2453 .IP "Default:" 9
2454 .br
2455 * \f[I]"posts"\f[] if
2456 \f[I]reposts\f[] or
2457 \f[I]quoted\f[] is enabled
2458 .br
2459 * \f[I]"media"\f[] otherwise
2460
2461 .IP "Example:" 4
2462 .br
2463 * "avatar,background,posts"
2464 .br
2465 * ["avatar", "background", "posts"]
2466
2467 .IP "Description:" 4
2468 A (comma-separated) list of subcategories to include
2469 when processing a user profile.
2470
2471 .IP "Supported Values:" 4
2472 .br
2473 * \f[I]info\f[]
2474 .br
2475 * \f[I]avatar\f[]
2476 .br
2477 * \f[I]background\f[]
2478 .br
2479 * \f[I]posts\f[]
2480 .br
2481 * \f[I]replies\f[]
2482 .br
2483 * \f[I]media\f[]
2484 .br
2485 * \f[I]video\f[]
2486 .br
2487 * \f[I]likes\f[]
2488
2489 .IP "Note:" 4
2490 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
2491
2492
2493 .SS extractor.bluesky.likes.endpoint
2494 .IP "Type:" 6
2495 \f[I]string\f[]
2496
2497 .IP "Default:" 9
2498 \f[I]"listRecords"\f[]
2499
2500 .IP "Description:" 4
2501 API endpoint to use for retrieving liked posts.
2502
2503 \f[I]"listRecords"\f[]
2504 Use the results from
2505 .br
2506 \f[I]com.atproto.repo.listRecords\f[]
2507 Requires no login and alows accessing likes of all users,
2508 .br
2509 but uses one request to
2510 \f[I]getPostThread\f[]
2511 per post,
2512 \f[I]"getActorLikes"\f[]
2513 Use the results from
2514 .br
2515 \f[I]app.bsky.feed.getActorLikes\f[]
2516 Requires login and only allows accessing your own likes.
2517 .br
2518
2519
2520 .SS extractor.bluesky.metadata
2521 .IP "Type:" 6
2522 .br
2523 * \f[I]bool\f[]
2524 .br
2525 * \f[I]string\f[]
2526 .br
2527 * \f[I]list\f[] of \f[I]strings\f[]
2528
2529 .IP "Default:" 9
2530 \f[I]false\f[]
2531
2532 .IP "Example:" 4
2533 .br
2534 * "facets,user"
2535 .br
2536 * ["facets", "user"]
2537
2538 .IP "Description:" 4
2539 Extract additional metadata.
2540
2541 \f[I]facets\f[]
2542 \f[I]hashtags\f[], \f[I]mentions\f[], \f[I]uris\f[]
2543 \f[I]user\f[]
2544 Detailed \f[I]user\f[] metadata for the user referenced in the input URL.
2545 .br
2546 (\f[I]app.bsky.actor.getProfile\f[])
2547 .br
2548
2549
2550 .SS extractor.bluesky.likes.depth
2551 .IP "Type:" 6
2552 \f[I]integer\f[]
2553
2554 .IP "Default:" 9
2555 \f[I]0\f[]
2556
2557 .IP "Description:" 4
2558 Sets the maximum depth of returned reply posts.
2559
2560 (See the \f[I]depth\f[] parameter of \f[I]app.bsky.feed.getPostThread\f[])
2561
2562
2563 .SS extractor.bluesky.quoted
2564 .IP "Type:" 6
2565 \f[I]bool\f[]
2566
2567 .IP "Default:" 9
2568 \f[I]false\f[]
2569
2570 .IP "Description:" 4
2571 Fetch media from quoted posts.
2572
2573
2574 .SS extractor.bluesky.reposts
2575 .IP "Type:" 6
2576 \f[I]bool\f[]
2577
2578 .IP "Default:" 9
2579 \f[I]false\f[]
2580
2581 .IP "Description:" 4
2582 Process reposts.
2583
2584
2585 .SS extractor.bluesky.videos
2586 .IP "Type:" 6
2587 \f[I]bool\f[]
2588
2589 .IP "Default:" 9
2590 \f[I]true\f[]
2591
2592 .IP "Description:" 4
2593 Download videos.
2594
2595
2596 .SS extractor.boosty.allowed
2597 .IP "Type:" 6
2598 \f[I]bool\f[]
2599
2600 .IP "Default:" 9
2601 \f[I]true\f[]
2602
2603 .IP "Description:" 4
2604 Request only available posts.
2605
2606
2607 .SS extractor.boosty.bought
2608 .IP "Type:" 6
2609 \f[I]bool\f[]
2610
2611 .IP "Default:" 9
2612 \f[I]false\f[]
2613
2614 .IP "Description:" 4
2615 Request only purchased posts for \f[I]feed\f[] results.
2616
2617
2618 .SS extractor.boosty.metadata
2619 .IP "Type:" 6
2620 \f[I]bool\f[]
2621
2622 .IP "Default:" 9
2623 \f[I]false\f[]
2624
2625 .IP "Description:" 4
2626 Provide detailed \f[I]user\f[] metadata.
2627
2628
2629 .SS extractor.boosty.videos
2630 .IP "Type:" 6
2631 .br
2632 * \f[I]bool\f[]
2633 .br
2634 * \f[I]list\f[] of \f[I]strings\f[]
2635
2636 .IP "Default:" 9
2637 \f[I]true\f[]
2638
2639 .IP "Example:" 4
2640 ["full_hd", "high", "medium"]
2641
2642 .IP "Description:" 4
2643 Download videos.
2644
2645 If this is a \f[I]list\f[], it selects which format to try to download.
2646
2647 .IP "Possible Formats:" 4
2648 .br
2649 * \f[I]ultra_hd\f[] (2160p)
2650 .br
2651 * \f[I]quad_hd\f[] (1440p)
2652 .br
2653 * \f[I]full_hd\f[] (1080p)
2654 .br
2655 * \f[I]high\f[] (720p)
2656 .br
2657 * \f[I]medium\f[] (480p)
2658 .br
2659 * \f[I]low\f[] (360p)
2660 .br
2661 * \f[I]lowest\f[] (240p)
2662 .br
2663 * \f[I]tiny\f[] (144p)
2664
2665
2666 .SS extractor.booth.strategy
2667 .IP "Type:" 6
2668 \f[I]string\f[]
2669
2670 .IP "Default:" 9
2671 \f[I]"webpage"\f[]
2672
2673 .IP "Description:" 4
2674 Selects how to handle and extract file URLs.
2675
2676 \f[I]"webpage"\f[]
2677 Retrieve the full HTML page
2678 and extract file URLs from it
2679 \f[I]"fallback"\f[]
2680 Use \f[I]fallback\f[] URLs
2681 to guess each file's correct filename extension
2682
2683
2684 .SS extractor.bunkr.endpoint
2685 .IP "Type:" 6
2686 \f[I]string\f[]
2687
2688 .IP "Default:" 9
2689 \f[I]"/api/_001_v2"\f[]
2690
2691 .IP "Description:" 4
2692 API endpoint for retrieving file URLs.
2693
2694
2695 .SS extractor.bunkr.tlds
2696 .IP "Type:" 6
2697 \f[I]bool\f[]
2698
2699 .IP "Default:" 9
2700 \f[I]false\f[]
2701
2702 .IP "Description:" 4
2703 Controls which \f[I]bunkr\f[] TLDs to accept.
2704
2705 \f[I]true\f[]
2706 Match URLs with *all* possible TLDs (e.g. \f[I]bunkr.xyz\f[] or \f[I]bunkrrr.duck\f[])
2707 \f[I]false\f[]
2708 Match only URLs with known TLDs
2709
2710
2711 .SS extractor.[chevereto].password
2712 .IP "Type:" 6
2713 .br
2714 * \f[I]string\f[]
2715 .br
2716 * \f[I]list\f[] of \f[I]strings\f[]
2717
2718 .IP "Default:" 9
2719 \f[I]null\f[]
2720
2721 .IP "Example:" 4
2722 .br
2723 * pw1,pw2,foobar
2724 .br
2725 * ["pw1", "pw2", "foobar"]
2726
2727 .IP "Description:" 4
2728 Password value(s) used to access protected albums.
2729
2730
2731 .SS extractor.cien.files
2732 .IP "Type:" 6
2733 \f[I]list\f[] of \f[I]strings\f[]
2734
2735 .IP "Default:" 9
2736 \f[I]["image", "video", "download", "gallery"]\f[]
2737
2738 .IP "Description:" 4
2739 Determines the type and order of files to download.
2740
2741 .IP "Available Types:" 4
2742 .br
2743 * \f[I]image\f[]
2744 .br
2745 * \f[I]video\f[]
2746 .br
2747 * \f[I]cover\f[]
2748 .br
2749 * \f[I]download\f[]
2750 .br
2751 * \f[I]gallery\f[]
2752
2753
2754 .SS extractor.civitai.api
2755 .IP "Type:" 6
2756 \f[I]string\f[]
2757
2758 .IP "Default:" 9
2759 \f[I]"trpc"\f[]
2760
2761 .IP "Description:" 4
2762 Selects which API endpoints to use.
2763
2764 \f[I]"rest"\f[]
2765 \f[I]Public REST API\f[]
2766 \f[I]"trpc"\f[]
2767 Internal tRPC API
2768
2769
2770 .SS extractor.civitai.api-key
2771 .IP "Type:" 6
2772 \f[I]string\f[]
2773
2774 .IP "Description:" 4
2775 The API Key value generated in your
2776 \f[I]User Account Settings\f[]
2777 to make authorized API requests.
2778
2779 See \f[I]API/Authorization\f[]
2780 for details.
2781
2782
2783 .SS extractor.civitai.files
2784 .IP "Type:" 6
2785 \f[I]list\f[] of \f[I]strings\f[]
2786
2787 .IP "Default:" 9
2788 \f[I]["image"]\f[]
2789
2790 .IP "Description:" 4
2791 Determines the type and order of files to download when processing models.
2792
2793 .IP "Available Types:" 4
2794 .br
2795 * \f[I]model\f[]
2796 .br
2797 * \f[I]image\f[]
2798 .br
2799 * \f[I]gallery\f[]
2800
2801
2802 .SS extractor.civitai.include
2803 .IP "Type:" 6
2804 .br
2805 * \f[I]string\f[]
2806 .br
2807 * \f[I]list\f[] of \f[I]strings\f[]
2808
2809 .IP "Default:" 9
2810 \f[I]["user-images", "user-videos"]\f[]
2811
2812 .IP "Description:" 4
2813 A (comma-separated) list of subcategories to include
2814 when processing a user profile.
2815
2816 .IP "Supported Values:" 4
2817 .br
2818 * \f[I]user-models\f[]
2819 .br
2820 * \f[I]user-posts\f[]
2821 .br
2822 * \f[I]user-images\f[]
2823 .br
2824 * \f[I]user-videos\f[]
2825 .br
2826 * \f[I]user-collections\f[]
2827
2828 .IP "Note:" 4
2829 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
2830
2831 To get a more complete set of metadata
2832 like \f[I]model['name']\f[] and \f[I]post['title']\f[],
2833 include \f[I]user-models\f[] and \f[I]user-posts\f[]
2834 as well as the default \f[I]user-images\f[] and \f[I]user-videos\f[]:
2835
2836 \f[I]["user-models", "user-posts", "user-images", "user-videos"]\f[]
2837
2838
2839 .SS extractor.civitai.metadata
2840 .IP "Type:" 6
2841 .br
2842 * \f[I]bool\f[]
2843 .br
2844 * \f[I]string\f[]
2845 .br
2846 * \f[I]list\f[] of \f[I]strings\f[]
2847
2848 .IP "Default:" 9
2849 \f[I]false\f[]
2850
2851 .IP "Example:" 4
2852 .br
2853 * "generation,tags,post,version"
2854 .br
2855 * ["version", "generation"]
2856
2857 .IP "Description:" 4
2858 Extract additional metadata.
2859
2860 .IP "Supported Values:" 4
2861 .br
2862 * \f[I]generation\f[]
2863 .br
2864 * \f[I]post\f[]
2865 .br
2866 * \f[I]tags\f[]
2867 .br
2868 * \f[I]version\f[]
2869
2870 .IP "Note:" 4
2871 This requires 1 additional API request
2872 for each selected value per image or video.
2873
2874
2875 .SS extractor.civitai.nsfw
2876 .IP "Type:" 6
2877 .br
2878 * \f[I]bool\f[]
2879 .br
2880 * \f[I]string\f[] (\f[I]"api": "rest"\f[])
2881 .br
2882 * \f[I]integer\f[] (\f[I]"api": "trpc"\f[])
2883
2884 .IP "Default:" 9
2885 \f[I]true\f[]
2886
2887 .IP "Description:" 4
2888 Download NSFW-rated images.
2889
2890 .br
2891 * For \f[I]"api": "rest"\f[], this can be one of
2892 \f[I]"None"\f[], \f[I]"Soft"\f[], \f[I]"Mature"\f[], \f[I]"X"\f[]
2893 to set the highest returned mature content flag.
2894
2895 .br
2896 * For \f[I]"api": "trpc"\f[], this can be an \f[I]integer\f[]
2897 whose bits select the returned mature content flags.
2898
2899 For example, \f[I]28\f[] (\f[I]4\f[I]8\f[]16\f[]) would return only
2900 \f[I]R\f[], \f[I]X\f[], and \f[I]XXX\f[] rated images,
2901 while \f[I]3\f[] (\f[I]1|2\f[]) would return only
2902 \f[I]None\f[] and \f[I]Soft\f[] rated images,
2903
2904 .IP "Note:" 4
2905 Requires
2906 \f[I]api-key\f[]
2907 or authenticated
2908 \f[I]cookies\f[]
2909 to allow NSFW content.
2910
2911
2912 .SS extractor.civitai.period
2913 .IP "Type:" 6
2914 \f[I]string\f[]
2915
2916 .IP "Default:" 9
2917 \f[I]"AllTime"\f[]
2918
2919 .IP "Description:" 4
2920 Sets the \f[I]period\f[] parameter
2921 when paginating over results.
2922
2923 .IP "Supported Values:" 4
2924 .br
2925 * \f[I]"AllTime"\f[]
2926 .br
2927 * \f[I]"Year"\f[]
2928 .br
2929 * \f[I]"Month"\f[]
2930 .br
2931 * \f[I]"Week"\f[]
2932 .br
2933 * \f[I]"Day"\f[]
2934
2935
2936 .SS extractor.civitai.sort
2937 .IP "Type:" 6
2938 \f[I]string\f[]
2939
2940 .IP "Default:" 9
2941 \f[I]"Newest"\f[]
2942
2943 .IP "Description:" 4
2944 Sets the \f[I]sort\f[] parameter
2945 when paginating over results.
2946
2947 .IP "Supported Values:" 4
2948 .br
2949 * \f[I]"Newest"\f[]
2950 .br
2951 * \f[I]"Oldest"\f[]
2952 .br
2953 * \f[I]"Most Reactions"\f[]
2954 .br
2955 * \f[I]"Most Comments"\f[]
2956 .br
2957 * \f[I]"Most Collected"\f[]
2958
2959 .IP "Special Values:" 4
2960 \f[I]"asc"\f[]
2961 Ascending order (\f[I]"Oldest"\f[])
2962 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
2963 Descending order (\f[I]"Newest"\f[])
2964
2965
2966 .SS extractor.civitai.quality
2967 .IP "Type:" 6
2968 .br
2969 * \f[I]string\f[]
2970 .br
2971 * \f[I]list\f[] of \f[I]strings\f[]
2972
2973 .IP "Default:" 9
2974 \f[I]"original=true"\f[]
2975
2976 .IP "Example:" 4
2977 .br
2978 * "width=1280,quality=90"
2979 .br
2980 * ["width=1280", "quality=90"]
2981
2982 .IP "Description:" 4
2983 A (comma-separated) list of image quality options
2984 to pass with every image URL.
2985
2986 Known available options include \f[I]original\f[], \f[I]quality\f[], \f[I]width\f[]
2987
2988 .IP "Note:" 4
2989 Set this option to an arbitrary letter, e.g., \f[I]"w"\f[],
2990 to download images in JPEG format at their original resolution.
2991
2992
2993 .SS extractor.civitai.quality-videos
2994 .IP "Type:" 6
2995 .br
2996 * \f[I]string\f[]
2997 .br
2998 * \f[I]list\f[] of \f[I]strings\f[]
2999
3000 .IP "Default:" 9
3001 \f[I]"original"\f[]
3002
3003 .IP "Example:" 4
3004 .br
3005 * "+transcode=true,quality=100"
3006 .br
3007 * ["+", "transcode=true", "quality=100"]
3008
3009 .IP "Description:" 4
3010 A (comma-separated) list of video quality options
3011 to pass with every video URL.
3012
3013 Known available options include \f[I]original\f[], \f[I]quality\f[], \f[I]transcode\f[]
3014
3015 Use \f[I]+\f[] as first character to add the given options to the
3016 \f[I]quality\f[] ones.
3017
3018
3019 .SS extractor.civitai.quality-fallback
3020 .IP "Type:" 6
3021 \f[I]string\f[]
3022
3023 .IP "Default:" 9
3024 \f[I]"transcode=true,original=true,quality=100"\f[]
3025
3026 .IP "Description:" 4
3027 Video quality options to pass with video fallback URLs.
3028
3029
3030 .SS extractor.civitai.search-images.token
3031 .IP "Type:" 6
3032 \f[I]string\f[]
3033
3034 .IP "Default:" 9
3035 \f[I]"8c46eb2508e21db1e9828a97968d91ab1ca1caa5f70a00e88a2ba1e286603b61"\f[]
3036
3037 .IP "Description:" 4
3038 \f[I]Authorization\f[] header value used for /multi-search queries.
3039
3040
3041 .SS extractor.coomer.files
3042 .IP "Type:" 6
3043 \f[I]list\f[] of \f[I]strings\f[]
3044
3045 .IP "Default:" 9
3046 \f[I]["file", "attachments", "inline"]\f[]
3047
3048 .IP "Description:" 4
3049 Determines the type and order of files to be downloaded.
3050
3051 .IP "Available Types:" 4
3052 .br
3053 * \f[I]file\f[]
3054 .br
3055 * \f[I]attachments\f[]
3056 .br
3057 * \f[I]inline\f[]
3058
3059
3060 .SS extractor.clonr.zip
3061 .IP "Type:" 6
3062 \f[I]bool\f[]
3063
3064 .IP "Default:" 9
3065 \f[I]false\f[]
3066
3067 .IP "Description:" 4
3068 Download folder content as a single ZIP archive instead of individual files.
3069
3070
3071 .SS extractor.cosmos.format
3072 .IP "Type:" 6
3073 .br
3074 * \f[I]string\f[]
3075
3076 .IP "Default:" 9
3077 \f[I]"jpeg"\f[]
3078
3079 .IP "Example:" 4
3080 "avif"
3081
3082 .IP "Description:" 4
3083 Selects file type of downloaded images.
3084
3085
3086 .SS extractor.cyberdrop.domain
3087 .IP "Type:" 6
3088 \f[I]string\f[]
3089
3090 .IP "Default:" 9
3091 \f[I]null\f[]
3092
3093 .IP "Example:" 4
3094 "cyberdrop.to"
3095
3096 .IP "Description:" 4
3097 Specifies the domain used by \f[I]cyberdrop\f[] regardless of input URL.
3098
3099 Setting this option to \f[I]"auto"\f[]
3100 uses the same domain as a given input URL.
3101
3102
3103 .SS extractor.cyberfile.password
3104 .IP "Type:" 6
3105 \f[I]string\f[]
3106
3107 .IP "Default:" 9
3108 \f[I]""\f[]
3109
3110 .IP "Description:" 4
3111 Password value used to access protected files and folders.
3112
3113 Leave this value empty or undefined
3114 to be interactively prompted for a password when needed
3115 (see \f[I]getpass()\f[]).
3116
3117
3118 .SS extractor.cyberfile.recursive
3119 .IP "Type:" 6
3120 \f[I]bool\f[]
3121
3122 .IP "Default:" 9
3123 \f[I]true\f[]
3124
3125 .IP "Description:" 4
3126 Recursively download files from subfolders.
3127
3128
3129 .SS extractor.[Danbooru].external
3130 .IP "Type:" 6
3131 \f[I]bool\f[]
3132
3133 .IP "Default:" 9
3134 \f[I]false\f[]
3135
3136 .IP "Description:" 4
3137 For unavailable or restricted posts,
3138 follow the \f[I]source\f[] and download from there if possible.
3139
3140
3141 .SS extractor.[Danbooru].favgroup.order-posts
3142 .IP "Type:" 6
3143 \f[I]string\f[]
3144
3145 .IP "Default:" 9
3146 \f[I]"pool"\f[]
3147
3148 .IP "Description:" 4
3149 Controls the order in which \f[I]pool\f[]/\f[I]favgroup\f[] posts are returned.
3150
3151 \f[I]"pool"\f[] \f[I] \f[I]"pool_asc"\f[] \f[] \f[I]"asc"\f[] \f[I] \f[I]"asc_pool"\f[]
3152 Pool order
3153 \f[I]"pool_desc"\f[] \f[] \f[I]"desc_pool"\f[] \f[I] \f[I]"desc"\f[]
3154 Reverse Pool order
3155 \f[I]"id"\f[] \f[] \f[I]"id_desc"\f[] \f[I] \f[I]"desc_id"\f[]
3156 Descending Post ID order
3157 \f[I]"id_asc"\f[] \f[] \f[I]"asc_id"\f[]
3158 Ascending Post ID order
3159
3160
3161 .SS extractor.[Danbooru].ugoira
3162 .IP "Type:" 6
3163 \f[I]bool\f[]
3164
3165 .IP "Default:" 9
3166 \f[I]false\f[]
3167
3168 .IP "Description:" 4
3169 Controls the download target for Ugoira posts.
3170
3171 \f[I]true\f[]
3172 ZIP archives
3173 \f[I]false\f[]
3174 Converted video files
3175
3176
3177 .SS extractor.[Danbooru].metadata
3178 .IP "Type:" 6
3179 .br
3180 * \f[I]bool\f[]
3181 .br
3182 * \f[I]string\f[]
3183 .br
3184 * \f[I]list\f[] of \f[I]strings\f[]
3185
3186 .IP "Default:" 9
3187 \f[I]false\f[]
3188
3189 .IP "Example:" 4
3190 .br
3191 * "replacements,comments,ai_tags"
3192 .br
3193 * ["replacements", "comments", "ai_tags"]
3194
3195 .IP "Description:" 4
3196 Extract additional metadata
3197 (notes, artist commentary, parent, children, uploader)
3198
3199 It is possible to specify a custom list of metadata includes.
3200 See \f[I]available_includes\f[]
3201 for possible field names. \f[I]aibooru\f[] also supports \f[I]ai_metadata\f[].
3202
3203 .IP "Note:" 4
3204 This requires 1 additional HTTP request per 200-post batch.
3205
3206
3207 .SS extractor.[Danbooru].threshold
3208 .IP "Type:" 6
3209 .br
3210 * \f[I]string\f[]
3211 .br
3212 * \f[I]integer\f[]
3213
3214 .IP "Default:" 9
3215 \f[I]"auto"\f[]
3216
3217 .IP "Description:" 4
3218 Stop paginating over API results if the length of a batch of returned
3219 posts is less than the specified number. Defaults to the per-page limit
3220 of the current instance, which is 200.
3221
3222 .IP "Note:" 4
3223 Changing this setting is normally not necessary. When the value is
3224 greater than the per-page limit, gallery-dl will stop after the first
3225 batch. The value cannot be less than 1.
3226
3227
3228 .SS extractor.dankefuerslesen.zip
3229 .IP "Type:" 6
3230 \f[I]bool\f[]
3231
3232 .IP "Default:" 9
3233 \f[I]false\f[]
3234
3235 .IP "Description:" 4
3236 Download each chapter as a single ZIP archive instead of individual images.
3237
3238
3239 .SS extractor.deviantart.auto-watch
3240 .IP "Type:" 6
3241 \f[I]bool\f[]
3242
3243 .IP "Default:" 9
3244 \f[I]false\f[]
3245
3246 .IP "Description:" 4
3247 Automatically watch users when encountering "Watchers-Only Deviations"
3248 (requires a \f[I]refresh-token\f[]).
3249
3250
3251 .SS extractor.deviantart.auto-unwatch
3252 .IP "Type:" 6
3253 \f[I]bool\f[]
3254
3255 .IP "Default:" 9
3256 \f[I]false\f[]
3257
3258 .IP "Description:" 4
3259 After watching a user through \f[I]auto-watch\f[],
3260 unwatch that user at the end of the current extractor run.
3261
3262
3263 .SS extractor.deviantart.comments
3264 .IP "Type:" 6
3265 \f[I]bool\f[]
3266
3267 .IP "Default:" 9
3268 \f[I]false\f[]
3269
3270 .IP "Description:" 4
3271 Extract \f[I]comments\f[] metadata.
3272
3273
3274 .SS extractor.deviantart.comments-avatars
3275 .IP "Type:" 6
3276 \f[I]bool\f[]
3277
3278 .IP "Default:" 9
3279 \f[I]false\f[]
3280
3281 .IP "Description:" 4
3282 Download the avatar of each commenting user.
3283
3284 .IP "Note:" 4
3285 Enabling this option also enables deviantart.comments_.
3286
3287
3288 .SS extractor.deviantart.extra
3289 .IP "Type:" 6
3290 \f[I]bool\f[]
3291
3292 .IP "Default:" 9
3293 \f[I]false\f[]
3294
3295 .IP "Description:" 4
3296 Download extra Sta.sh resources from
3297 description texts and journals.
3298
3299 .IP "Note:" 4
3300 Enabling this option also enables deviantart.metadata_.
3301
3302
3303 .SS extractor.deviantart.flat
3304 .IP "Type:" 6
3305 \f[I]bool\f[]
3306
3307 .IP "Default:" 9
3308 \f[I]true\f[]
3309
3310 .IP "Description:" 4
3311 Select the directory structure created by the Gallery- and
3312 Favorite-Extractors.
3313
3314 \f[I]true\f[]
3315 Use a flat directory structure.
3316 \f[I]false\f[]
3317 Collect a list of all gallery \f[I]folders\f[] or
3318 favorites \f[I]collections\f[] and transfer any further work to other
3319 extractors (\f[I]folder\f[] or \f[I]collection\f[]), which will then
3320 create individual subdirectories for each of them.
3321
3322 .IP "Note:" 4
3323 Going through all gallery folders won't
3324 fetch deviations not contained in any folder.
3325
3326
3327 .SS extractor.deviantart.folders
3328 .IP "Type:" 6
3329 \f[I]bool\f[]
3330
3331 .IP "Default:" 9
3332 \f[I]false\f[]
3333
3334 .IP "Description:" 4
3335 Provide a \f[I]folders\f[] metadata field that contains the names of all
3336 folders a deviation is present in.
3337
3338 .IP "Note:" 4
3339 Gathering this information requires a lot of API calls.
3340 Use with caution.
3341
3342
3343 .SS extractor.deviantart.group
3344 .IP "Type:" 6
3345 .br
3346 * \f[I]bool\f[]
3347 .br
3348 * \f[I]string\f[]
3349
3350 .IP "Default:" 9
3351 \f[I]true\f[]
3352
3353 .IP "Description:" 4
3354 Check whether the profile name in a given URL
3355 belongs to a group or a regular user.
3356
3357 When disabled, assume every given profile name
3358 belongs to a regular user.
3359
3360 .IP "Special Values:" 4
3361 \f[I]"skip"\f[]
3362 Skip groups
3363
3364
3365 .SS extractor.deviantart.include
3366 .IP "Type:" 6
3367 .br
3368 * \f[I]string\f[]
3369 .br
3370 * \f[I]list\f[] of \f[I]strings\f[]
3371
3372 .IP "Default:" 9
3373 \f[I]"gallery"\f[]
3374
3375 .IP "Example:" 4
3376 .br
3377 * "favorite,journal,scraps"
3378 .br
3379 * ["favorite", "journal", "scraps"]
3380
3381 .IP "Description:" 4
3382 A (comma-separated) list of subcategories to include
3383 when processing a user profile.
3384
3385 .IP "Supported Values:" 4
3386 .br
3387 * \f[I]avatar\f[]
3388 .br
3389 * \f[I]background\f[]
3390 .br
3391 * \f[I]gallery\f[]
3392 .br
3393 * \f[I]scraps\f[]
3394 .br
3395 * \f[I]journal\f[]
3396 .br
3397 * \f[I]favorite\f[]
3398 .br
3399 * \f[I]status\f[]
3400
3401 .IP "Note:" 4
3402 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
3403
3404
3405 .SS extractor.deviantart.intermediary
3406 .IP "Type:" 6
3407 \f[I]bool\f[]
3408
3409 .IP "Default:" 9
3410 \f[I]true\f[]
3411
3412 .IP "Description:" 4
3413 For older non-downloadable images,
3414 download a higher-quality \f[I]/intermediary/\f[] version.
3415
3416
3417 .SS extractor.deviantart.journals
3418 .IP "Type:" 6
3419 \f[I]string\f[]
3420
3421 .IP "Default:" 9
3422 \f[I]"html"\f[]
3423
3424 .IP "Description:" 4
3425 Selects the output format for textual content. This includes journals,
3426 literature and status updates.
3427
3428 \f[I]"html"\f[]
3429 HTML with (roughly) the same layout as on DeviantArt.
3430 \f[I]"text"\f[]
3431 Plain text with image references and HTML tags removed.
3432 \f[I]"none"\f[]
3433 Don't download textual content.
3434
3435
3436 .SS extractor.deviantart.mature
3437 .IP "Type:" 6
3438 \f[I]bool\f[]
3439
3440 .IP "Default:" 9
3441 \f[I]true\f[]
3442
3443 .IP "Description:" 4
3444 Enable mature content.
3445
3446 This option simply sets the \f[I]mature_content\f[] parameter for API
3447 calls to either \f[I]"true"\f[] or \f[I]"false"\f[] and does not do any other
3448 form of content filtering.
3449
3450
3451 .SS extractor.deviantart.metadata
3452 .IP "Type:" 6
3453 .br
3454 * \f[I]bool\f[]
3455 .br
3456 * \f[I]string\f[]
3457 .br
3458 * \f[I]list\f[] of \f[I]strings\f[]
3459
3460 .IP "Default:" 9
3461 \f[I]false\f[]
3462
3463 .IP "Example:" 4
3464 .br
3465 * "stats,submission"
3466 .br
3467 * ["camera", "stats", "submission"]
3468
3469 .IP "Description:" 4
3470 Extract additional metadata for deviation objects.
3471
3472 Provides
3473 \f[I]description\f[], \f[I]tags\f[], \f[I]license\f[], and \f[I]is_watching\f[]
3474 fields when enabled.
3475
3476 It is possible to request extended metadata by specifying a list of
3477
3478 \f[I]camera\f[]
3479 EXIF information if available
3480 \f[I]stats\f[]
3481 Deviation statistics
3482 \f[I]submission\f[]
3483 Submission information
3484 \f[I]collection\f[]
3485 Favourited folder information (requires a \f[I]refresh token\f[])
3486 \f[I]gallery\f[]
3487 Gallery folder information (requires a \f[I]refresh token\f[])
3488
3489 .IP "Note:" 4
3490 Set this option to \f[I]"all"\f[] to request all extended metadata categories.
3491
3492 See \f[I]/deviation/metadata\f[]
3493 for official documentation.
3494
3495
3496 .SS extractor.deviantart.original
3497 .IP "Type:" 6
3498 .br
3499 * \f[I]bool\f[]
3500 .br
3501 * \f[I]string\f[]
3502
3503 .IP "Default:" 9
3504 \f[I]false\f[]
3505
3506 .IP "Description:" 4
3507 Download original files if available.
3508
3509 Setting this option to \f[I]"images"\f[] only downloads original
3510 files if they are images and falls back to preview versions for
3511 everything else (archives, videos, etc.).
3512
3513 .IP "Note:" 4
3514 https://www.deviantart.com/team/status-update/An-adjustments-being-made-to-1307747979 ::
3515
3516 > The New Weekly Limits:
3517 > Non-Core & Core Basic: 10 downloads per week
3518 > Core+ and higher : 150 downloads per week
3519
3520
3521 .SS extractor.deviantart.pagination
3522 .IP "Type:" 6
3523 \f[I]string\f[]
3524
3525 .IP "Default:" 9
3526 \f[I]"api"\f[]
3527
3528 .IP "Description:" 4
3529 Controls when to stop paginating over API results.
3530
3531 \f[I]"api"\f[]
3532 Trust the API and stop when \f[I]has_more\f[] is \f[I]false\f[].
3533 \f[I]"manual"\f[]
3534 Disregard \f[I]has_more\f[] and only stop when a batch of results is empty.
3535
3536
3537 .SS extractor.deviantart.previews
3538 .IP "Type:" 6
3539 \f[I]bool\f[]
3540
3541 .IP "Default:" 9
3542 \f[I]false\f[]
3543
3544 .IP "Description:" 4
3545 For non-image files (archives, videos, etc.),
3546 also download the file's preview image.
3547
3548 Set this option to \f[I]"all"\f[] to download previews for all files.
3549
3550
3551 .SS extractor.deviantart.public
3552 .IP "Type:" 6
3553 \f[I]bool\f[]
3554
3555 .IP "Default:" 9
3556 \f[I]true\f[]
3557
3558 .IP "Description:" 4
3559 Use a public access token for API requests.
3560
3561 Disable this option to *force* using a private token for all requests
3562 when a \f[I]refresh token\f[] is provided.
3563
3564
3565 .SS extractor.deviantart.quality
3566 .IP "Type:" 6
3567 .br
3568 * \f[I]integer\f[]
3569 .br
3570 * \f[I]string\f[]
3571
3572 .IP "Default:" 9
3573 \f[I]100\f[]
3574
3575 .IP "Description:" 4
3576 JPEG quality level of images for which
3577 an original file download is not available.
3578
3579 Set this to \f[I]"png"\f[] to download a PNG version of these images instead.
3580
3581
3582 .SS extractor.deviantart.refresh-token
3583 .IP "Type:" 6
3584 \f[I]string\f[]
3585
3586 .IP "Default:" 9
3587 \f[I]null\f[]
3588
3589 .IP "Description:" 4
3590 The \f[I]refresh-token\f[] value you get from
3591 \f[I]linking your DeviantArt account to gallery-dl\f[].
3592
3593 Using a \f[I]refresh-token\f[] allows you to access private or otherwise
3594 not publicly available deviations.
3595
3596 .IP "Note:" 4
3597 The \f[I]refresh-token\f[] becomes invalid
3598 \f[I]after 3 months\f[]
3599 or whenever your \f[I]cache file\f[] is deleted or cleared.
3600
3601
3602 .SS extractor.deviantart.wait-min
3603 .IP "Type:" 6
3604 \f[I]integer\f[]
3605
3606 .IP "Default:" 9
3607 \f[I]0\f[]
3608
3609 .IP "Description:" 4
3610 Minimum wait time in seconds before API requests.
3611
3612
3613 .SS extractor.deviantart.avatar.formats
3614 .IP "Type:" 6
3615 \f[I]list\f[] of \f[I]strings\f[]
3616
3617 .IP "Example:" 4
3618 ["original.jpg", "big.jpg", "big.gif", ".png"]
3619
3620 .IP "Description:" 4
3621 Avatar URL formats to return.
3622
3623 Each format is parsed as \f[I]SIZE.EXT\f[].
3624 .br
3625 Leave \f[I]SIZE\f[] empty to download the regular, small avatar format.
3626 .br
3627
3628 .IP "Note:" 4
3629 Consider updating
3630 .br
3631 \f[I]archive-format\f[]
3632 for \f[I]avatar\f[] results to
3633 \f[I]"a_{_username}_{index}{title[6:]}.{extension}"\f[]
3634 .br
3635 or similar when using an
3636 .br
3637 \f[I]archive\f[]
3638 to be able to handle different formats.
3639
3640
3641 .SS extractor.deviantart.folder.subfolders
3642 .IP "Type:" 6
3643 \f[I]bool\f[]
3644
3645 .IP "Default:" 9
3646 \f[I]true\f[]
3647
3648 .IP "Description:" 4
3649 Also extract subfolder content.
3650
3651
3652 .SS extractor.discord.embeds
3653 .IP "Type:" 6
3654 \f[I]list\f[] of \f[I]strings\f[]
3655
3656 .IP "Default:" 9
3657 \f[I]["image", "gifv", "video"]\f[]
3658
3659 .IP "Description:" 4
3660 Selects which embed types to download from.
3661
3662 Supported embed types are
3663 \f[I]image\f[], \f[I]gifv\f[], \f[I]video\f[], \f[I]rich\f[], \f[I]article\f[], \f[I]link\f[].
3664
3665
3666 .SS extractor.discord.threads
3667 .IP "Type:" 6
3668 \f[I]bool\f[]
3669
3670 .IP "Default:" 9
3671 \f[I]true\f[]
3672
3673 .IP "Description:" 4
3674 Extract threads from Discord text channels.
3675
3676
3677 .SS extractor.discord.token
3678 .IP "Type:" 6
3679 \f[I]string\f[]
3680
3681 .IP "Description:" 4
3682 Discord Bot Token for API requests.
3683
3684 You can follow \f[I]this guide\f[] to get a token.
3685
3686
3687 .SS extractor.dynastyscans.anthology.metadata
3688 .IP "Type:" 6
3689 \f[I]bool\f[]
3690
3691 .IP "Default:" 9
3692 \f[I]false\f[]
3693
3694 .IP "Description:" 4
3695 Extract \f[I]alert\f[], \f[I]description\f[], and \f[I]status\f[] metadata
3696 from an anthology's HTML page.
3697
3698
3699 .SS extractor.[E621].metadata
3700 .IP "Type:" 6
3701 .br
3702 * \f[I]bool\f[]
3703 .br
3704 * \f[I]string\f[]
3705 .br
3706 * \f[I]list\f[] of \f[I]strings\f[]
3707
3708 .IP "Default:" 9
3709 \f[I]false\f[]
3710
3711 .IP "Example:" 4
3712 .br
3713 * "notes,pools"
3714 .br
3715 * ["notes", "pools"]
3716
3717 .IP "Description:" 4
3718 Extract additional metadata (notes, pool metadata) if available.
3719
3720 .IP "Note:" 4
3721 This requires 0-2 additional HTTP requests per post.
3722
3723
3724 .SS extractor.[E621].threshold
3725 .IP "Type:" 6
3726 .br
3727 * \f[I]string\f[]
3728 .br
3729 * \f[I]integer\f[]
3730
3731 .IP "Default:" 9
3732 \f[I]"auto"\f[]
3733
3734 .IP "Description:" 4
3735 Stop paginating over API results if the length of a batch of returned
3736 posts is less than the specified number. Defaults to the per-page limit
3737 of the current instance, which is 320.
3738
3739 .IP "Note:" 4
3740 Changing this setting is normally not necessary. When the value is
3741 greater than the per-page limit, gallery-dl will stop after the first
3742 batch. The value cannot be less than 1.
3743
3744
3745 .SS extractor.erome.user.reposts
3746 .IP "Type:" 6
3747 \f[I]bool\f[]
3748
3749 .IP "Default:" 9
3750 \f[I]false\f[]
3751
3752 .IP "Description:" 4
3753 Include reposts when extracting albums from a user profile.
3754
3755
3756 .SS extractor.exhentai.domain
3757 .IP "Type:" 6
3758 \f[I]string\f[]
3759
3760 .IP "Default:" 9
3761 \f[I]"auto"\f[]
3762
3763 .IP "Description:" 4
3764 \f[I]"auto"\f[]
3765 Use \f[I]e-hentai.org\f[] or \f[I]exhentai.org\f[]
3766 depending on the input URL
3767 \f[I]"e-hentai.org"\f[]
3768 Use \f[I]e-hentai.org\f[] for all URLs
3769 \f[I]"exhentai.org"\f[]
3770 Use \f[I]exhentai.org\f[] for all URLs
3771
3772
3773 .SS extractor.exhentai.fallback-retries
3774 .IP "Type:" 6
3775 \f[I]integer\f[]
3776
3777 .IP "Default:" 9
3778 \f[I]2\f[]
3779
3780 .IP "Description:" 4
3781 Number of times a failed image gets retried,
3782 or \f[I]-1\f[] for infinite retries.
3783
3784
3785 .SS extractor.exhentai.fav
3786 .IP "Type:" 6
3787 \f[I]string\f[]
3788
3789 .IP "Example:" 4
3790 "4"
3791
3792 .IP "Description:" 4
3793 After downloading a gallery,
3794 add it to your account's favorites as the given category number.
3795
3796 .IP "Note:" 4
3797 Set this to "favdel" to remove galleries from your favorites.
3798
3799 This will remove any Favorite Notes when applied
3800 to already favorited galleries.
3801
3802
3803 .SS extractor.exhentai.gp
3804 .IP "Type:" 6
3805 \f[I]string\f[]
3806
3807 .IP "Default:" 9
3808 \f[I]"resized"\f[]
3809
3810 .IP "Description:" 4
3811 Selects how to handle "you do not have enough GP" errors.
3812
3813 .br
3814 * "resized": Continue downloading \f[I]non-original\f[] images.
3815 .br
3816 * "stop": Stop the current extractor run.
3817 .br
3818 * "wait": Wait for user input before retrying the current image.
3819
3820
3821 .SS extractor.exhentai.limits
3822 .IP "Type:" 6
3823 \f[I]integer\f[]
3824
3825 .IP "Default:" 9
3826 \f[I]null\f[]
3827
3828 .IP "Description:" 4
3829 Set a custom image download limit and perform
3830 \f[I]limits-action\f[]
3831 when it gets exceeded.
3832
3833
3834 .SS extractor.exhentai.limits-action
3835 .IP "Type:" 6
3836 \f[I]string\f[]
3837
3838 .IP "Default:" 9
3839 \f[I]"stop"\f[]
3840
3841 .IP "Description:" 4
3842 Action to perform when the image limit is exceeded.
3843
3844 .br
3845 * "stop": Stop the current extractor run.
3846 .br
3847 * "wait": Wait for user input.
3848 .br
3849 * "reset": Spend GP to reset your account's image limits.
3850
3851
3852 .SS extractor.exhentai.metadata
3853 .IP "Type:" 6
3854 \f[I]bool\f[]
3855
3856 .IP "Default:" 9
3857 \f[I]false\f[]
3858
3859 .IP "Description:" 4
3860 Load extended gallery metadata from the
3861 \f[I]API\f[].
3862
3863 .br
3864 * Adds \f[I]archiver_key\f[], \f[I]posted\f[], and \f[I]torrents\f[]
3865 .br
3866 * Provides exact \f[I]date\f[] and \f[I]filesize\f[]
3867
3868
3869 .SS extractor.exhentai.original
3870 .IP "Type:" 6
3871 \f[I]bool\f[]
3872
3873 .IP "Default:" 9
3874 \f[I]true\f[]
3875
3876 .IP "Description:" 4
3877 Download full-sized original images if available.
3878
3879
3880 .SS extractor.exhentai.source
3881 .IP "Type:" 6
3882 \f[I]string\f[]
3883
3884 .IP "Default:" 9
3885 \f[I]"gallery"\f[]
3886
3887 .IP "Description:" 4
3888 Selects an alternative source to download files from.
3889
3890 \f[I]"hitomi"\f[]
3891 Download the corresponding gallery from \f[I]hitomi.la\f[]
3892 \f[I]"metadata"\f[]
3893 Load only a gallery's metadata from the
3894 \f[I]API\f[]
3895 \f[I]"torrent"\f[]
3896 Download a gallery's \f[I].torrent\f[] files
3897
3898
3899 .SS extractor.exhentai.tags
3900 .IP "Type:" 6
3901 \f[I]bool\f[]
3902
3903 .IP "Default:" 9
3904 \f[I]true\f[]
3905
3906 .IP "Description:" 4
3907 Group \f[I]tags\f[] by type and
3908 provide them as \f[I]tags_<type>\f[] metadata fields,
3909 for example \f[I]tags_artist\f[] or \f[I]tags_character\f[].
3910
3911
3912 .SS extractor.facebook.author-followups
3913 .IP "Type:" 6
3914 \f[I]bool\f[]
3915
3916 .IP "Default:" 9
3917 \f[I]false\f[]
3918
3919 .IP "description:" 4
3920 Extract comments that include photo attachments made by the author of the post.
3921
3922
3923 .SS extractor.facebook.fallback-retries
3924 .IP "Type:" 6
3925 \f[I]integer\f[]
3926
3927 .IP "Default:" 9
3928 \f[I]2\f[]
3929
3930 .IP "Description:" 4
3931 Number of times empty pages get retried,
3932 or \f[I]-1\f[] for infinite retries.
3933
3934
3935 .SS extractor.facebook.include
3936 .IP "Type:" 6
3937 .br
3938 * \f[I]string\f[]
3939 .br
3940 * \f[I]list\f[] of \f[I]strings\f[]
3941
3942 .IP "Default:" 9
3943 \f[I]"photos"\f[]
3944
3945 .IP "Example:" 4
3946 .br
3947 * "avatar,photos"
3948 .br
3949 * ["avatar", "photos"]
3950
3951 .IP "Description:" 4
3952 A (comma-separated) list of subcategories to include
3953 when processing a user profile.
3954
3955 .IP "Supported Values:" 4
3956 .br
3957 * \f[I]info\f[]
3958 .br
3959 * \f[I]avatar\f[]
3960 .br
3961 * \f[I]photos\f[]
3962 .br
3963 * \f[I]albums\f[]
3964
3965 .IP "Note:" 4
3966 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
3967
3968
3969 .SS extractor.facebook.loop
3970 .IP "Type:" 6
3971 \f[I]bool\f[]
3972
3973 .IP "Default:" 9
3974 \f[I]true\f[]
3975
3976 .IP "Description:" 4
3977 Continue when detecting a possible jump to a set's beginning.
3978
3979
3980 .SS extractor.facebook.videos
3981 .IP "Type:" 6
3982 .br
3983 * \f[I]bool\f[]
3984 .br
3985 * \f[I]string\f[]
3986
3987 .IP "Default:" 9
3988 \f[I]true\f[]
3989
3990 .IP "Description:" 4
3991 Control video download behavior.
3992
3993 \f[I]true\f[]
3994 Extract and download video & audio separately.
3995 \f[I]"ytdl"\f[]
3996 Let \f[I]ytdl\f[] handle video extraction and download, and merge video & audio streams.
3997 \f[I]false\f[]
3998 Ignore videos.
3999
4000
4001 .SS extractor.fanbox.comments
4002 .IP "Type:" 6
4003 \f[I]bool\f[]
4004
4005 .IP "Default:" 9
4006 \f[I]false\f[]
4007
4008 .IP "Description:" 4
4009 Extract \f[I]comments\f[] metadata.
4010
4011 .IP "Note:" 4
4012 This requires 1 or more additional API requests per post,
4013 depending on the number of comments.
4014
4015
4016 .SS extractor.fanbox.embeds
4017 .IP "Type:" 6
4018 .br
4019 * \f[I]bool\f[]
4020 .br
4021 * \f[I]string\f[]
4022
4023 .IP "Default:" 9
4024 \f[I]true\f[]
4025
4026 .IP "Description:" 4
4027 Control behavior on embedded content from external sites.
4028
4029 \f[I]true\f[]
4030 Extract embed URLs and download them if supported
4031 (videos are not downloaded).
4032 \f[I]"ytdl"\f[]
4033 Like \f[I]true\f[], but let \f[I]ytdl\f[] handle video
4034 extraction and download for YouTube, Vimeo, and SoundCloud embeds.
4035 \f[I]false\f[]
4036 Ignore embeds.
4037
4038
4039 .SS extractor.fanbox.fee-min
4040 .IP "Type:" 6
4041 \f[I]integer\f[]
4042
4043 .IP "Description:" 4
4044 Do not request API data or extract files from posts
4045 that require a fee (\f[I]feeRequired\f[]) less than the specified amount.
4046
4047
4048 .SS extractor.fanbox.fee-max
4049 .IP "Type:" 6
4050 \f[I]integer\f[]
4051
4052 .IP "Description:" 4
4053 Do not request API data or extract files from posts
4054 that require a fee (\f[I]feeRequired\f[]) greater than the specified amount.
4055
4056
4057 .SS extractor.fanbox.metadata
4058 .IP "Type:" 6
4059 .br
4060 * \f[I]bool\f[]
4061 .br
4062 * \f[I]string\f[]
4063 .br
4064 * \f[I]list\f[] of \f[I]strings\f[]
4065
4066 .IP "Default:" 9
4067 \f[I]false\f[]
4068
4069 .IP "Example:" 4
4070 .br
4071 * user,plan,comments
4072 .br
4073 * ["user", "plan", "comments"]
4074
4075 .IP "Description:" 4
4076 Extract \f[I]plan\f[] and extended \f[I]user\f[] metadata.
4077
4078 .IP "Supported Fields:" 4
4079 .br
4080 * \f[I]comments\f[]
4081 .br
4082 * \f[I]plan\f[]
4083 .br
4084 * \f[I]user\f[]
4085
4086 .IP "Note:" 4
4087 \f[I]comments\f[] can also be enabled via
4088 \f[I]fanbox.comments\f[]
4089
4090
4091 .SS extractor.fanbox.creator.offset
4092 .IP "Type:" 6
4093 \f[I]integer\f[]
4094
4095 .IP "Default:" 9
4096 \f[I]0\f[]
4097
4098 .IP "Description:" 4
4099 Custom \f[I]offset\f[] starting value when paginating over posts.
4100
4101
4102 .SS extractor.fansly.formats
4103 .IP "Type:" 6
4104 \f[I]list\f[] of \f[I]integers\f[]
4105
4106 .IP "Default:" 9
4107 \f[I]null\f[]
4108
4109 .IP "Example:" 4
4110 [1, 2, 3, 4, 302, 303]
4111
4112 .IP "Description:" 4
4113 List of file formats to consider during format selection.
4114
4115
4116 .SS extractor.fansly.previews
4117 .IP "Type:" 6
4118 \f[I]bool\f[]
4119
4120 .IP "Default:" 9
4121 \f[I]true\f[]
4122
4123 .IP "Description:" 4
4124 Download previews if no other format is available.
4125
4126
4127 .SS extractor.fansly.token
4128 .IP "Type:" 6
4129 \f[I]string\f[]
4130
4131 .IP "Example:" 4
4132 "kX7pL9qW3zT2rY8mB5nJ4vC6xF1tA0hD8uE2wG9yR3sQ7iZ4oM5jN6cP8lV0bK2tU9aL1eW"
4133
4134 .IP "Description:" 4
4135 \f[I]authorization\f[] header value
4136 used for requests to \f[I]https://apiv3.fansly.com/api\f[]
4137 to access locked content.
4138
4139
4140 .SS extractor.filester.domain
4141 .IP "Type:" 6
4142 \f[I]string\f[]
4143
4144 .IP "Default:" 9
4145 \f[I]"filester.me"\f[]
4146
4147 .IP "Description:" 4
4148 Specifies the domain used by \f[I]filester\f[] extractors.
4149
4150 Setting this option to \f[I]"auto"\f[]
4151 uses the same domain as a given input URL.
4152
4153
4154 .SS extractor.flickr.access-token & .access-token-secret
4155 .IP "Type:" 6
4156 \f[I]string\f[]
4157
4158 .IP "Default:" 9
4159 \f[I]null\f[]
4160
4161 .IP "Description:" 4
4162 The \f[I]access_token\f[] and \f[I]access_token_secret\f[] values you get
4163 from \f[I]linking your Flickr account to gallery-dl\f[].
4164
4165
4166 .SS extractor.flickr.contexts
4167 .IP "Type:" 6
4168 \f[I]bool\f[]
4169
4170 .IP "Default:" 9
4171 \f[I]false\f[]
4172
4173 .IP "Description:" 4
4174 For each photo, return the albums and pools it belongs to
4175 as \f[I]set\f[] and \f[I]pool\f[] metadata.
4176
4177 .IP "Note:" 4
4178 This requires 1 additional API call per photo.
4179 See \f[I]flickr.photos.getAllContexts\f[] for details.
4180
4181
4182 .SS extractor.flickr.exif
4183 .IP "Type:" 6
4184 \f[I]bool\f[]
4185
4186 .IP "Default:" 9
4187 \f[I]false\f[]
4188
4189 .IP "Description:" 4
4190 For each photo, return its EXIF/TIFF/GPS tags
4191 as \f[I]exif\f[] and \f[I]camera\f[] metadata.
4192
4193 .IP "Note:" 4
4194 This requires 1 additional API call per photo.
4195 See \f[I]flickr.photos.getExif\f[] for details.
4196
4197
4198 .SS extractor.flickr.info
4199 .IP "Type:" 6
4200 \f[I]bool\f[]
4201
4202 .IP "Default:" 9
4203 \f[I]false\f[]
4204
4205 .IP "Description:" 4
4206 For each photo, retrieve its "full" metadata as provided by
4207 \f[I]flickr.photos.getInfo\f[]
4208
4209 .IP "Note:" 4
4210 This requires 1 additional API call per photo.
4211
4212
4213 .SS extractor.flickr.metadata
4214 .IP "Type:" 6
4215 .br
4216 * \f[I]bool\f[]
4217 .br
4218 * \f[I]string\f[]
4219 .br
4220 * \f[I]list\f[] of \f[I]strings\f[]
4221
4222 .IP "Default:" 9
4223 \f[I]false\f[]
4224
4225 .IP "Example:" 4
4226 .br
4227 * license,last_update,machine_tags
4228 .br
4229 * ["license", "last_update", "machine_tags"]
4230
4231 .IP "Description:" 4
4232 Extract additional metadata
4233 (license, date_taken, original_format, last_update, geo, machine_tags, o_dims)
4234
4235 It is possible to specify a custom list of metadata includes.
4236 See \f[I]the extras parameter\f[]
4237 in \f[I]Flickr's API docs\f[]
4238 for possible field names.
4239
4240
4241 .SS extractor.flickr.profile
4242 .IP "Type:" 6
4243 \f[I]bool\f[]
4244
4245 .IP "Default:" 9
4246 \f[I]false\f[]
4247
4248 .IP "Description:" 4
4249 Extract additional \f[I]user\f[] profile metadata.
4250
4251 .IP "Note:" 4
4252 This requires 1 additional API call per user profile.
4253 See \f[I]flickr.people.getInfo\f[] for details.
4254
4255
4256 .SS extractor.flickr.size-max
4257 .IP "Type:" 6
4258 .br
4259 * \f[I]integer\f[]
4260 .br
4261 * \f[I]string\f[]
4262
4263 .IP "Default:" 9
4264 \f[I]null\f[]
4265
4266 .IP "Description:" 4
4267 Sets the maximum allowed size for downloaded images.
4268
4269 .br
4270 * If this is an \f[I]integer\f[], it specifies the maximum image dimension
4271 (width and height) in pixels.
4272 .br
4273 * If this is a \f[I]string\f[], it should be one of Flickr's format specifiers
4274 (\f[I]"Original"\f[], \f[I]"Large"\f[], ... or \f[I]"o"\f[], \f[I]"k"\f[], \f[I]"h"\f[],
4275 \f[I]"l"\f[], ...) to use as an upper limit.
4276
4277
4278 .SS extractor.flickr.videos
4279 .IP "Type:" 6
4280 \f[I]bool\f[]
4281
4282 .IP "Default:" 9
4283 \f[I]true\f[]
4284
4285 .IP "Description:" 4
4286 Extract and download videos.
4287
4288
4289 .SS extractor.flickr.urls
4290 .IP "Type:" 6
4291 \f[I]string\f[]
4292
4293 .IP "Default:" 9
4294 \f[I]null\f[]
4295
4296 .IP "Description:" 4
4297 Transform image URLs.
4298
4299 \f[I]"download"\f[]
4300 Download URLs
4301 (e.g. \f[I]https://live.staticflickr.com/123/456789_abcdef_o_d.jpg\f[])
4302
4303
4304 .SS extractor.foriio.audio
4305 .IP "Type:" 6
4306 \f[I]bool\f[]
4307
4308 .IP "Default:" 9
4309 \f[I]true\f[]
4310
4311 .IP "Description:" 4
4312 Download embedded audio files using \f[I]ytdl\f[]
4313 in \f[I]sound\f[] works
4314
4315
4316 .SS extractor.foriio.external
4317 .IP "Type:" 6
4318 \f[I]bool\f[]
4319
4320 .IP "Default:" 9
4321 \f[I]true\f[]
4322
4323 .IP "Description:" 4
4324 Follow external URLs
4325 in \f[I]web_article\f[] works
4326
4327
4328 .SS extractor.foriio.user.posts
4329 .IP "Type:" 6
4330 .br
4331 * \f[I]string\f[]
4332 .br
4333 * \f[I]list\f[] of \f[I]strings\f[]
4334
4335 .IP "Default:" 9
4336 \f[I]null\f[]
4337
4338 .IP "Example:" 4
4339 .br
4340 * "image,video,sound"
4341 .br
4342 * ["web_article", "copy_writing"]
4343
4344 .IP "Description:" 4
4345 Only process works of the given types.
4346
4347
4348 .SS extractor.foriio.previews
4349 .IP "Type:" 6
4350 \f[I]bool\f[]
4351
4352 .IP "Default:" 9
4353 \f[I]false\f[]
4354
4355 .IP "Description:" 4
4356 Download preview images of embedded media.
4357
4358
4359 .SS extractor.foriio.videos
4360 .IP "Type:" 6
4361 \f[I]bool\f[]
4362
4363 .IP "Default:" 9
4364 \f[I]true\f[]
4365
4366 .IP "Description:" 4
4367 Download embedded (YouTube) videos using \f[I]ytdl\f[]
4368 in \f[I]video\f[] works
4369
4370
4371 .SS extractor.furaffinity.comments
4372 .IP "Type:" 6
4373 \f[I]string\f[]
4374
4375 .IP "Default:" 9
4376 \f[I]"text"\f[]
4377
4378 .IP "Description:" 4
4379 Controls the format of \f[I]text\f[] entries in \f[I]comments\f[] metadata fields.
4380
4381 \f[I]"text"\f[]
4382 Plain text with HTML tags removed
4383 \f[I]"html"\f[]
4384 Raw HTML content
4385
4386
4387 .SS extractor.furaffinity.descriptions
4388 .IP "Type:" 6
4389 \f[I]string\f[]
4390
4391 .IP "Default:" 9
4392 \f[I]"text"\f[]
4393
4394 .IP "Description:" 4
4395 Controls the format of \f[I]description\f[] metadata fields.
4396
4397 \f[I]"text"\f[]
4398 Plain text with HTML tags removed
4399 \f[I]"html"\f[]
4400 Raw HTML content
4401
4402
4403 .SS extractor.furaffinity.external
4404 .IP "Type:" 6
4405 \f[I]bool\f[]
4406
4407 .IP "Default:" 9
4408 \f[I]false\f[]
4409
4410 .IP "Description:" 4
4411 Follow external URLs linked in descriptions.
4412
4413
4414 .SS extractor.furaffinity.include
4415 .IP "Type:" 6
4416 .br
4417 * \f[I]string\f[]
4418 .br
4419 * \f[I]list\f[] of \f[I]strings\f[]
4420
4421 .IP "Default:" 9
4422 \f[I]"gallery"\f[]
4423
4424 .IP "Example:" 4
4425 .br
4426 * "scraps,favorite"
4427 .br
4428 * ["scraps", "favorite"]
4429
4430 .IP "Description:" 4
4431 A (comma-separated) list of subcategories to include
4432 when processing a user profile.
4433
4434 .IP "Supported Values:" 4
4435 .br
4436 * \f[I]gallery\f[]
4437 .br
4438 * \f[I]scraps\f[]
4439 .br
4440 * \f[I]favorite\f[]
4441 .br
4442 * \f[I]journals\f[]
4443
4444 .IP "Note:" 4
4445 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
4446
4447
4448 .SS extractor.furaffinity.layout
4449 .IP "Type:" 6
4450 \f[I]string\f[]
4451
4452 .IP "Default:" 9
4453 \f[I]"auto"\f[]
4454
4455 .IP "Description:" 4
4456 Selects which site layout to expect when parsing posts.
4457
4458 \f[I]"auto"\f[]
4459 Automatically differentiate between \f[I]"old"\f[] and \f[I]"new"\f[]
4460 \f[I]"old"\f[]
4461 Expect the *old* site layout
4462 \f[I]"new"\f[]
4463 Expect the *new* site layout
4464
4465
4466 .SS extractor.gelbooru.api-key & .user-id
4467 .IP "Type:" 6
4468 \f[I]string\f[]
4469
4470 .IP "Default:" 9
4471 \f[I]null\f[]
4472
4473 .IP "Description:" 4
4474 Values from the API Access Credentials section
4475 found at the bottom of your account's
4476 \f[I]Options\f[]
4477 page.
4478
4479
4480 .SS extractor.gelbooru.favorite.order-posts
4481 .IP "Type:" 6
4482 \f[I]string\f[]
4483
4484 .IP "Default:" 9
4485 \f[I]"desc"\f[]
4486
4487 .IP "Description:" 4
4488 Controls the order in which favorited posts are returned.
4489
4490 \f[I]"asc"\f[]
4491 Ascending favorite date order (oldest first)
4492 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
4493 Descending favorite date order (newest first)
4494
4495
4496 .SS extractor.generic.enabled
4497 .IP "Type:" 6
4498 \f[I]bool\f[]
4499
4500 .IP "Default:" 9
4501 \f[I]false\f[]
4502
4503 .IP "Description:" 4
4504 Match **all** URLs not otherwise supported by gallery-dl,
4505 even ones without a \f[I]generic:\f[] prefix.
4506
4507
4508 .SS extractor.gofile.api-token
4509 .IP "Type:" 6
4510 \f[I]string\f[]
4511
4512 .IP "Default:" 9
4513 \f[I]null\f[]
4514
4515 .IP "Description:" 4
4516 API token value found at the bottom of your \f[I]profile page\f[].
4517
4518 If not set, a temporary guest token will be used.
4519
4520
4521 .SS extractor.gofile.website-token
4522 .IP "Type:" 6
4523 \f[I]string\f[]
4524
4525 .IP "Description:" 4
4526 API token value used during API requests.
4527
4528 An invalid or not up-to-date value
4529 will result in \f[I]401 Unauthorized\f[] errors.
4530
4531 Keeping this option unset will use an extra HTTP request
4532 to attempt to fetch the current value used by gofile.
4533
4534
4535 .SS extractor.gofile.recursive
4536 .IP "Type:" 6
4537 \f[I]bool\f[]
4538
4539 .IP "Default:" 9
4540 \f[I]true\f[]
4541
4542 .IP "Description:" 4
4543 Recursively download files from subfolders.
4544
4545
4546 .SS extractor.gofile.salt
4547 .IP "Type:" 6
4548 \f[I]string\f[]
4549
4550 .IP "Description:" 4
4551 Alternate salt value used during website token generation.
4552
4553
4554 .SS extractor.hdoujin.cbz
4555 .IP "Type:" 6
4556 \f[I]bool\f[]
4557
4558 .IP "Default:" 9
4559 \f[I]false\f[]
4560
4561 .IP "Description:" 4
4562 Download each gallery as a single \f[I].cbz\f[] file.
4563
4564 .IP "Note:" 4
4565 Requires a
4566 \f[I]token\f[]
4567
4568
4569 .SS extractor.hdoujin.crt
4570 .IP "Type:" 6
4571 \f[I]string\f[]
4572
4573 .IP "Example:" 4
4574 .br
4575 * "0542daa9-352c-4fd5-a497-6c6d5cf07423"
4576 .br
4577 * "/12345/a1b2c3d4e5f6?crt=0542daa9-352c-4fd5-a497-6c6d5cf07423"
4578
4579 .IP "Description:" 4
4580 The \f[I]crt\f[] query parameter value
4581 sent when fetching gallery data.
4582
4583 To get this value:
4584
4585 .br
4586 * Open your browser's Developer Tools (F12)
4587 .br
4588 * Select Network → XHR
4589 .br
4590 * Open a gallery page
4591 .br
4592 * Select the last Network entry and copy its \f[I]crt\f[] value
4593
4594 .IP "Note:" 4
4595 You will also need your browser's
4596 \f[I]user-agent\f[]
4597
4598
4599 .SS extractor.hdoujin.format
4600 .IP "Type:" 6
4601 .br
4602 * \f[I]string\f[]
4603 .br
4604 * \f[I]list\f[] of \f[I]strings\f[]
4605
4606 .IP "Default:" 9
4607 \f[I]["0", "1600", "1280", "980", "780"]\f[]
4608
4609 .IP "Description:" 4
4610 Name(s) of the image format to download.
4611
4612 When more than one format is given, the first available one is selected.
4613
4614 Possible formats are
4615 .br
4616 \f[I]"780"\f[], \f[I]"980"\f[], \f[I]"1280"\f[], \f[I]"1600"\f[], \f[I]"0"\f[] (original)
4617 .br
4618
4619
4620 .SS extractor.hdoujin.tags
4621 .IP "Type:" 6
4622 \f[I]bool\f[]
4623
4624 .IP "Default:" 9
4625 \f[I]false\f[]
4626
4627 .IP "Description:" 4
4628 Group \f[I]tags\f[] by type and
4629 provide them as \f[I]tags_<type>\f[] metadata fields,
4630 for example \f[I]tags_artist\f[] or \f[I]tags_character\f[].
4631
4632
4633 .SS extractor.hdoujin.token
4634 .IP "Type:" 6
4635 \f[I]string\f[]
4636
4637 .IP "Example:" 4
4638 .br
4639 * "3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
4640 .br
4641 * "Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
4642 .br
4643 * "Authorization: Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
4644
4645 .IP "Description:" 4
4646 \f[I]Authorization\f[] header value
4647 used for requests to \f[I]https://api.hdoujin.org\f[]
4648 to access \f[I]favorite\f[] galleries
4649 or download
4650 \f[I].cbz\f[]
4651 archives.
4652
4653
4654 .SS extractor.hentaifoundry.descriptions
4655 .IP "Type:" 6
4656 \f[I]string\f[]
4657
4658 .IP "Default:" 9
4659 \f[I]"text"\f[]
4660
4661 .IP "Description:" 4
4662 Controls the format of \f[I]description\f[] metadata fields.
4663
4664 \f[I]"text"\f[]
4665 Plain text with HTML tags removed
4666 \f[I]"html"\f[]
4667 Raw HTML content
4668
4669
4670 .SS extractor.hentaifoundry.include
4671 .IP "Type:" 6
4672 .br
4673 * \f[I]string\f[]
4674 .br
4675 * \f[I]list\f[] of \f[I]strings\f[]
4676
4677 .IP "Default:" 9
4678 \f[I]"pictures"\f[]
4679
4680 .IP "Example:" 4
4681 .br
4682 * "scraps,stories"
4683 .br
4684 * ["scraps", "stories"]
4685
4686 .IP "Description:" 4
4687 A (comma-separated) list of subcategories to include
4688 when processing a user profile.
4689
4690 .IP "Supported Values:" 4
4691 .br
4692 * \f[I]pictures\f[]
4693 .br
4694 * \f[I]scraps\f[]
4695 .br
4696 * \f[I]stories\f[]
4697 .br
4698 * \f[I]favorite\f[]
4699
4700 .IP "Note:" 4
4701 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
4702
4703
4704 .SS extractor.hitomi.format
4705 .IP "Type:" 6
4706 \f[I]string\f[]
4707
4708 .IP "Default:" 9
4709 \f[I]"webp"\f[]
4710
4711 .IP "Description:" 4
4712 Selects which image format to download.
4713
4714 .IP "Available Formats:" 4
4715 .br
4716 * \f[I]"webp"\f[]
4717 .br
4718 * \f[I]"avif"\f[]
4719
4720
4721 .SS extractor.imagechest.access-token
4722 .IP "Type:" 6
4723 \f[I]string\f[]
4724
4725 .IP "Description:" 4
4726 Your personal Image Chest access token.
4727
4728 These tokens allow using the API instead of having to scrape HTML pages,
4729 providing more detailed metadata.
4730 (\f[I]date\f[], \f[I]description\f[], etc)
4731
4732 See https://imgchest.com/docs/api/1.0/general/authorization
4733 for instructions on how to generate such a token.
4734
4735
4736 .SS extractor.imgur.client-id
4737 .IP "Type:" 6
4738 \f[I]string\f[]
4739
4740 .IP "Description:" 4
4741 Custom Client ID value for API requests.
4742
4743
4744 .SS extractor.imgur.mp4
4745 .IP "Type:" 6
4746 .br
4747 * \f[I]bool\f[]
4748 .br
4749 * \f[I]string\f[]
4750
4751 .IP "Default:" 9
4752 \f[I]true\f[]
4753
4754 .IP "Description:" 4
4755 Controls whether to choose the GIF or MP4 version of an animation.
4756
4757 \f[I]true\f[]
4758 Follow Imgur's advice and choose MP4 if the
4759 \f[I]prefer_video\f[] flag in an image's metadata is set.
4760 \f[I]false\f[]
4761 Always choose GIF.
4762 \f[I]"always"\f[]
4763 Always choose MP4.
4764
4765
4766 .SS extractor.inkbunny.orderby
4767 .IP "Type:" 6
4768 \f[I]string\f[]
4769
4770 .IP "Default:" 9
4771 \f[I]"create_datetime"\f[]
4772
4773 .IP "Description:" 4
4774 Value of the \f[I]orderby\f[] parameter for submission searches.
4775
4776 (See \f[I]API#Search\f[]
4777 for details)
4778
4779
4780 .SS extractor.instagram.api
4781 .IP "Type:" 6
4782 \f[I]string\f[]
4783
4784 .IP "Default:" 9
4785 \f[I]"rest"\f[]
4786
4787 .IP "Description:" 4
4788 Selects which API endpoints to use.
4789
4790 \f[I]"rest"\f[]
4791 REST API - higher-resolution media
4792 \f[I]"graphql"\f[]
4793 GraphQL API - lower-resolution media
4794
4795
4796 .SS extractor.instagram.audio
4797 .IP "Type:" 6
4798 .br
4799 * \f[I]bool\f[]
4800 .br
4801 * \f[I]string\f[]
4802
4803 .IP "Default:" 9
4804 \f[I]false\f[]
4805
4806 .IP "Description:" 4
4807 Controls audio download behavior.
4808
4809 \f[I]true\f[] \f[I] \f[I]"dash"\f[] \f[] \f[I]"ytdl"\f[]
4810 Download audio from \f[I]dash_manifest\f[] data using \f[I]ytdl\f[] when available
4811 and a non-DASH format otherwise
4812 \f[I]"merged"\f[]
4813 Download non-DASH formats
4814 \f[I]false\f[]
4815 Do not download audio files
4816
4817
4818 .SS extractor.instagram.cursor
4819 .IP "Type:" 6
4820 .br
4821 * \f[I]bool\f[]
4822 .br
4823 * \f[I]string\f[]
4824
4825 .IP "Default:" 9
4826 \f[I]true\f[]
4827
4828 .IP "Example:" 4
4829 "3414259811154179155_25025320"
4830
4831 .IP "Description:" 4
4832 Controls from which position to start the extraction process from.
4833
4834 \f[I]true\f[]
4835 Start from the beginning.
4836 .br
4837 Log the most recent \f[I]cursor\f[] value when interrupted before reaching the end.
4838 .br
4839 \f[I]false\f[]
4840 Start from the beginning.
4841 any \f[I]string\f[]
4842 Start from the position defined by this value.
4843
4844
4845 .SS extractor.instagram.include
4846 .IP "Type:" 6
4847 .br
4848 * \f[I]string\f[]
4849 .br
4850 * \f[I]list\f[] of \f[I]strings\f[]
4851
4852 .IP "Default:" 9
4853 \f[I]"posts"\f[]
4854
4855 .IP "Example:" 4
4856 .br
4857 * "stories,highlights,posts"
4858 .br
4859 * ["stories", "highlights", "posts"]
4860
4861 .IP "Description:" 4
4862 A (comma-separated) list of subcategories to include
4863 when processing a user profile.
4864
4865 .IP "Supported Values:" 4
4866 .br
4867 * \f[I]posts\f[]
4868 .br
4869 * \f[I]reels\f[]
4870 .br
4871 * \f[I]tagged\f[]
4872 .br
4873 * \f[I]stories\f[]
4874 .br
4875 * \f[I]highlights\f[]
4876 .br
4877 * \f[I]info\f[]
4878 .br
4879 * \f[I]avatar\f[]
4880
4881 .IP "Note:" 4
4882 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
4883
4884
4885 .SS extractor.instagram.max-posts
4886 .IP "Type:" 6
4887 \f[I]integer\f[]
4888
4889 .IP "Default:" 9
4890 \f[I]null\f[]
4891
4892 .IP "Description:" 4
4893 Limit the number of posts to download.
4894
4895
4896 .SS extractor.instagram.metadata
4897 .IP "Type:" 6
4898 \f[I]bool\f[]
4899
4900 .IP "Default:" 9
4901 \f[I]false\f[]
4902
4903 .IP "Description:" 4
4904 Provide extended \f[I]user\f[] metadata even when referring to a user by ID,
4905 e.g. \f[I]instagram.com/id:12345678\f[].
4906
4907 .IP "Note:" 4
4908 This metadata is always available when referring to a user by name,
4909 e.g. \f[I]instagram.com/USERNAME\f[].
4910
4911
4912 .SS extractor.instagram.order-files
4913 .IP "Type:" 6
4914 \f[I]string\f[]
4915
4916 .IP "Default:" 9
4917 \f[I]"asc"\f[]
4918
4919 .IP "Description:" 4
4920 Controls the order in which files of each post are returned.
4921
4922 \f[I]"asc"\f[]
4923 Same order as displayed in a post
4924 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
4925 Reverse order as displayed in a post
4926
4927 .IP "Note:" 4
4928 This option does *not* affect \f[I]{num}\f[].
4929 To enumerate files in reverse order, use \f[I]count - num + 1\f[].
4930
4931
4932 .SS extractor.instagram.order-posts
4933 .IP "Type:" 6
4934 \f[I]string\f[]
4935
4936 .IP "Default:" 9
4937 \f[I]"asc"\f[]
4938
4939 .IP "Description:" 4
4940 Controls the order in which posts are returned.
4941
4942 \f[I]"asc"\f[]
4943 Same order as displayed
4944 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
4945 Reverse order as displayed
4946 \f[I]"id"\f[] or \f[I]"id_asc"\f[]
4947 Ascending order by ID
4948 \f[I]"id_desc"\f[]
4949 Descending order by ID
4950
4951 .IP "Note:" 4
4952 This option only affects \f[I]highlights\f[].
4953
4954
4955 .SS extractor.instagram.pinned
4956 .IP "Type:" 6
4957 \f[I]bool\f[]
4958
4959 .IP "Default:" 9
4960 \f[I]true\f[]
4961
4962 .IP "Description:" 4
4963 Process pinned posts.
4964
4965
4966 .SS extractor.instagram.previews
4967 .IP "Type:" 6
4968 .br
4969 * \f[I]bool\f[]
4970 .br
4971 * \f[I]string\f[]
4972 .br
4973 * \f[I]list\f[] of \f[I]strings\f[]
4974
4975 .IP "Default:" 9
4976 \f[I]false\f[]
4977
4978 .IP "Example:" 4
4979 .br
4980 * "video"
4981 .br
4982 * ["audio", "video"]
4983
4984 .IP "Description:" 4
4985 Download video previews and audio covers.
4986
4987
4988 .SS extractor.instagram.static-videos
4989 .IP "Type:" 6
4990 \f[I]bool\f[]
4991
4992 .IP "Default:" 9
4993 \f[I]true\f[]
4994
4995 .IP "Description:" 4
4996 Download static story/highlight "videos" generated from a photo.
4997
4998 Disabling this option downloads the photo version instead.
4999
5000
5001 .SS extractor.instagram.user-cache
5002 .IP "Type:" 6
5003 .br
5004 * \f[I]bool\f[]
5005 .br
5006 * \f[I]string\f[]
5007
5008 .IP "Default:" 9
5009 \f[I]"disk"\f[]
5010
5011 .IP "Description:" 4
5012 Selects how to cache user profile data.
5013
5014 \f[I]true\f[] \f[I] \f[I]"disk"\f[]
5015 Cache user data on disk
5016 \f[I]false\f[] \f[] \f[I]"memory"\f[]
5017 Cache user data in memory
5018
5019
5020 .SS extractor.instagram.user-strategy
5021 .IP "Type:" 6
5022 .br
5023 * \f[I]string\f[]
5024 .br
5025 * \f[I]list\f[] of \f[I]strings\f[]
5026
5027 .IP "Default:" 9
5028 \f[I]["search", "web"]\f[]
5029
5030 .IP "Example:" 4
5031 .br
5032 * "web,info,search"
5033 .br
5034 * ["web", "info", "search"]
5035
5036 .IP "Description:" 4
5037 Selects how to retrieve user IDs and profile data.
5038
5039 \f[I]"search"\f[] \f[I] \f[I]"topsearch"\f[]
5040 Use topsearch API results
5041 \f[I]"info"\f[] \f[] \f[I]"web_profile_info"\f[]
5042 Use web_profile_info API results
5043 .br
5044 (high liklyhood of \f[I]429 Too Many Requests\f[] errors)
5045 .br
5046 \f[I]"web"\f[] | \f[I]"webpage"\f[]
5047 Extract minimal user information from profile webpage
5048
5049
5050 .SS extractor.instagram.videos
5051 .IP "Type:" 6
5052 .br
5053 * \f[I]bool\f[]
5054 .br
5055 * \f[I]string\f[]
5056
5057 .IP "Default:" 9
5058 \f[I]true\f[]
5059
5060 .IP "Description:" 4
5061 Controls video download behavior.
5062
5063 \f[I]true\f[] \f[I] \f[I]"dash"\f[] \f[] \f[I]"ytdl"\f[]
5064 Download videos from \f[I]video_dash_manifest\f[] data using \f[I]ytdl\f[]
5065 \f[I]"merged"\f[]
5066 Download pre-merged video formats
5067 \f[I]false\f[]
5068 Do not download videos
5069
5070
5071 .SS extractor.instagram.warn-images
5072 .IP "Type:" 6
5073 .br
5074 * \f[I]bool\f[]
5075 .br
5076 * \f[I]string\f[]
5077
5078 .IP "Default:" 9
5079 \f[I]true\f[]
5080
5081 .IP "Description:" 4
5082 Show a warning when downloading images
5083 with a resolution smaller than the original.
5084
5085 \f[I]true\f[]
5086 Show a warning when at least one dimension
5087 is smaller than the reported original resolution
5088 \f[I]"all"\f[] | \f[I]"both"\f[]
5089 Show a warning only when both \f[I]width\f[] and \f[I]height\f[]
5090 are smaller than the reported original resolution
5091 \f[I]false\f[]
5092 Do not show a warning
5093
5094
5095 .SS extractor.instagram.warn-videos
5096 .IP "Type:" 6
5097 \f[I]bool\f[]
5098
5099 .IP "Default:" 9
5100 \f[I]true\f[]
5101
5102 .IP "Description:" 4
5103 Show a warning when downloading videos with a
5104 \f[I]User-Agent\f[]
5105 header causing potentially lowered video quality.
5106
5107
5108 .SS extractor.instagram.wd
5109 .IP "Type:" 6
5110 .br
5111 * \f[I]bool\f[]
5112 .br
5113 * \f[I]string\f[]
5114
5115 .IP "Default:" 9
5116 \f[I]false\f[]
5117
5118 .IP "Description:" 4
5119 Controls how to handle \f[I]wd\f[] cookies,
5120 .br
5121 which possibly limit the dimensions of returned photos.
5122 .br
5123
5124 \f[I]true\f[]
5125 Keep \f[I]wd\f[] cookie
5126 \f[I]false\f[]
5127 Unset/delete \f[I]wd\f[] cookie
5128 any \f[I]string\f[]
5129 Set \f[I]wd\f[] cookie to this value
5130
5131
5132 .SS extractor.instagram.stories.split
5133 .IP "Type:" 6
5134 .br
5135 * \f[I]bool\f[]
5136
5137 .IP "Default:" 9
5138 \f[I]false\f[]
5139
5140 .IP "Description:" 4
5141 Split \f[I]stories\f[] elements into separate posts.
5142
5143
5144 .SS extractor.itaku.include
5145 .IP "Type:" 6
5146 .br
5147 * \f[I]string\f[]
5148 .br
5149 * \f[I]list\f[] of \f[I]strings\f[]
5150
5151 .IP "Default:" 9
5152 \f[I]"gallery"\f[]
5153
5154 .IP "Example:" 4
5155 .br
5156 * "stars,gallery"
5157 .br
5158 * ["stars", "gallery"]
5159
5160 .IP "Description:" 4
5161 A (comma-separated) list of subcategories to include
5162 when processing a user profile.
5163
5164 .IP "Supported Values:" 4
5165 .br
5166 * \f[I]gallery\f[]
5167 .br
5168 * \f[I]posts\f[]
5169 .br
5170 * \f[I]followers\f[]
5171 .br
5172 * \f[I]following\f[]
5173 .br
5174 * \f[I]stars\f[]
5175
5176 .IP "Note:" 4
5177 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
5178
5179
5180 .SS extractor.itaku.order
5181 .IP "Type:" 6
5182 \f[I]string\f[]
5183
5184 .IP "Default:" 9
5185 \f[I]"desc"\f[]
5186
5187 .IP "Description:" 4
5188 Controls the order in which
5189 images/posts/users are returned.
5190
5191 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
5192 Ascending order (oldest first)
5193 \f[I]"desc"\f[]
5194 Descending order (newest first)
5195 any other \f[I]string\f[]
5196 Custom result order
5197
5198
5199 .SS extractor.itaku.videos
5200 .IP "Type:" 6
5201 \f[I]bool\f[]
5202
5203 .IP "Default:" 9
5204 \f[I]true\f[]
5205
5206 .IP "Description:" 4
5207 Download video files.
5208
5209
5210 .SS extractor.iwara.embeds
5211 .IP "Type:" 6
5212 \f[I]bool\f[]
5213
5214 .IP "Default:" 9
5215 \f[I]false\f[]
5216
5217 .IP "Description:" 4
5218 Downlload embedded external videos using \f[I]ytdl\f[].
5219
5220
5221 .SS extractor.iwara.format
5222 .IP "Type:" 6
5223 .br
5224 * \f[I]string\f[]
5225 .br
5226 * \f[I]list\f[] of \f[I]strings\f[]
5227
5228 .IP "Example:" 4
5229 .br
5230 * "Source"
5231 .br
5232 * "360,540,Source"
5233 .br
5234 * ["360", "540", "Source"]
5235
5236 .IP "Description:" 4
5237 Selects the preferred format for video downloads.
5238
5239 When more than one format is given, the first available one is selected.
5240
5241
5242 .SS extractor.iwara.include
5243 .IP "Type:" 6
5244 .br
5245 * \f[I]string\f[]
5246 .br
5247 * \f[I]list\f[] of \f[I]strings\f[]
5248
5249 .IP "Default:" 9
5250 \f[I]["user-images", "user-videos"]\f[]
5251
5252 .IP "Description:" 4
5253 A (comma-separated) list of subcategories to include
5254 when processing a user profile.
5255
5256 .IP "Supported Values:" 4
5257 .br
5258 * \f[I]user-images\f[]
5259 .br
5260 * \f[I]user-videos\f[]
5261 .br
5262 * \f[I]user-playlists\f[]
5263
5264 .IP "Note:" 4
5265 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
5266
5267
5268 .SS extractor.joyreactor.embeds
5269 .IP "Type:" 6
5270 \f[I]bool\f[]
5271
5272 .IP "Default:" 9
5273 \f[I]false\f[]
5274
5275 .IP "Description:" 4
5276 Downlload embedded external videos with \f[I]ytdl\f[].
5277
5278
5279 .SS extractor.joyreactor.formats
5280 .IP "Type:" 6
5281 .br
5282 * \f[I]string\f[]
5283 .br
5284 * \f[I]list\f[] of \f[I]strings\f[]
5285
5286 .IP "Default:" 9
5287 \f[I]["webm"]\f[]
5288
5289 .IP "Example:" 4
5290 "gif,mp4,webm"
5291
5292 .IP "Description:" 4
5293 A (comma-separated) list of video formats to download.
5294
5295 .IP "Supported Values:" 4
5296 .br
5297 * \f[I]webm\f[]
5298 .br
5299 * \f[I]mp4\f[]
5300 .br
5301 * \f[I]gif\f[]
5302
5303
5304 .SS extractor.joyreactor.metadata
5305 .IP "Type:" 6
5306 \f[I]bool\f[]
5307
5308 .IP "Default:" 9
5309 \f[I]false\f[]
5310
5311 .IP "Description:" 4
5312 Extract additional metadata.
5313
5314
5315 .SS extractor.joyreactor.videos
5316 .IP "Type:" 6
5317 \f[I]bool\f[]
5318
5319 .IP "Default:" 9
5320 \f[I]true\f[]
5321
5322 .IP "Description:" 4
5323 Download videos.
5324
5325
5326 .SS extractor.kemono.archives
5327 .IP "Type:" 6
5328 \f[I]bool\f[]
5329
5330 .IP "Default:" 9
5331 \f[I]false\f[]
5332
5333 .IP "Description:" 4
5334 Extract additional metadata for \f[I]archives\f[] files, including
5335 \f[I]file\f[], \f[I]file_list\f[], and \f[I]password\f[].
5336
5337 .IP "Note:" 4
5338 This requires 1 additional HTTP request per \f[I]archives\f[] file.
5339
5340
5341 .SS extractor.kemono.archives-format
5342 .IP "Type:" 6
5343 \f[I]string\f[]
5344
5345 .IP "Default:" 9
5346 \f[I]"list"\f[]
5347
5348 .IP "Description:" 4
5349 Determines the format/type of the
5350 \f[I]archives\f[]
5351 metadata field.
5352
5353 \f[I]"list"\f[] \f[I] \f[I]"array"\f[]
5354 Plain \f[I]list\f[] with archive files as elements
5355 \f[I]"dict"\f[] \f[] \f[I]"object"\f[]
5356 A \f[I]dict\f[] with each archive file's \f[I]hash\f[] as key.
5357
5358
5359 .SS extractor.kemono.comments
5360 .IP "Type:" 6
5361 \f[I]bool\f[]
5362
5363 .IP "Default:" 9
5364 \f[I]false\f[]
5365
5366 .IP "Description:" 4
5367 Extract \f[I]comments\f[] metadata.
5368
5369 .IP "Note:" 4
5370 This requires 1 additional HTTP request per post.
5371
5372
5373 .SS extractor.kemono.duplicates
5374 .IP "Type:" 6
5375 .br
5376 * \f[I]bool\f[]
5377 .br
5378 * \f[I]string\f[]
5379 .br
5380 * \f[I]list\f[] of \f[I]strings\f[]
5381
5382 .IP "Default:" 9
5383 \f[I]false\f[]
5384
5385 .IP "Example:" 4
5386 .br
5387 * "attachment,inline"
5388 .br
5389 * ["file", "attachment"]
5390
5391 .IP "Description:" 4
5392 Controls how to handle duplicate files in a post.
5393
5394 \f[I]true\f[]
5395 Download duplicates
5396 \f[I]false\f[]
5397 Ignore duplicates
5398 any \f[I]list\f[] or \f[I]string\f[]
5399 Download a duplicate file if its \f[I]type\f[] is in the given list
5400 .br
5401 Ignore it otherwise
5402 .br
5403
5404
5405 .SS extractor.kemono.dms
5406 .IP "Type:" 6
5407 \f[I]bool\f[]
5408
5409 .IP "Default:" 9
5410 \f[I]false\f[]
5411
5412 .IP "Description:" 4
5413 Extract a user's direct messages as \f[I]dms\f[] metadata.
5414
5415
5416 .SS extractor.kemono.announcements
5417 .IP "Type:" 6
5418 \f[I]bool\f[]
5419
5420 .IP "Default:" 9
5421 \f[I]false\f[]
5422
5423 .IP "Description:" 4
5424 Extract a user's announcements as \f[I]announcements\f[] metadata.
5425
5426
5427 .SS extractor.kemono.endpoint
5428 .IP "Type:" 6
5429 \f[I]string\f[]
5430
5431 .IP "Default:" 9
5432 \f[I]"posts"\f[]
5433
5434 .IP "Description:" 4
5435 API endpoint to use for retrieving creator posts.
5436
5437 \f[I]"posts"\f[] \f[I] \f[I]"legacy"\f[]
5438 Provides only limited metadata.
5439 \f[I]"posts+"\f[] \f[] \f[I]"legacy+"\f[]
5440 Provides full metadata,
5441 but requires an additional API request for each post.
5442
5443
5444 .SS extractor.kemono.favorites
5445 .IP "Type:" 6
5446 \f[I]string\f[]
5447
5448 .IP "Default:" 9
5449 \f[I]"artist"\f[]
5450
5451 .IP "Description:" 4
5452 Determines the type of favorites to be downloaded.
5453
5454 Available types are \f[I]artist\f[] and \f[I]post\f[].
5455
5456
5457 .SS extractor.kemono.files
5458 .IP "Type:" 6
5459 \f[I]list\f[] of \f[I]strings\f[]
5460
5461 .IP "Default:" 9
5462 \f[I]["attachments", "file", "inline"]\f[]
5463
5464 .IP "Description:" 4
5465 Determines the type and order of files to be downloaded.
5466
5467 .IP "Available Types:" 4
5468 .br
5469 * \f[I]file\f[]
5470 .br
5471 * \f[I]attachments\f[]
5472 .br
5473 * \f[I]inline\f[]
5474
5475
5476 .SS extractor.kemono.max-posts
5477 .IP "Type:" 6
5478 \f[I]integer\f[]
5479
5480 .IP "Default:" 9
5481 \f[I]null\f[]
5482
5483 .IP "Description:" 4
5484 Limit the number of posts to download.
5485
5486
5487 .SS extractor.kemono.metadata
5488 .IP "Type:" 6
5489 \f[I]bool\f[]
5490
5491 .IP "Default:" 9
5492 \f[I]true\f[]
5493
5494 .IP "Description:" 4
5495 Extract \f[I]username\f[] and \f[I]user_profile\f[] metadata.
5496
5497
5498 .SS extractor.kemono.original
5499 .IP "Type:" 6
5500 \f[I]bool\f[]
5501
5502 .IP "Default:" 9
5503 \f[I]false\f[]
5504
5505 .IP "Description:" 4
5506 Try to download original files.
5507
5508 Download thumbnails/previews if available when this option is disabled.
5509
5510
5511 .SS extractor.kemono.revisions
5512 .IP "Type:" 6
5513 .br
5514 * \f[I]bool\f[]
5515 .br
5516 * \f[I]string\f[]
5517
5518 .IP "Default:" 9
5519 \f[I]false\f[]
5520
5521 .IP "Description:" 4
5522 Extract post revisions.
5523
5524 Set this to \f[I]"unique"\f[] to filter out duplicate revisions.
5525
5526 .IP "Note:" 4
5527 This requires 1 additional HTTP request per post.
5528
5529
5530 .SS extractor.kemono.order-revisions
5531 .IP "Type:" 6
5532 \f[I]string\f[]
5533
5534 .IP "Default:" 9
5535 \f[I]"desc"\f[]
5536
5537 .IP "Description:" 4
5538 Controls the order in which
5539 \f[I]revisions\f[]
5540 are returned.
5541
5542 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
5543 Ascending order (oldest first)
5544 \f[I]"desc"\f[]
5545 Descending order (newest first)
5546
5547
5548 .SS extractor.kemono.discord.order-posts
5549 .IP "Type:" 6
5550 \f[I]string\f[]
5551
5552 .IP "Default:" 9
5553 \f[I]"asc"\f[]
5554
5555 .IP "Description:" 4
5556 Controls the order in which
5557 \f[I]discord\f[] posts
5558 are returned.
5559
5560 \f[I]"asc"\f[]
5561 Ascending order (oldest first)
5562 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
5563 Descending order (newest first)
5564
5565
5566 .SS extractor.khinsider.covers
5567 .IP "Type:" 6
5568 \f[I]bool\f[]
5569
5570 .IP "Default:" 9
5571 \f[I]false\f[]
5572
5573 .IP "Description:" 4
5574 Download album cover images.
5575
5576
5577 .SS extractor.khinsider.format
5578 .IP "Type:" 6
5579 \f[I]string\f[]
5580
5581 .IP "Default:" 9
5582 \f[I]"mp3"\f[]
5583
5584 .IP "Description:" 4
5585 The name of the preferred file format to download.
5586
5587 Use \f[I]"all"\f[] to download all available formats,
5588 or a (comma-separated) list to select multiple formats.
5589
5590 If the selected format is not available,
5591 the first in the list gets chosen (usually mp3).
5592
5593
5594 .SS extractor.koofr.recursive
5595 .IP "Type:" 6
5596 \f[I]bool\f[]
5597
5598 .IP "Default:" 9
5599 \f[I]true\f[]
5600
5601 .IP "Description:" 4
5602 \f[I]true\f[]
5603 Recursively descent into subfolders
5604 while downloading individual files.
5605 \f[I]false\f[]
5606 Download shared /links/ with multiple files as a single .zip file.
5607
5608
5609 .SS extractor.lolisafe.domain
5610 .IP "Type:" 6
5611 \f[I]string\f[]
5612
5613 .IP "Default:" 9
5614 \f[I]null\f[]
5615
5616 .IP "Description:" 4
5617 Specifies the domain used by a \f[I]lolisafe\f[] extractor
5618 regardless of input URL.
5619
5620 Setting this option to \f[I]"auto"\f[]
5621 uses the same domain as a given input URL.
5622
5623
5624 .SS extractor.luscious.gif
5625 .IP "Type:" 6
5626 \f[I]bool\f[]
5627
5628 .IP "Default:" 9
5629 \f[I]false\f[]
5630
5631 .IP "Description:" 4
5632 Format in which to download animated images.
5633
5634 Use \f[I]true\f[] to download animated images as gifs and \f[I]false\f[]
5635 to download as mp4 videos.
5636
5637
5638 .SS extractor.mangadex.api-server
5639 .IP "Type:" 6
5640 \f[I]string\f[]
5641
5642 .IP "Default:" 9
5643 \f[I]"https://api.mangadex.org"\f[]
5644
5645 .IP "Description:" 4
5646 The server to use for API requests.
5647
5648
5649 .SS extractor.mangadex.api-parameters
5650 .IP "Type:" 6
5651 \f[I]object\f[] (name → value)
5652
5653 .IP "Example:" 4
5654 {"order[updatedAt]": "desc"}
5655
5656 .IP "Description:" 4
5657 Additional query parameters to send when fetching manga chapters.
5658
5659 (See \f[I]/manga/{id}/feed\f[]
5660 and \f[I]/user/follows/manga/feed\f[])
5661
5662
5663 .SS extractor.mangadex.data-saver
5664 .IP "Type:" 6
5665 \f[I]bool\f[]
5666
5667 .IP "Default:" 9
5668 \f[I]false\f[]
5669
5670 .IP "Description:" 4
5671 Enable Data Saver mode and download lower quality versions of chapters.
5672
5673
5674 .SS extractor.mangadex.lang
5675 .IP "Type:" 6
5676 .br
5677 * \f[I]string\f[]
5678 .br
5679 * \f[I]list\f[] of \f[I]strings\f[]
5680
5681 .IP "Example:" 4
5682 .br
5683 * "en"
5684 .br
5685 * "fr,it"
5686 .br
5687 * ["fr", "it"]
5688
5689 .IP "Description:" 4
5690 \f[I]ISO 639-1\f[] code(s) to filter chapters by.
5691
5692
5693 .SS extractor.mangadex.ratings
5694 .IP "Type:" 6
5695 .br
5696 * \f[I]string\f[]
5697 .br
5698 * \f[I]list\f[] of \f[I]strings\f[]
5699
5700 .IP "Default:" 9
5701 \f[I]["safe", "suggestive", "erotica", "pornographic"]\f[]
5702
5703 .IP "Example:" 4
5704 .br
5705 * "safe"
5706 .br
5707 * "erotica,suggestive"
5708 .br
5709 * ["erotica", "suggestive"]
5710
5711 .IP "Description:" 4
5712 List of acceptable content ratings for returned chapters.
5713
5714
5715 .SS extractor.mangadex.manga.covers
5716 .IP "Type:" 6
5717 \f[I]bool\f[]
5718
5719 .IP "Default:" 9
5720 \f[I]false\f[]
5721
5722 .IP "Description:" 4
5723 Download manga cover images.
5724
5725
5726 .SS extractor.mangafire.manga.lang
5727 .IP "Type:" 6
5728 \f[I]string\f[]
5729
5730 .IP "Default:" 9
5731 \f[I]"en"\f[]
5732
5733 .IP "Description:" 4
5734 \f[I]ISO 639-1\f[] code selecting which chapters to download.
5735
5736
5737 .SS extractor.mangareader.manga.lang
5738 .IP "Type:" 6
5739 \f[I]string\f[]
5740
5741 .IP "Default:" 9
5742 \f[I]"en"\f[]
5743
5744 .IP "Example:" 4
5745 "pt-br"
5746
5747 .IP "Description:" 4
5748 \f[I]ISO 639-1\f[] code selecting which chapters to download.
5749
5750
5751 .SS extractor.mangapark.source
5752 .IP "Type:" 6
5753 .br
5754 * \f[I]string\f[]
5755 .br
5756 * \f[I]integer\f[]
5757
5758 .IP "Example:" 4
5759 .br
5760 * "koala:en"
5761 .br
5762 * 15150116
5763
5764 .IP "Description:" 4
5765 Select chapter source and language for a manga.
5766
5767 The general syntax is \f[I]"<source name>:<ISO 639-1 language code>"\f[].
5768 .br
5769 Both are optional, meaning \f[I]"koala"\f[], \f[I]"koala:"\f[], \f[I]":en"\f[],
5770 .br
5771 or even just \f[I]":"\f[] are possible as well.
5772
5773 Specifying the numeric \f[I]ID\f[] of a source is also supported.
5774
5775
5776 .SS extractor.[mastodon].access-token
5777 .IP "Type:" 6
5778 \f[I]string\f[]
5779
5780 .IP "Default:" 9
5781 \f[I]null\f[]
5782
5783 .IP "Description:" 4
5784 The \f[I]access-token\f[] value you get from \f[I]linking your account to
5785 gallery-dl\f[].
5786
5787 .IP "Note:" 4
5788 gallery-dl comes with built-in tokens for
5789 \f[I]mastodon.social\f[], \f[I]pawoo\f[], and \f[I]baraag\f[].
5790
5791
5792 .SS extractor.[mastodon].cards
5793 .IP "Type:" 6
5794 \f[I]bool\f[]
5795
5796 .IP "Default:" 9
5797 \f[I]false\f[]
5798
5799 .IP "Description:" 4
5800 Fetch media from cards.
5801
5802
5803 .SS extractor.[mastodon].reblogs
5804 .IP "Type:" 6
5805 \f[I]bool\f[]
5806
5807 .IP "Default:" 9
5808 \f[I]false\f[]
5809
5810 .IP "Description:" 4
5811 Fetch media from reblogged posts.
5812
5813
5814 .SS extractor.[mastodon].replies
5815 .IP "Type:" 6
5816 \f[I]bool\f[]
5817
5818 .IP "Default:" 9
5819 \f[I]true\f[]
5820
5821 .IP "Description:" 4
5822 Fetch media from replies to other posts.
5823
5824
5825 .SS extractor.[mastodon].text-posts
5826 .IP "Type:" 6
5827 \f[I]bool\f[]
5828
5829 .IP "Default:" 9
5830 \f[I]false\f[]
5831
5832 .IP "Description:" 4
5833 Also emit metadata for text-only posts without media content.
5834
5835
5836 .SS extractor.[misskey].access-token
5837 .IP "Type:" 6
5838 \f[I]string\f[]
5839
5840 .IP "Description:" 4
5841 Your access token, necessary to fetch favorited notes.
5842
5843
5844 .SS extractor.[misskey].date-min & .date-max
5845 .IP "Type:" 6
5846 \f[I]Date\f[]
5847
5848 .IP "Default:" 9
5849 \f[I]null\f[]
5850
5851 .IP "Description:" 4
5852 Retrieve only notes posted after/before this \f[I]Date\f[]
5853
5854
5855 .SS extractor.[misskey].include
5856 .IP "Type:" 6
5857 .br
5858 * \f[I]string\f[]
5859 .br
5860 * \f[I]list\f[] of \f[I]strings\f[]
5861
5862 .IP "Default:" 9
5863 \f[I]"notes"\f[]
5864
5865 .IP "Example:" 4
5866 .br
5867 * "avatar,background,notes"
5868 .br
5869 * ["avatar", "background", "notes"]
5870
5871 .IP "Description:" 4
5872 A (comma-separated) list of subcategories to include
5873 when processing a user profile.
5874
5875 .IP "Supported Values:" 4
5876 .br
5877 * \f[I]info\f[]
5878 .br
5879 * \f[I]avatar\f[]
5880 .br
5881 * \f[I]background\f[]
5882 .br
5883 * \f[I]notes\f[]
5884
5885 .IP "Note:" 4
5886 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
5887
5888
5889 .SS extractor.[misskey].order-posts
5890 .IP "Type:" 6
5891 \f[I]string\f[]
5892
5893 .IP "Default:" 9
5894 \f[I]"desc"\f[]
5895
5896 .IP "Description:" 4
5897 Controls the order in which posts are processed.
5898
5899 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
5900 Ascending order (oldest first)
5901 \f[I]"desc"\f[]
5902 Descending order (newest first)
5903
5904
5905 .SS extractor.[misskey].renotes
5906 .IP "Type:" 6
5907 \f[I]bool\f[]
5908
5909 .IP "Default:" 9
5910 \f[I]false\f[]
5911
5912 .IP "Description:" 4
5913 Fetch media from renoted notes.
5914
5915
5916 .SS extractor.[misskey].replies
5917 .IP "Type:" 6
5918 \f[I]bool\f[]
5919
5920 .IP "Default:" 9
5921 \f[I]true\f[]
5922
5923 .IP "Description:" 4
5924 Fetch media from replies to other notes.
5925
5926
5927 .SS extractor.[misskey].text-posts
5928 .IP "Type:" 6
5929 \f[I]bool\f[]
5930
5931 .IP "Default:" 9
5932 \f[I]false\f[]
5933
5934 .IP "Description:" 4
5935 Also retrieve text-only notes without media content.
5936
5937
5938 .SS extractor.[moebooru].pool.metadata
5939 .IP "Type:" 6
5940 \f[I]bool\f[]
5941
5942 .IP "Default:" 9
5943 \f[I]false\f[]
5944
5945 .IP "Description:" 4
5946 Extract extended \f[I]pool\f[] metadata.
5947
5948 .IP "Note:" 4
5949 Not supported by all \f[I]moebooru\f[] instances.
5950
5951
5952 .SS extractor.myfigurecollection.include
5953 .IP "Type:" 6
5954 .br
5955 * \f[I]string\f[]
5956 .br
5957 * \f[I]list\f[] of \f[I]strings\f[]
5958
5959 .IP "Default:" 9
5960 \f[I]"user-pictures"\f[]
5961
5962 .IP "Description:" 4
5963 A (comma-separated) list of subcategories to include
5964 when processing a user profile.
5965
5966 .IP "Supported Values:" 4
5967 .br
5968 * \f[I]user-collections\f[]
5969 .br
5970 * \f[I]user-pictures\f[]
5971 .br
5972 * \f[I]user-albums\f[]
5973
5974 .IP "Note:" 4
5975 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
5976
5977
5978 .SS extractor.naver-blog.videos
5979 .IP "Type:" 6
5980 \f[I]bool\f[]
5981
5982 .IP "Default:" 9
5983 \f[I]true\f[]
5984
5985 .IP "Description:" 4
5986 Download videos.
5987
5988
5989 .SS extractor.naver-chzzk.offset
5990 .IP "Type:" 6
5991 \f[I]integer\f[]
5992
5993 .IP "Default:" 9
5994 \f[I]0\f[]
5995
5996 .IP "Description:" 4
5997 Custom \f[I]offset\f[] starting value when paginating over comments.
5998
5999
6000 .SS extractor.newgrounds.flash
6001 .IP "Type:" 6
6002 \f[I]bool\f[]
6003
6004 .IP "Default:" 9
6005 \f[I]true\f[]
6006
6007 .IP "Description:" 4
6008 Download original Adobe Flash animations instead of pre-rendered videos.
6009
6010
6011 .SS extractor.newgrounds.format
6012 .IP "Type:" 6
6013 .br
6014 * \f[I]string\f[]
6015 .br
6016 * \f[I]list\f[] of \f[I]string\f[]
6017
6018 .IP "Default:" 9
6019 \f[I]"original"\f[]
6020
6021 .IP "Example:" 4
6022 .br
6023 * "720p"
6024 .br
6025 * ["mp4", "mov", "1080p", "720p"]
6026
6027 .IP "Description:" 4
6028 Selects the preferred format for video downloads.
6029
6030 If the selected format is not available,
6031 the next smaller one gets chosen.
6032
6033 If this is a \f[I]list\f[], try each given
6034 filename extension in original resolution or recoded format
6035 until an available format is found.
6036
6037
6038 .SS extractor.newgrounds.include
6039 .IP "Type:" 6
6040 .br
6041 * \f[I]string\f[]
6042 .br
6043 * \f[I]list\f[] of \f[I]strings\f[]
6044
6045 .IP "Default:" 9
6046 \f[I]"art"\f[]
6047
6048 .IP "Example:" 4
6049 .br
6050 * "movies,audio"
6051 .br
6052 * ["movies", "audio"]
6053
6054 .IP "Description:" 4
6055 A (comma-separated) list of subcategories to include
6056 when processing a user profile.
6057
6058 .IP "Supported Values:" 4
6059 .br
6060 * \f[I]art\f[]
6061 .br
6062 * \f[I]audio\f[]
6063 .br
6064 * \f[I]games\f[]
6065 .br
6066 * \f[I]movies\f[]
6067
6068 .IP "Note:" 4
6069 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
6070
6071
6072 .SS extractor.nijie.include
6073 .IP "Type:" 6
6074 .br
6075 * \f[I]string\f[]
6076 .br
6077 * \f[I]list\f[] of \f[I]strings\f[]
6078
6079 .IP "Default:" 9
6080 \f[I]"illustration,doujin"\f[]
6081
6082 .IP "Description:" 4
6083 A (comma-separated) list of subcategories to include
6084 when processing a user profile.
6085
6086 .IP "Supported Values:" 4
6087 .br
6088 * \f[I]illustration\f[]
6089 .br
6090 * \f[I]doujin\f[]
6091 .br
6092 * \f[I]favorite\f[]
6093 .br
6094 * \f[I]nuita\f[]
6095
6096 .IP "Note:" 4
6097 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
6098
6099
6100 .SS extractor.[nitter].fallback-retries
6101 .IP "Type:" 6
6102 \f[I]integer\f[]
6103
6104 .IP "Default:" 9
6105 \f[I]2\f[]
6106
6107 .IP "Description:" 4
6108 Number of times fetching a Tweets results page is retried
6109 after receiving an empty response,
6110 or \f[I]-1\f[] for infinite retries.
6111
6112
6113 .SS extractor.[nitter].quoted
6114 .IP "Type:" 6
6115 \f[I]bool\f[]
6116
6117 .IP "Default:" 9
6118 \f[I]false\f[]
6119
6120 .IP "Description:" 4
6121 Fetch media from quoted Tweets.
6122
6123
6124 .SS extractor.[nitter].retweets
6125 .IP "Type:" 6
6126 \f[I]bool\f[]
6127
6128 .IP "Default:" 9
6129 \f[I]false\f[]
6130
6131 .IP "Description:" 4
6132 Fetch media from Retweets.
6133
6134
6135 .SS extractor.[nitter].videos
6136 .IP "Type:" 6
6137 .br
6138 * \f[I]bool\f[]
6139 .br
6140 * \f[I]string\f[]
6141
6142 .IP "Default:" 9
6143 \f[I]true\f[]
6144
6145 .IP "Description:" 4
6146 Control video download behavior.
6147
6148 \f[I]true\f[]
6149 Download videos
6150 \f[I]"ytdl"\f[]
6151 Download videos using \f[I]ytdl\f[]
6152 \f[I]false\f[]
6153 Skip video Tweets
6154
6155
6156 .SS extractor.oauth.browser
6157 .IP "Type:" 6
6158 \f[I]bool\f[]
6159
6160 .IP "Default:" 9
6161 \f[I]true\f[]
6162
6163 .IP "Description:" 4
6164 Controls how a user is directed to an OAuth authorization page.
6165
6166 \f[I]true\f[]
6167 Use Python's \f[I]webbrowser.open()\f[] method to automatically
6168 open the URL in the user's default browser.
6169 \f[I]false\f[]
6170 Ask the user to copy & paste an URL from the terminal.
6171
6172
6173 .SS extractor.oauth.cache
6174 .IP "Type:" 6
6175 \f[I]bool\f[]
6176
6177 .IP "Default:" 9
6178 \f[I]true\f[]
6179
6180 .IP "Description:" 4
6181 Store tokens received during OAuth authorizations
6182 in \f[I]cache\f[].
6183
6184
6185 .SS extractor.oauth.host
6186 .IP "Type:" 6
6187 \f[I]string\f[]
6188
6189 .IP "Default:" 9
6190 \f[I]"localhost"\f[]
6191
6192 .IP "Description:" 4
6193 Host name / IP address to bind to during OAuth authorization.
6194
6195
6196 .SS extractor.oauth.port
6197 .IP "Type:" 6
6198 \f[I]integer\f[]
6199
6200 .IP "Default:" 9
6201 \f[I]6414\f[]
6202
6203 .IP "Description:" 4
6204 Port number to listen on during OAuth authorization.
6205
6206 .IP "Note:" 4
6207 All redirects will go to port \f[I]6414\f[], regardless
6208 of the port specified here. You'll have to manually adjust the
6209 port number in your browser's address bar when using a different
6210 port than the default.
6211
6212
6213 .SS extractor.pawchive.archives
6214 .IP "Type:" 6
6215 \f[I]bool\f[]
6216
6217 .IP "Default:" 9
6218 \f[I]false\f[]
6219
6220 .IP "Description:" 4
6221 Extract additional metadata for \f[I]archives\f[] files, including
6222 \f[I]file\f[], \f[I]file_list\f[], and \f[I]password\f[].
6223
6224 .IP "Note:" 4
6225 This requires 1 additional HTTP request per \f[I]archives\f[] file.
6226
6227
6228 .SS extractor.pawchive.archives-format
6229 .IP "Type:" 6
6230 \f[I]string\f[]
6231
6232 .IP "Default:" 9
6233 \f[I]"list"\f[]
6234
6235 .IP "Description:" 4
6236 Determines the format/type of the
6237 \f[I]archives\f[]
6238 metadata field.
6239
6240 \f[I]"list"\f[] \f[I] \f[I]"array"\f[]
6241 Plain \f[I]list\f[] with archive files as elements
6242 \f[I]"dict"\f[] \f[] \f[I]"object"\f[]
6243 A \f[I]dict\f[] with each archive file's \f[I]hash\f[] as key.
6244
6245
6246 .SS extractor.pawchive.comments
6247 .IP "Type:" 6
6248 \f[I]bool\f[]
6249
6250 .IP "Default:" 9
6251 \f[I]false\f[]
6252
6253 .IP "Description:" 4
6254 Extract \f[I]comments\f[] metadata.
6255
6256 .IP "Note:" 4
6257 This requires 1 additional HTTP request per post.
6258
6259
6260 .SS extractor.pawchive.domain
6261 .IP "Type:" 6
6262 \f[I]string\f[]
6263
6264 .IP "Default:" 9
6265 \f[I]null\f[]
6266
6267 .IP "Description:" 4
6268 Specifies the domain used by \f[I]pawchive\f[] extractors.
6269
6270 Setting this option to \f[I]"auto"\f[]
6271 uses the same domain as the given input URL.
6272
6273
6274 .SS extractor.pawchive.duplicates
6275 .IP "Type:" 6
6276 .br
6277 * \f[I]bool\f[]
6278 .br
6279 * \f[I]string\f[]
6280 .br
6281 * \f[I]list\f[] of \f[I]strings\f[]
6282
6283 .IP "Default:" 9
6284 \f[I]false\f[]
6285
6286 .IP "Example:" 4
6287 .br
6288 * "attachment,inline"
6289 .br
6290 * ["file", "attachment"]
6291
6292 .IP "Description:" 4
6293 Controls how to handle duplicate files in a post.
6294
6295 \f[I]true\f[]
6296 Download duplicates
6297 \f[I]false\f[]
6298 Ignore duplicates
6299 any \f[I]list\f[] or \f[I]string\f[]
6300 Download a duplicate file if its \f[I]type\f[] is in the given list
6301 .br
6302 Ignore it otherwise
6303 .br
6304
6305
6306 .SS extractor.pawchive.favorites
6307 .IP "Type:" 6
6308 \f[I]string\f[]
6309
6310 .IP "Default:" 9
6311 \f[I]"artist"\f[]
6312
6313 .IP "Description:" 4
6314 Determines the type of favorites to be downloaded.
6315
6316 Available types are \f[I]artist\f[] and \f[I]post\f[].
6317
6318
6319 .SS extractor.pawchive.files
6320 .IP "Type:" 6
6321 \f[I]list\f[] of \f[I]strings\f[]
6322
6323 .IP "Default:" 9
6324 \f[I]["file", "attachments", "inline"]\f[]
6325
6326 .IP "Description:" 4
6327 Determines the type and order of files to be downloaded.
6328
6329 .IP "Available Types:" 4
6330 .br
6331 * \f[I]file\f[]
6332 .br
6333 * \f[I]attachments\f[]
6334 .br
6335 * \f[I]inline\f[]
6336
6337
6338 .SS extractor.pawchive.max-posts
6339 .IP "Type:" 6
6340 \f[I]integer\f[]
6341
6342 .IP "Default:" 9
6343 \f[I]null\f[]
6344
6345 .IP "Description:" 4
6346 Limit the number of posts to download.
6347
6348
6349 .SS extractor.pawchive.metadata
6350 .IP "Type:" 6
6351 \f[I]bool\f[]
6352
6353 .IP "Default:" 9
6354 \f[I]true\f[]
6355
6356 .IP "Description:" 4
6357 Extract \f[I]username\f[] and \f[I]user_profile\f[] metadata.
6358
6359
6360 .SS extractor.pawchive.original
6361 .IP "Type:" 6
6362 \f[I]bool\f[]
6363
6364 .IP "Default:" 9
6365 \f[I]true\f[]
6366
6367 .IP "Description:" 4
6368 Download original files.
6369
6370 Download thumbnails/previews if available when this option is disabled.
6371
6372
6373 .SS extractor.pawchive.revisions
6374 .IP "Type:" 6
6375 .br
6376 * \f[I]bool\f[]
6377 .br
6378 * \f[I]string\f[]
6379
6380 .IP "Default:" 9
6381 \f[I]false\f[]
6382
6383 .IP "Description:" 4
6384 Extract post revisions.
6385
6386 Set this to \f[I]"unique"\f[] to filter out duplicate revisions.
6387
6388 .IP "Note:" 4
6389 This requires 1 additional HTTP request per post.
6390
6391
6392 .SS extractor.pawchive.order-revisions
6393 .IP "Type:" 6
6394 \f[I]string\f[]
6395
6396 .IP "Default:" 9
6397 \f[I]"desc"\f[]
6398
6399 .IP "Description:" 4
6400 Controls the order in which
6401 \f[I]revisions\f[]
6402 are returned.
6403
6404 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
6405 Ascending order (oldest first)
6406 \f[I]"desc"\f[]
6407 Descending order (newest first)
6408
6409
6410 .SS extractor.paheal.metadata
6411 .IP "Type:" 6
6412 \f[I]bool\f[]
6413
6414 .IP "Default:" 9
6415 \f[I]false\f[]
6416
6417 .IP "Description:" 4
6418 Extract additional metadata (\f[I]source\f[], \f[I]uploader\f[])
6419
6420 .IP "Note:" 4
6421 This requires 1 additional HTTP request per post.
6422
6423
6424 .SS extractor.patreon.cursor
6425 .IP "Type:" 6
6426 .br
6427 * \f[I]bool\f[]
6428 .br
6429 * \f[I]string\f[]
6430
6431 .IP "Default:" 9
6432 \f[I]true\f[]
6433
6434 .IP "Example:" 4
6435 "03:eyJ2IjoxLCJjIjoiMzU0NDQ1MjAiLCJ0IjoiIn0=:DTcmjBoVj01o_492YBYqHhqx"
6436
6437 .IP "Description:" 4
6438 Controls from which position to start the extraction process from.
6439
6440 \f[I]true\f[]
6441 Start from the beginning.
6442 .br
6443 Log the most recent \f[I]cursor\f[] value when interrupted before reaching the end.
6444 .br
6445 \f[I]false\f[]
6446 Start from the beginning.
6447 any \f[I]string\f[]
6448 Start from the position defined by this value.
6449
6450
6451 .SS extractor.patreon.files
6452 .IP "Type:" 6
6453 \f[I]list\f[] of \f[I]strings\f[]
6454
6455 .IP "Default:" 9
6456 \f[I]["images", "image_large", "attachments", "postfile", "content"]\f[]
6457
6458 .IP "Description:" 4
6459 Determines types and order of files to download.
6460
6461 .IP "Available Types:" 4
6462 .br
6463 * \f[I]postfile\f[]
6464 .br
6465 * \f[I]images\f[]
6466 .br
6467 * \f[I]image_large\f[]
6468 .br
6469 * \f[I]attachments\f[]
6470 .br
6471 * \f[I]content\f[]
6472
6473
6474 .SS extractor.patreon.format-images
6475 .IP "Type:" 6
6476 \f[I]string\f[]
6477
6478 .IP "Default:" 9
6479 \f[I]"download_url"\f[]
6480
6481 .IP "Description:" 4
6482 Selects the format of \f[I]images\f[] \f[I]files\f[].
6483
6484 .IP "Available Formats:" 4
6485 .br
6486 * \f[I]download_url\f[] (\f[I]"a":1,"p":1\f[])
6487 .br
6488 * \f[I]url\f[] (\f[I]"w":620\f[])
6489 .br
6490 * \f[I]original\f[] (\f[I]"q":100,"webp":0\f[])
6491 .br
6492 * \f[I]default\f[] (\f[I]"w":620\f[])
6493 .br
6494 * \f[I]default_small\f[] (\f[I]"w":360\f[])
6495 .br
6496 * \f[I]default_blurred\f[] (\f[I]"w":620\f[])
6497 .br
6498 * \f[I]default_blurred_small\f[] (\f[I]"w":360\f[])
6499 .br
6500 * \f[I]thumbnail\f[] (\f[I]"h":360,"w":360\f[])
6501 .br
6502 * \f[I]thumbnail_large\f[] (\f[I]"h":1080,"w":1080\f[])
6503 .br
6504 * \f[I]thumbnail_small\f[] (\f[I]"h":100,"w":100\f[])
6505
6506
6507 .SS extractor.patreon.order-posts
6508 .IP "Type:" 6
6509 \f[I]string\f[]
6510
6511 .IP "Default:" 9
6512 \f[I]collection\f[]
6513 \f[I]"asc"\f[]
6514 otherwise
6515 \f[I]"desc"\f[]
6516
6517 .IP "Example:" 4
6518 .br
6519 * "-published_at"
6520 .br
6521 * "collection_order"
6522
6523 .IP "Description:" 4
6524 Controls the order in which
6525 posts are returned and processed.
6526
6527 \f[I]"asc"\f[]
6528 Ascending order (oldest first)
6529 \f[I]"desc"\f[]
6530 Descending order (newest first)
6531 \f[I]"reverse"\f[]
6532 Reverse order
6533 any other \f[I]string\f[]
6534 Custom \f[I]sort\f[] order
6535
6536
6537 .SS extractor.patreon.user.date-max
6538 .IP "Type:" 6
6539 \f[I]Date\f[]
6540
6541 .IP "Default:" 9
6542 \f[I]0\f[]
6543
6544 .IP "Description:" 4
6545 Sets the \f[I]Date\f[] to start from.
6546
6547
6548 .SS extractor.[philomena].api-key
6549 .IP "Type:" 6
6550 \f[I]string\f[]
6551
6552 .IP "Default:" 9
6553 \f[I]null\f[]
6554
6555 .IP "Description:" 4
6556 Your account's API Key,
6557 to use your personal browsing settings and filters.
6558
6559
6560 .SS extractor.[philomena].filter
6561 .IP "Type:" 6
6562 \f[I]integer\f[]
6563
6564 .IP "Default:" 9
6565 :\f[I]derpibooru\f[]:
6566 \f[I]56027\f[] (\f[I]Everything\f[] filter)
6567 :\f[I]ponybooru\f[]:
6568 \f[I]3\f[] (\f[I]Nah.\f[] filter)
6569 :otherwise:
6570 \f[I]2\f[]
6571
6572
6573 .IP "Description:" 4
6574 The content filter ID to use.
6575
6576 Setting an explicit filter ID overrides any default filters and can be used
6577 to access 18+ content without \f[I]API Key\f[].
6578
6579 See \f[I]Filters\f[] for details.
6580
6581
6582 .SS extractor.[philomena].comments
6583 .IP "Type:" 6
6584 \f[I]bool\f[]
6585
6586 .IP "Default:" 9
6587 \f[I]false\f[]
6588
6589 .IP "Description:" 4
6590 Extract \f[I]comments\f[] metadata.
6591
6592
6593 .SS extractor.[philomena].svg
6594 .IP "Type:" 6
6595 \f[I]bool\f[]
6596
6597 .IP "Default:" 9
6598 \f[I]true\f[]
6599
6600 .IP "Description:" 4
6601 Download SVG versions of images when available.
6602
6603 Try to download the \f[I]view_url\f[] version of these posts
6604 when this option is disabled.
6605
6606
6607 .SS extractor.pillowfort.external
6608 .IP "Type:" 6
6609 \f[I]bool\f[]
6610
6611 .IP "Default:" 9
6612 \f[I]false\f[]
6613
6614 .IP "Description:" 4
6615 Follow links to external sites, e.g. Twitter,
6616
6617
6618 .SS extractor.pillowfort.inline
6619 .IP "Type:" 6
6620 \f[I]bool\f[]
6621
6622 .IP "Default:" 9
6623 \f[I]true\f[]
6624
6625 .IP "Description:" 4
6626 Extract inline images.
6627
6628
6629 .SS extractor.pillowfort.reblogs
6630 .IP "Type:" 6
6631 \f[I]bool\f[]
6632
6633 .IP "Default:" 9
6634 \f[I]false\f[]
6635
6636 .IP "Description:" 4
6637 Extract media from reblogged posts.
6638
6639
6640 .SS extractor.pinterest.domain
6641 .IP "Type:" 6
6642 \f[I]string\f[]
6643
6644 .IP "Default:" 9
6645 \f[I]"auto"\f[]
6646
6647 .IP "Description:" 4
6648 Specifies the domain used by \f[I]pinterest\f[] extractors.
6649
6650 Setting this option to \f[I]"auto"\f[]
6651 uses the same domain as a given input URL.
6652
6653
6654 .SS extractor.pinterest.sections
6655 .IP "Type:" 6
6656 \f[I]bool\f[]
6657
6658 .IP "Default:" 9
6659 \f[I]true\f[]
6660
6661 .IP "Description:" 4
6662 Include pins from board sections.
6663
6664
6665 .SS extractor.pinterest.stories
6666 .IP "Type:" 6
6667 \f[I]bool\f[]
6668
6669 .IP "Default:" 9
6670 \f[I]true\f[]
6671
6672 .IP "Description:" 4
6673 Extract files from story pins.
6674
6675
6676 .SS extractor.pinterest.videos
6677 .IP "Type:" 6
6678 \f[I]bool\f[]
6679
6680 .IP "Default:" 9
6681 \f[I]true\f[]
6682
6683 .IP "Description:" 4
6684 Download from video pins.
6685
6686
6687 .SS extractor.pixeldrain.api-key
6688 .IP "Type:" 6
6689 \f[I]string\f[]
6690
6691 .IP "Description:" 4
6692 Your account's \f[I]API key\f[]
6693
6694
6695 .SS extractor.pixeldrain.recursive
6696 .IP "Type:" 6
6697 \f[I]bool\f[]
6698
6699 .IP "Default:" 9
6700 \f[I]true\f[]
6701
6702 .IP "Description:" 4
6703 Recursively download files from subfolders.
6704
6705
6706 .SS extractor.pixeldrain.zip
6707 .IP "Type:" 6
6708 \f[I]bool\f[]
6709
6710 .IP "Default:" 9
6711 \f[I]false\f[]
6712
6713 .IP "Description:" 4
6714 Download albums as a single .zip file.
6715
6716
6717 .SS extractor.pixiv.include
6718 .IP "Type:" 6
6719 .br
6720 * \f[I]string\f[]
6721 .br
6722 * \f[I]list\f[] of \f[I]strings\f[]
6723
6724 .IP "Default:" 9
6725 \f[I]"artworks"\f[]
6726
6727 .IP "Example:" 4
6728 .br
6729 * "avatar,background,artworks"
6730 .br
6731 * ["avatar", "background", "artworks"]
6732
6733 .IP "Description:" 4
6734 A (comma-separated) list of subcategories to include
6735 when processing a user profile.
6736
6737 .IP "Supported Values:" 4
6738 .br
6739 * \f[I]artworks\f[]
6740 .br
6741 * \f[I]avatar\f[]
6742 .br
6743 * \f[I]background\f[]
6744 .br
6745 * \f[I]favorite\f[]
6746 .br
6747 * \f[I]novel-user\f[]
6748 .br
6749 * \f[I]novel-bookmark\f[]
6750 .br
6751 * \f[I]sketch\f[]
6752
6753 .IP "Note:" 4
6754 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
6755
6756
6757 .SS extractor.pixiv.refresh-token
6758 .IP "Type:" 6
6759 \f[I]string\f[]
6760
6761 .IP "Description:" 4
6762 The \f[I]refresh-token\f[] value you get
6763 from running \f[I]gallery-dl oauth:pixiv\f[] (see OAuth_) or
6764 by using a third-party tool like
6765 \f[I]gppt\f[].
6766
6767
6768 .SS extractor.pixiv.metadata
6769 .IP "Type:" 6
6770 \f[I]bool\f[]
6771
6772 .IP "Default:" 9
6773 \f[I]false\f[]
6774
6775 .IP "Description:" 4
6776 Fetch extended \f[I]user\f[] metadata.
6777
6778
6779 .SS extractor.pixiv.metadata-bookmark
6780 .IP "Type:" 6
6781 \f[I]bool\f[]
6782
6783 .IP "Default:" 9
6784 \f[I]false\f[]
6785
6786 .IP "Description:" 4
6787 For works bookmarked by
6788 \f[I]your own account\f[],
6789 fetch bookmark tags as \f[I]tags_bookmark\f[] metadata.
6790
6791 .IP "Note:" 4
6792 This requires 1 additional API request per bookmarked post.
6793
6794
6795 .SS extractor.pixiv.captions
6796 .IP "Type:" 6
6797 \f[I]bool\f[]
6798
6799 .IP "Default:" 9
6800 \f[I]false\f[]
6801
6802 .IP "Description:" 4
6803 For works with seemingly empty \f[I]caption\f[] metadata,
6804 try to grab the actual \f[I]caption\f[] value using the AJAX API.
6805
6806
6807 .SS extractor.pixiv.comments
6808 .IP "Type:" 6
6809 \f[I]bool\f[]
6810
6811 .IP "Default:" 9
6812 \f[I]false\f[]
6813
6814 .IP "Description:" 4
6815 Fetch \f[I]comments\f[] metadata.
6816
6817 .IP "Note:" 4
6818 This requires 1 or more additional API requests per post,
6819 depending on the number of comments.
6820
6821
6822 .SS extractor.pixiv.work.related
6823 .IP "Type:" 6
6824 \f[I]bool\f[]
6825
6826 .IP "Default:" 9
6827 \f[I]false\f[]
6828
6829 .IP "Description:" 4
6830 Also download related artworks.
6831
6832
6833 .SS extractor.pixiv.tags
6834 .IP "Type:" 6
6835 \f[I]string\f[]
6836
6837 .IP "Default:" 9
6838 \f[I]"japanese"\f[]
6839
6840 .IP "Description:" 4
6841 Controls the \f[I]tags\f[] metadata field.
6842
6843 .br
6844 * "japanese": List of Japanese tags
6845 .br
6846 * "translated": List of translated tags
6847 .br
6848 * "original": Unmodified list with both Japanese and translated tags
6849
6850
6851 .SS extractor.pixiv.ugoira
6852 .IP "Type:" 6
6853 .br
6854 * \f[I]bool\f[]
6855 .br
6856 * \f[I]string\f[]
6857
6858 .IP "Default:" 9
6859 \f[I]true\f[]
6860
6861 .IP "Description:" 4
6862 Download Pixiv's Ugoira animations.
6863
6864 These animations come as a \f[I].zip\f[] archive containing all
6865 animation frames in JPEG format by default.
6866
6867 Set this option to \f[I]"original"\f[]
6868 to download them as individual, higher-quality frames.
6869
6870 Use an ugoira post processor to convert them
6871 to watchable animations. (Example__)
6872
6873
6874 .SS extractor.pixiv.max-posts
6875 .IP "Type:" 6
6876 \f[I]integer\f[]
6877
6878 .IP "Default:" 9
6879 \f[I]0\f[]
6880
6881 .IP "Description:" 4
6882 When downloading galleries, this sets the maximum number of posts to get.
6883 A value of \f[I]0\f[] means no limit.
6884
6885
6886 .SS extractor.pixiv.sanity
6887 .IP "Type:" 6
6888 \f[I]bool\f[]
6889
6890 .IP "Default:" 9
6891 \f[I]true\f[]
6892
6893 .IP "Description:" 4
6894 Try to fetch \f[I]limit_sanity_level\f[] works via web API.
6895
6896
6897 .SS extractor.pixiv.favorite.cursor
6898 .IP "Type:" 6
6899 \f[I]string\f[]
6900
6901 .IP "Description:" 4
6902 Start from the given bookmark ID.
6903
6904
6905 .SS extractor.pixiv-novel.comments
6906 .IP "Type:" 6
6907 \f[I]bool\f[]
6908
6909 .IP "Default:" 9
6910 \f[I]false\f[]
6911
6912 .IP "Description:" 4
6913 Fetch \f[I]comments\f[] metadata.
6914
6915 .IP "Note:" 4
6916 This requires 1 or more additional API requests per novel,
6917 depending on the number of comments.
6918
6919
6920 .SS extractor.pixiv-novel.covers
6921 .IP "Type:" 6
6922 \f[I]bool\f[]
6923
6924 .IP "Default:" 9
6925 \f[I]false\f[]
6926
6927 .IP "Description:" 4
6928 Download cover images.
6929
6930
6931 .SS extractor.pixiv-novel.embeds
6932 .IP "Type:" 6
6933 \f[I]bool\f[]
6934
6935 .IP "Default:" 9
6936 \f[I]false\f[]
6937
6938 .IP "Description:" 4
6939 Download embedded images.
6940
6941
6942 .SS extractor.pixiv-novel.full-series
6943 .IP "Type:" 6
6944 \f[I]bool\f[]
6945
6946 .IP "Default:" 9
6947 \f[I]false\f[]
6948
6949 .IP "Description:" 4
6950 When downloading a novel being part of a series,
6951 download all novels of that series.
6952
6953
6954 .SS extractor.pixiv-novel.max-posts
6955 .IP "Type:" 6
6956 \f[I]integer\f[]
6957
6958 .IP "Default:" 9
6959 \f[I]0\f[]
6960
6961 .IP "Description:" 4
6962 When downloading multiple novels,
6963 this sets the maximum number of novels to get.
6964
6965 A value of \f[I]0\f[] means no limit.
6966
6967
6968 .SS extractor.pixiv-novel.metadata
6969 .IP "Type:" 6
6970 \f[I]bool\f[]
6971
6972 .IP "Default:" 9
6973 \f[I]false\f[]
6974
6975 .IP "Description:" 4
6976 Fetch extended \f[I]user\f[] metadata.
6977
6978
6979 .SS extractor.pixiv-novel.metadata-bookmark
6980 .IP "Type:" 6
6981 \f[I]bool\f[]
6982
6983 .IP "Default:" 9
6984 \f[I]false\f[]
6985
6986 .IP "Description:" 4
6987 For novels bookmarked by
6988 \f[I]your own account\f[],
6989 fetch bookmark tags as \f[I]tags_bookmark\f[] metadata.
6990
6991 .IP "Note:" 4
6992 This requires 1 additional API request per bookmarked post.
6993
6994
6995 .SS extractor.pixiv-novel.refresh-token
6996 .IP "Type:" 6
6997 \f[I]string\f[]
6998
6999 .IP "Description:" 4
7000 The \f[I]refresh-token\f[] value you get
7001 from running \f[I]gallery-dl oauth:pixiv\f[] (see OAuth_) or
7002 by using a third-party tool like
7003 \f[I]gppt\f[].
7004
7005 This can be the same value as \f[I]extractor.pixiv.refresh-token\f[]
7006
7007
7008 .SS extractor.pixiv-novel.tags
7009 .IP "Type:" 6
7010 \f[I]string\f[]
7011
7012 .IP "Default:" 9
7013 \f[I]"japanese"\f[]
7014
7015 .IP "Description:" 4
7016 Controls the \f[I]tags\f[] metadata field.
7017
7018 .br
7019 * "japanese": List of Japanese tags
7020 .br
7021 * "translated": List of translated tags
7022 .br
7023 * "original": Unmodified list with both Japanese and translated tags
7024
7025
7026 .SS extractor.pixiv-novel.bookmark.cursor
7027 .IP "Type:" 6
7028 \f[I]string\f[]
7029
7030 .IP "Description:" 4
7031 Start from the given bookmark ID.
7032
7033
7034 .SS extractor.plurk.comments
7035 .IP "Type:" 6
7036 \f[I]bool\f[]
7037
7038 .IP "Default:" 9
7039 \f[I]false\f[]
7040
7041 .IP "Description:" 4
7042 Also search Plurk comments for URLs.
7043
7044
7045 .SS extractor.plurk.external
7046 .IP "Type:" 6
7047 \f[I]bool\f[]
7048
7049 .IP "Default:" 9
7050 \f[I]false\f[]
7051
7052 .IP "Description:" 4
7053 Follow external links in Plurk posts that are not hosted on
7054 \f[I]images.plurk.com\f[] or \f[I]imgs.plurk.com\f[].
7055
7056
7057 .SS extractor.plurk.replurk
7058 .IP "Type:" 6
7059 \f[I]bool\f[]
7060
7061 .IP "Default:" 9
7062 \f[I]false\f[]
7063
7064 .IP "Description:" 4
7065 Process replurked posts in addition to original posts.
7066
7067
7068 .SS extractor.[postmill].save-link-post-body
7069 .IP "Type:" 6
7070 \f[I]bool\f[]
7071
7072 .IP "Default:" 9
7073 \f[I]false\f[]
7074
7075 .IP "Description:" 4
7076 Whether or not to save the body for link/image posts.
7077
7078
7079 .SS extractor.reactor.gif
7080 .IP "Type:" 6
7081 \f[I]bool\f[]
7082
7083 .IP "Default:" 9
7084 \f[I]false\f[]
7085
7086 .IP "Description:" 4
7087 Format in which to download animated images.
7088
7089 Use \f[I]true\f[] to download animated images as gifs and \f[I]false\f[]
7090 to download as mp4 videos.
7091
7092
7093 .SS extractor.reddit.api
7094 .IP "Type:" 6
7095 \f[I]string\f[]
7096
7097 .IP "Default:" 9
7098 \f[I]"auto"\f[]
7099
7100 .IP "Description:" 4
7101 Selects which API endpoints to use.
7102
7103 \f[I]"auto"\f[]
7104 Use \f[I]"oauth"\f[] when a
7105 \f[I]client_id\f[]
7106 is given, \f[I]"rest"\f[] otherwise.
7107
7108 \f[I]"oauth"\f[]
7109 Use the OAuth API at \f[I]https://oauth.reddit.com\f[]
7110
7111 Requires
7112 \f[I]client-id & user-agent
7113 <extractor.reddit.client-id & .user-agent-oauth_>\f[]
7114 and uses a
7115 \f[I]refresh token\f[]
7116 for authentication.
7117
7118 \f[I]"rest"\f[]
7119 Use the REST API at \f[I]https://www.reddit.com\f[]
7120
7121 Uses
7122 \f[I]cookies\f[]
7123 for authentication.
7124
7125
7126 .SS extractor.reddit.comments
7127 .IP "Type:" 6
7128 \f[I]integer\f[]
7129
7130 .IP "Default:" 9
7131 \f[I]0\f[]
7132
7133 .IP "Description:" 4
7134 The value of the \f[I]limit\f[] parameter when loading
7135 a submission and its comments.
7136 This number (roughly) specifies the total amount of comments
7137 being retrieved with the first API call.
7138
7139 Reddit's internal default and maximum values for this parameter
7140 appear to be 200 and 500 respectively.
7141
7142 The value \f[I]0\f[] ignores all comments and significantly reduces the
7143 time required when scanning a subreddit.
7144
7145
7146 .SS extractor.reddit.morecomments
7147 .IP "Type:" 6
7148 \f[I]bool\f[]
7149
7150 .IP "Default:" 9
7151 \f[I]false\f[]
7152
7153 .IP "Description:" 4
7154 Retrieve additional comments by resolving the \f[I]more\f[] comment
7155 stubs in the base comment tree.
7156
7157 .IP "Note:" 4
7158 This requires 1 additional API call for every 100 extra comments.
7159
7160
7161 .SS extractor.reddit.embeds
7162 .IP "Type:" 6
7163 \f[I]bool\f[]
7164
7165 .IP "Default:" 9
7166 \f[I]true\f[]
7167
7168 .IP "Description:" 4
7169 Download embedded comments media.
7170
7171
7172 .SS extractor.reddit.date-min & .date-max
7173 .IP "Type:" 6
7174 \f[I]Date\f[]
7175
7176 .IP "Default:" 9
7177 \f[I]0\f[] and \f[I]253402210800\f[] (timestamp of \f[I]datetime.max\f[])
7178
7179 .IP "Description:" 4
7180 Ignore all submissions posted before/after this date.
7181
7182
7183 .SS extractor.reddit.id-min & .id-max
7184 .IP "Type:" 6
7185 \f[I]string\f[]
7186
7187 .IP "Example:" 4
7188 "6kmzv2"
7189
7190 .IP "Description:" 4
7191 Ignore all submissions posted before/after the submission with this ID.
7192
7193
7194 .SS extractor.reddit.limit
7195 .IP "Type:" 6
7196 \f[I]integer\f[]
7197
7198 .IP "Default:" 9
7199 \f[I]null\f[]
7200
7201 .IP "Description:" 4
7202 Number of results to return in a single API query.
7203
7204 This value specifies the \f[I]limit\f[] parameter
7205 used for API requests when retrieving paginated results.
7206
7207 \f[I]null\f[] means not including this parameter at all
7208 and letting Reddit chose a default.
7209
7210
7211 .SS extractor.reddit.pinned
7212 .IP "Type:" 6
7213 \f[I]bool\f[]
7214
7215 .IP "Default:" 9
7216 \f[I]true\f[]
7217
7218 .IP "Description:" 4
7219 Process pinned submissions.
7220
7221
7222 .SS extractor.reddit.previews
7223 .IP "Type:" 6
7224 \f[I]bool\f[]
7225
7226 .IP "Default:" 9
7227 \f[I]true\f[]
7228
7229 .IP "Description:" 4
7230 For failed downloads from external URLs / child extractors,
7231 download Reddit's preview image/video if available.
7232
7233
7234 .SS extractor.reddit.recursion
7235 .IP "Type:" 6
7236 \f[I]integer\f[]
7237
7238 .IP "Default:" 9
7239 \f[I]0\f[]
7240
7241 .IP "Description:" 4
7242 Reddit extractors can recursively visit other submissions
7243 linked to in the initial set of submissions.
7244 This value sets the maximum recursion depth.
7245
7246 .IP "Special Values:" 4
7247 \f[I]0\f[]
7248 Recursion is disabled
7249 \f[I]-1\f[]
7250 Infinite recursion (don't do this)
7251
7252
7253 .SS extractor.reddit.refresh-token
7254 .IP "Type:" 6
7255 \f[I]string\f[]
7256
7257 .IP "Default:" 9
7258 \f[I]null\f[]
7259
7260 .IP "Description:" 4
7261 The \f[I]refresh-token\f[] value you get from
7262 \f[I]linking your Reddit account to gallery-dl\f[].
7263
7264 Using a \f[I]refresh-token\f[] allows you to access private or otherwise
7265 not publicly available subreddits, given that your account is
7266 authorized to do so,
7267 but requests to the reddit API are going to be rate limited
7268 at 600 requests every 10 minutes/600 seconds.
7269
7270
7271 .SS extractor.reddit.selftext
7272 .IP "Type:" 6
7273 \f[I]bool\f[]
7274
7275 .IP "Default:" 9
7276 .br
7277 * \f[I]true\f[] if \f[I]comments\f[] are enabled
7278 .br
7279 * \f[I]false\f[] otherwise
7280
7281 .IP "Description:" 4
7282 Follow links in the original post's \f[I]selftext\f[].
7283
7284
7285 .SS extractor.reddit.videos
7286 .IP "Type:" 6
7287 .br
7288 * \f[I]bool\f[]
7289 .br
7290 * \f[I]string\f[]
7291
7292 .IP "Default:" 9
7293 \f[I]"dash"\f[]
7294
7295 .IP "Description:" 4
7296 Control video download behavior.
7297
7298 \f[I]true\f[]
7299 Download videos and use \f[I]ytdl\f[] to handle
7300 HLS and DASH manifests
7301 \f[I]"ytdl"\f[]
7302 Download videos and let \f[I]ytdl\f[] handle all of
7303 video extraction and download
7304 \f[I]"dash"\f[]
7305 Extract DASH manifest URLs and use \f[I]ytdl\f[]
7306 to download and merge them. (*)
7307 \f[I]false\f[]
7308 Ignore videos
7309
7310 .IP "Note:" 4
7311 (*)
7312 This saves 1 HTTP request per video
7313 and might potentially be able to download otherwise deleted videos,
7314 but it will not always get the best video quality available.
7315
7316
7317 .SS extractor.reddit.user.only
7318 .IP "Type:" 6
7319 \f[I]bool\f[]
7320
7321 .IP "Default:" 9
7322 \f[I]user-saved\f[] \f[I] \f[I]user-upvoted\f[] \f[] \f[I]user-downvoted\f[]
7323 \f[I]false\f[]
7324 otherwise
7325 \f[I]true\f[]
7326
7327 .IP "Description:" 4
7328 Only process and return posts from the user specified in the input URL.
7329
7330
7331 .SS extractor.redgifs.format
7332 .IP "Type:" 6
7333 .br
7334 * \f[I]string\f[]
7335 .br
7336 * \f[I]list\f[] of \f[I]strings\f[]
7337
7338 .IP "Default:" 9
7339 \f[I]["hd", "sd", "gif"]\f[]
7340
7341 .IP "Description:" 4
7342 List of names of the preferred animation format.`
7343
7344 If a selected format is not available, the next one in the list will be
7345 tried until an available format is found.
7346
7347 If the format is given as \f[I]string\f[], it will be extended with
7348 \f[I]["hd", "sd", "gif"]\f[]. Use a list with one element to
7349 restrict it to only one possible format.
7350
7351 .IP "Available Formats:" 4
7352 .br
7353 * \f[I]"hd"\f[]
7354 .br
7355 * \f[I]"sd"\f[]
7356 .br
7357 * \f[I]"gif"\f[]
7358 .br
7359 * \f[I]"thumbnail"\f[]
7360 .br
7361 * \f[I]"vthumbnail"\f[]
7362 .br
7363 * \f[I]"poster"\f[]
7364
7365
7366 .SS extractor.rule34.api-key & .user-id
7367 .IP "Type:" 6
7368 \f[I]string\f[]
7369
7370 .IP "Default:" 9
7371 \f[I]null\f[]
7372
7373 .IP "Description:" 4
7374 Values from the API Access Credentials section
7375 found near the bottom of your account's
7376 \f[I]Options\f[]
7377 page.
7378
7379 Enable Generate New Key? and click Save
7380 if the value after \f[I]&api_key=\f[] is empty,
7381 e.g. \f[I]&api_key=&user_id=12345\f[]
7382
7383
7384 .SS extractor.rule34xyz.format
7385 .IP "Type:" 6
7386 .br
7387 * \f[I]string\f[]
7388 .br
7389 * \f[I]list\f[] of \f[I]strings\f[]
7390
7391 .IP "Default:" 9
7392 \f[I]["10", "40", "41", "2"]\f[]
7393
7394 .IP "Example:" 4
7395 "33,34,4"
7396
7397 .IP "Description:" 4
7398 Selects the file format to extract.
7399
7400 When more than one format is given, the first available one is selected.
7401
7402
7403 .SS extractor.sankaku.refresh
7404 .IP "Type:" 6
7405 \f[I]bool\f[]
7406
7407 .IP "Default:" 9
7408 \f[I]false\f[]
7409
7410 .IP "Description:" 4
7411 Refresh download URLs before they expire.
7412
7413
7414 .SS extractor.sankaku.tags
7415 .IP "Type:" 6
7416 .br
7417 * \f[I]bool\f[]
7418 .br
7419 * \f[I]string\f[]
7420
7421 .IP "Default:" 9
7422 \f[I]false\f[]
7423
7424 .IP "Description:" 4
7425 Group \f[I]tags\f[] by type and
7426 .br
7427 provide them as \f[I]tags_<type>\f[] and \f[I]tag_string_TYPE\f[] metadata fields,
7428 for example \f[I]tags_artist\f[] and \f[I]tags_character\f[].
7429 .br
7430
7431 \f[I]true\f[]
7432 Enable general \f[I]tags\f[] categories
7433
7434 Requires:
7435
7436 .br
7437 * 1 additional API request per 100 tags per post
7438
7439 \f[I]"extended"\f[]
7440 Group \f[I]tags\f[] by the new, extended tag category system
7441 used on \f[I]chan.sankakucomplex.com\f[]
7442
7443 Requires:
7444
7445 .br
7446 * 1 additional HTTP request per post
7447 .br
7448 * authenticated \f[I]cookies\f[]
7449 to fetch full \f[I]tags\f[] category data
7450
7451 \f[I]false\f[]
7452 Disable \f[I]tags\f[] categories
7453
7454
7455 .SS extractor.sankakucomplex.embeds
7456 .IP "Type:" 6
7457 \f[I]bool\f[]
7458
7459 .IP "Default:" 9
7460 \f[I]false\f[]
7461
7462 .IP "Description:" 4
7463 Download video embeds from external sites.
7464
7465
7466 .SS extractor.sankakucomplex.videos
7467 .IP "Type:" 6
7468 \f[I]bool\f[]
7469
7470 .IP "Default:" 9
7471 \f[I]true\f[]
7472
7473 .IP "Description:" 4
7474 Download videos.
7475
7476
7477 .SS extractor.schalenetwork.cbz
7478 .IP "Type:" 6
7479 \f[I]bool\f[]
7480
7481 .IP "Default:" 9
7482 \f[I]false\f[]
7483
7484 .IP "Description:" 4
7485 Download each gallery as a single \f[I].cbz\f[] file.
7486
7487 .IP "Note:" 4
7488 Requires a
7489 \f[I]token\f[]
7490
7491
7492 .SS extractor.schalenetwork.crt
7493 .IP "Type:" 6
7494 \f[I]string\f[]
7495
7496 .IP "Example:" 4
7497 .br
7498 * "0542daa9-352c-4fd5-a497-6c6d5cf07423"
7499 .br
7500 * "/12345/a1b2c3d4e5f6?crt=0542daa9-352c-4fd5-a497-6c6d5cf07423"
7501
7502 .IP "Description:" 4
7503 The \f[I]crt\f[] query parameter value
7504 sent when fetching gallery data.
7505
7506 To get this value:
7507
7508 .br
7509 * Open your browser's Developer Tools (F12)
7510 .br
7511 * Select Network → XHR
7512 .br
7513 * Open a gallery page
7514 .br
7515 * Select the last Network entry and copy its \f[I]crt\f[] value
7516
7517 .IP "Note:" 4
7518 You will also need your browser's
7519 \f[I]user-agent\f[]
7520
7521
7522 .SS extractor.schalenetwork.format
7523 .IP "Type:" 6
7524 .br
7525 * \f[I]string\f[]
7526 .br
7527 * \f[I]list\f[] of \f[I]strings\f[]
7528
7529 .IP "Default:" 9
7530 \f[I]["0", "1600", "1280", "980", "780"]\f[]
7531
7532 .IP "Description:" 4
7533 Name(s) of the image format to download.
7534
7535 When more than one format is given, the first available one is selected.
7536
7537 .IP "Formats:" 4
7538 .br
7539 * \f[I]"780"\f[]
7540 .br
7541 * \f[I]"980"\f[]
7542 .br
7543 * \f[I]"1280"\f[]
7544 .br
7545 * \f[I]"1600"\f[]
7546 .br
7547 * \f[I]"0"\f[] (original)
7548
7549
7550 .SS extractor.schalenetwork.tags
7551 .IP "Type:" 6
7552 \f[I]bool\f[]
7553
7554 .IP "Default:" 9
7555 \f[I]true\f[]
7556
7557 .IP "Description:" 4
7558 Group \f[I]tags\f[] by type and
7559 provide them as \f[I]tags_<type>\f[] metadata fields,
7560 for example \f[I]tags_artist\f[] or \f[I]tags_character\f[].
7561
7562
7563 .SS extractor.schalenetwork.token
7564 .IP "Type:" 6
7565 \f[I]string\f[]
7566
7567 .IP "Example:" 4
7568 .br
7569 * "3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
7570 .br
7571 * "Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
7572 .br
7573 * "Authorization: Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
7574
7575 .IP "Description:" 4
7576 \f[I]Authorization\f[] header value
7577 used for requests to \f[I]https://api.schale.network\f[]
7578 to access \f[I]favorite\f[] galleries
7579 or download
7580 \f[I].cbz\f[]
7581 archives.
7582
7583
7584 .SS extractor.sexcom.gifs
7585 .IP "Type:" 6
7586 \f[I]bool\f[]
7587
7588 .IP "Default:" 9
7589 \f[I]true\f[]
7590
7591 .IP "Description:" 4
7592 Download animated images as \f[I].gif\f[] instead of \f[I].webp\f[]
7593
7594
7595 .SS extractor.sizebooru.metadata
7596 .IP "Type:" 6
7597 \f[I]bool\f[]
7598
7599 .IP "Default:" 9
7600 \f[I]false\f[]
7601
7602 .IP "Description:" 4
7603 Extract additional metadata:
7604
7605 .br
7606 * \f[I]approver\f[]
7607 .br
7608 * \f[I]artist\f[]
7609 .br
7610 * \f[I]date\f[]
7611 .br
7612 * \f[I]date_approved\f[]
7613 .br
7614 * \f[I]favorite\f[]
7615 .br
7616 * \f[I]source\f[]
7617 .br
7618 * \f[I]tags\f[]
7619 .br
7620 * \f[I]uploader\f[]
7621 .br
7622 * \f[I]views\f[]
7623
7624 .IP "Note:" 4
7625 This requires 1 additional HTTP request per post.
7626
7627
7628 .SS extractor.skeb.article
7629 .IP "Type:" 6
7630 \f[I]bool\f[]
7631
7632 .IP "Default:" 9
7633 \f[I]false\f[]
7634
7635 .IP "Description:" 4
7636 Download article images.
7637
7638
7639 .SS extractor.skeb.include
7640 .IP "Type:" 6
7641 .br
7642 * \f[I]string\f[]
7643 .br
7644 * \f[I]list\f[] of \f[I]strings\f[]
7645
7646 .IP "Default:" 9
7647 .br
7648 * \f[I]["works", "sentrequests"]\f[]
7649 if \f[I]sent-requests\f[] are enabled
7650 .br
7651 * \f[I]["works"]\f[] otherwise
7652
7653 .IP "Example:" 4
7654 .br
7655 * "works,sentrequests"
7656 .br
7657 * ["works", "sentrequests"]
7658
7659 .IP "Description:" 4
7660 A (comma-separated) list of subcategories to include
7661 when processing a user profile.
7662
7663 .IP "Supported Values:" 4
7664 .br
7665 * \f[I]works\f[]
7666 .br
7667 * \f[I]sentrequests\f[]
7668
7669 .IP "Note:" 4
7670 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
7671
7672
7673 .SS extractor.skeb.sent-requests
7674 .IP "Type:" 6
7675 \f[I]bool\f[]
7676
7677 .IP "Default:" 9
7678 \f[I]false\f[]
7679
7680 .IP "Description:" 4
7681 Download sent requests.
7682
7683
7684 .SS extractor.skeb.thumbnails
7685 .IP "Type:" 6
7686 \f[I]bool\f[]
7687
7688 .IP "Default:" 9
7689 \f[I]false\f[]
7690
7691 .IP "Description:" 4
7692 Download thumbnails.
7693
7694
7695 .SS extractor.skeb.search.filters
7696 .IP "Type:" 6
7697 .br
7698 * \f[I]string\f[]
7699 .br
7700 * \f[I]list\f[] of \f[I]strings\f[]
7701
7702 .IP "Default:" 9
7703 \f[I]["genre:art", "genre:voice", "genre:novel", "genre:video", "genre:music", "genre:correction"]\f[]
7704
7705 .IP "Example:" 4
7706 "genre:music OR genre:voice"
7707
7708 .IP "Description:" 4
7709 Filters used during searches.
7710
7711
7712 .SS extractor.smugmug.videos
7713 .IP "Type:" 6
7714 \f[I]bool\f[]
7715
7716 .IP "Default:" 9
7717 \f[I]true\f[]
7718
7719 .IP "Description:" 4
7720 Download video files.
7721
7722
7723 .SS extractor.sofurry.include
7724 .IP "Type:" 6
7725 .br
7726 * \f[I]string\f[]
7727 .br
7728 * \f[I]list\f[] of \f[I]strings\f[]
7729
7730 .IP "Default:" 9
7731 \f[I]"gallery"\f[]
7732
7733 .IP "Description:" 4
7734 A (comma-separated) list of subcategories to include
7735 when processing a user profile.
7736
7737 .IP "Supported Values:" 4
7738 .br
7739 * \f[I]gallery\f[]
7740 .br
7741 * \f[I]favorite\f[]
7742
7743 .IP "Note:" 4
7744 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
7745
7746
7747 .SS extractor.sofurry.original
7748 .IP "Type:" 6
7749 \f[I]bool\f[]
7750
7751 .IP "Default:" 9
7752 \f[I]true\f[]
7753
7754 .IP "Description:" 4
7755 Download original files.
7756
7757 Submissions containing more than one file
7758 will be downloaded as \f[I].zip\f[] archive.
7759
7760 Disabling this option will download files
7761 via their display URL in \f[I].webp\f[] format.
7762
7763
7764 .SS extractor.steamgriddb.animated
7765 .IP "Type:" 6
7766 \f[I]bool\f[]
7767
7768 .IP "Default:" 9
7769 \f[I]true\f[]
7770
7771 .IP "Description:" 4
7772 Include \f[I]animated\f[] assets
7773 when downloading from a list of assets.
7774
7775
7776 .SS extractor.steamgriddb.epilepsy
7777 .IP "Type:" 6
7778 \f[I]bool\f[]
7779
7780 .IP "Default:" 9
7781 \f[I]true\f[]
7782
7783 .IP "Description:" 4
7784 Include assets tagged with \f[I]epilepsy\f[]
7785 when downloading from a list of assets.
7786
7787
7788 .SS extractor.steamgriddb.dimensions
7789 .IP "Type:" 6
7790 .br
7791 * \f[I]string\f[]
7792 .br
7793 * \f[I]list\f[] of \f[I]strings\f[]
7794
7795 .IP "Default:" 9
7796 \f[I]"all"\f[]
7797
7798 .IP "Example:" 4
7799 .br
7800 * "1024x512,512x512"
7801 .br
7802 * ["460x215", "920x430"]
7803
7804 .IP "Description:" 4
7805 Only include assets that are in the specified dimensions. \f[I]all\f[] can be
7806 used to specify all dimensions.
7807
7808 .IP "Valid Values:" 4
7809 Grids
7810 \f[I]460x215\f[] \f[I]
7811 \f[I]920x430\f[] \f[]
7812 \f[I]342x482\f[] \f[I]
7813 \f[I]600x900\f[] \f[]
7814 \f[I]660x930\f[] \f[I]
7815 \f[I]512x512\f[] \f[]
7816 \f[I]1024x1024\f[]
7817 Heroes
7818 \f[I]1600x650\f[] \f[I]
7819 \f[I]1920x620\f[] \f[]
7820 \f[I]3840x1240\f[]
7821 Logos
7822 N/A (will be ignored)
7823 Icons
7824 \f[I]8x8\f[] \f[I] \f[I]10x10\f[] \f[] \f[I]14x14\f[] \f[I] \f[I]16x16\f[] \f[] \f[I]20x20\f[] \f[I] \f[I]24x24\f[] \f[]
7825 \f[I]28x28\f[] \f[I] \f[I]32x32\f[] \f[] \f[I]35x35\f[] \f[I] \f[I]40x40\f[] \f[] \f[I]48x48\f[] \f[I] \f[I]54x54\f[] \f[]
7826 \f[I]56x56\f[] \f[I] \f[I]57x57\f[] \f[] \f[I]60x60\f[] \f[I] \f[I]64x64\f[] \f[] \f[I]72x72\f[] \f[I] \f[I]76x76\f[] \f[]
7827 \f[I]80x80\f[] \f[I] \f[I]90x90\f[] \f[] \f[I]96x96\f[] \f[I] \f[I]100x100\f[] \f[] \f[I]114x114\f[] \f[I] \f[I]120x120\f[] \f[]
7828 \f[I]128x128\f[] \f[I] \f[I]144x144\f[] \f[] \f[I]150x150\f[] \f[I] \f[I]152x152\f[] \f[] \f[I]160x160\f[] \f[I]
7829 \f[I]180x180\f[] \f[] \f[I]192x192\f[] \f[I] \f[I]194x194\f[] \f[] \f[I]256x256\f[] \f[I] \f[I]310x310\f[] \f[]
7830 \f[I]512x512\f[] \f[I] \f[I]768x768\f[] \f[] \f[I]1024x1024\f[]
7831
7832
7833 .SS extractor.steamgriddb.file-types
7834 .IP "Type:" 6
7835 .br
7836 * \f[I]string\f[]
7837 .br
7838 * \f[I]list\f[] of \f[I]strings\f[]
7839
7840 .IP "Default:" 9
7841 \f[I]"all"\f[]
7842
7843 .IP "Example:" 4
7844 .br
7845 * "png,jpeg"
7846 .br
7847 * ["jpeg", "webp"]
7848
7849 .IP "Description:" 4
7850 Only include assets that are in the specified file types. \f[I]all\f[] can be
7851 used to specify all file types.
7852
7853 .IP "Valid Values:" 4
7854 Grids
7855 \f[I]png\f[] \f[I] \f[I]jpeg\f[] \f[] \f[I]jpg\f[] \f[I] \f[I]webp\f[]
7856 Heroes
7857 \f[I]png\f[] \f[] \f[I]jpeg\f[] \f[I] \f[I]jpg\f[] \f[] \f[I]webp\f[]
7858 Logos
7859 \f[I]png\f[] \f[I] \f[I]webp\f[]
7860 Icons
7861 \f[I]png\f[] \f[] \f[I]ico\f[]
7862
7863
7864 .SS extractor.steamgriddb.download-fake-png
7865 .IP "Type:" 6
7866 \f[I]bool\f[]
7867
7868 .IP "Default:" 9
7869 \f[I]true\f[]
7870
7871 .IP "Description:" 4
7872 Download fake PNGs alongside the real file.
7873
7874
7875 .SS extractor.steamgriddb.humor
7876 .IP "Type:" 6
7877 \f[I]bool\f[]
7878
7879 .IP "Default:" 9
7880 \f[I]true\f[]
7881
7882 .IP "Description:" 4
7883 Include assets tagged with \f[I]humor\f[]
7884 when downloading from a list of assets.
7885
7886
7887 .SS extractor.steamgriddb.languages
7888 .IP "Type:" 6
7889 .br
7890 * \f[I]string\f[]
7891 .br
7892 * \f[I]list\f[] of \f[I]strings\f[]
7893
7894 .IP "Default:" 9
7895 \f[I]"all"\f[]
7896
7897 .IP "Example:" 4
7898 .br
7899 * "en,km"
7900 .br
7901 * ["fr", "it"]
7902
7903 .IP "Description:" 4
7904 Only include assets that are in the specified languages.
7905
7906 .IP "Valid Values:" 4
7907 \f[I]ISO 639-1\f[] codes
7908
7909 .IP "Note:" 4
7910 \f[I]all\f[] can be used to specify all languages.
7911
7912
7913 .SS extractor.steamgriddb.nsfw
7914 .IP "Type:" 6
7915 \f[I]bool\f[]
7916
7917 .IP "Default:" 9
7918 \f[I]true\f[]
7919
7920 .IP "Description:" 4
7921 Include assets tagged with adult content when downloading from a list of assets.
7922
7923
7924 .SS extractor.steamgriddb.sort
7925 .IP "Type:" 6
7926 \f[I]string\f[]
7927
7928 .IP "Default:" 9
7929 \f[I]"score_desc"\f[]
7930
7931 .IP "Description:" 4
7932 Set the chosen sorting method when downloading from a list of assets.
7933
7934 .IP "Supported Values:" 4
7935 .br
7936 * \f[I]score_desc\f[] (Highest Score (Beta))
7937 .br
7938 * \f[I]score_asc\f[] (Lowest Score (Beta))
7939 .br
7940 * \f[I]score_old_desc\f[] (Highest Score (Old))
7941 .br
7942 * \f[I]score_old_asc\f[] (Lowest Score (Old))
7943 .br
7944 * \f[I]age_desc\f[] (Newest First)
7945 .br
7946 * \f[I]age_asc\f[] (Oldest First)
7947
7948
7949 .SS extractor.steamgriddb.static
7950 .IP "Type:" 6
7951 \f[I]bool\f[]
7952
7953 .IP "Default:" 9
7954 \f[I]true\f[]
7955
7956 .IP "Description:" 4
7957 Include static assets when downloading from a list of assets.
7958
7959
7960 .SS extractor.steamgriddb.untagged
7961 .IP "Type:" 6
7962 \f[I]bool\f[]
7963
7964 .IP "Default:" 9
7965 \f[I]true\f[]
7966
7967 .IP "Description:" 4
7968 Include untagged assets when downloading from a list of assets.
7969
7970
7971 .SS extractor.[szurubooru].username & .token
7972 .IP "Type:" 6
7973 \f[I]string\f[]
7974
7975 .IP "Description:" 4
7976 Username and login token of your account to access private resources.
7977
7978 To generate a token, visit \f[I]/user/USERNAME/list-tokens\f[]
7979 and click \f[I]Create Token\f[].
7980
7981
7982 .SS extractor.tenor.format
7983 .IP "Type:" 6
7984 .br
7985 * \f[I]string\f[]
7986 .br
7987 * \f[I]list\f[] of \f[I]strings\f[]
7988
7989 .IP "Default:" 9
7990 \f[I]["gif", "mp4", "webm", "webp"]\f[]
7991
7992 .IP "Description:" 4
7993 List of names of the preferred animation format.
7994
7995 If a selected format is not available, the next one in the list will be
7996 tried until a format is found.
7997
7998 .IP "Available Formats:" 4
7999 .br
8000 * \f[I]gif\f[]
8001 .br
8002 * \f[I]gif_transparent\f[]
8003 .br
8004 * \f[I]mediumgif\f[]
8005 .br
8006 * \f[I]gifpreview\f[]
8007 .br
8008 * \f[I]tinygif\f[]
8009 .br
8010 * \f[I]tinygif_transparent\f[]
8011 .br
8012 * \f[I]mp4\f[]
8013 .br
8014 * \f[I]tinymp4\f[]
8015 .br
8016 * \f[I]webm\f[]
8017 .br
8018 * \f[I]webp\f[]
8019 .br
8020 * \f[I]webp_transparent\f[]
8021 .br
8022 * \f[I]tinywebp\f[]
8023 .br
8024 * \f[I]tinywebp_transparent\f[]
8025
8026
8027 .SS extractor.tiktok.audio
8028 .IP "Type:" 6
8029 .br
8030 * \f[I]bool\f[]
8031 .br
8032 * \f[I]string\f[]
8033
8034 .IP "Default:" 9
8035 \f[I]true\f[]
8036
8037 .IP "Description:" 4
8038 Controls audio download behavior.
8039
8040 \f[I]true\f[]
8041 Download audio tracks
8042 \f[I]"ytdl"\f[]
8043 Download audio tracks using \f[I]ytdl\f[]
8044 \f[I]false\f[]
8045 Ignore audio tracks
8046
8047
8048 .SS extractor.tiktok.covers
8049 .IP "Type:" 6
8050 .br
8051 * \f[I]bool\f[]
8052 .br
8053 * \f[I]string\f[]
8054
8055 .IP "Default:" 9
8056 \f[I]false\f[]
8057
8058 .IP "Description:" 4
8059 Download video covers.
8060
8061 \f[I]true\f[]
8062 Download the first cover found in the following order:
8063
8064 .br
8065 * \f[I]thumbnail\f[]
8066 .br
8067 * \f[I]cover\f[]
8068 .br
8069 * \f[I]originCover\f[]
8070 .br
8071 * \f[I]dynamicCover\f[]
8072 \f[I]false\f[]
8073 Do not download covers
8074 \f[I]"all"\f[]
8075 Download all available covers
8076
8077
8078 .SS extractor.tiktok.photos
8079 .IP "Type:" 6
8080 \f[I]bool\f[]
8081
8082 .IP "Default:" 9
8083 \f[I]true\f[]
8084
8085 .IP "Description:" 4
8086 Download photos.
8087
8088
8089 .SS extractor.tiktok.subtitles
8090 .IP "Type:" 6
8091 .br
8092 * \f[I]bool\f[]
8093 .br
8094 * \f[I]string\f[]
8095
8096 .IP "Default:" 9
8097 \f[I]false\f[]
8098
8099 .IP "Example:" 4
8100 .br
8101 * "all"
8102 .br
8103 * "ASR,MT,LC"
8104 .br
8105 * "ASR,eng-US"
8106
8107 .IP "Description:" 4
8108 Download video subtitles.
8109 The subtitles can be filtered by source or language.
8110 The following source types can be filtered:
8111
8112 .br
8113 * \f[I]ASR\f[] - Automatic Speech Recognition
8114 .br
8115 * \f[I]MT\f[] - Machine Translation
8116 .br
8117 * \f[I]LC\f[] - Local Captions / Creator Captions
8118
8119 If both source types and language codes are provided,
8120 only subtitles matching both are downloaded.
8121
8122 \f[I]true\f[]
8123 Download all subtitles tagged \f[I]ASR\f[]
8124 \f[I]false\f[]
8125 Do not download subtitles
8126 \f[I]"all"\f[]
8127 Download all available subtitles.
8128 \f[I]"ASR,MT,eng-US,cmn-Hans-CN"\f[]
8129 Download english and simplified chinese subtitles
8130 that are either automatically recognized or machine translated.
8131
8132 The source types and languages can be listed in any order.
8133
8134 .IP "Note:" 4
8135 It is not possible to filter all subtitles of a specific source type,
8136 while also filtering for additional languages of another source type.
8137 (e.g. any ASR subtitle + fra-FR of any source type)
8138 For this, refer to \f[I]extractor.*.file-filter\f[].
8139
8140
8141 .SS extractor.tiktok.videos
8142 .IP "Type:" 6
8143 \f[I]bool\f[]
8144
8145 .IP "Default:" 9
8146 \f[I]true\f[]
8147
8148 .IP "Description:" 4
8149 Download videos using \f[I]ytdl\f[].
8150
8151
8152 .SS extractor.tiktok.tiktok-range
8153 .IP "Type:" 6
8154 \f[I]string\f[]
8155
8156 .IP "Default:" 9
8157 \f[I]""\f[]
8158
8159 .IP "Example:" 4
8160 "1-20"
8161
8162 .IP "Description:" 4
8163 Range or playlist indices of \f[I]tiktok\f[] posts to extract.
8164
8165 When using ytdl, see
8166 \f[I]ytdl/playlist_items\f[]
8167 for details.
8168
8169
8170 .SS extractor.tiktok.posts.order-posts
8171 .IP "Type:" 6
8172 \f[I]string\f[]
8173
8174 .IP "Default:" 9
8175 \f[I]"desc"\f[]
8176
8177 .IP "Description:" 4
8178 Controls the order in which
8179 posts are processed.
8180
8181 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
8182 Ascending order (oldest first)
8183 \f[I]"desc"\f[]
8184 Descending order (newest first)
8185 \f[I]"popular"\f[]
8186 *Popular* order
8187
8188
8189 .SS extractor.tiktok.posts.ytdl
8190 .IP "Type:" 6
8191 \f[I]bool\f[]
8192
8193 .IP "Default:" 9
8194 \f[I]false\f[]
8195
8196 .IP "Description:" 4
8197 Extract user posts with \f[I]ytdl\f[]
8198
8199
8200 .SS extractor.tiktok.posts.module
8201 .IP "Type:" 6
8202 \f[I]Module\f[]
8203
8204 .IP "Default:" 9
8205 \f[I]null\f[]
8206
8207 .IP "Description:" 4
8208 The \f[I]ytdl\f[] \f[I]Module\f[]
8209 to extract posts from a \f[I]tiktok\f[] user profile with.
8210
8211 See \f[I]extractor.ytdl.module\f[].
8212
8213
8214 .SS extractor.tiktok.user.include
8215 .IP "Type:" 6
8216 .br
8217 * \f[I]string\f[]
8218 .br
8219 * \f[I]list\f[] of \f[I]strings\f[]
8220
8221 .IP "Default:" 9
8222 \f[I]["avatar", "posts"]\f[]
8223
8224 .IP "Description:" 4
8225 A (comma-separated) list of subcategories to include
8226 when processing a user profile.
8227
8228 .IP "Supported Values:" 4
8229 .br
8230 * \f[I]avatar\f[]
8231 .br
8232 * \f[I]posts\f[]
8233 .br
8234 * \f[I]reposts\f[]
8235 .br
8236 * \f[I]stories\f[]
8237 .br
8238 * \f[I]likes\f[]
8239 .br
8240 * \f[I]saved\f[]
8241
8242 .IP "Note:" 4
8243 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
8244
8245
8246 .SS extractor.tumblr.avatar
8247 .IP "Type:" 6
8248 \f[I]bool\f[]
8249
8250 .IP "Default:" 9
8251 \f[I]false\f[]
8252
8253 .IP "Description:" 4
8254 Download blog avatars.
8255
8256
8257 .SS extractor.tumblr.date-min & .date-max
8258 .IP "Type:" 6
8259 \f[I]Date\f[]
8260
8261 .IP "Default:" 9
8262 \f[I]0\f[] and \f[I]null\f[]
8263
8264 .IP "Description:" 4
8265 Ignore all posts published before/after this date.
8266
8267
8268 .SS extractor.tumblr.external
8269 .IP "Type:" 6
8270 \f[I]bool\f[]
8271
8272 .IP "Default:" 9
8273 \f[I]false\f[]
8274
8275 .IP "Description:" 4
8276 Follow external URLs (e.g. from "Link" posts) and try to extract
8277 images from them.
8278
8279
8280 .SS extractor.tumblr.inline
8281 .IP "Type:" 6
8282 .br
8283 * \f[I]bool\f[]
8284 .br
8285 * \f[I]string\f[]
8286
8287 .IP "Default:" 9
8288 \f[I]true\f[]
8289
8290 .IP "Description:" 4
8291 \f[I]true\f[]
8292 Search posts for inline images and videos
8293 \f[I]false\f[]
8294 Don't extract inline files
8295 \f[I]"original"\f[]
8296 Extract inline media files.
8297 For reblogged posts, extract them only from the original post text.
8298 \f[I]"reblog"\f[]
8299 Extract inline media files.
8300 For reblogged posts, extract them only from the reblog text.
8301
8302
8303 .SS extractor.tumblr.offset
8304 .IP "Type:" 6
8305 \f[I]integer\f[]
8306
8307 .IP "Default:" 9
8308 \f[I]0\f[]
8309
8310 .IP "Description:" 4
8311 Custom \f[I]offset\f[] starting value when paginating over blog posts.
8312
8313 Allows skipping over posts without having to waste API calls.
8314
8315
8316 .SS extractor.tumblr.original
8317 .IP "Type:" 6
8318 \f[I]bool\f[]
8319
8320 .IP "Default:" 9
8321 \f[I]true\f[]
8322
8323 .IP "Description:" 4
8324 Download full-resolution \f[I]photo\f[] and \f[I]inline\f[] images.
8325
8326 For each photo with "maximum" resolution
8327 (width equal to 2048 or height equal to 3072)
8328 or each inline image,
8329 use an extra HTTP request to find the URL to its full-resolution version.
8330
8331
8332 .SS extractor.tumblr.pagination
8333 .IP "Type:" 6
8334 \f[I]string\f[]
8335
8336 .IP "Default:" 9
8337 .br
8338 * \f[I]"before"\f[] if \f[I]date-max\f[] is set
8339 .br
8340 * \f[I]"offset"\f[] otherwise
8341
8342 .IP "Description:" 4
8343 Controls how to paginate over blog posts.
8344
8345 \f[I]"api"\f[]
8346 \f[I]next\f[] parameter provided by the API
8347 (potentially misses posts due to a
8348 \f[I]bug\f[]
8349 in Tumblr's API)
8350 \f[I]"before"\f[]
8351 Timestamp of last post
8352 \f[I]"offset"\f[]
8353 Post offset number
8354
8355
8356 .SS extractor.tumblr.ratelimit
8357 .IP "Type:" 6
8358 \f[I]string\f[]
8359
8360 .IP "Default:" 9
8361 \f[I]"abort"\f[]
8362
8363 .IP "Description:" 4
8364 Selects how to handle exceeding the daily API rate limit.
8365
8366 \f[I]"abort"\f[]
8367 Raise an error and stop extraction
8368 \f[I]"wait"\f[]
8369 Wait until rate limit reset
8370
8371
8372 .SS extractor.tumblr.reblogs
8373 .IP "Type:" 6
8374 .br
8375 * \f[I]bool\f[]
8376 .br
8377 * \f[I]string\f[]
8378
8379 .IP "Default:" 9
8380 \f[I]true\f[]
8381
8382 .IP "Description:" 4
8383 \f[I]true\f[]
8384 Extract media from reblogged posts
8385 \f[I]false\f[]
8386 Skip reblogged posts
8387 \f[I]"same-blog"\f[]
8388 Skip reblogged posts unless the original post
8389 is from the same blog
8390
8391
8392 .SS extractor.tumblr.posts
8393 .IP "Type:" 6
8394 .br
8395 * \f[I]string\f[]
8396 .br
8397 * \f[I]list\f[] of \f[I]strings\f[]
8398
8399 .IP "Default:" 9
8400 \f[I]"all"\f[]
8401
8402 .IP "Example:" 4
8403 .br
8404 * "video,audio,link"
8405 .br
8406 * ["video", "audio", "link"]
8407
8408 .IP "Description:" 4
8409 A (comma-separated) list of post types to extract images, etc. from.
8410
8411 Possible types are \f[I]text\f[], \f[I]quote\f[], \f[I]link\f[], \f[I]answer\f[],
8412 \f[I]video\f[], \f[I]audio\f[], \f[I]photo\f[], \f[I]chat\f[].
8413
8414 It is possible to use \f[I]"all"\f[] instead of listing all types separately.
8415
8416
8417 .SS extractor.tumblr.fallback-delay
8418 .IP "Type:" 6
8419 \f[I]float\f[]
8420
8421 .IP "Default:" 9
8422 \f[I]120.0\f[]
8423
8424 .IP "Description:" 4
8425 Number of seconds to wait between retries
8426 for fetching full-resolution images.
8427
8428
8429 .SS extractor.tumblr.fallback-retries
8430 .IP "Type:" 6
8431 \f[I]integer\f[]
8432
8433 .IP "Default:" 9
8434 \f[I]2\f[]
8435
8436 .IP "Description:" 4
8437 Number of retries for fetching full-resolution images,
8438 or \f[I]-1\f[] for infinite retries.
8439
8440
8441 .SS extractor.twibooru.api-key
8442 .IP "Type:" 6
8443 \f[I]string\f[]
8444
8445 .IP "Default:" 9
8446 \f[I]null\f[]
8447
8448 .IP "Description:" 4
8449 Your \f[I]Twibooru API Key\f[],
8450 to use your account's browsing settings and filters.
8451
8452
8453 .SS extractor.twibooru.filter
8454 .IP "Type:" 6
8455 \f[I]integer\f[]
8456
8457 .IP "Default:" 9
8458 \f[I]2\f[] (\f[I]Everything\f[] filter)
8459
8460 .IP "Description:" 4
8461 The content filter ID to use.
8462
8463 Setting an explicit filter ID overrides any default filters and can be used
8464 to access 18+ content without \f[I]API Key\f[].
8465
8466 See \f[I]Filters\f[] for details.
8467
8468
8469 .SS extractor.twibooru.svg
8470 .IP "Type:" 6
8471 \f[I]bool\f[]
8472
8473 .IP "Default:" 9
8474 \f[I]true\f[]
8475
8476 .IP "Description:" 4
8477 Download SVG versions of images when available.
8478
8479 Try to download the \f[I]view_url\f[] version of these posts
8480 when this option is disabled.
8481
8482
8483 .SS extractor.twitter.ads
8484 .IP "Type:" 6
8485 \f[I]bool\f[]
8486
8487 .IP "Default:" 9
8488 \f[I]false\f[]
8489
8490 .IP "Description:" 4
8491 Fetch media from promoted Tweets.
8492
8493
8494 .SS extractor.twitter.articles
8495 .IP "Type:" 6
8496 .br
8497 * \f[I]bool\f[]
8498 .br
8499 * \f[I]string\f[]
8500 .br
8501 * \f[I]list\f[] of \f[I]strings\f[]
8502
8503 .IP "Default:" 9
8504 \f[I]true\f[]
8505
8506 .IP "Example:" 4
8507 ["media", "document", "metadata"]
8508
8509 .IP "Description:" 4
8510 Process article Tweets.
8511
8512 It is possible to select which files to download
8513 and what article metadata to extract
8514 by specifying a list of targets:
8515
8516 \f[I]cover\f[]
8517 Download article cover images
8518 \f[I]media\f[]
8519 Download article media files
8520 \f[I]html\f[]
8521 Extract article content as \f[I]html\f[] metadata
8522 \f[I]metadata\f[] \f[I] \f[I]meta\f[]
8523 Extract \f[I]article\f[] metadata
8524 (\f[I]id\f[], \f[I]title\f[], \f[I]date\f[], \f[I]date_updated\f[])
8525 \f[I]document\f[] \f[] \f[I]doc\f[]
8526 Download article contents as HTML document
8527
8528
8529 .SS extractor.twitter.cards
8530 .IP "Type:" 6
8531 .br
8532 * \f[I]bool\f[]
8533 .br
8534 * \f[I]string\f[]
8535
8536 .IP "Default:" 9
8537 \f[I]false\f[]
8538
8539 .IP "Description:" 4
8540 Controls how to handle \f[I]Twitter Cards\f[].
8541
8542 \f[I]false\f[]
8543 Ignore cards
8544 \f[I]true\f[]
8545 Download image content from supported cards
8546 \f[I]"ytdl"\f[]
8547 Additionally download video content from unsupported cards using \f[I]ytdl\f[]
8548
8549
8550 .SS extractor.twitter.cards-blacklist
8551 .IP "Type:" 6
8552 \f[I]list\f[] of \f[I]strings\f[]
8553
8554 .IP "Example:" 4
8555 ["summary", "youtube.com", "player:twitch.tv"]
8556
8557 .IP "Description:" 4
8558 List of card types to ignore.
8559
8560 Possible values are
8561
8562 .br
8563 * card names
8564 .br
8565 * card domains
8566 .br
8567 * \f[I]<card name>:<card domain>\f[]
8568
8569
8570 .SS extractor.twitter.conversations
8571 .IP "Type:" 6
8572 .br
8573 * \f[I]bool\f[]
8574 .br
8575 * \f[I]string\f[]
8576
8577 .IP "Default:" 9
8578 \f[I]false\f[]
8579
8580 .IP "Description:" 4
8581 For input URLs pointing to a single Tweet,
8582 e.g. https://twitter.com/i/web/status/<TweetID>,
8583 fetch media from all Tweets and replies in this \f[I]conversation
8584 <https://help.twitter.com/en/using-twitter/twitter-conversations>\f[].
8585
8586 If this option is equal to \f[I]"accessible"\f[],
8587 only download from conversation Tweets
8588 if the given initial Tweet is accessible.
8589
8590
8591 .SS extractor.twitter.csrf
8592 .IP "Type:" 6
8593 \f[I]string\f[]
8594
8595 .IP "Default:" 9
8596 \f[I]"cookies"\f[]
8597
8598 .IP "Description:" 4
8599 Controls how to handle Cross Site Request Forgery (CSRF) tokens.
8600
8601 \f[I]"auto"\f[]
8602 Always auto-generate a token.
8603 \f[I]"cookies"\f[]
8604 Use token given by the \f[I]ct0\f[] cookie if present.
8605
8606
8607 .SS extractor.twitter.cursor
8608 .IP "Type:" 6
8609 .br
8610 * \f[I]bool\f[]
8611 .br
8612 * \f[I]string\f[]
8613
8614 .IP "Default:" 9
8615 \f[I]true\f[]
8616
8617 .IP "Example:" 4
8618 "1/DAABCgABGVKi5lE___oKAAIYbfYNcxrQLggAAwAAAAIAAA"
8619
8620 .IP "Description:" 4
8621 Controls from which position to start the extraction process from.
8622
8623 \f[I]true\f[]
8624 Start from the beginning.
8625 .br
8626 Log the most recent \f[I]cursor\f[] value when interrupted before reaching the end.
8627 .br
8628 \f[I]false\f[]
8629 Start from the beginning.
8630 any \f[I]string\f[]
8631 Start from the position defined by this value.
8632
8633 .IP "Note:" 4
8634 A \f[I]cursor\f[] value from one timeline cannot be used with another.
8635
8636
8637 .SS extractor.twitter.expand
8638 .IP "Type:" 6
8639 \f[I]bool\f[]
8640
8641 .IP "Default:" 9
8642 \f[I]false\f[]
8643
8644 .IP "Description:" 4
8645 For each Tweet, return *all* Tweets from that initial Tweet's
8646 conversation or thread, i.e. *expand* all Twitter threads.
8647
8648 Going through a timeline with this option enabled is essentially the same
8649 as running \f[I]gallery-dl https://twitter.com/i/web/status/<TweetID>\f[]
8650 with enabled \f[I]conversations\f[] option
8651 for each Tweet in said timeline.
8652
8653 .IP "Note:" 4
8654 This requires at least 1 additional API call per initial Tweet.
8655
8656
8657 .SS extractor.twitter.unavailable
8658 .IP "Type:" 6
8659 \f[I]bool\f[]
8660
8661 .IP "Default:" 9
8662 \f[I]false\f[]
8663
8664 .IP "Description:" 4
8665 Try to download media marked as \f[I]Unavailable\f[],
8666 e.g. \f[I]Geoblocked\f[] videos.
8667
8668
8669 .SS extractor.twitter.include
8670 .IP "Type:" 6
8671 .br
8672 * \f[I]string\f[]
8673 .br
8674 * \f[I]list\f[] of \f[I]strings\f[]
8675
8676 .IP "Default:" 9
8677 \f[I]"timeline"\f[]
8678
8679 .IP "Example:" 4
8680 .br
8681 * "avatar,background,media"
8682 .br
8683 * ["avatar", "background", "media"]
8684
8685 .IP "Description:" 4
8686 A (comma-separated) list of subcategories to include
8687 when processing a user profile.
8688
8689 .IP "Supported Values:" 4
8690 .br
8691 * \f[I]info\f[]
8692 .br
8693 * \f[I]avatar\f[]
8694 .br
8695 * \f[I]background\f[]
8696 .br
8697 * \f[I]timeline\f[]
8698 .br
8699 * \f[I]tweets\f[]
8700 .br
8701 * \f[I]media\f[]
8702 .br
8703 * \f[I]with-replies\f[]
8704 .br
8705 * \f[I]highlights\f[]
8706 .br
8707 * \f[I]likes\f[]
8708
8709 .IP "Note:" 4
8710 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
8711
8712
8713 .SS extractor.twitter.transform
8714 .IP "Type:" 6
8715 \f[I]bool\f[]
8716
8717 .IP "Default:" 9
8718 \f[I]true\f[]
8719
8720 .IP "Description:" 4
8721 Transform Tweet and User metadata into a simpler, uniform format.
8722
8723
8724 .SS extractor.twitter.tweet-endpoint
8725 .IP "Type:" 6
8726 \f[I]string\f[]
8727
8728 .IP "Default:" 9
8729 \f[I]"auto"\f[]
8730
8731 .IP "Description:" 4
8732 Selects the API endpoint used to retrieve single Tweets.
8733
8734 \f[I]"restid"\f[]
8735 \f[I]/TweetResultByRestId\f[] - accessible to guest users
8736 \f[I]"detail"\f[]
8737 \f[I]/TweetDetail\f[] - more stable
8738 \f[I]"auto"\f[]
8739 \f[I]"detail"\f[] when logged in, \f[I]"restid"\f[] otherwise
8740
8741
8742 .SS extractor.twitter.size
8743 .IP "Type:" 6
8744 \f[I]list\f[] of \f[I]strings\f[]
8745
8746 .IP "Default:" 9
8747 \f[I]["orig", "4096x4096", "large", "medium", "small"]\f[]
8748
8749 .IP "Description:" 4
8750 The image version to download.
8751 Any entries after the first one will be used for potential
8752 \f[I]fallback\f[] URLs.
8753
8754 Known available sizes are
8755
8756 .br
8757 * \f[I]orig\f[]
8758 .br
8759 * \f[I]large\f[]
8760 .br
8761 * \f[I]medium\f[]
8762 .br
8763 * \f[I]small\f[]
8764 .br
8765 * \f[I]4096x4096\f[]
8766 .br
8767 * \f[I]900x900\f[]
8768 .br
8769 * \f[I]360x360\f[]
8770
8771
8772 .SS extractor.twitter.limit
8773 .IP "Type:" 6
8774 .br
8775 * \f[I]integer\f[]
8776 .br
8777 * \f[I]list\f[] of \f[I]integers\f[]
8778
8779 .IP "Default:" 9
8780 \f[I]50\f[]
8781
8782 .IP "Example:" 4
8783 [40, 30, 20, 10, 5]
8784
8785 .IP "Description:" 4
8786 Number of requested results per API query.
8787
8788 When given as a \f[I]list\f[],
8789 start with the first element as \f[I]count\f[] parameter
8790 and switch to the next element whenever no results are returned.
8791
8792
8793 .SS extractor.twitter.logout
8794 .IP "Type:" 6
8795 \f[I]bool\f[]
8796
8797 .IP "Default:" 9
8798 \f[I]false\f[]
8799
8800 .IP "Description:" 4
8801 Logout and retry as guest when access to another user's Tweets is blocked.
8802
8803
8804 .SS extractor.twitter.metadata-user
8805 .IP "Type:" 6
8806 \f[I]bool\f[]
8807
8808 .IP "Default:" 9
8809 \f[I]false\f[]
8810
8811 .IP "Description:" 4
8812 Extract additional metadata for user accounts (\f[I]author\f[], \f[I]user\f[])
8813
8814 .br
8815 * \f[I]based_in\f[]
8816 .br
8817 * \f[I]friends_mutual\f[]
8818 .br
8819 * \f[I]location_accurate\f[]
8820 .br
8821 * \f[I]name_changes\f[]
8822 .br
8823 * \f[I]source\f[]
8824
8825 .IP "Note:" 4
8826 This requires 2 additional HTTP request per user.
8827
8828
8829 .SS extractor.twitter.pinned
8830 .IP "Type:" 6
8831 \f[I]bool\f[]
8832
8833 .IP "Default:" 9
8834 \f[I]false\f[]
8835
8836 .IP "Description:" 4
8837 Fetch media from pinned Tweets.
8838
8839
8840 .SS extractor.twitter.previews
8841 .IP "Type:" 6
8842 \f[I]bool\f[]
8843
8844 .IP "Default:" 9
8845 \f[I]false\f[]
8846
8847 .IP "Description:" 4
8848 Download video previews.
8849
8850
8851 .SS extractor.twitter.quoted
8852 .IP "Type:" 6
8853 \f[I]bool\f[]
8854
8855 .IP "Default:" 9
8856 \f[I]false\f[]
8857
8858 .IP "Description:" 4
8859 Fetch media from quoted Tweets.
8860
8861 If this option is enabled, gallery-dl will try to fetch
8862 a quoted (original) Tweet when it sees the Tweet which quotes it.
8863
8864
8865 .SS extractor.twitter.ratelimit
8866 .IP "Type:" 6
8867 \f[I]string\f[]
8868
8869 .IP "Default:" 9
8870 \f[I]"wait"\f[]
8871
8872 .IP "Description:" 4
8873 Selects how to handle exceeding the API rate limit.
8874
8875 \f[I]"abort"\f[]
8876 Raise an error and stop extraction
8877 \f[I]"abort:N"\f[]
8878 Raise an error and stop extraction
8879 after waiting \f[I]N\f[] times until rate limit reset
8880 \f[I]"wait"\f[]
8881 Wait until rate limit reset
8882 \f[I]"wait:N"\f[]
8883 Wait for \f[I]N\f[] seconds
8884
8885
8886 .SS extractor.twitter.locked
8887 .IP "Type:" 6
8888 \f[I]string\f[]
8889
8890 .IP "Default:" 9
8891 \f[I]"abort"\f[]
8892
8893 .IP "Description:" 4
8894 Selects how to handle "account is temporarily locked" errors.
8895
8896 \f[I]"abort"\f[]
8897 Raise an error and stop extraction
8898 \f[I]"wait"\f[]
8899 Wait until the account is unlocked and retry
8900
8901
8902 .SS extractor.twitter.replies
8903 .IP "Type:" 6
8904 \f[I]bool\f[]
8905
8906 .IP "Default:" 9
8907 \f[I]true\f[]
8908
8909 .IP "Description:" 4
8910 Fetch media from replies to other Tweets.
8911
8912 If this value is \f[I]"self"\f[], only consider replies where
8913 reply and original Tweet are from the same user.
8914
8915 .IP "Note:" 4
8916 Twitter will automatically expand conversations if you
8917 use the \f[I]/with_replies\f[] timeline while logged in. For example,
8918 media from Tweets which the user replied to will also be downloaded.
8919
8920 It is possible to exclude unwanted Tweets using \f[I]file-filter
8921 <extractor.*.file-filter_>\f[].
8922
8923
8924 .SS extractor.twitter.retries-api
8925 .IP "Type:" 6
8926 \f[I]integer\f[]
8927
8928 .IP "Default:" 9
8929 \f[I]9\f[]
8930
8931 .IP "Description:" 4
8932 Maximum number of retries
8933 for API requests when encountering server \f[I]errors\f[],
8934 or \f[I]-1\f[] for infinite retries.
8935
8936
8937 .SS extractor.twitter.retweets
8938 .IP "Type:" 6
8939 \f[I]bool\f[]
8940
8941 .IP "Default:" 9
8942 \f[I]false\f[]
8943
8944 .IP "Description:" 4
8945 Fetch media from Retweets.
8946
8947 If this value is \f[I]"original"\f[], metadata for these files
8948 will be taken from the original Tweets, not the Retweets.
8949
8950
8951 .SS extractor.twitter.search-limit
8952 .IP "Type:" 6
8953 .br
8954 * \f[I]integer\f[]
8955 .br
8956 * \f[I]list\f[] of \f[I]integers\f[]
8957
8958 .IP "Default:" 9
8959 \f[I]20\f[]
8960
8961 .IP "Example:" 4
8962 [50, 20, 10, 5, 2]
8963
8964 .IP "Description:" 4
8965 Number of requested results per search query.
8966
8967 When given as a \f[I]list\f[],
8968 start with the first element as \f[I]count\f[] parameter
8969 and switch to the next element when
8970 \f[I]search-stop\f[]
8971 is reached.
8972
8973
8974 .SS extractor.twitter.search-pagination
8975 .IP "Type:" 6
8976 \f[I]string\f[]
8977
8978 .IP "Default:" 9
8979 \f[I]"max_id"\f[]
8980
8981 .IP "Description:" 4
8982 Selects how to paginate over search results.
8983
8984 \f[I]"cursor"\f[]
8985 Use \f[I]cursor\f[] values provided by the API
8986 \f[I]"max_id"\f[] \f[I] \f[I]"maxid"\f[] \f[] \f[I]"id"\f[]
8987 Update the \f[I]max_id\f[] search query parameter
8988 to the Tweet ID value of the last retrieved Tweet.
8989 \f[I]"until"\f[] \f[I] \f[I]"date"\f[] \f[] \f[I]"datetime"\f[] | \f[I]"dt"\f[]
8990 Update the \f[I]until\f[] search query parameter
8991 to the date value of the last retrieved Tweet.
8992
8993
8994 .SS extractor.twitter.search-results
8995 .IP "Type:" 6
8996 \f[I]string\f[]
8997
8998 .IP "Default:" 9
8999 \f[I]"latest"\f[]
9000
9001 .IP "Description:" 4
9002 Determines the target of search results.
9003
9004 .IP "Supported Values:" 4
9005 .br
9006 * \f[I]"top"\f[]
9007 .br
9008 * \f[I]"media"\f[]
9009 .br
9010 * \f[I]"latest"\f[] | \f[I]"live"\f[]
9011
9012
9013 .SS extractor.twitter.search-stop
9014 .IP "Type:" 6
9015 \f[I]integer\f[]
9016
9017 .IP "Default:" 9
9018 \f[I]3\f[]
9019
9020 .IP "Description:" 4
9021 Number of empty search result batches
9022 to accept before stopping.
9023
9024
9025 .SS extractor.twitter.showreplies
9026 .IP "Type:" 6
9027 \f[I]bool\f[]
9028
9029 .IP "Default:" 9
9030 \f[I]true\f[]
9031
9032 .IP "Description:" 4
9033 Expand \f[I]Show replies\f[] stubs.
9034
9035
9036 .SS extractor.twitter.timeline.strategy
9037 .IP "Type:" 6
9038 \f[I]string\f[]
9039
9040 .IP "Default:" 9
9041 \f[I]"auto"\f[]
9042
9043 .IP "Description:" 4
9044 Controls the strategy / tweet source used for timeline URLs
9045 (\f[I]https://twitter.com/USER/timeline\f[]).
9046
9047 \f[I]"tweets"\f[]
9048 \f[I]/tweets\f[] timeline + search
9049 \f[I]"media"\f[]
9050 \f[I]/media\f[] timeline + search
9051 \f[I]"with_replies"\f[]
9052 \f[I]/with_replies\f[] timeline + search
9053 \f[I]"auto"\f[]
9054 \f[I]"tweets"\f[] or \f[I]"media"\f[], depending on \f[I]retweets\f[] and \f[I]text-tweets\f[] settings
9055
9056
9057 .SS extractor.twitter.text-tweets
9058 .IP "Type:" 6
9059 \f[I]bool\f[]
9060
9061 .IP "Default:" 9
9062 \f[I]false\f[]
9063
9064 .IP "Description:" 4
9065 Also emit metadata for text-only Tweets without media content.
9066
9067 This only has an effect with a \f[I]metadata\f[] (or \f[I]exec\f[]) post processor
9068 with \f[I]"event": "post"\f[]
9069 and appropriate \f[I]filename\f[].
9070
9071
9072 .SS extractor.twitter.twitpic
9073 .IP "Type:" 6
9074 \f[I]bool\f[]
9075
9076 .IP "Default:" 9
9077 \f[I]false\f[]
9078
9079 .IP "Description:" 4
9080 Extract \f[I]TwitPic\f[] embeds.
9081
9082
9083 .SS extractor.twitter.unique
9084 .IP "Type:" 6
9085 \f[I]bool\f[]
9086
9087 .IP "Default:" 9
9088 \f[I]true\f[]
9089
9090 .IP "Description:" 4
9091 Ignore previously seen Tweets.
9092
9093
9094 .SS extractor.twitter.users
9095 .IP "Type:" 6
9096 \f[I]string\f[]
9097
9098 .IP "Default:" 9
9099 \f[I]"user"\f[]
9100
9101 .IP "Example:" 4
9102 "https://twitter.com/search?q=from:{core[screen_name]}"
9103
9104 .IP "Description:" 4
9105 Basic format string for user URLs generated from
9106 .br
9107 \f[I]following\f[] and \f[I]list-members\f[] queries,
9108 whose replacement field values come from Twitter \f[I]user\f[] objects
9109 .br
9110 (\f[I]Example\f[])
9111
9112 .IP "Special Values:" 4
9113 \f[I]"user"\f[]
9114 \f[I]https://twitter.com/i/user/{rest_id}\f[]
9115 \f[I]"timeline"\f[]
9116 \f[I]https://twitter.com/id:{rest_id}/timeline\f[]
9117 \f[I]"tweets"\f[]
9118 \f[I]https://twitter.com/id:{rest_id}/tweets\f[]
9119 \f[I]"media"\f[]
9120 \f[I]https://twitter.com/id:{rest_id}/media\f[]
9121
9122 .IP "Note:" 4
9123 To allow gallery-dl to follow custom URL formats, set the \f[I]blacklist\f[]
9124 for \f[I]twitter\f[] to a non-default value, e.g. an empty string \f[I]""\f[].
9125
9126
9127 .SS extractor.twitter.videos
9128 .IP "Type:" 6
9129 .br
9130 * \f[I]bool\f[]
9131 .br
9132 * \f[I]string\f[]
9133
9134 .IP "Default:" 9
9135 \f[I]true\f[]
9136
9137 .IP "Description:" 4
9138 Control video download behavior.
9139
9140 \f[I]true\f[]
9141 Download videos
9142 \f[I]"ytdl"\f[]
9143 Download videos using \f[I]ytdl\f[]
9144 \f[I]false\f[]
9145 Skip video Tweets
9146
9147
9148 .SS extractor.unsplash.format
9149 .IP "Type:" 6
9150 \f[I]string\f[]
9151
9152 .IP "Default:" 9
9153 \f[I]"raw"\f[]
9154
9155 .IP "Description:" 4
9156 Name of the image format to download.
9157
9158 .IP "Available Formats:" 4
9159 .br
9160 * \f[I]"raw"\f[]
9161 .br
9162 * \f[I]"full"\f[]
9163 .br
9164 * \f[I]"regular"\f[]
9165 .br
9166 * \f[I]"small"\f[]
9167 .br
9168 * \f[I]"thumb"\f[]
9169
9170
9171 .SS extractor.vipergirls.domain
9172 .IP "Type:" 6
9173 \f[I]string\f[]
9174
9175 .IP "Default:" 9
9176 \f[I]"viper.click"\f[]
9177
9178 .IP "Description:" 4
9179 Specifies the domain used by \f[I]vipergirls\f[] extractors.
9180
9181 For example \f[I]"viper.click"\f[] if the main domain is blocked or to bypass Cloudflare,
9182
9183
9184 .SS extractor.vipergirls.like
9185 .IP "Type:" 6
9186 \f[I]bool\f[]
9187
9188 .IP "Default:" 9
9189 \f[I]false\f[]
9190
9191 .IP "Description:" 4
9192 Automatically like posts after downloading their images.
9193
9194 .IP "Note:" 4
9195 Requires \f[I]login\f[]
9196 or \f[I]cookies\f[]
9197
9198
9199 .SS extractor.vipergirls.order-posts
9200 .IP "Type:" 6
9201 \f[I]string\f[]
9202
9203 .IP "Default:" 9
9204 \f[I]"desc"\f[]
9205
9206 .IP "Description:" 4
9207 Controls the order in which
9208 posts of a \f[I]thread\f[] are processed.
9209
9210 \f[I]"asc"\f[]
9211 Ascending order (oldest first)
9212 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
9213 Descending order (newest first)
9214
9215
9216 .SS extractor.vk.domain
9217 .IP "Type:" 6
9218 \f[I]string\f[]
9219
9220 .IP "Default:" 9
9221 \f[I]"auto"\f[]
9222
9223 .IP "Description:" 4
9224 Specifies the domain used by \f[I]cyberdrop\f[] regardless of input URL.
9225
9226 Setting this option to \f[I]"auto"\f[]
9227 uses the same domain as a given input URL.
9228
9229
9230 .SS extractor.vk.offset
9231 .IP "Type:" 6
9232 \f[I]integer\f[]
9233
9234 .IP "Default:" 9
9235 \f[I]0\f[]
9236
9237 .IP "Description:" 4
9238 Custom \f[I]offset\f[] starting value when paginating over image results.
9239
9240
9241 .SS extractor.vsco.include
9242 .IP "Type:" 6
9243 .br
9244 * \f[I]string\f[]
9245 .br
9246 * \f[I]list\f[] of \f[I]strings\f[]
9247
9248 .IP "Default:" 9
9249 \f[I]"gallery"\f[]
9250
9251 .IP "Example:" 4
9252 .br
9253 * "avatar,collection"
9254 .br
9255 * ["avatar", "collection"]
9256
9257 .IP "Description:" 4
9258 A (comma-separated) list of subcategories to include
9259 when processing a user profile.
9260
9261 .IP "Supported Values:" 4
9262 .br
9263 * \f[I]avatar\f[]
9264 .br
9265 * \f[I]gallery\f[]
9266 .br
9267 * \f[I]spaces\f[]
9268 .br
9269 * \f[I]collection\f[]
9270
9271 .IP "Note:" 4
9272 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
9273
9274
9275 .SS extractor.vsco.videos
9276 .IP "Type:" 6
9277 \f[I]bool\f[]
9278
9279 .IP "Default:" 9
9280 \f[I]true\f[]
9281
9282 .IP "Description:" 4
9283 Download video files.
9284
9285
9286 .SS extractor.wallhaven.api-key
9287 .IP "Type:" 6
9288 \f[I]string\f[]
9289
9290 .IP "Default:" 9
9291 \f[I]null\f[]
9292
9293 .IP "Description:" 4
9294 Your \f[I]Wallhaven API Key\f[],
9295 to use your account's browsing settings and default filters when searching.
9296
9297 See https://wallhaven.cc/help/api for more information.
9298
9299
9300 .SS extractor.wallhaven.include
9301 .IP "Type:" 6
9302 .br
9303 * \f[I]string\f[]
9304 .br
9305 * \f[I]list\f[] of \f[I]strings\f[]
9306
9307 .IP "Default:" 9
9308 \f[I]"uploads"\f[]
9309
9310 .IP "Example:" 4
9311 .br
9312 * "uploads,collections"
9313 .br
9314 * ["uploads", "collections"]
9315
9316 .IP "Description:" 4
9317 A (comma-separated) list of subcategories to include
9318 when processing a user profile.
9319
9320 .IP "Supported Values:" 4
9321 .br
9322 * \f[I]uploads\f[]
9323 .br
9324 * \f[I]collections\f[]
9325
9326 .IP "Note:" 4
9327 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
9328
9329
9330 .SS extractor.wallhaven.metadata
9331 .IP "Type:" 6
9332 \f[I]bool\f[]
9333
9334 .IP "Default:" 9
9335 \f[I]false\f[]
9336
9337 .IP "Description:" 4
9338 Extract additional metadata (tags, uploader)
9339
9340 .IP "Note:" 4
9341 This requires 1 additional HTTP request per post.
9342
9343
9344 .SS extractor.weasyl.api-key
9345 .IP "Type:" 6
9346 \f[I]string\f[]
9347
9348 .IP "Default:" 9
9349 \f[I]null\f[]
9350
9351 .IP "Description:" 4
9352 Your \f[I]Weasyl API Key\f[],
9353 to use your account's browsing settings and filters.
9354
9355
9356 .SS extractor.weasyl.metadata
9357 .IP "Type:" 6
9358 \f[I]bool\f[]
9359
9360 .IP "Default:" 9
9361 \f[I]false\f[]
9362
9363 .IP "Description:" 4
9364 Fetch extra submission metadata during gallery downloads.
9365 .br
9366 (\f[I]comments\f[], \f[I]description\f[], \f[I]favorites\f[], \f[I]folder_name\f[],
9367 .br
9368 \f[I]tags\f[], \f[I]views\f[])
9369
9370 .IP "Note:" 4
9371 This requires 1 additional HTTP request per submission.
9372
9373
9374 .SS extractor.webtoons.bgm
9375 .IP "Type:" 6
9376 .br
9377 * \f[I]bool\f[]
9378 .br
9379 * \f[I]string\f[]
9380
9381 .IP "Default:" 9
9382 \f[I]true\f[]
9383
9384 .IP "Example:" 4
9385 "aac"
9386
9387 .IP "Description:" 4
9388 Download an episode's background music if available.
9389
9390 If this is a \f[I]string\f[], remux the downloaded background music file
9391 into the given format.
9392
9393 .IP "Note:" 4
9394 Requires \f[I]ytdl\f[] for downloads
9395 and \f[I]ffmpeg\f[] for remuxing
9396
9397
9398 .SS extractor.webtoons.quality
9399 .IP "Type:" 6
9400 .br
9401 * \f[I]integer\f[]
9402 .br
9403 * \f[I]string\f[]
9404 .br
9405 * \f[I]object\f[] (ext → type)
9406
9407 .IP "Default:" 9
9408 \f[I]"original"\f[]
9409
9410 .IP "Example:" 4
9411 .br
9412 * 90
9413 .br
9414 * "q50"
9415 .br
9416 * {"jpg": "q80", "jpeg": "q80", "png": false}
9417
9418 .IP "Description:" 4
9419 Controls the quality of downloaded files by modifying URLs' \f[I]type\f[] parameter.
9420
9421 \f[I]"original"\f[]
9422 Download minimally compressed versions of JPG files
9423 any \f[I]integer\f[]
9424 Use \f[I]"q<VALUE>"\f[] as \f[I]type\f[] parameter for JPEG files
9425 any \f[I]string\f[]
9426 Use this value as \f[I]type\f[] parameter for JPEG files
9427 any \f[I]object\f[]
9428 Use the given values as \f[I]type\f[] parameter for URLs with the specified extensions
9429 .br
9430 - Set a value to \f[I]false\f[] to completely remove these extension's \f[I]type\f[] parameter
9431 .br
9432 - Omit an extension to leave its URLs unchanged
9433 .br
9434
9435
9436 .SS extractor.webtoons.banners
9437 .IP "Type:" 6
9438 \f[I]bool\f[]
9439
9440 .IP "Default:" 9
9441 \f[I]false\f[]
9442
9443 .IP "Description:" 4
9444 Download the active comic's \f[I]banner\f[].
9445
9446
9447 .SS extractor.webtoons.thumbnails
9448 .IP "Type:" 6
9449 \f[I]bool\f[]
9450
9451 .IP "Default:" 9
9452 \f[I]false\f[]
9453
9454 .IP "Description:" 4
9455 Download the active episode's \f[I]thumbnail\f[].
9456
9457 Useful for creating CBZ archives with actual source thumbnails.
9458
9459
9460 .SS extractor.weibo.gifs
9461 .IP "Type:" 6
9462 .br
9463 * \f[I]bool\f[]
9464 .br
9465 * \f[I]string\f[]
9466
9467 .IP "Default:" 9
9468 \f[I]true\f[]
9469
9470 .IP "Description:" 4
9471 Download \f[I]gif\f[] files.
9472
9473 Set this to \f[I]"video"\f[] to download GIFs as video files.
9474
9475
9476 .SS extractor.weibo.include
9477 .IP "Type:" 6
9478 .br
9479 * \f[I]string\f[]
9480 .br
9481 * \f[I]list\f[] of \f[I]strings\f[]
9482
9483 .IP "Default:" 9
9484 \f[I]"feed"\f[]
9485
9486 .IP "Description:" 4
9487 A (comma-separated) list of subcategories to include
9488 when processing a user profile.
9489
9490 .IP "Supported Values:" 4
9491 .br
9492 * \f[I]home\f[]
9493 .br
9494 * \f[I]feed\f[]
9495 .br
9496 * \f[I]videos\f[]
9497 .br
9498 * \f[I]newvideo\f[]
9499 .br
9500 * \f[I]article\f[]
9501 .br
9502 * \f[I]album\f[]
9503 .br
9504 * \f[I]subalbums\f[]
9505
9506 .IP "Note:" 4
9507 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
9508
9509
9510 .SS extractor.weibo.likes
9511 .IP "Type:" 6
9512 \f[I]bool\f[]
9513
9514 .IP "Default:" 9
9515 \f[I]false\f[]
9516
9517 .IP "Description:" 4
9518 Download from \f[I]like\f[] (\f[I]赞过\f[]) posts.
9519
9520
9521 .SS extractor.weibo.livephoto
9522 .IP "Type:" 6
9523 \f[I]bool\f[]
9524
9525 .IP "Default:" 9
9526 \f[I]true\f[]
9527
9528 .IP "Description:" 4
9529 Download \f[I]livephoto\f[] files.
9530
9531
9532 .SS extractor.weibo.movies
9533 .IP "Type:" 6
9534 \f[I]bool\f[]
9535
9536 .IP "Default:" 9
9537 \f[I]false\f[]
9538
9539 .IP "Description:" 4
9540 Download \f[I]movie\f[] videos.
9541
9542
9543 .SS extractor.weibo.retweets
9544 .IP "Type:" 6
9545 \f[I]bool\f[]
9546
9547 .IP "Default:" 9
9548 \f[I]false\f[]
9549
9550 .IP "Description:" 4
9551 Fetch media from retweeted posts.
9552
9553 If this value is \f[I]"original"\f[], metadata for these files
9554 will be taken from the original posts, not the retweeted posts.
9555
9556
9557 .SS extractor.weibo.text
9558 .IP "Type:" 6
9559 \f[I]bool\f[]
9560
9561 .IP "Default:" 9
9562 \f[I]false\f[]
9563
9564 .IP "Description:" 4
9565 Extract full \f[I]text\f[] & \f[I]text_raw\f[] metadata
9566 for statuses with truncated \f[I]text\f[].
9567
9568
9569 .SS extractor.weibo.videos
9570 .IP "Type:" 6
9571 \f[I]bool\f[]
9572
9573 .IP "Default:" 9
9574 \f[I]true\f[]
9575
9576 .IP "Description:" 4
9577 Download video files.
9578
9579
9580 .SS extractor.weibo.album.subalbums
9581 .IP "Type:" 6
9582 \f[I]bool\f[]
9583
9584 .IP "Default:" 9
9585 \f[I]false\f[]
9586
9587 .IP "Description:" 4
9588 Extract subalbum media.
9589
9590
9591 .SS extractor.wikimedia.format
9592 .IP "Type:" 6
9593 \f[I]string\f[]
9594
9595 .IP "Default:" 9
9596 \f[I]fandom\f[] | \f[I]wikigg\f[]
9597 \f[I]"original"\f[]
9598 otherwise
9599 \f[I]""\f[]
9600
9601 .IP "Description:" 4
9602 Sets the format query parameter value
9603 added to all download URLs.
9604
9605
9606 .SS extractor.wikimedia.image-revisions
9607 .IP "Type:" 6
9608 \f[I]integer\f[]
9609
9610 .IP "Default:" 9
9611 \f[I]1\f[]
9612
9613 .IP "Description:" 4
9614 Number of revisions to return for a single image.
9615
9616 The dafault value of 1 only returns the latest revision.
9617
9618 The value must be between 1 and 500.
9619
9620 .IP "Note:" 4
9621 The API sometimes returns image revisions on article pages even when this option is
9622 set to 1. However, setting it to a higher value may reduce the number of API requests.
9623
9624
9625 .SS extractor.wikimedia.limit
9626 .IP "Type:" 6
9627 \f[I]integer\f[]
9628
9629 .IP "Default:" 9
9630 \f[I]50\f[]
9631
9632 .IP "Description:" 4
9633 Number of results to return in a single API query.
9634
9635 The value must be between 10 and 500.
9636
9637
9638 .SS extractor.wikimedia.subcategories
9639 .IP "Type:" 6
9640 \f[I]bool\f[]
9641
9642 .IP "Default:" 9
9643 \f[I]true\f[]
9644
9645 .IP "Description:" 4
9646 For \f[I]Category:\f[] pages, recursively descent into subcategories.
9647
9648
9649 .SS extractor.[xenforo].attachments
9650 .IP "Type:" 6
9651 \f[I]bool\f[]
9652
9653 .IP "Default:" 9
9654 \f[I]true\f[]
9655
9656 .IP "Description:" 4
9657 Extract forum post attachments.
9658
9659
9660 .SS extractor.[xenforo].embeds
9661 .IP "Type:" 6
9662 \f[I]bool\f[]
9663
9664 .IP "Default:" 9
9665 \f[I]true\f[]
9666
9667 .IP "Description:" 4
9668 Extract URLs of forum post embeds.
9669
9670
9671 .SS extractor.[xenforo].metadata
9672 .IP "Type:" 6
9673 \f[I]bool\f[]
9674
9675 .IP "Default:" 9
9676 \f[I]false\f[]
9677
9678 .IP "Description:" 4
9679 Extract detailed metadata for media files.
9680
9681 .IP "Note:" 4
9682 This requires 1 additional HTTP request per file.
9683
9684
9685 .SS extractor.[xenforo].order-posts
9686 .IP "Type:" 6
9687 \f[I]string\f[]
9688
9689 .IP "Default:" 9
9690 \f[I]thread\f[]
9691 \f[I]"desc"\f[]
9692 otherwise
9693 \f[I]"asc"\f[]
9694
9695 .IP "Description:" 4
9696 Controls the order in which
9697 posts of a \f[I]thread\f[] or media files are processed.
9698
9699 \f[I]"asc"\f[]
9700 Ascending order (oldest first)
9701 \f[I]"desc"\f[] \f[I] \f[I]"reverse"\f[]
9702 Descending order (newest first)
9703 \f[I]"reaction"\f[] \f[] \f[I]"score"\f[]
9704 Reaction Score order (\f[I]threads\f[] only)
9705
9706
9707 .SS extractor.[xenforo].quoted
9708 .IP "Type:" 6
9709 \f[I]bool\f[]
9710
9711 .IP "Default:" 9
9712 \f[I]false\f[]
9713
9714 .IP "Description:" 4
9715 Extract files from quoted content.
9716
9717
9718 .SS extractor.xfolio.fullsize
9719 .IP "Type:" 6
9720 \f[I]bool\f[]
9721
9722 .IP "Default:" 9
9723 \f[I]true\f[]
9724
9725 .IP "Description:" 4
9726 Download posts' files as Full Size Download ZIP container
9727 if available and purchased.
9728
9729
9730 .SS extractor.ytdl.cmdline-args
9731 .IP "Type:" 6
9732 .br
9733 * \f[I]string\f[]
9734 .br
9735 * \f[I]list\f[] of \f[I]strings\f[]
9736
9737 .IP "Example:" 4
9738 .br
9739 * "--quiet --write-sub --merge-output-format mkv"
9740 .br
9741 * ["--quiet", "--write-sub", "--merge-output-format", "mkv"]
9742
9743 .IP "Description:" 4
9744 Additional \f[I]ytdl\f[] options specified as command-line arguments.
9745
9746 See
9747 \f[I]yt-dlp options\f[]
9748 /
9749 \f[I]youtube-dl options\f[]
9750
9751
9752 .SS extractor.ytdl.config-file
9753 .IP "Type:" 6
9754 \f[I]Path\f[]
9755
9756 .IP "Example:" 4
9757 "~/.config/yt-dlp/config"
9758
9759 .IP "Description:" 4
9760 Location of a \f[I]ytdl\f[] configuration file to load options from.
9761
9762
9763 .SS extractor.ytdl.deprecations
9764 .IP "Type:" 6
9765 ´´bool´´
9766
9767 .IP "Default:" 9
9768 \f[I]false\f[]
9769
9770 .IP "Description:" 4
9771 Allow \f[I]ytdl\f[] to warn about deprecated options and features.
9772
9773
9774 .SS extractor.ytdl.enabled
9775 .IP "Type:" 6
9776 \f[I]bool\f[]
9777
9778 .IP "Default:" 9
9779 \f[I]false\f[]
9780
9781 .IP "Description:" 4
9782 Process URLs otherwise unsupported by gallery-dl with \f[I]ytdl\f[].
9783
9784
9785 .SS extractor.ytdl.format
9786 .IP "Type:" 6
9787 \f[I]string\f[]
9788
9789 .IP "Default:" 9
9790 Default of the \f[I]ytdl\f[] \f[I]module\f[] used.
9791 .br
9792 (\f[I]"bestvideo*+bestaudio/best"\f[] for \f[I]yt_dlp\f[],
9793 .br
9794 \f[I]"bestvideo+bestaudio/best"\f[] for \f[I]youtube_dl\f[])
9795
9796 .IP "Description:" 4
9797 \f[I]ytdl\f[] format selection string.
9798
9799 See
9800 \f[I]yt-dlp format selection\f[]
9801 /
9802 \f[I]youtube-dl format selection\f[]
9803
9804
9805 .SS extractor.ytdl.generic
9806 .IP "Type:" 6
9807 .br
9808 * \f[I]bool\f[]
9809 .br
9810 * \f[I]string\f[]
9811
9812 .IP "Default:" 9
9813 \f[I]true\f[]
9814
9815 .IP "Description:" 4
9816 Enables the use of \f[I]ytdl's\f[] \f[I]Generic\f[] extractor.
9817
9818 Set this option to \f[I]"force"\f[] for the same effect as
9819 \f[I]--force-generic-extractor\f[].
9820
9821
9822 .SS extractor.ytdl.generic-category
9823 .IP "Type:" 6
9824 \f[I]bool\f[]
9825
9826 .IP "Default:" 9
9827 \f[I]true\f[]
9828
9829 .IP "Description:" 4
9830 When using \f[I]ytdl's\f[] \f[I]Generic\f[] extractor,
9831 change category to \f[I]"ytdl-generic"\f[] and
9832 set subcategory to the input URL's domain.
9833
9834
9835 .SS extractor.ytdl.logging
9836 .IP "Type:" 6
9837 \f[I]bool\f[]
9838
9839 .IP "Default:" 9
9840 \f[I]true\f[]
9841
9842 .IP "Description:" 4
9843 Route \f[I]ytdl's\f[] output through gallery-dl's logging system.
9844 Otherwise it will be written directly to stdout/stderr.
9845
9846 .IP "Note:" 4
9847 Set \f[I]quiet\f[] and \f[I]no_warnings\f[] in
9848 \f[I]extractor.ytdl.raw-options\f[] to \f[I]true\f[] to suppress all output.
9849
9850
9851 .SS extractor.ytdl.module
9852 .IP "Type:" 6
9853 \f[I]Module\f[]
9854
9855 .IP "Default:" 9
9856 \f[I]null\f[]
9857
9858 .IP "Example:" 4
9859 .br
9860 * "yt-dlp"
9861 .br
9862 * "/home/user/.local/lib/python3.13/site-packages/youtube_dl"
9863
9864 .IP "Description:" 4
9865 The \f[I]ytdl\f[] \f[I]Module\f[] to import.
9866
9867 Setting this to \f[I]null\f[] will try to import \f[I]"yt_dlp"\f[]
9868 followed by \f[I]"youtube_dl"\f[] as fallback.
9869
9870
9871 .SS extractor.ytdl.raw-options
9872 .IP "Type:" 6
9873 \f[I]object\f[] (name → value)
9874
9875 .IP "Example:" 4
9876 .. code:: json
9877
9878 {
9879 "quiet": true,
9880 "writesubtitles": true,
9881 "merge_output_format": "mkv"
9882 }
9883
9884 .IP "Description:" 4
9885 Additional options passed directly to the \f[I]YoutubeDL\f[] constructor.
9886
9887 Available options can be found in
9888 \f[I]yt-dlp's docstrings\f[]
9889 /
9890 \f[I]youtube-dl's docstrings\f[]
9891
9892
9893 .SS extractor.zerochan.extensions
9894 .IP "Type:" 6
9895 .br
9896 * \f[I]string\f[]
9897 .br
9898 * \f[I]list\f[] of \f[I]strings\f[]
9899
9900 .IP "Default:" 9
9901 \f[I]["jpg", "png", "webp", "gif"]\f[]
9902
9903 .IP "Example:" 4
9904 .br
9905 * "gif"
9906 .br
9907 * ["webp", "gif", "jpg"}
9908
9909 .IP "Description:" 4
9910 List of filename extensions to try when dynamically building download URLs
9911 (\f[I]"pagination": "api"\f[] +
9912 \f[I]"metadata": false\f[])
9913
9914
9915 .SS extractor.zerochan.metadata
9916 .IP "Type:" 6
9917 \f[I]bool\f[]
9918
9919 .IP "Default:" 9
9920 \f[I]false\f[]
9921
9922 .IP "Description:" 4
9923 Extract additional metadata (date, md5, tags, ...)
9924
9925 .IP "Note:" 4
9926 This requires 1-2 additional HTTP requests per post.
9927
9928
9929 .SS extractor.zerochan.pagination
9930 .IP "Type:" 6
9931 \f[I]string\f[]
9932
9933 .IP "Default:" 9
9934 \f[I]"api"\f[]
9935
9936 .IP "Description:" 4
9937 Controls how to paginate over tag search results.
9938
9939 \f[I]"api"\f[]
9940 Use the \f[I]JSON API\f[]
9941 (no \f[I]extension\f[] metadata)
9942 \f[I]"html"\f[]
9943 Parse HTML pages
9944 (limited to 100 pages * 24 posts)
9945
9946
9947 .SS extractor.zerochan.redirects
9948 .IP "Type:" 6
9949 \f[I]bool\f[]
9950
9951 .IP "Default:" 9
9952 \f[I]false\f[]
9953
9954 .IP "Description:" 4
9955 Automatically follow tag redirects.
9956
9957
9958 .SS extractor.[booru].tags
9959 .IP "Type:" 6
9960 \f[I]bool\f[]
9961
9962 .IP "Default:" 9
9963 \f[I]false\f[]
9964
9965 .IP "Description:" 4
9966 Group \f[I]tags\f[] by type and
9967 provide them as \f[I]tags_<type>\f[] metadata fields,
9968 for example \f[I]tags_artist\f[] or \f[I]tags_character\f[].
9969
9970 .IP "Note:" 4
9971 This requires 1 additional HTTP request per post.
9972
9973
9974 .SS extractor.[booru].notes
9975 .IP "Type:" 6
9976 \f[I]bool\f[]
9977
9978 .IP "Default:" 9
9979 \f[I]false\f[]
9980
9981 .IP "Description:" 4
9982 Extract overlay notes (position and text).
9983
9984 .IP "Note:" 4
9985 This requires 1 additional HTTP request per post.
9986
9987
9988 .SS extractor.[booru].url
9989 .IP "Type:" 6
9990 .br
9991 * \f[I]string\f[]
9992 .br
9993 * \f[I]list\f[] of \f[I]strings\f[]
9994
9995 .IP "Default:" 9
9996 \f[I]"file_url"\f[]
9997
9998 .IP "Example:" 4
9999 .br
10000 * "preview_url"
10001 .br
10002 * ["sample_url", "preview_url", "file_url"]
10003
10004 .IP "Description:" 4
10005 Alternate field name to retrieve download URLs from.
10006
10007 When multiple names are given, download the first available one.
10008
10009
10010 .SS extractor.[manga-extractor].chapter-reverse
10011 .IP "Type:" 6
10012 \f[I]bool\f[]
10013
10014 .IP "Default:" 9
10015 \f[I]false\f[]
10016
10017 .IP "Description:" 4
10018 Reverse the order of chapter URLs extracted from manga pages.
10019
10020 \f[I]true\f[]
10021 Start with the latest chapter
10022 \f[I]false\f[]
10023 Start with the first chapter
10024
10025
10026 .SS extractor.[manga-extractor].page-reverse
10027 .IP "Type:" 6
10028 \f[I]bool\f[]
10029
10030 .IP "Default:" 9
10031 \f[I]false\f[]
10032
10033 .IP "Description:" 4
10034 Download manga chapter pages in reverse order.
10035
10036
10037 .SH DOWNLOADER OPTIONS
10038 .SS downloader.*.enabled
10039 .IP "Type:" 6
10040 \f[I]bool\f[]
10041
10042 .IP "Default:" 9
10043 \f[I]true\f[]
10044
10045 .IP "Description:" 4
10046 Enable/Disable this downloader module.
10047
10048
10049 .SS downloader.*.filesize-min & .filesize-max
10050 .IP "Type:" 6
10051 \f[I]string\f[]
10052
10053 .IP "Default:" 9
10054 \f[I]null\f[]
10055
10056 .IP "Example:" 4
10057 "32000", "500k", "2.5M"
10058
10059 .IP "Description:" 4
10060 Minimum/Maximum allowed file size in bytes.
10061 Any file smaller/larger than this limit will not be downloaded.
10062
10063 Possible values are valid integer or floating-point numbers
10064 optionally followed by one of \f[I]k\f[], \f[I]m\f[]. \f[I]g\f[], \f[I]t\f[], or \f[I]p\f[].
10065 These suffixes are case-insensitive.
10066
10067
10068 .SS downloader.*.mtime
10069 .IP "Type:" 6
10070 \f[I]bool\f[]
10071
10072 .IP "Default:" 9
10073 \f[I]true\f[]
10074
10075 .IP "Description:" 4
10076 Use \f[I]Last-Modified\f[] HTTP response headers
10077 to set file modification times.
10078
10079
10080 .SS downloader.*.part
10081 .IP "Type:" 6
10082 \f[I]bool\f[]
10083
10084 .IP "Default:" 9
10085 \f[I]true\f[]
10086
10087 .IP "Description:" 4
10088 Controls the use of \f[I].part\f[] files during file downloads.
10089
10090 \f[I]true\f[]
10091 Write downloaded data into \f[I].part\f[] files and rename
10092 them upon download completion. This mode additionally supports
10093 resuming incomplete downloads.
10094 \f[I]false\f[]
10095 Do not use \f[I].part\f[] files and write data directly
10096 into the actual output files.
10097
10098
10099 .SS downloader.*.part-directory
10100 .IP "Type:" 6
10101 .br
10102 * \f[I]Path\f[]
10103 .br
10104 * \f[I]object\f[] (\f[I]Condition\f[] → \f[I]Path\f[])
10105
10106 .IP "Default:" 9
10107 \f[I]null\f[]
10108
10109 .IP "Example:" 4
10110 .. code:: json
10111
10112 "/tmp/.gdl"
10113
10114 .. code:: json
10115
10116 {
10117 "size > 100000": "~/.gdl/part",
10118 "duration" : "/tmp/.gdl/video",
10119 }
10120
10121
10122 .IP "Description:" 4
10123 Alternate location(s) for \f[I].part\f[] files.
10124
10125 .IP "Note:" 4
10126 If this value is \f[I]null\f[] or no \f[I]Conditions\f[] apply,
10127 \f[I].part\f[] files are stored alongside the actual output files.
10128
10129 For a single \f[I]Path\f[], missing directories will be created as needed
10130
10131
10132 .SS downloader.*.progress
10133 .IP "Type:" 6
10134 \f[I]float\f[]
10135
10136 .IP "Default:" 9
10137 \f[I]3.0\f[]
10138
10139 .IP "Description:" 4
10140 Number of seconds until a download progress indicator
10141 for the current download is displayed.
10142
10143 Set this option to \f[I]null\f[] to disable this indicator.
10144
10145
10146 .SS downloader.*.rate
10147 .IP "Type:" 6
10148 .br
10149 * \f[I]string\f[]
10150 .br
10151 * \f[I]list\f[] with 2 \f[I]strings\f[]
10152
10153 .IP "Default:" 9
10154 \f[I]null\f[]
10155
10156 .IP "Example:" 4
10157 .br
10158 * "32000"
10159 .br
10160 * "500k"
10161 .br
10162 * "1M - 2.5M"
10163 .br
10164 * ["1M", "2.5M"]
10165
10166 .IP "Description:" 4
10167 Maximum download rate in bytes per second.
10168
10169 Possible values are valid integer or floating-point numbers
10170 optionally followed by one of \f[I]k\f[], \f[I]m\f[]. \f[I]g\f[], \f[I]t\f[], or \f[I]p\f[].
10171 These suffixes are case-insensitive.
10172
10173 If given as a range, the maximum download rate
10174 will be randomly chosen before each download.
10175 (see \f[I]random.randint()\f[])
10176
10177
10178 .SS downloader.*.retries
10179 .IP "Type:" 6
10180 \f[I]integer\f[]
10181
10182 .IP "Default:" 9
10183 \f[I]extractor.*.retries\f[]
10184
10185 .IP "Description:" 4
10186 Maximum number of retries during file downloads,
10187 or \f[I]-1\f[] for infinite retries.
10188
10189
10190 .SS downloader.*.timeout
10191 .IP "Type:" 6
10192 \f[I]float\f[]
10193
10194 .IP "Default:" 9
10195 \f[I]extractor.*.timeout\f[]
10196
10197 .IP "Description:" 4
10198 Connection timeout during file downloads.
10199
10200
10201 .SS downloader.*.verify
10202 .IP "Type:" 6
10203 .br
10204 * \f[I]bool\f[]
10205 .br
10206 * \f[I]string\f[]
10207
10208 .IP "Default:" 9
10209 \f[I]extractor.*.verify\f[]
10210
10211 .IP "Description:" 4
10212 Certificate validation during file downloads.
10213
10214
10215 .SS downloader.*.proxy
10216 .IP "Type:" 6
10217 .br
10218 * \f[I]string\f[]
10219 .br
10220 * \f[I]object\f[] (scheme → proxy)
10221
10222 .IP "Default:" 9
10223 \f[I]extractor.*.proxy\f[]
10224
10225 .IP "Description:" 4
10226 Proxy server used for file downloads.
10227
10228 Disable the use of a proxy for file downloads
10229 by explicitly setting this option to \f[I]null\f[].
10230
10231
10232 .SS downloader.http.adjust-extensions
10233 .IP "Type:" 6
10234 \f[I]bool\f[]
10235
10236 .IP "Default:" 9
10237 \f[I]true\f[]
10238
10239 .IP "Description:" 4
10240 Check file headers of downloaded files
10241 and adjust their filename extensions if they do not match.
10242
10243 For example, this will change the filename extension (\f[I]{extension}\f[])
10244 of a file called \f[I]example.png\f[] from \f[I]png\f[] to \f[I]jpg\f[] when said file
10245 contains JPEG/JFIF data.
10246
10247
10248 .SS downloader.http.consume-content
10249 .IP "Type:" 6
10250 \f[I]bool\f[]
10251
10252 .IP "Default:" 9
10253 \f[I]false\f[]
10254
10255 .IP "Description:" 4
10256 Controls the behavior when an HTTP response is considered
10257 unsuccessful
10258
10259 If the value is \f[I]true\f[], consume the response body. This
10260 avoids closing the connection and therefore improves connection
10261 reuse.
10262
10263 If the value is \f[I]false\f[], immediately close the connection
10264 without reading the response. This can be useful if the server
10265 is known to send large bodies for error responses.
10266
10267
10268 .SS downloader.http.chunk-size
10269 .IP "Type:" 6
10270 .br
10271 * \f[I]integer\f[]
10272 .br
10273 * \f[I]string\f[]
10274
10275 .IP "Default:" 9
10276 \f[I]32768\f[]
10277
10278 .IP "Example:" 4
10279 "50k", "0.8M"
10280
10281 .IP "Description:" 4
10282 Number of bytes per downloaded chunk.
10283
10284 Possible values are integer numbers
10285 optionally followed by one of \f[I]k\f[], \f[I]m\f[]. \f[I]g\f[], \f[I]t\f[], or \f[I]p\f[].
10286 These suffixes are case-insensitive.
10287
10288
10289 .SS downloader.http.headers
10290 .IP "Type:" 6
10291 \f[I]object\f[] (name → value)
10292
10293 .IP "Example:" 4
10294 {"Accept": "image/webp,*/*", "Referer": "https://example.org/"}
10295
10296 .IP "Description:" 4
10297 Additional HTTP headers to send when downloading files,
10298
10299
10300 .SS downloader.http.retry-codes
10301 .IP "Type:" 6
10302 \f[I]list\f[] of \f[I]integers\f[]
10303
10304 .IP "Default:" 9
10305 \f[I]extractor.*.retry-codes\f[]
10306
10307 .IP "Description:" 4
10308 Additional \f[I]HTTP response status codes\f[]
10309 to retry a download on.
10310
10311 Codes \f[I]200\f[], \f[I]206\f[], and \f[I]416\f[] (when resuming a \f[I]partial\f[]
10312 download) will never be retried and always count as success,
10313 regardless of this option.
10314
10315 \f[I]5xx\f[] codes (server error responses) will always be retried,
10316 regardless of this option.
10317
10318
10319 .SS downloader.http.sleep-429
10320 .IP "Type:" 6
10321 \f[I]Duration\f[]
10322
10323 .IP "Default:" 9
10324 \f[I]extractor.*.sleep-429\f[]
10325
10326 .IP "Description:" 4
10327 Number of seconds to sleep when receiving a 429 Too Many Requests
10328 response before \f[I]retrying\f[] the request.
10329
10330 .IP "Note:" 4
10331 Requires
10332 \f[I]retry-codes\f[]
10333 to include \f[I]429\f[].
10334
10335
10336 .SS downloader.http.validate
10337 .IP "Type:" 6
10338 \f[I]bool\f[]
10339
10340 .IP "Default:" 9
10341 \f[I]true\f[]
10342
10343 .IP "Description:" 4
10344 Check for invalid responses.
10345
10346 Fail a download when a file does not pass
10347 instead of downloading a potentially broken file.
10348
10349
10350 .SS downloader.http.validate-html
10351 .IP "Type:" 6
10352 \f[I]bool\f[]
10353
10354 .IP "Default:" 9
10355 \f[I]true\f[]
10356
10357 .IP "Description:" 4
10358 Check for unexpected HTML responses.
10359
10360 Fail file downloads with a \f[I]text/html\f[]
10361 \f[I]Content-Type header\f[]
10362 when expecting a media file instead.
10363
10364
10365 .SS downloader.ytdl.cmdline-args
10366 .IP "Type:" 6
10367 .br
10368 * \f[I]string\f[]
10369 .br
10370 * \f[I]list\f[] of \f[I]strings\f[]
10371
10372 .IP "Example:" 4
10373 .br
10374 * "--quiet --write-sub --merge-output-format mkv"
10375 .br
10376 * ["--quiet", "--write-sub", "--merge-output-format", "mkv"]
10377
10378 .IP "Description:" 4
10379 Additional \f[I]ytdl\f[] options specified as command-line arguments.
10380
10381 See
10382 \f[I]yt-dlp options\f[]
10383 /
10384 \f[I]youtube-dl options\f[]
10385
10386
10387 .SS downloader.ytdl.config-file
10388 .IP "Type:" 6
10389 \f[I]Path\f[]
10390
10391 .IP "Example:" 4
10392 "~/.config/yt-dlp/config"
10393
10394 .IP "Description:" 4
10395 Location of a \f[I]ytdl\f[] configuration file to load options from.
10396
10397
10398 .SS downloader.ytdl.deprecations
10399 .IP "Type:" 6
10400 ´´bool´´
10401
10402 .IP "Default:" 9
10403 \f[I]false\f[]
10404
10405 .IP "Description:" 4
10406 Allow \f[I]ytdl\f[] to warn about deprecated options and features.
10407
10408
10409 .SS downloader.ytdl.format
10410 .IP "Type:" 6
10411 \f[I]string\f[]
10412
10413 .IP "Default:" 9
10414 Default of the \f[I]ytdl\f[] \f[I]module\f[] used.
10415 .br
10416 (\f[I]"bestvideo*+bestaudio/best"\f[] for \f[I]yt_dlp\f[],
10417 .br
10418 \f[I]"bestvideo+bestaudio/best"\f[] for \f[I]youtube_dl\f[])
10419
10420 .IP "Description:" 4
10421 \f[I]ytdl\f[] format selection string.
10422
10423 See
10424 \f[I]yt-dlp format selection\f[]
10425 /
10426 \f[I]youtube-dl format selection\f[]
10427
10428
10429 .SS downloader.ytdl.forward-cookies
10430 .IP "Type:" 6
10431 \f[I]bool\f[]
10432
10433 .IP "Default:" 9
10434 \f[I]true\f[]
10435
10436 .IP "Description:" 4
10437 Forward gallery-dl's cookies to \f[I]ytdl\f[].
10438
10439
10440 .SS downloader.ytdl.logging
10441 .IP "Type:" 6
10442 \f[I]bool\f[]
10443
10444 .IP "Default:" 9
10445 \f[I]true\f[]
10446
10447 .IP "Description:" 4
10448 Route \f[I]ytdl's\f[] output through gallery-dl's logging system.
10449 Otherwise it will be written directly to stdout/stderr.
10450
10451 .IP "Note:" 4
10452 Set \f[I]quiet\f[] and \f[I]no_warnings\f[] in
10453 \f[I]downloader.ytdl.raw-options\f[] to \f[I]true\f[] to suppress all output.
10454
10455
10456 .SS downloader.ytdl.module
10457 .IP "Type:" 6
10458 \f[I]Module\f[]
10459
10460 .IP "Default:" 9
10461 \f[I]null\f[]
10462
10463 .IP "Example:" 4
10464 .br
10465 * "yt-dlp"
10466 .br
10467 * "/home/user/.local/lib/python3.13/site-packages/youtube_dl"
10468
10469 .IP "Description:" 4
10470 The \f[I]ytdl\f[] \f[I]Module\f[] to import.
10471
10472 Setting this to \f[I]null\f[] will try to import \f[I]"yt_dlp"\f[]
10473 followed by \f[I]"youtube_dl"\f[] as fallback.
10474
10475
10476 .SS downloader.ytdl.outtmpl
10477 .IP "Type:" 6
10478 \f[I]string\f[]
10479
10480 .IP "Default:" 9
10481 \f[I]null\f[]
10482
10483 .IP "Description:" 4
10484 The Output Template
10485 used to generate filenames for files downloaded with \f[I]ytdl\f[].
10486
10487 See
10488 \f[I]yt-dlp output template\f[]
10489 /
10490 \f[I]youtube-dl output template\f[].
10491
10492 .IP "Special Values:" 4
10493 \f[I]null\f[]
10494 generate filenames with \f[I]extractor.*.filename\f[]
10495 \f[I]"default"\f[]
10496 use \f[I]ytdl's\f[] default, currently
10497 \f[I]"%(title)s [%(id)s].%(ext)s"\f[] for \f[I]yt-dlp\f[] /
10498 \f[I]"%(title)s-%(id)s.%(ext)s"\f[] for \f[I]youtube-dl\f[]
10499
10500 .IP "Note:" 4
10501 An output template other than \f[I]null\f[] might
10502 cause unexpected results in combination with certain options
10503 (e.g. \f[I]"skip": "enumerate"\f[])
10504
10505
10506 .SS downloader.ytdl.raw-options
10507 .IP "Type:" 6
10508 \f[I]object\f[] (name → value)
10509
10510 .IP "Example:" 4
10511 .. code:: json
10512
10513 {
10514 "quiet": true,
10515 "writesubtitles": true,
10516 "merge_output_format": "mkv"
10517 }
10518
10519
10520 .IP "Description:" 4
10521 Additional options passed directly to the \f[I]YoutubeDL\f[] constructor.
10522
10523 Available options can be found in
10524 \f[I]yt-dlp's docstrings\f[]
10525 /
10526 \f[I]youtube-dl's docstrings\f[]
10527
10528
10529 .SH OUTPUT OPTIONS
10530 .SS output.mode
10531 .IP "Type:" 6
10532 .br
10533 * \f[I]string\f[]
10534 .br
10535 * \f[I]object\f[] (key → format string)
10536
10537 .IP "Default:" 9
10538 \f[I]"auto"\f[]
10539
10540 .IP "Description:" 4
10541 Controls the output string format and status indicators.
10542
10543 \f[I]"null"\f[]
10544 No output
10545 \f[I]"pipe"\f[]
10546 Suitable for piping to other processes or files
10547 \f[I]"terminal"\f[]
10548 Suitable for the standard Windows console
10549 \f[I]"color"\f[]
10550 Suitable for terminals that understand ANSI escape codes and colors
10551 \f[I]"auto"\f[]
10552 \f[I]"pipe"\f[] if not on a TTY,
10553 \f[I]"terminal"\f[] on Windows with \f[I]output.ansi\f[] disabled,
10554 \f[I]"color"\f[] otherwise.
10555
10556 It is possible to use custom output format strings
10557 .br
10558 by setting this option to an \f[I]object\f[] and specifying
10559 \f[I]start\f[], \f[I]success\f[], \f[I]skip\f[], \f[I]progress\f[], and \f[I]progress-total\f[].
10560 .br
10561
10562 For example, the following will replicate the same output as \f[I]mode: color\f[]:
10563
10564 .. code:: json
10565
10566 {
10567 "start" : "{}",
10568 "success": "\\r\\u001b[1;32m{}\\u001b[0m\\n",
10569 "skip" : "\\u001b[2m{}\\u001b[0m\\n",
10570 "progress" : "\\r{0:>7}B {1:>7}B/s ",
10571 "progress-total": "\\r{3:>3}% {0:>7}B {1:>7}B/s "
10572 }
10573
10574 \f[I]start\f[], \f[I]success\f[], and \f[I]skip\f[] are used to output the current
10575 filename, where \f[I]{}\f[] or \f[I]{0}\f[] is replaced with said filename.
10576 If a given format string contains printable characters other than that,
10577 their number needs to be specified as \f[I][<number>, <format string>]\f[]
10578 to get the correct results for \f[I]output.shorten\f[]. For example
10579
10580 .. code:: json
10581
10582 "start" : [12, "Downloading {}"]
10583
10584 \f[I]progress\f[] and \f[I]progress-total\f[] are used when displaying the
10585 .br
10586 \f[I]download progress indicator\f[],
10587 \f[I]progress\f[] when the total number of bytes to download is unknown,
10588 .br
10589 \f[I]progress-total\f[] otherwise.
10590
10591 For these format strings
10592
10593 .br
10594 * \f[I]{0}\f[] is number of bytes downloaded
10595 .br
10596 * \f[I]{1}\f[] is number of downloaded bytes per second
10597 .br
10598 * \f[I]{2}\f[] is total number of bytes
10599 .br
10600 * \f[I]{3}\f[] is percent of bytes downloaded to total bytes
10601
10602
10603 .SS output.stdout & .stdin & .stderr
10604 .IP "Type:" 6
10605 .br
10606 * \f[I]string\f[]
10607 .br
10608 * \f[I]object\f[]
10609
10610 .IP "Example:" 4
10611 .. code:: json
10612
10613 "utf-8"
10614
10615 .. code:: json
10616
10617 {
10618 "encoding": "utf-8",
10619 "errors": "replace",
10620 "line_buffering": true
10621 }
10622
10623
10624 .IP "Description:" 4
10625 \f[I]Reconfigure\f[]
10626 a \f[I]standard stream\f[].
10627
10628 Possible options are
10629
10630 .br
10631 * \f[I]encoding\f[]
10632 .br
10633 * \f[I]errors\f[]
10634 .br
10635 * \f[I]newline\f[]
10636 .br
10637 * \f[I]line_buffering\f[]
10638 .br
10639 * \f[I]write_through\f[]
10640
10641 When this option is specified as a simple \f[I]string\f[],
10642 it is interpreted as \f[I]{"encoding": "<string-value>", "errors": "replace"}\f[]
10643
10644 .IP "Note:" 4
10645 \f[I]errors\f[] always defaults to \f[I]"replace"\f[]
10646
10647
10648 .SS output.shorten
10649 .IP "Type:" 6
10650 \f[I]bool\f[]
10651
10652 .IP "Default:" 9
10653 \f[I]true\f[]
10654
10655 .IP "Description:" 4
10656 Controls whether the output strings should be shortened to fit
10657 on one console line.
10658
10659 Set this option to \f[I]"eaw"\f[] (East Asian Width)
10660 to display the correct result for east-asian characters
10661 with a display width greater than 1.
10662
10663
10664 .SS output.colors
10665 .IP "Type:" 6
10666 .br
10667 * \f[I]bool\f[]
10668 .br
10669 * \f[I]object\f[] (key → ANSI color)
10670
10671 .IP "Default:" 9
10672 .. code:: json
10673
10674 {
10675 "success": "1;32",
10676 "skip" : "2",
10677 "debug" : "0;37",
10678 "info" : "1;37",
10679 "warning": "1;33",
10680 "error" : "1;31"
10681 }
10682
10683
10684 .IP "Description:" 4
10685 Controls the
10686 \f[I]ANSI colors\f[]
10687 used for various outputs.
10688
10689 \f[I]true\f[]
10690 Use default ANSI colors.
10691 \f[I]false\f[]
10692 Disable ANSI colors.
10693 \f[I]object\f[]
10694 Use custom ANSI colors.
10695
10696 Keys for \f[I]mode: color\f[]
10697
10698 .br
10699 * \f[I]success\f[]: successfully downloaded files
10700 .br
10701 * \f[I]skip\f[]: skipped files
10702
10703 Keys for Logging Messages
10704
10705 .br
10706 * \f[I]debug\f[]: debug logging messages
10707 .br
10708 * \f[I]info\f[]: info logging messages
10709 .br
10710 * \f[I]warning\f[]: warning logging messages
10711 .br
10712 * \f[I]error\f[]: error logging messages
10713
10714
10715 .SS output.ansi
10716 .IP "Type:" 6
10717 \f[I]bool\f[]
10718
10719 .IP "Default:" 9
10720 \f[I]true\f[]
10721
10722 .IP "Description:" 4
10723 On Windows, enable ANSI escape sequences and colored output
10724 .br
10725 by setting the \f[I]ENABLE_VIRTUAL_TERMINAL_PROCESSING\f[] flag for stdout and stderr.
10726 .br
10727
10728 .IP "Note:" 4
10729 To disable colored output, set \f[I]output.colors\f[] to \f[I]false\f[].
10730
10731
10732 .SS output.skip
10733 .IP "Type:" 6
10734 \f[I]bool\f[]
10735
10736 .IP "Default:" 9
10737 \f[I]true\f[]
10738
10739 .IP "Description:" 4
10740 Show skipped file downloads.
10741
10742
10743 .SS output.fallback
10744 .IP "Type:" 6
10745 \f[I]bool\f[]
10746
10747 .IP "Default:" 9
10748 \f[I]true\f[]
10749
10750 .IP "Description:" 4
10751 Include fallback URLs in the output of \f[I]-g/--get-urls\f[].
10752
10753
10754 .SS output.jsonl
10755 .IP "Type:" 6
10756 \f[I]bool\f[]
10757
10758 .IP "Default:" 9
10759 \f[I]false\f[]
10760
10761 .IP "Description:" 4
10762 Output \f[I]-j/--dump-json\f[] & \f[I]-J/--resolve-json\f[]
10763 data in \f[I]JSON Lines\f[] format.
10764
10765
10766 .SS output.private
10767 .IP "Type:" 6
10768 \f[I]bool\f[]
10769
10770 .IP "Default:" 9
10771 \f[I]false\f[]
10772
10773 .IP "Description:" 4
10774 Include private fields,
10775 i.e. fields whose name starts with an underscore,
10776 in the output of \f[I]-K/--list-keywords\f[] and \f[I]-j/--dump-json\f[].
10777
10778
10779 .SS output.progress
10780 .IP "Type:" 6
10781 .br
10782 * \f[I]bool\f[]
10783 .br
10784 * \f[I]string\f[]
10785
10786 .IP "Default:" 9
10787 \f[I]true\f[]
10788
10789 .IP "Description:" 4
10790 Controls the progress indicator when *gallery-dl* is run with
10791 multiple URLs as arguments.
10792
10793 \f[I]true\f[]
10794 Show the default progress indicator
10795 (\f[I]"[{current}/{total}] {url}"\f[])
10796 \f[I]false\f[]
10797 Do not show any progress indicator
10798 Any \f[I]string\f[]
10799 Show the progress indicator using this
10800 as a custom \f[I]format string\f[]. Possible replacement keys are
10801 \f[I]current\f[], \f[I]total\f[] and \f[I]url\f[].
10802
10803
10804 .SS output.log
10805 .IP "Type:" 6
10806 .br
10807 * \f[I]Format String\f[]
10808 .br
10809 * \f[I]Logging Configuration\f[]
10810
10811 .IP "Default:" 9
10812 \f[I]"[{name}][{levelname}] {message}"\f[]
10813
10814 .IP "Description:" 4
10815 Configuration for logging output to stderr.
10816
10817
10818 .SS output.logfile
10819 .IP "Type:" 6
10820 .br
10821 * \f[I]Path\f[]
10822 .br
10823 * \f[I]Logging Configuration\f[]
10824
10825 .IP "Description:" 4
10826 File to write logging output to.
10827
10828
10829 .SS output.unsupportedfile
10830 .IP "Type:" 6
10831 .br
10832 * \f[I]Path\f[]
10833 .br
10834 * \f[I]Logging Configuration\f[]
10835
10836 .IP "Description:" 4
10837 File to write external URLs unsupported by *gallery-dl* to.
10838
10839
10840 .SS output.errorfile
10841 .IP "Type:" 6
10842 .br
10843 * \f[I]Path\f[]
10844 .br
10845 * \f[I]Logging Configuration\f[]
10846
10847 .IP "Description:" 4
10848 File to write input URLs which returned an error to.
10849
10850 When combined with
10851 \f[I]-I\f[]/\f[I]--input-file-comment\f[] or
10852 \f[I]-x\f[]/\f[I]--input-file-delete\f[],
10853 this option will cause *all* input URLs from these files
10854 to be commented/deleted after processing them
10855 and not just successful ones.
10856
10857
10858 .SS output.num-to-str
10859 .IP "Type:" 6
10860 \f[I]bool\f[]
10861
10862 .IP "Default:" 9
10863 \f[I]false\f[]
10864
10865 .IP "Description:" 4
10866 Convert numeric values (\f[I]integer\f[] or \f[I]float\f[]) to \f[I]string\f[]
10867 before outputting them as JSON.
10868
10869
10870 .SH POSTPROCESSOR OPTIONS
10871 .SS actions.action
10872 .IP "Type:" 6
10873 \f[I]Action(s)\f[]
10874
10875 .IP "Description:" 4
10876 The \f[I]Action(s)\f[] to perform.
10877
10878 .IP "Note:" 4
10879 This option can also be set as \f[I]mode\f[],
10880 making it possible to use \f[I]"name": "actions/<action>@<event>"\f[]
10881
10882
10883 .SS actions.event
10884 .IP "Type:" 6
10885 .br
10886 * \f[I]string\f[]
10887 .br
10888 * \f[I]list\f[] of \f[I]strings\f[]
10889
10890 .IP "Default:" 9
10891 \f[I]"prepare"\f[]
10892
10893 .IP "Description:" 4
10894 The event(s) for which \f[I]actions.action\f[] is triggered.
10895
10896 See \f[I]metadata.event\f[] for a list of available events.
10897
10898
10899 .SS classify.mapping
10900 .IP "Type:" 6
10901 \f[I]object\f[] (directory → extensions)
10902
10903 .IP "Default:" 9
10904 .. code:: json
10905
10906 {
10907 "Pictures" : ["jpg", "jpeg", "png", "gif", "bmp", "svg", "webp",
10908 "avif", "heic", "heif", "ico", "psd"],
10909 "Video" : ["flv", "ogv", "avi", "mp4", "mpg", "mpeg", "3gp", "mkv",
10910 "webm", "vob", "wmv", "m4v", "mov"],
10911 "Music" : ["mp3", "aac", "flac", "ogg", "wma", "m4a", "wav"],
10912 "Archives" : ["zip", "rar", "7z", "tar", "gz", "bz2"],
10913 "Documents": ["txt", "pdf"]
10914 }
10915
10916
10917 .IP "Description:" 4
10918 A mapping from directory names to filename extensions that should
10919 be stored in them.
10920
10921 Files with an extension not listed will be ignored and stored
10922 in their default location.
10923
10924
10925 .SS compare.action
10926 .IP "Type:" 6
10927 \f[I]string\f[]
10928
10929 .IP "Default:" 9
10930 \f[I]"replace"\f[]
10931
10932 .IP "Description:" 4
10933 The action to take when files do **not** compare as equal.
10934
10935 \f[I]"replace"\f[]
10936 Replace/Overwrite the old version with the new one
10937 \f[I]"enumerate"\f[]
10938 Add an enumeration index to the filename of the new
10939 version like \f[I]skip = "enumerate"\f[]
10940
10941
10942 .SS compare.equal
10943 .IP "Type:" 6
10944 \f[I]string\f[]
10945
10946 .IP "Default:" 9
10947 \f[I]"null"\f[]
10948
10949 .IP "Description:" 4
10950 The action to take when files do compare as equal.
10951
10952 \f[I]"abort:N"\f[]
10953 Stop the current extractor run
10954 after \f[I]N\f[] consecutive files compared as equal.
10955 \f[I]"terminate:N"\f[]
10956 Stop the current extractor run,
10957 including parent extractors,
10958 after \f[I]N\f[] consecutive files compared as equal.
10959 \f[I]"exit:N"\f[]
10960 Exit the program
10961 after \f[I]N\f[] consecutive files compared as equal.
10962
10963
10964 .SS compare.shallow
10965 .IP "Type:" 6
10966 \f[I]bool\f[]
10967
10968 .IP "Default:" 9
10969 \f[I]false\f[]
10970
10971 .IP "Description:" 4
10972 Only compare file sizes. Do not read and compare their content.
10973
10974
10975 .SS directory.event
10976 .IP "Type:" 6
10977 .br
10978 * \f[I]string\f[]
10979 .br
10980 * \f[I]list\f[] of \f[I]strings\f[]
10981
10982 .IP "Default:" 9
10983 \f[I]"prepare"\f[]
10984
10985 .IP "Description:" 4
10986 The event(s) for which \f[I]directory\f[] \f[I]Format Strings\f[] are (re)evaluated.
10987
10988 See \f[I]metadata.event\f[] for a list of available events.
10989
10990
10991 .SS exec.archive
10992 .IP "Type:" 6
10993 .br
10994 * \f[I]string\f[]
10995 .br
10996 * \f[I]Path\f[]
10997
10998 .IP "Description:" 4
10999 Database to store IDs of executed commands in,
11000 similar to \f[I]extractor.*.archive\f[].
11001
11002 The following archive options are also supported:
11003
11004 .br
11005 * \f[I]archive-format\f[]
11006 .br
11007 * \f[I]archive-prefix\f[]
11008 .br
11009 * \f[I]archive-pragma\f[]
11010 .br
11011 * \f[I]archive-table \f[]
11012
11013
11014 .SS exec.async
11015 .IP "Type:" 6
11016 \f[I]bool\f[]
11017
11018 .IP "Default:" 9
11019 \f[I]false\f[]
11020
11021 .IP "Description:" 4
11022 Controls whether to wait for a subprocess to finish
11023 or to let it run asynchronously.
11024
11025
11026 .SS exec.command
11027 .IP "Type:" 6
11028 .br
11029 * \f[I]string\f[]
11030 .br
11031 * \f[I]list\f[] of \f[I]strings\f[]
11032
11033 .IP "Example:" 4
11034 .br
11035 * "convert {} {}.png && rm {}"
11036 .br
11037 * ["echo", "{user[account]}", "{id}"]
11038
11039 .IP "Description:" 4
11040 The command to run.
11041
11042 .br
11043 * If this is a \f[I]string\f[], it will be executed using the system's
11044 shell, e.g. \f[I]/bin/sh\f[]. Any \f[I]{}\f[] will be replaced
11045 with the full path of a file or target directory, depending on
11046 \f[I]exec.event\f[]
11047
11048 .br
11049 * If this is a \f[I]list\f[], the first element specifies the program
11050 name and any further elements its arguments.
11051
11052 Each element of this list is evaluated as a \f[I]Format String\f[] using
11053 the files' metadata as well as
11054 \f[I]{_path}\f[], \f[I]{_temppath}\f[], \f[I]{_directory}\f[], and \f[I]{_filename}\f[].
11055
11056
11057 .SS exec.commands
11058 .IP "Type:" 6
11059 \f[I]list\f[] of \f[I]commands\f[]
11060
11061 .IP "Example:" 4
11062 .. code:: json
11063
11064 [
11065 ["echo", "{user[account]}", "{id}"]
11066 ["magick", "convert" "{_path}", "\\fF {_path.rpartition('.')[0]}.png"],
11067 "rm {}",
11068 ]
11069
11070 .IP "Description:" 4
11071 Multiple \f[I]commands\f[] to run in succession.
11072
11073 All \f[I]commands\f[] after the first returning with a non-zero
11074 exit status will not be run.
11075
11076
11077 .SS exec.event
11078 .IP "Type:" 6
11079 .br
11080 * \f[I]string\f[]
11081 .br
11082 * \f[I]list\f[] of \f[I]strings\f[]
11083
11084 .IP "Default:" 9
11085 \f[I]"after"\f[]
11086
11087 .IP "Description:" 4
11088 The event(s) for which \f[I]exec.command\f[] is run.
11089
11090 See \f[I]metadata.event\f[] for a list of available events.
11091
11092
11093 .SS exec.output
11094 .IP "Type:" 6
11095 \f[I]boolean\f[]
11096
11097 .IP "Default:" 9
11098 \f[I]true\f[]
11099
11100 .IP "Description:" 4
11101 Show output of spawned subprocesses.
11102
11103
11104 .SS exec.session
11105 .IP "Type:" 6
11106 \f[I]bool\f[]
11107
11108 .IP "Default:" 9
11109 \f[I]false\f[]
11110
11111 .IP "Description:" 4
11112 Start subprocesses in a new session.
11113
11114 On Windows, this means passing
11115 \f[I]CREATE_NEW_PROCESS_GROUP\f[]
11116 as a \f[I]creationflags\f[] argument to
11117 \f[I]subprocess.Popen\f[]
11118
11119 On POSIX systems, this means enabling the
11120 \f[I]start_new_session\f[] argument of
11121 \f[I]subprocess.Popen\f[]
11122 to have it call \f[I]setsid()\f[].
11123
11124
11125 .SS exec.verbose
11126 .IP "Type:" 6
11127 \f[I]bool\f[]
11128
11129 .IP "Default:" 9
11130 \f[I]true\f[]
11131
11132 .IP "Description:" 4
11133 Include \f[I]command\f[]
11134 arguments in logging messages.
11135
11136
11137 .SS exec.success
11138 .IP "Type:" 6
11139 \f[I]Action(s)\f[]
11140
11141 .IP "Description:" 4
11142 Run these \f[I]Action(s)\f[] when \f[I]command\f[]
11143 succeeds and returns with exit status 0.
11144
11145
11146 .SS exec.error
11147 .IP "Type:" 6
11148 \f[I]Action(s)\f[]
11149
11150 .IP "Description:" 4
11151 Run these \f[I]Action(s)\f[] when \f[I]command\f[]
11152 fails and returns with a non-zero exit status.
11153
11154
11155 .SS hash.chunk-size
11156 .IP "Type:" 6
11157 \f[I]integer\f[]
11158
11159 .IP "Default:" 9
11160 \f[I]32768\f[]
11161
11162 .IP "Description:" 4
11163 Number of bytes read per chunk during file hash computation.
11164
11165
11166 .SS hash.event
11167 .IP "Type:" 6
11168 .br
11169 * \f[I]string\f[]
11170 .br
11171 * \f[I]list\f[] of \f[I]strings\f[]
11172
11173 .IP "Default:" 9
11174 \f[I]"file"\f[]
11175
11176 .IP "Description:" 4
11177 The event(s) for which \f[I]file hashes\f[] are computed.
11178
11179 See \f[I]metadata.event\f[] for a list of available events.
11180
11181
11182 .SS hash.filename
11183 .IP "Type:" 6
11184 .br
11185 * \f[I]bool\f[]
11186
11187 .IP "Default:" 9
11188 \f[I]false\f[]
11189
11190 .IP "Description:" 4
11191 Rebuild \f[I]filenames\f[] after computing
11192 \f[I]hash digests\f[] and adding them to the metadata dict.
11193
11194
11195 .SS hash.hashes
11196 .IP "Type:" 6
11197 .br
11198 * \f[I]string\f[]
11199 .br
11200 * \f[I]object\f[] (field name → hash algorithm)
11201
11202 .IP "Default:" 9
11203 \f[I]"md5,sha1"\f[]
11204
11205 .IP "Example:" 4
11206 .. code:: json
11207
11208 "sha256:hash_sha,sha3_512:hash_sha3"
11209
11210 .. code:: json
11211
11212 {
11213 "hash_sha" : "sha256",
11214 "hash_sha3": "sha3_512"
11215 }
11216
11217
11218 .IP "Description:" 4
11219 Hash digests to compute.
11220
11221 For a list of available hash algorithms, run
11222
11223 .. code::
11224
11225 python -c "import hashlib; print('\\n'.join(hashlib.algorithms_available))"
11226
11227 or see \f[I]python/hashlib\f[].
11228
11229 .br
11230 * If this is a \f[I]string\f[],
11231 it is parsed as a a comma-separated list of algorthm-fieldname pairs:
11232
11233 .. code::
11234
11235 [<hash algorithm> ":"] <field name> ["," ...]
11236
11237 When \f[I]<hash algorithm>\f[] is omitted,
11238 \f[I]<field name>\f[] is used as algorithm name.
11239
11240 .br
11241 * If this is an \f[I]object\f[],
11242 it is a \f[I]<field name>\f[] to \f[I]<algorithm name>\f[] mapping
11243 for hash digests to compute.
11244
11245 .IP "Note:" 4
11246 This option can also be set as \f[I]mode\f[],
11247 making it possible to use \f[I]"name": "hash/<fieldname>@<event>"\f[]
11248
11249
11250 .SS metadata.mode
11251 .IP "Type:" 6
11252 \f[I]string\f[]
11253
11254 .IP "Default:" 9
11255 \f[I]"json"\f[]
11256
11257 .IP "Description:" 4
11258 Selects how to process metadata.
11259
11260 \f[I]"json"\f[]
11261 Write metadata using \f[I]json.dump()\f[]
11262 \f[I]"jsonl"\f[]
11263 Write metadata in \f[I]JSON Lines\f[] format
11264 \f[I]"tags"\f[]
11265 Write \f[I]tags\f[] separated by newlines
11266 \f[I]"print"\f[]
11267 Write the result of applying
11268 \f[I]content-format\f[]
11269 to \f[I]stdout\f[]
11270 \f[I]"custom"\f[]
11271 Write the result of applying
11272 \f[I]content-format\f[]
11273 to \f[I]a file\f[]
11274 \f[I]"modify"\f[]
11275 Add or modify metadata entries
11276 \f[I]"delete"\f[]
11277 Remove metadata entries
11278
11279
11280 .SS metadata.filename
11281 .IP "Type:" 6
11282 \f[I]Format String\f[]
11283
11284 .IP "Default:" 9
11285 \f[I]null\f[]
11286
11287 .IP "Example:" 4
11288 "{id}.data.json"
11289
11290 .IP "Description:" 4
11291 A \f[I]Format String\f[] to generate filenames for metadata files.
11292 (see \f[I]extractor.filename\f[])
11293
11294 Using \f[I]"-"\f[] as filename will write all output to \f[I]stdout\f[].
11295
11296 If this option is set, \f[I]metadata.extension\f[] and
11297 \f[I]metadata.extension-format\f[] will be ignored.
11298
11299
11300 .SS metadata.directory
11301 .IP "Type:" 6
11302 .br
11303 * \f[I]string\f[]
11304 .br
11305 * \f[I]list\f[] of \f[I]strings\f[]
11306
11307 .IP "Default:" 9
11308 \f[I]"."\f[]
11309
11310 .IP "Example:" 4
11311 .br
11312 * "metadata"
11313 .br
11314 * ["..", "metadata", "\\fF {id // 500 * 500}"]
11315
11316 .IP "Description:" 4
11317 Directory where metadata files are stored in
11318 relative to \f[I]metadata.base-directory\f[].
11319
11320
11321 .SS metadata.base-directory
11322 .IP "Type:" 6
11323 .br
11324 * \f[I]bool\f[]
11325 .br
11326 * \f[I]Path\f[]
11327
11328 .IP "Default:" 9
11329 \f[I]false\f[]
11330
11331 .IP "Description:" 4
11332 Selects the relative location for metadata files.
11333
11334 \f[I]false\f[]
11335 Current target location for file downloads (\f[I]base-directory\f[] + directory_)
11336 \f[I]true\f[]
11337 Current \f[I]base-directory\f[] location
11338 any \f[I]Path\f[]
11339 Custom location
11340
11341
11342 .SS metadata.extension
11343 .IP "Type:" 6
11344 \f[I]string\f[]
11345
11346 .IP "Default:" 9
11347 \f[I]"json"\f[] or \f[I]"txt"\f[]
11348
11349 .IP "Description:" 4
11350 Filename extension for metadata files that will be appended to the
11351 original file names.
11352
11353
11354 .SS metadata.extension-format
11355 .IP "Type:" 6
11356 \f[I]Format String\f[]
11357
11358 .IP "Example:" 4
11359 .br
11360 * "{extension}.json"
11361 .br
11362 * "json"
11363
11364 .IP "Description:" 4
11365 Custom \f[I]Format String\f[] to generate filename extensions
11366 for metadata files, which will replace the original filename extension.
11367
11368 .IP "Note:" 4
11369 When this option is set, \f[I]metadata.extension\f[] is ignored.
11370
11371
11372 .SS metadata.metadata-path
11373 .IP "Type:" 6
11374 \f[I]string\f[]
11375
11376 .IP "Example:" 4
11377 "_meta_path"
11378
11379 .IP "Description:" 4
11380 Insert the path of generated files
11381 into metadata dictionaries as the given name.
11382
11383
11384 .SS metadata.event
11385 .IP "Type:" 6
11386 .br
11387 * \f[I]string\f[]
11388 .br
11389 * \f[I]list\f[] of \f[I]strings\f[]
11390
11391 .IP "Default:" 9
11392 \f[I]"file"\f[]
11393
11394 .IP "Example:" 4
11395 .br
11396 * "prepare,file,after"
11397 .br
11398 * ["prepare-after", "skip"]
11399
11400 .IP "Description:" 4
11401 The event(s) for which metadata gets written to a file.
11402
11403 Available events are:
11404
11405 \f[I]init\f[]
11406 After post processor initialization
11407 and before the first file download
11408 \f[I]finalize\f[]
11409 On extractor shutdown, e.g. after all files were downloaded
11410 \f[I]finalize-success\f[]
11411 On extractor shutdown when no error occurred
11412 \f[I]finalize-error\f[]
11413 On extractor shutdown when at least one error occurred
11414 \f[I]prepare\f[]
11415 Before a file download
11416 \f[I]prepare-after\f[]
11417 Before a file download,
11418 but after building and checking file paths
11419 \f[I]file\f[]
11420 When completing a file download,
11421 but before it gets moved to its target location
11422 \f[I]after\f[]
11423 After a file got moved to its target location
11424 \f[I]skip\f[]
11425 When skipping a file download
11426 \f[I]error\f[]
11427 After a file download failed
11428 \f[I]post\f[]
11429 When starting to download all files of a post,
11430 e.g. a Tweet on Twitter or a post on Patreon.
11431 \f[I]post-after\f[]
11432 After downloading all files of a post
11433 \f[I]child\f[]
11434 When spawning a new child extractor
11435 \f[I]child-after\f[]
11436 After a child extractor ran
11437
11438
11439 .SS metadata.include
11440 .IP "Type:" 6
11441 \f[I]list\f[] of \f[I]strings\f[]
11442
11443 .IP "Example:" 4
11444 ["id", "width", "height", "description"]
11445
11446 .IP "Description:" 4
11447 Include only the given top-level keys when writing JSON data.
11448
11449 .IP "Note:" 4
11450 Missing or undefined fields will be silently ignored.
11451
11452
11453 .SS metadata.exclude
11454 .IP "Type:" 6
11455 \f[I]list\f[] of \f[I]strings\f[]
11456
11457 .IP "Example:" 4
11458 ["blocked", "watching", "status"]
11459
11460 .IP "Description:" 4
11461 Exclude all given keys from written JSON data.
11462
11463 .IP "Note:" 4
11464 Cannot be used with \f[I]metadata.include\f[].
11465
11466
11467 .SS metadata.fields
11468 .IP "Type:" 6
11469 .br
11470 * \f[I]list\f[] of \f[I]strings\f[]
11471 .br
11472 * \f[I]object\f[] (field name → \f[I]Format String\f[])
11473
11474 .IP "Example:" 4
11475 .. code:: json
11476
11477 ["blocked", "watching", "status[creator][name]"]
11478
11479 .. code:: json
11480
11481 {
11482 "blocked" : "***",
11483 "watching" : "\\fE 'yes' if watching else 'no'",
11484 "status[username]": "{status[creator][name]!l}"
11485 }
11486
11487
11488 .IP "Description:" 4
11489 \f[I]"mode": "delete"\f[]
11490 A list of metadata field names to remove.
11491 \f[I]"mode": "modify"\f[]
11492 An object with metadata field names mapping to a \f[I]Format String\f[]
11493 whose result is assigned to that field name.
11494
11495 .IP "Note::" 4
11496 Unlike standard \f[I]Format Strings\f[], replacement fields here
11497 preserve the original type of their value
11498 instead of automatically converting it to \f[I]type-str\f[].
11499
11500
11501 .SS metadata.content-format
11502 .IP "Type:" 6
11503 .br
11504 * \f[I]Format String\f[]
11505 .br
11506 * \f[I]list\f[] of \f[I]Format Strings\f[]
11507
11508 .IP "Example:" 4
11509 .br
11510 * "tags:\\n\\n{tags:J\\n}\\n"
11511 .br
11512 * ["tags:", "", "{tags:J\\n}"]
11513
11514 .IP "Description:" 4
11515 Custom \f[I]Format String(s)\f[] to build the content of metadata files with.
11516
11517 .IP "Note:" 4
11518 Only applies to \f[I]"mode": "custom"\f[].
11519
11520
11521 .SS metadata.ascii
11522 .IP "Type:" 6
11523 \f[I]bool\f[]
11524
11525 .IP "Default:" 9
11526 \f[I]false\f[]
11527
11528 .IP "Description:" 4
11529 Escape all non-ASCII characters.
11530
11531 See the \f[I]ensure_ascii\f[] argument of \f[I]json.dump()\f[] for further details.
11532
11533 .IP "Note:" 4
11534 Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[].
11535
11536
11537 .SS metadata.indent
11538 .IP "Type:" 6
11539 .br
11540 * \f[I]integer\f[]
11541 .br
11542 * \f[I]string\f[]
11543
11544 .IP "Default:" 9
11545 \f[I]4\f[]
11546
11547 .IP "Description:" 4
11548 Indentation level of JSON output.
11549
11550 See the \f[I]indent\f[] argument of \f[I]json.dump()\f[] for further details.
11551
11552 .IP "Note:" 4
11553 Only applies to \f[I]"mode": "json"\f[].
11554
11555
11556 .SS metadata.separators
11557 .IP "Type:" 6
11558 \f[I]list\f[] with two \f[I]string\f[] elements
11559
11560 .IP "Default:" 9
11561 \f[I][", ", ": "]\f[]
11562
11563 .IP "Description:" 4
11564 \f[I]<item separator>\f[] - \f[I]<key separator>\f[] pair
11565 to separate JSON keys and values with.
11566
11567 See the \f[I]separators\f[] argument of \f[I]json.dump()\f[] for further details.
11568
11569 .IP "Note:" 4
11570 Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[].
11571
11572
11573 .SS metadata.sort
11574 .IP "Type:" 6
11575 \f[I]bool\f[]
11576
11577 .IP "Default:" 9
11578 \f[I]false\f[]
11579
11580 .IP "Description:" 4
11581 Sort output by key.
11582
11583 See the \f[I]sort_keys\f[] argument of \f[I]json.dump()\f[] for further details.
11584
11585 .IP "Note:" 4
11586 Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[].
11587
11588
11589 .SS metadata.empty
11590 .IP "Type:" 6
11591 \f[I]bool\f[]
11592
11593 .IP "Default:" 9
11594 \f[I]false\f[]
11595
11596 .IP "Description:" 4
11597 Write empty
11598 JSON / \f[I]tags\f[] / \f[I]content-format\f[]
11599 data and create empty files.
11600
11601
11602 .SS metadata.open
11603 .IP "Type:" 6
11604 \f[I]string\f[]
11605
11606 .IP "Default:" 9
11607 \f[I]"w"\f[]
11608
11609 .IP "Description:" 4
11610 The \f[I]mode\f[] in which metadata files get opened.
11611
11612 For example,
11613 use \f[I]"a"\f[] to append to a file's content
11614 or \f[I]"w"\f[] to truncate it.
11615
11616 See the \f[I]mode\f[] argument of \f[I]open()\f[] for further details.
11617
11618
11619 .SS metadata.encoding
11620 .IP "Type:" 6
11621 \f[I]string\f[]
11622
11623 .IP "Default:" 9
11624 \f[I]"utf-8"\f[]
11625
11626 .IP "Description:" 4
11627 Name of the encoding used to encode a file's content.
11628
11629 See the \f[I]encoding\f[] argument of \f[I]open()\f[] for further details.
11630
11631
11632 .SS metadata.newline
11633 .IP "Type:" 6
11634 \f[I]string\f[]
11635
11636 .IP "Default:" 9
11637 \f[I]null\f[]
11638
11639 .IP "Description:" 4
11640 The newline sequence used in metadata files.
11641
11642 If \f[I]null\f[], any \f[I]\\n\f[] characters
11643 written are translated to the system default line separator.
11644
11645 See the \f[I]newline\f[] argument of \f[I]open()\f[] for further details.
11646
11647 .IP "Supported Values:" 4
11648 \f[I]null\f[]
11649 Any \f[I]\\n\f[] characters
11650 written are translated to the system default line separator.
11651 \f[I]""\f[] \f[I] \f[I]"\\n"\f[]
11652 Don't replace newline characters.
11653 \f[I]"\\r"\f[] \f[] \f[I]"\\r\\n"\f[]
11654 Replace newline characters with the given sequence.
11655
11656
11657 .SS metadata.private
11658 .IP "Type:" 6
11659 \f[I]bool\f[]
11660
11661 .IP "Default:" 9
11662 \f[I]false\f[]
11663
11664 .IP "Description:" 4
11665 Include private fields,
11666 i.e. fields whose name starts with an underscore.
11667
11668
11669 .SS metadata.skip
11670 .IP "Type:" 6
11671 \f[I]bool\f[]
11672
11673 .IP "Default:" 9
11674 \f[I]false\f[]
11675
11676 .IP "Description:" 4
11677 Do not overwrite already existing files.
11678
11679
11680 .SS metadata.archive
11681 .IP "Type:" 6
11682 .br
11683 * \f[I]string\f[]
11684 .br
11685 * \f[I]Path\f[]
11686
11687 .IP "Description:" 4
11688 Database to store IDs of generated metadata files in,
11689 similar to \f[I]extractor.*.archive\f[].
11690
11691 The following archive options are also supported:
11692
11693 .br
11694 * \f[I]archive-format\f[]
11695 .br
11696 * \f[I]archive-prefix\f[]
11697 .br
11698 * \f[I]archive-pragma\f[]
11699 .br
11700 * \f[I]archive-table \f[]
11701
11702
11703 .SS metadata.mtime
11704 .IP "Type:" 6
11705 \f[I]bool\f[]
11706
11707 .IP "Default:" 9
11708 \f[I]false\f[]
11709
11710 .IP "Description:" 4
11711 Set modification times of generated metadata files
11712 according to the accompanying downloaded file.
11713
11714 Enabling this option will only have an effect
11715 *if* there is actual \f[I]mtime\f[] metadata available, that is
11716
11717 .br
11718 * after a file download (\f[I]"event": "file"\f[] (default), \f[I]"event": "after"\f[])
11719 .br
11720 * when running *after* an \f[I]mtime\f[] post processes for the same \f[I]event\f[]
11721
11722 For example, a \f[I]metadata\f[] post processor for \f[I]"event": "post"\f[] will
11723 *not* be able to set its file's modification time unless an \f[I]mtime\f[]
11724 post processor with \f[I]"event": "post"\f[] runs *before* it.
11725
11726
11727 .SS mtime.event
11728 .IP "Type:" 6
11729 .br
11730 * \f[I]string\f[]
11731 .br
11732 * \f[I]list\f[] of \f[I]strings\f[]
11733
11734 .IP "Default:" 9
11735 \f[I]"post-after"\f[]
11736 \f[I]"target": "directory"\f[]
11737 \f[I]"file"\f[]
11738 otherwise
11739
11740 .IP "Description:" 4
11741 The event(s) for which \f[I]mtime.key\f[] or \f[I]mtime.value\f[] get evaluated.
11742
11743 See \f[I]metadata.event\f[] for a list of available events.
11744
11745
11746 .SS mtime.target
11747 .IP "Type:" 6
11748 \f[I]string\f[]
11749
11750 .IP "Default:" 9
11751 \f[I]"file"\f[]
11752
11753 .IP "Description:" 4
11754 The target to which \f[I]mtime.key\f[] or \f[I]mtime.value\f[] is applied to.
11755
11756 Supported values are \f[I]"file"\f[] and \f[I]"directory"\f[].
11757
11758
11759 .SS mtime.key
11760 .IP "Type:" 6
11761 \f[I]string\f[]
11762
11763 .IP "Default:" 9
11764 \f[I]"date"\f[]
11765
11766 .IP "Description:" 4
11767 Name of the metadata field whose value should be used.
11768
11769 This value must be either a Unix timestamp or a
11770 \f[I]type-datetime\f[] object.
11771
11772 .IP "Note:" 4
11773 This option is ignored if \f[I]mtime.value\f[] is set.
11774
11775
11776 .SS mtime.value
11777 .IP "Type:" 6
11778 \f[I]Format String\f[]
11779
11780 .IP "Default:" 9
11781 \f[I]null\f[]
11782
11783 .IP "Example:" 4
11784 .br
11785 * "{status[date]}"
11786 .br
11787 * "{content[0:6]:R22/2022/D%Y%m%d/}"
11788
11789 .IP "Description:" 4
11790 The \f[I]Format String\f[] whose value should be used.
11791
11792 The resulting value must be either a Unix timestamp or a
11793 \f[I]type-datetime\f[] object.
11794
11795 .IP "Note::" 4
11796 Unlike standard \f[I]Format Strings\f[], replacement fields here
11797 preserve the original type of their value
11798 instead of automatically converting it to \f[I]type-str\f[].
11799
11800
11801 .SS python.archive
11802 .IP "Type:" 6
11803 .br
11804 * \f[I]string\f[]
11805 .br
11806 * \f[I]Path\f[]
11807
11808 .IP "Description:" 4
11809 Database to store IDs of called Python functions in,
11810 similar to \f[I]extractor.*.archive\f[].
11811
11812 The following archive options are also supported:
11813
11814 .br
11815 * \f[I]archive-format\f[]
11816 .br
11817 * \f[I]archive-prefix\f[]
11818 .br
11819 * \f[I]archive-pragma\f[]
11820 .br
11821 * \f[I]archive-table \f[]
11822
11823
11824 .SS python.event
11825 .IP "Type:" 6
11826 .br
11827 * \f[I]string\f[]
11828 .br
11829 * \f[I]list\f[] of \f[I]strings\f[]
11830
11831 .IP "Default:" 9
11832 \f[I]"file"\f[]
11833
11834 .IP "Description:" 4
11835 The event(s) for which \f[I]python.function\f[] gets called.
11836
11837 See \f[I]metadata.event\f[] for a list of available events.
11838
11839
11840 .SS python.expression
11841 .IP "Type:" 6
11842 \f[I]Expression\f[]
11843
11844 .IP "Example:" 4
11845 .br
11846 * "print('Foo Bar')"
11847 .br
11848 * "terminate()"
11849
11850 .IP "Description:" 4
11851 A Python \f[I]Expression\f[] to
11852 \f[I]evaluate\f[].
11853
11854 .IP "Note:" 4
11855 Only used with \f[I]"mode": "eval"\f[]
11856
11857
11858 .SS python.function
11859 .IP "Type:" 6
11860 \f[I]string\f[]
11861
11862 .IP "Example:" 4
11863 .br
11864 * "my_module:generate_text"
11865 .br
11866 * "~/.local/share/gdl_utils.py:resize"
11867
11868 .IP "Description:" 4
11869 The Python function to call.
11870
11871 This function is specified as \f[I]<module>:<function name>\f[], where
11872 .br
11873 \f[I]<module>\f[] is a \f[I]Module\f[] and
11874 .br
11875 \f[I]<function name>\f[] is the name of the function in that module.
11876
11877 It gets called with the current metadata dict as argument.
11878
11879
11880 .SS python.mode
11881 .IP "Type:" 6
11882 \f[I]string\f[]
11883
11884 .IP "Default:" 9
11885 \f[I]"function"\f[]
11886
11887 .IP "Description:" 4
11888 Selects what Python code to run.
11889
11890 \f[I]"eval"\f[]
11891 Evaluate an
11892 \f[I]expression\f[]
11893 \f[I]function"\f[]
11894 Call a
11895 \f[I]function\f[]
11896
11897
11898 .SS rename.from
11899 .IP "Type:" 6
11900 \f[I]Format String\f[]
11901
11902 .IP "Description:" 4
11903 The \f[I]Format String\f[] for filenames to rename.
11904
11905 When no value is given, \f[I]extractor.*.filename\f[] is used.
11906
11907
11908 .SS rename.to
11909 .IP "Type:" 6
11910 \f[I]Format String\f[]
11911
11912 .IP "Description:" 4
11913 The \f[I]Format String\f[] for target filenames.
11914
11915 When no value is given, \f[I]extractor.*.filename\f[] is used.
11916
11917
11918 .SS rename.skip
11919 .IP "Type:" 6
11920 \f[I]bool\f[]
11921
11922 .IP "Default:" 9
11923 \f[I]true\f[]
11924
11925 .IP "Description:" 4
11926 Do not rename a file when another file with the target name already exists.
11927
11928
11929 .SS ugoira.extension
11930 .IP "Type:" 6
11931 \f[I]string\f[]
11932
11933 .IP "Default:" 9
11934 \f[I]"webm"\f[]
11935
11936 .IP "Description:" 4
11937 Filename extension for the resulting video files.
11938
11939
11940 .SS ugoira.ffmpeg-args
11941 .IP "Type:" 6
11942 \f[I]list\f[] of \f[I]strings\f[]
11943
11944 .IP "Default:" 9
11945 \f[I]null\f[]
11946
11947 .IP "Example:" 4
11948 ["-c:v", "libvpx-vp9", "-an", "-b:v", "2M"]
11949
11950 .IP "Description:" 4
11951 Additional \f[I]ffmpeg\f[] command-line arguments.
11952
11953
11954 .SS ugoira.mode
11955 .IP "Type:" 6
11956 \f[I]string\f[]
11957
11958 .IP "Default:" 9
11959 \f[I]"auto"\f[]
11960
11961 .IP "Description:" 4
11962 \f[I]ffmpeg\f[] demuxer to read and process input files with.
11963
11964 .IP "Supported Values:" 4
11965 \f[I]"auto"\f[]
11966 use \f[I]mkvmerge\f[] if available, fall back to \f[I]concat\f[] otherwise
11967 \f[I]"concat"\f[]
11968 https://ffmpeg.org/ffmpeg-formats.html#concat-1
11969 .br
11970 Inaccurate frame timecodes for non-uniform frame delays
11971 .br
11972 \f[I]"image2"\f[]
11973 https://ffmpeg.org/ffmpeg-formats.html#image2-1
11974 .br
11975 Accurate timecodes, requires nanosecond file timestamps, i.e. no Windows or macOS)
11976 .br
11977 \f[I]"mkvmerge"\f[]
11978 Accurate timecodes, only WebM or MKV, requires \f[I]mkvmerge\f[])
11979 \f[I]"archive"\f[]
11980 Store "original" frames in a \f[I].zip\f[] archive
11981
11982
11983 .SS ugoira.ffmpeg-location
11984 .IP "Type:" 6
11985 \f[I]Path\f[]
11986
11987 .IP "Default:" 9
11988 \f[I]"ffmpeg"\f[]
11989
11990 .IP "Description:" 4
11991 Location of the \f[I]ffmpeg\f[] (or \f[I]avconv\f[]) executable to use.
11992
11993
11994 .SS ugoira.mkvmerge-args
11995 .IP "Type:" 6
11996 \f[I]list\f[] of \f[I]strings\f[]
11997
11998 .IP "Default:" 9
11999 \f[I]null\f[]
12000
12001 .IP "Example:" 4
12002 ["--no-date", "--disable-lacing"]
12003
12004 .IP "Description:" 4
12005 Additional \f[I]mkvmerge\f[] command-line arguments.
12006
12007
12008 .SS ugoira.mkvmerge-location
12009 .IP "Type:" 6
12010 \f[I]Path\f[]
12011
12012 .IP "Default:" 9
12013 \f[I]"mkvmerge"\f[]
12014
12015 .IP "Description:" 4
12016 Location of the \f[I]mkvmerge\f[] executable for use with the
12017 \f[I]mkvmerge demuxer\f[].
12018
12019
12020 .SS ugoira.mkvmerge-metadata
12021 .IP "Type:" 6
12022 \f[I]bool\f[]
12023
12024 .IP "Default:" 9
12025 \f[I]true\f[]
12026
12027 .IP "Description:" 4
12028 Let \f[I]mkvmerge\f[] write \f[I]BPS\f[], \f[I]DURATION\f[], \f[I]NUMBER_OF_BYTES\f[],
12029 and \f[I]NUMBER_OF_FRAMES\f[] metadata tags.
12030
12031 .IP "Implementation Detail:" 4
12032 Disabling this option passes
12033 \f[I]--disable-track-statistics-tags\f[] to \f[I]mkvmerge\f[]
12034
12035
12036 .SS ugoira.mkvmerge-mtime
12037 .IP "Type:" 6
12038 \f[I]bool\f[]
12039
12040 .IP "Default:" 9
12041 \f[I]false\f[]
12042
12043 .IP "Description:" 4
12044 Set the date segment information field
12045 of files processed with \f[I]mkvmerge\f[].
12046
12047 .IP "Note::" 4
12048 Requires \f[I]mkvmerge\f[] version 95.0 or higher
12049
12050
12051 .SS ugoira.mkvmerge-output
12052 .IP "Type:" 6
12053 \f[I]bool\f[]
12054
12055 .IP "Default:" 9
12056 \f[I]false\f[]
12057
12058 .IP "Description:" 4
12059 Enable \f[I]mkvmerge\f[] output.
12060
12061
12062 .SS ugoira.ffmpeg-output
12063 .IP "Type:" 6
12064 .br
12065 * \f[I]bool\f[]
12066 .br
12067 * \f[I]string\f[]
12068
12069 .IP "Default:" 9
12070 \f[I]"error"\f[]
12071
12072 .IP "Description:" 4
12073 Controls \f[I]ffmpeg\f[] output.
12074
12075 \f[I]true\f[]
12076 Enable \f[I]ffmpeg\f[] output
12077 \f[I]false\f[]
12078 Disable all \f[I]ffmpeg\f[] output
12079 any \f[I]string\f[]
12080 Pass \f[I]-hide_banner\f[] and \f[I]-loglevel\f[]
12081 with this value as argument to \f[I]ffmpeg\f[]
12082
12083
12084 .SS ugoira.ffmpeg-twopass
12085 .IP "Type:" 6
12086 \f[I]bool\f[]
12087
12088 .IP "Default:" 9
12089 \f[I]false\f[]
12090
12091 .IP "Description:" 4
12092 Enable Two-Pass encoding.
12093
12094
12095 .SS ugoira.framerate
12096 .IP "Type:" 6
12097 \f[I]string\f[]
12098
12099 .IP "Default:" 9
12100 \f[I]"auto"\f[]
12101
12102 .IP "Description:" 4
12103 Controls the frame rate argument (\f[I]-r\f[]) for \f[I]ffmpeg\f[]
12104
12105 \f[I]"auto"\f[]
12106 Automatically assign a fitting frame rate
12107 based on delays between frames.
12108 \f[I]"uniform"\f[]
12109 Like \f[I]auto\f[], but assign an explicit frame rate
12110 only to Ugoira with uniform frame delays.
12111 any other \f[I]string\f[]
12112 Use this value as argument for \f[I]-r\f[].
12113 \f[I]null\f[] or an empty \f[I]string\f[]
12114 Don't set an explicit frame rate.
12115
12116
12117 .SS ugoira.keep-files
12118 .IP "Type:" 6
12119 \f[I]bool\f[]
12120
12121 .IP "Default:" 9
12122 \f[I]false\f[]
12123
12124 .IP "Description:" 4
12125 Keep ZIP archives after conversion.
12126
12127
12128 .SS ugoira.libx264-prevent-odd
12129 .IP "Type:" 6
12130 \f[I]bool\f[]
12131
12132 .IP "Default:" 9
12133 \f[I]true\f[]
12134
12135 .IP "Description:" 4
12136 Prevent \f[I]"width/height not divisible by 2"\f[] errors
12137 when using \f[I]libx264\f[] or \f[I]libx265\f[] encoders
12138 by applying a simple cropping filter. See this \f[I]Stack Overflow
12139 thread\f[]
12140 for more information.
12141
12142 This option, when \f[I]libx264/5\f[] is used, automatically
12143 adds \f[I]["-vf", "crop=iw-mod(iw\\\\,2):ih-mod(ih\\\\,2)"]\f[]
12144 to the list of \f[I]ffmpeg\f[] command-line arguments
12145 to reduce an odd width/height by 1 pixel and make them even.
12146
12147
12148 .SS ugoira.metadata
12149 .IP "Type:" 6
12150 .br
12151 * \f[I]bool\f[]
12152 .br
12153 * \f[I]string\f[]
12154
12155 .IP "Default:" 9
12156 \f[I]true\f[]
12157
12158 .IP "Description:" 4
12159 When using \f[I]"mode": "archive"\f[], save Ugoira frame delay data as
12160 \f[I]animation.json\f[] within the archive file.
12161
12162 If this is a \f[I]string\f[],
12163 use it as alternate filename for frame delay files.
12164
12165
12166 .SS ugoira.mtime
12167 .IP "Type:" 6
12168 \f[I]bool\f[]
12169
12170 .IP "Default:" 9
12171 \f[I]true\f[]
12172
12173 .IP "Description:" 4
12174 Set modification times of generated ugoira animations.
12175
12176
12177 .SS ugoira.repeat-last-frame
12178 .IP "Type:" 6
12179 \f[I]bool\f[]
12180
12181 .IP "Default:" 9
12182 \f[I]true\f[]
12183
12184 .IP "Description:" 4
12185 Allow repeating the last frame when necessary
12186 to prevent it from only being displayed for a very short amount of time.
12187
12188
12189 .SS ugoira.skip
12190 .IP "Type:" 6
12191 \f[I]bool\f[]
12192
12193 .IP "Default:" 9
12194 \f[I]true\f[]
12195
12196 .IP "Description:" 4
12197 Do not convert frames if target file already exists.
12198
12199
12200 .SS zip.compression
12201 .IP "Type:" 6
12202 \f[I]string\f[]
12203
12204 .IP "Default:" 9
12205 \f[I]"store"\f[]
12206
12207 .IP "Description:" 4
12208 Compression method to use when writing the archive.
12209
12210 .IP "Supported Values:" 4
12211 .br
12212 * \f[I]"store"\f[]
12213 .br
12214 * \f[I]"zip"\f[]
12215 .br
12216 * \f[I]"bzip2"\f[]
12217 .br
12218 * \f[I]"lzma"\f[]
12219
12220
12221 .SS zip.extension
12222 .IP "Type:" 6
12223 \f[I]string\f[]
12224
12225 .IP "Default:" 9
12226 \f[I]"zip"\f[]
12227
12228 .IP "Description:" 4
12229 Filename extension for the created ZIP archive.
12230
12231
12232 .SS zip.files
12233 .IP "Type:" 6
12234 \f[I]list\f[] of \f[I]Path\f[]
12235
12236 .IP "Example:" 4
12237 ["info.json"]
12238
12239 .IP "Description:" 4
12240 List of extra files to be added to a ZIP archive.
12241
12242 .IP "Note:" 4
12243 Relative paths are relative to the current
12244 \f[I]download directory\f[].
12245
12246
12247 .SS zip.keep-files
12248 .IP "Type:" 6
12249 \f[I]bool\f[]
12250
12251 .IP "Default:" 9
12252 \f[I]false\f[]
12253
12254 .IP "Description:" 4
12255 Keep the actual files after writing them to a ZIP archive.
12256
12257
12258 .SS zip.mode
12259 .IP "Type:" 6
12260 \f[I]string\f[]
12261
12262 .IP "Default:" 9
12263 \f[I]"default"\f[]
12264
12265 .IP "Description:" 4
12266 \f[I]"default"\f[]
12267 Write the central directory file header
12268 once after everything is done or an exception is raised.
12269
12270 \f[I]"safe"\f[]
12271 Update the central directory file header
12272 each time a file is stored in a ZIP archive.
12273
12274 This greatly reduces the chance a ZIP archive gets corrupted in
12275 case the Python interpreter gets shut down unexpectedly
12276 (power outage, SIGKILL) but is also a lot slower.
12277
12278
12279 .SH MISCELLANEOUS OPTIONS
12280 .SS extractor.modules
12281 .IP "Type:" 6
12282 \f[I]list\f[] of \f[I]strings\f[]
12283
12284 .IP "Default:" 9
12285 The \f[I]modules\f[] list in
12286 \f[I]extractor/__init__.py\f[]
12287
12288 .IP "Example:" 4
12289 ["reddit", "danbooru", "mangadex"]
12290
12291 .IP "Description:" 4
12292 List of internal modules to load when searching for a suitable
12293 extractor class. Useful to reduce startup time and memory usage.
12294
12295
12296 .SS extractor.module-sources
12297 .IP "Type:" 6
12298 .br
12299 * \f[I]list\f[] of \f[I]Path\f[] instances
12300 .br
12301 * \f[I]list\f[] of \f[I]object\f[]
12302
12303 .IP "Example:" 4
12304 .. code:: json
12305
12306 ["~/.config/gallery-dl/modules", null]
12307
12308 .. code:: json
12309
12310 [
12311 {
12312 "from": "~/.config/gallery-dl/modules",
12313 "import": ["custom_module1", "custom_module2"]
12314 },
12315 null
12316 ]
12317
12318
12319 .IP "Description:" 4
12320 List of sources to load (external) extractor modules from.
12321
12322 The following elements are supported:
12323
12324 \f[I]Path\f[]
12325 A path to a directory containing custom extractor modules.
12326 .br
12327 All files in this directory with a \f[I].py\f[] filename extension
12328 .br
12329 will be \f[I]imported\f[]
12330 and searched for extractors, i.e. classes with a \f[I]pattern\f[] attribute.
12331 \f[I]object\f[]
12332 An object describing module
12333 \f[I]imports\f[]
12334 in a specific directory.
12335
12336 The following keys are required:
12337
12338 \f[I]from\f[]
12339 A \f[I]Path\f[] to the directory the modules are located in.
12340 .br
12341 This directory will be available on the module search path (\f[I]sys.path\f[]) during import.
12342 .br
12343 \f[I]ìmport\f[]
12344 A \f[I]list\f[] of \f[I]strings\f[] of filenames to import.
12345 .br
12346 The names must be given without \f[I].py\f[] extension.
12347 .br
12348 \f[I]null\f[]
12349 Internal extractors defined in
12350 \f[I]extractor/__init__.py\f[]
12351 or by \f[I]extractor.modules\f[].
12352
12353
12354 .SS extractor.category-map
12355 .IP "Type:" 6
12356 .br
12357 * \f[I]object\f[] (category → category)
12358 .br
12359 * \f[I]string\f[]
12360
12361 .IP "Example:" 4
12362 .. code:: json
12363
12364 {
12365 "danbooru": "booru",
12366 "gelbooru": "booru"
12367 }
12368
12369 .IP "Description:" 4
12370 A JSON object mapping category names to their replacements.
12371
12372 .IP "Special Values:" 4
12373 .br
12374 * \f[I]"compat"\f[]
12375 .. code:: json
12376
12377 {
12378 "coomer" : "coomerparty",
12379 "kemono" : "kemonoparty",
12380 "turbo" : "saint",
12381 "schalenetwork": "koharu",
12382 "naver-chzzk" : "chzzk",
12383 "naver-blog" : "naver",
12384 "naver-webtoon": "naverwebtoon",
12385 "pixiv-novel" : "pixiv",
12386 "pixiv-novel:novel" : ["pixiv", "novel"],
12387 "pixiv-novel:user" : ["pixiv", "novel-user"],
12388 "pixiv-novel:series" : ["pixiv", "novel-series"],
12389 "pixiv-novel:bookmark": ["pixiv", "novel-bookmark"]
12390 }
12391
12392
12393 .SS extractor.config-map
12394 .IP "Type:" 6
12395 \f[I]object\f[] (category → category)
12396
12397 .IP "Default:" 9
12398 .. code:: json
12399
12400 {
12401 "coomerparty" : "coomer",
12402 "kemonoparty" : "kemono",
12403 "giantessbooru": "sizebooru",
12404 "koharu" : "schalenetwork",
12405 "chzzk" : "naver-chzzk",
12406 "naver" : "naver-blog",
12407 "naverwebtoon" : "naver-webtoon",
12408 "pixiv" : "pixiv-novel",
12409 "saint" : "turbo"
12410 }
12411
12412 .IP "Description:" 4
12413 Duplicate the configuration settings of extractor categories
12414 to other names.
12415
12416 For example, a \f[I]"naver": "naver-blog"\f[] key-value pair will make all
12417 \f[I]naver\f[] config settings available for \f[I]naver-blog\f[] extractors as well.
12418
12419
12420 .SS jinja.environment
12421 .IP "Type:" 6
12422 \f[I]object\f[] (name → value)
12423
12424 .IP "Example:" 4
12425 .. code:: json
12426
12427 {
12428 "variable_start_string": "(((",
12429 "variable_end_string" : ")))",
12430 "keep_trailing_newline": true
12431 }
12432
12433 .IP "Description:" 4
12434 Initialization parameters for the \f[I]jinja\f[]
12435 \f[I]Environment\f[]
12436 object.
12437
12438
12439 .SS jinja.policies
12440 .IP "Type:" 6
12441 \f[I]object\f[] (name → value)
12442
12443 .IP "Example:" 4
12444 .. code:: json
12445
12446 {
12447 "urlize.rel": "nofollow noopener",
12448 "ext.i18n.trimmed": true
12449 }
12450
12451 .IP "Description:" 4
12452 \f[I]jinja\f[]
12453 \f[I]Policies\f[]
12454
12455
12456 .SS jinja.filters
12457 .IP "Type:" 6
12458 \f[I]Module\f[]
12459
12460 .IP "Description:" 4
12461 A Python \f[I]Module\f[] containing custom \f[I]jinja\f[]
12462 \f[I]filters\f[]
12463
12464
12465 .SS jinja.tests
12466 .IP "Type:" 6
12467 \f[I]Module\f[]
12468
12469 .IP "Description:" 4
12470 A Python \f[I]Module\f[] containing custom \f[I]jinja\f[]
12471 \f[I]tests\f[]
12472
12473
12474 .SS globals
12475 .IP "Type:" 6
12476 \f[I]Module\f[]
12477
12478 .IP "Description:" 4
12479 A Python \f[I]Module\f[] whose namespace,
12480 in addition to the \f[I]GLOBALS\f[] dict in
12481 \f[I]util.py\f[],
12482 is used as \f[I]globals parameter\f[] for compiled Expressions_.
12483
12484
12485 .SS cache.file
12486 .IP "Type:" 6
12487 \f[I]Path\f[]
12488
12489 .IP "Default:" 9
12490 .br
12491 * (\f[I]%APPDATA%\f[] or \f[I]"~"\f[]) + \f[I]"/gallery-dl/cache.sqlite3"\f[] on Windows
12492 .br
12493 * (\f[I]$XDG_CACHE_HOME\f[] or \f[I]"~/.cache"\f[]) + \f[I]"/gallery-dl/cache.sqlite3"\f[] on all other platforms
12494
12495 .IP "Description:" 4
12496 Path of the SQLite3 database used to cache login sessions,
12497 cookies and API tokens across gallery-dl invocations.
12498
12499 Set this option to \f[I]":memory:"\f[], \f[I]null\f[], or an invalid path
12500 to disable creating a file for this cache.
12501
12502
12503 .SS filters-environment
12504 .IP "Type:" 6
12505 .br
12506 * \f[I]bool\f[]
12507 .br
12508 * \f[I]string\f[]
12509
12510 .IP "Default:" 9
12511 \f[I]true\f[]
12512
12513 .IP "Description:" 4
12514 Evaluate \f[I]Expressions\f[] in a special environment
12515 preventing them from raising fatal exceptions.
12516
12517 \f[I]true\f[] \f[I] \f[I]"tryexcept"\f[]
12518 Wrap expressions in a try/except block;
12519 Evaluate expressions raising an exception as \f[I]false\f[]
12520 \f[I]false\f[] \f[] \f[I]"raw"\f[]
12521 Do not wrap expressions in a special environment
12522 \f[I]"defaultdict"\f[]
12523 Prevent exceptions when accessing undefined variables
12524 by using a \f[I]defaultdict\f[]
12525
12526
12527 .SS format-operator-dot
12528 .IP "Type:" 6
12529 \f[I]bool\f[]
12530
12531 .IP "Default:" 9
12532 \f[I]true\f[]
12533
12534 .IP "Description:" 4
12535 In standard \f[I]Format Strings\f[], allow the dot operator \f[I].\f[]
12536 to function as a general access operator
12537 in addition to regular attribute access.
12538
12539 .br
12540 * \f[I]obj.attribute\f[]
12541 .br
12542 * \f[I]dict.fieldname\f[]
12543 .br
12544 * \f[I]list.123\f[]
12545
12546
12547 .SS format-separator
12548 .IP "Type:" 6
12549 \f[I]string\f[]
12550
12551 .IP "Default:" 9
12552 \f[I]"/"\f[]
12553
12554 .IP "Description:" 4
12555 Character(s) used as argument separator in \f[I]Format String\f[]
12556 \f[I]format specifiers\f[].
12557
12558 For example, setting this option to \f[I]"#"\f[] would allow a replacement
12559 operation to be \f[I]Rold#new#\f[] instead of the default \f[I]Rold/new/\f[]
12560
12561
12562 .SS input-files
12563 .IP "Type:" 6
12564 \f[I]list\f[] of \f[I]Path\f[]
12565
12566 .IP "Example:" 4
12567 ["~/urls.txt", "$HOME/input"]
12568
12569 .IP "Description:" 4
12570 Additional input files.
12571
12572
12573 .SS signals-ignore
12574 .IP "Type:" 6
12575 \f[I]list\f[] of \f[I]strings\f[]
12576
12577 .IP "Example:" 4
12578 ["SIGTTOU", "SIGTTIN", "SIGTERM"]
12579
12580 .IP "Description:" 4
12581 The list of signal names to ignore, i.e. set
12582 \f[I]SIG_IGN\f[]
12583 as signal handler for.
12584
12585
12586 .SS signals-actions
12587 .IP "Type:" 6
12588 \f[I]object\f[] (signal → \f[I]Action(s)\f[])
12589
12590 .IP "Example:" 4
12591 .. code:: json
12592
12593 {
12594 "SIGINT" : "flag download = stop",
12595 "SIGUSR1": [
12596 "print Received SIGUSR1",
12597 "exec notify.sh",
12598 "exit 127"
12599 ]
12600 }
12601
12602 .IP "Description:" 4
12603 \f[I]Action(s)\f[] to perform when a
12604 \f[I]signal\f[]
12605 is received.
12606
12607
12608 .SS subconfigs
12609 .IP "Type:" 6
12610 \f[I]list\f[] of \f[I]Path\f[]
12611
12612 .IP "Example:" 4
12613 ["~/cfg-twitter.json", "~/cfg-reddit.json"]
12614
12615 .IP "Description:" 4
12616 Additional configuration files to load.
12617
12618
12619 .SS warnings
12620 .IP "Type:" 6
12621 \f[I]string\f[]
12622
12623 .IP "Default:" 9
12624 \f[I]"default"\f[]
12625
12626 .IP "Description:" 4
12627 The \f[I]Warnings Filter action\f[]
12628 used for (urllib3) warnings.
12629
12630
12631 .SS server.host
12632 .IP "Type:" 6
12633 \f[I]string\f[]
12634
12635 .IP "Default:" 9
12636 \f[I]"127.0.0.1"\f[]
12637
12638 .IP "Description:" 4
12639 Host to bind the server/socket to.
12640
12641
12642 .SS server.port
12643 .IP "Type:" 6
12644 \f[I]int\f[]
12645
12646 .IP "Default:" 9
12647 \f[I]64696\f[]
12648
12649 .IP "Description:" 4
12650 Port to bind the server/socket to.
12651
12652
12653 .SS server.key
12654 .IP "Type:" 6
12655 \f[I]string\f[]
12656
12657 .IP "Default:" 9
12658 \f[I]"gallery_dl"\f[]
12659
12660 .IP "Description:" 4
12661 A string that is added to the front of each request to differentiate and
12662 avoid random requests sent to the listener from the gallery_dl specific ones.
12663
12664
12665 .SS server.enabled
12666 .IP "Type:" 6
12667 \f[I]bool\f[]
12668
12669 .IP "Default:" 9
12670 \f[I]false\f[]
12671
12672 .IP "Description:" 4
12673 Send input URLs to a gallery-dl server queue.
12674
12675
12676 .SS server.timeout
12677 .IP "Type:" 6
12678 \f[I]int\f[]
12679
12680 .IP "Default:" 9
12681 \f[I]10\f[]
12682
12683 .IP "Description:" 4
12684 Sets maximum timeout before queue ends and turns off the server if
12685 queue is empty. If set to -1, then the server will run forever.
12686
12687
12688 .SH API TOKENS & IDS
12689 .SS extractor.deviantart.client-id & .client-secret
12690 .IP "Type:" 6
12691 \f[I]string\f[]
12692
12693 .IP "How To:" 4
12694 .br
12695 * login and visit DeviantArt's
12696 \f[I]Applications & Keys\f[]
12697 section
12698 .br
12699 * click "Register Application"
12700 .br
12701 * scroll to "OAuth2 Redirect URI Whitelist (Required)"
12702 and enter "https://mikf.github.io/gallery-dl/oauth-redirect.html"
12703 .br
12704 * scroll to the bottom and agree to the API License Agreement.
12705 Submission Policy, and Terms of Service.
12706 .br
12707 * click "Save"
12708 .br
12709 * copy \f[I]client_id\f[] and \f[I]client_secret\f[] of your new
12710 application and put them in your configuration file
12711 as \f[I]"client-id"\f[] and \f[I]"client-secret"\f[]
12712 .br
12713 * clear your \f[I]cache\f[] to delete any remaining
12714 \f[I]access-token\f[] entries. (\f[I]gallery-dl --clear-cache deviantart\f[])
12715 .br
12716 * get a new \f[I]refresh-token\f[] for the
12717 new \f[I]client-id\f[] (\f[I]gallery-dl oauth:deviantart\f[])
12718
12719
12720 .SS extractor.flickr.api-key & .api-secret
12721 .IP "Type:" 6
12722 \f[I]string\f[]
12723
12724 .IP "How To:" 4
12725 .br
12726 * login and \f[I]Create an App\f[]
12727 in Flickr's \f[I]App Garden\f[]
12728 .br
12729 * click "APPLY FOR A NON-COMMERCIAL KEY"
12730 .br
12731 * fill out the form with a random name and description
12732 and click "SUBMIT"
12733 .br
12734 * copy \f[I]Key\f[] and \f[I]Secret\f[] and put them in your configuration file
12735 as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[]
12736
12737
12738 .SS extractor.mangadex.client-id & .client-secret
12739 .IP "Type:" 6
12740 \f[I]string\f[]
12741
12742 .IP "How To:" 4
12743 .br
12744 * login and go to your \f[I]User Settings\f[]
12745 .br
12746 * open the "API Clients" section
12747 .br
12748 * click "\f[I]+ Create\f[]"
12749 .br
12750 * choose a name
12751 .br
12752 * click "\f[I]✔️ Create\f[]"
12753 .br
12754 * wait for approval / reload the page
12755 .br
12756 * copy the value after "AUTOAPPROVED ACTIVE" in the form "personal-client-..."
12757 and put it in your configuration file as \f[I]"client-id"\f[]
12758 .br
12759 * click "\f[I]Get Secret\f[]", then "\f[I]Copy Secret\f[]",
12760 and paste it into your configuration file as \f[I]"client-secret"\f[]
12761
12762
12763 .SS extractor.reddit.client-id & .user-agent-oauth
12764 .IP "Type:" 6
12765 \f[I]string\f[]
12766
12767 .IP "How To:" 4
12768 .br
12769 * login and visit the \f[I]apps\f[]
12770 section of your account's preferences
12771 .br
12772 * click the "are you a developer? create an app..." button
12773 .br
12774 * fill out the form:
12775
12776 .br
12777 * choose a name
12778 .br
12779 * select "installed app"
12780 .br
12781 * set "redirect uri" to http://localhost:6414/
12782 .br
12783 * solve the "I'm not a robot" challenge if needed
12784 .br
12785 * click "create app"
12786
12787 .br
12788 * copy the client id (third line, under your application's name and
12789 "installed app") and put it in your configuration file
12790 as \f[I]"client-id"\f[]
12791 .br
12792 * use "\f[I]Python:<application name>:v1.0 (by /u/<username>)\f[]" as
12793 \f[I]user-agent-oauth\f[] and replace \f[I]<application name>\f[] and \f[I]<username>\f[]
12794 accordingly (see Reddit's
12795 \f[I]API access rules\f[])
12796 .br
12797 * clear your \f[I]cache\f[] to delete any remaining
12798 \f[I]access-token\f[] entries. (\f[I]gallery-dl --clear-cache reddit\f[])
12799 .br
12800 * get a \f[I]refresh-token\f[] for the
12801 new \f[I]client-id\f[] (\f[I]gallery-dl oauth:reddit\f[])
12802
12803
12804 .SS extractor.smugmug.api-key & .api-secret
12805 .IP "Type:" 6
12806 \f[I]string\f[]
12807
12808 .IP "How To:" 4
12809 .br
12810 * login and \f[I]Apply for an API Key\f[]
12811 .br
12812 * fill out the form:
12813
12814 .br
12815 * choose a random name and description
12816 .br
12817 * set "Type" to "Application"
12818 .br
12819 * set "Platform" to "All"
12820 .br
12821 * set "Use" to "Non-Commercial"
12822 .br
12823 * tick the two checkboxes at the bottom
12824 .br
12825 * click "Apply"
12826
12827 .br
12828 * copy \f[I]API Key\f[] and \f[I]API Secret\f[]
12829 and put them in your configuration file
12830 as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[]
12831
12832
12833 .SS extractor.tumblr.api-key & .api-secret
12834 .IP "Type:" 6
12835 \f[I]string\f[]
12836
12837 .IP "How To:" 4
12838 .br
12839 * login and visit Tumblr's
12840 \f[I]Applications\f[] section
12841 .br
12842 * click "Register application"
12843 .br
12844 * fill out the form:
12845
12846 .br
12847 * choose a random name and description
12848 .br
12849 * set "Application Website" to https://example.org/
12850 .br
12851 * set "Default callback URL" to https://example.org/
12852 .br
12853 * solve the "I'm not a robot" challenge
12854 .br
12855 * click "Register"
12856
12857 .br
12858 * click "Show secret key" (below "OAuth Consumer Key")
12859 .br
12860 * copy your \f[I]OAuth Consumer Key\f[] and \f[I]Secret Key\f[]
12861 and put them in your configuration file
12862 as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[]
12863
12864
12865 .SH CUSTOM TYPES
12866 .SS Date
12867 .IP "Type:" 6
12868 .br
12869 * \f[I]string\f[]
12870 .br
12871 * \f[I]integer\f[]
12872
12873 .IP "Example:" 4
12874 .br
12875 * "2019-01-01"
12876 .br
12877 * "2019-01-01 03:00:00"
12878 .br
12879 * "2019-03-08T12:30:00Z"
12880 .br
12881 * 1546297200
12882
12883 .IP "Description:" 4
12884 A \f[I]Date\f[] value represents a specific point in time.
12885
12886 .br
12887 * If given as \f[I]string\f[], it is parsed according to \f[I]ISO 8601\f[].
12888 .br
12889 * If given as \f[I]integer\f[], it is interpreted as UTC timestamp.
12890
12891
12892 .SS Duration
12893 .IP "Type:" 6
12894 .br
12895 * \f[I]float\f[]
12896 .br
12897 * \f[I]list\f[] with 2 \f[I]floats\f[]
12898 .br
12899 * \f[I]string\f[]
12900
12901 .IP "Example:" 4
12902 .br
12903 * 2.85
12904 .br
12905 * [1.5, 3.0]
12906 .br
12907 * "2.85", "1.5-3.0"
12908
12909 .IP "Description:" 4
12910 A \f[I]Duration\f[] represents a span of time in seconds.
12911
12912 .br
12913 * If given as a single \f[I]float\f[], it will be used as that exact value.
12914 .br
12915 * If given as a \f[I]list\f[] with 2 floating-point numbers \f[I]a\f[] & \f[I]b\f[] ,
12916 it will be randomly chosen with uniform distribution such that \f[I]a <= N <= b\f[].
12917 (see \f[I]random.uniform()\f[])
12918 .br
12919 * If given as a \f[I]string\f[], it can either represent a single \f[I]float\f[]
12920 value (\f[I]"2.85"\f[]) or a range (\f[I]"1.5-3.0"\f[]).
12921
12922
12923 .SS Duration+
12924 .IP "Type:" 6
12925 .br
12926 * \f[I]Duration\f[]
12927 .br
12928 * \f[I]string\f[]
12929
12930 .IP "Example:" 4
12931 .br
12932 * "1.5-3.0"
12933 .br
12934 * "lin=5"
12935 .br
12936 * "lin:20=30-60"
12937 .br
12938 * "exp:1.8=40"
12939
12940 .IP "Description:" 4
12941 A \f[I]Duration\f[] value.
12942
12943 When given as \f[I]string\f[], it can optionally be prefixed with
12944 \f[I]lin[:START[:MAX]]=\f[] for linear or
12945 \f[I]exp[:BASE[:START[:MAX]]]=\f[] for exponential growth.
12946
12947
12948 .SS Module
12949 .IP "Type:" 6
12950 .br
12951 * \f[I]string\f[]
12952 .br
12953 * \f[I]Path\f[]
12954
12955 .IP "Example:" 4
12956 .br
12957 * "gdl_utils"
12958 .br
12959 * "~/.local/share/gdl/"
12960 .br
12961 * "~/.local/share/gdl_utils.py"
12962
12963 .IP "Description:" 4
12964 A Python
12965 \f[I]Module\f[]
12966
12967 This can be one of
12968
12969 .br
12970 * the name of an
12971 \f[I]importable\f[]
12972 Python module
12973 .br
12974 * the \f[I]Path\f[] to a Python
12975 \f[I]package\f[]
12976 .br
12977 * the \f[I]Path\f[] to a .py file
12978
12979 See
12980 \f[I]Python/Modules\f[]
12981 for details.
12982
12983
12984 .SS Path
12985 .IP "Type:" 6
12986 \f[I]string\f[]
12987
12988 .IP "Example:" 4
12989 .br
12990 * "file.ext"
12991 .br
12992 * "~/path/to/file.ext"
12993 .br
12994 * "$HOME/path/to/file.ext"
12995 .br
12996 * "C:\\\\path\\\\to\\\\file.ext"
12997
12998 .IP "Description:" 4
12999 A \f[I]Path\f[] is a \f[I]string\f[] representing the location
13000 of a file or directory.
13001
13002 Simple \f[I]tilde expansion\f[]
13003 and \f[I]environment variable expansion\f[]
13004 is supported.
13005
13006 .IP "Note:" 4
13007 In Windows environments,
13008 both backslashes \f[I]\\\f[] as well as forward slashes \f[I]/\f[]
13009 can be used as path separators.
13010
13011 However, since backslashes are JSON's escape character,
13012 they themselves must be escaped as \f[I]\\\\\f[].
13013
13014 For example, a path like \f[I]C:\\path\\to\\file.ext\f[] has to be specified as
13015
13016 .br
13017 * \f[I]"C:\\\\path\\\\to\\\\file.ext"\f[] when using backslashes
13018 .br
13019 * \f[I]"C:/path/to/file.ext"\f[] when using forward slashes
13020
13021 in a JSON file.
13022
13023
13024 .SS Path+
13025 .IP "Type:" 6
13026 .br
13027 * \f[I]Path\f[]
13028 .br
13029 * \f[I]list\f[] of \f[I]Format Strings\f[]
13030
13031 .IP "Example:" 4
13032 .br
13033 * "file.ext"
13034 .br
13035 * [":b", "{category}", "{user}.sqlite3"]
13036 .br
13037 * [":~", "gdl", "{category}", "{user}.sqlite3"]
13038 .br
13039 * [":$HOME", "gdl", "{category}", "{user}.sqlite3"]
13040 .br
13041 * ["/opt", "archives", "{category}", "{user}.sqlite3"]
13042 .br
13043 * ["C:", "archives", "{category}", "{user}.sqlite3"]
13044 .br
13045 * ["\\\\\\\\server\\\\archives", "{category}", "{user}.sqlite3"]
13046
13047 .IP "Description:" 4
13048 A \f[I]Path\f[] that supports
13049 \f[I]path-restricted\f[]
13050 \f[I]Format String\f[] expansion
13051 when given as a \f[I]list\f[] of \f[I]string\f[] values.
13052
13053 Use a string starting with \f[I]:\f[] as first list element
13054 to prefix the path with one of the following:
13055
13056 \f[I]":"\f[] \f[I] \f[I]":b"\f[] \f[] \f[I]":base"\f[]
13057 \f[I]base-directory\f[]
13058 \f[I]":d"\f[] \f[I] \f[I]":dir"\f[]
13059 \f[I]base-directory\f[] +
13060 \f[I]directory\f[]
13061 \f[I]":~"\f[] \f[] \f[I]":~USER"\f[]
13062 home directory
13063 (\f[I]os.path.expanduser\f[])
13064 \f[I]":$ENV"\f[] (\f[I]$\f[] + environment variable name)
13065 value of environment variable
13066
13067 Use \f[I]<drive-letter>:\f[] or \f[I]\\\\\f[] on Windows
13068 or \f[I]/\f[] on other platforms
13069 as starting characters of the first list element
13070 to interpret this as an absolute path.
13071
13072 Otherwise it is interpreted as a path
13073 relative to the current working directory.
13074
13075
13076 .SS Logging Configuration
13077 .IP "Type:" 6
13078 \f[I]object\f[]
13079
13080 .IP "Example:" 4
13081 .. code:: json
13082
13083 {
13084 "format" : "{asctime} {name}: {message}",
13085 "format-date": "%H:%M:%S",
13086 "path" : "~/log.txt",
13087 "encoding" : "ascii",
13088 "defer" : true
13089 }
13090
13091 .. code:: json
13092
13093 {
13094 "level" : "debug",
13095 "format": {
13096 "debug" : "debug: {message}",
13097 "info" : "[{name}] {message}",
13098 "warning": "Warning: {message}",
13099 "error" : "ERROR: {message}"
13100 }
13101 }
13102
13103
13104 .IP "Description:" 4
13105 Extended logging output configuration.
13106
13107 .br
13108 * format
13109 .br
13110 * General \f[I]Format String\f[] for logging messages
13111 or an \f[I]object\f[] with \f[I]Format Strings\f[] for each loglevel.
13112
13113 In addition to the default
13114 \f[I]LogRecord attributes\f[],
13115 it is also possible to access the current
13116 \f[I]extractor\f[],
13117 \f[I]job\f[],
13118 \f[I]path\f[],
13119 and keywords objects and their attributes, for example
13120 \f[I]"{extractor.url}"\f[], \f[I]"{path.filename}"\f[], \f[I]"{keywords.title}"\f[]
13121 .br
13122 * Default:
13123 \f[I]"[{name}][{levelname}] {message}"\f[] for
13124 \f[I]logfile\f[],
13125 \f[I]"{message}"\f[] for
13126 \f[I]unsupportedfile\f[] and
13127 \f[I]errorfile\f[]
13128 .br
13129 * format-date
13130 .br
13131 * Format string for \f[I]{asctime}\f[] fields in logging messages
13132 (see \f[I]strftime() directives\f[])
13133 .br
13134 * Default: \f[I]"%Y-%m-%d %H:%M:%S"\f[]
13135 .br
13136 * level
13137 .br
13138 * Minimum logging message level
13139 (one of \f[I]"debug"\f[], \f[I]"info"\f[], \f[I]"warning"\f[], \f[I]"error"\f[], \f[I]"exception"\f[])
13140 .br
13141 * Default: \f[I]"info"\f[]
13142 .br
13143 * path
13144 .br
13145 * \f[I]Path\f[] to the output file
13146 .br
13147 * mode
13148 .br
13149 * Mode in which the file is opened;
13150 use \f[I]"w"\f[] to truncate or \f[I]"a"\f[] to append
13151 (see \f[I]open()\f[])
13152 .br
13153 * Default:
13154 \f[I]"w"\f[] for
13155 \f[I]logfile\f[] and
13156 \f[I]unsupportedfile\f[],
13157 \f[I]"a"\f[] for
13158 \f[I]errorfile\f[]
13159 .br
13160 * encoding
13161 .br
13162 * File encoding
13163 .br
13164 * Default: \f[I]"utf-8"\f[]
13165 .br
13166 * defer
13167 .br
13168 * Defer file opening/creation until writing the first logging message
13169 .br
13170 * Default:
13171 \f[I]false\f[] for
13172 \f[I]logfile\f[],
13173 \f[I]true\f[] for
13174 \f[I]unsupportedfile\f[] and
13175 \f[I]errorfile\f[]
13176
13177
13178 .IP "Note:" 4
13179 path, mode, encoding, and defer
13180 are only applied when configuring logging output to a file.
13181 (See \f[I]logging.FileHandler\f[])
13182
13183
13184 .SS Postprocessor Configuration
13185 .IP "Type:" 6
13186 \f[I]object\f[]
13187
13188 .IP "Example:" 4
13189 .. code:: json
13190
13191 { "name": "mtime" }
13192
13193 .. code:: json
13194
13195 {
13196 "name" : "metadata/print@prepare",
13197 "format": "{id}: {date}"
13198 }
13199
13200 .. code:: json
13201
13202 {
13203 "name" : "zip",
13204 "compression": "store",
13205 "extension" : "cbz",
13206 "filter" : "extension not in ('zip', 'rar')",
13207 "whitelist" : ["mangadex", "exhentai", "nhentai"]
13208 }
13209
13210 .IP "Description:" 4
13211 An \f[I]object\f[] containing a \f[I]"name"\f[] attribute specifying the
13212 post-processor type, as well as any of its \f[I]options\f[].
13213
13214 .br
13215 * It is possible to set a \f[I]"filter"\f[] \f[I]Condition\f[] similar to
13216 \f[I]file-filter\f[]
13217 to only run a post-processor conditionally.
13218
13219 .br
13220 * It is possible set a \f[I]"whitelist"\f[] or \f[I]"blacklist"\f[] to
13221 only enable or disable a post-processor for the specified
13222 extractor categories.
13223
13224 .br
13225 * It is possible to specify a post-processor's \f[I]mode\f[] & \f[I]event\f[]
13226 as part of its \f[I]name\f[] by adding \f[I]/MODE\f[] & \f[I]@EVENT\f[].
13227 For example
13228
13229 .br
13230 * \f[I]"name": "metadata/jsonl@post"\f[]
13231 .br
13232 * \f[I]"name": "ugoira/archive"\f[]
13233 .br
13234 * \f[I]"name": "exec@error"\f[]
13235
13236 .br
13237 * It is possible to inherit options from a post-processor preset defined
13238 in the global \f[I]postprocessor\f[] block by using \f[I]"type": "NAME"\f[].
13239 For example
13240
13241 .. code:: json
13242
13243 {
13244 "extractor": {
13245 "postprocessors": {
13246 "#": "inherit from 'jl' preset",
13247 "type": "jl",
13248 "filename": "meta.jsonl"
13249 }
13250 },
13251
13252 "postprocessor": {
13253 "jl": {
13254 "name": "metadata/jsonl",
13255 "open": "a"
13256 }
13257 }
13258 }
13259
13260 .IP "Available Post-Processor Types:" 4
13261 \f[I]actions\f[]
13262 Perform \f[I]Action(s)\f[]
13263 \f[I]classify\f[]
13264 Categorize files by filename extension
13265 \f[I]compare\f[]
13266 Compare versions of the same file and replace/enumerate them on mismatch
13267 .br
13268 (requires \f[I]downloader.*.part\f[] = \f[I]true\f[] and \f[I]extractor.*.skip\f[] = \f[I]false\f[])
13269 .br
13270 \f[I]directory\f[]
13271 Reevaluate \f[I]directory\f[] \f[I]Format Strings\f[]
13272 \f[I]exec\f[]
13273 Execute external commands
13274 \f[I]hash\f[]
13275 Compute file hash digests
13276 \f[I]metadata\f[]
13277 Write metadata to separate files
13278 \f[I]mtime\f[]
13279 Set file modification time according to its metadata
13280 \f[I]python\f[]
13281 Call Python functions
13282 \f[I]rename\f[]
13283 Rename previously downloaded files
13284 \f[I]ugoira\f[]
13285 Convert Pixiv Ugoira to WebM using \f[I]ffmpeg\f[]
13286 \f[I]zip\f[]
13287 Store files in a ZIP archive
13288
13289
13290 .SS Action
13291 .IP "Type:" 6
13292 \f[I]string\f[]
13293
13294 .IP "Example:" 4
13295 .br
13296 * "exit"
13297 .br
13298 * "print Hello World"
13299 .br
13300 * "raise AbortExtraction an error occured"
13301 .br
13302 * "flag file = terminate"
13303 .br
13304 * "keyword title Hello World"
13305 .br
13306 * ["print Exiting", "exit 1"]
13307
13308 .IP "Description:" 4
13309 An \f[I]Action\f[] is parsed as Action Type
13310 followed by (optional) arguments:
13311 \f[I]<type> <arg1> <arg2> …\f[]
13312
13313 It is possible to specify more than one \f[I]action\f[]
13314 by providing them as a \f[I]list\f[]: \f[I]["<action1>", "<action2>", …]\f[]
13315
13316 Supported Action Types:
13317
13318 \f[I]status\f[]:
13319 Modify job exit status.
13320 .br
13321 Expected syntax is \f[I]<operator> <value>\f[] (e.g. \f[I]= 100\f[]).
13322 .br
13323
13324 Supported operators are
13325 \f[I]=\f[] (assignment),
13326 \f[I]&\f[] (bitwise AND),
13327 \f[I]|\f[] (bitwise OR),
13328 \f[I]^\f[] (bitwise XOR).
13329 \f[I]level\f[]:
13330 Modify severity level of the current logging message.
13331 .br
13332 Can be one of \f[I]debug\f[], \f[I]info\f[], \f[I]warning\f[], \f[I]error\f[] or an integer value.
13333 .br
13334 Use \f[I]0\f[] to ignore a message (\f[I]level = 0\f[]).
13335 .br
13336 \f[I]print\f[]:
13337 Write argument to stdout.
13338 \f[I]exec\f[]:
13339 Run a shell command.
13340 \f[I]abort\f[]:
13341 Stop the current extractor run.
13342 \f[I]terminate\f[]:
13343 Stop the current extractor run, including parent extractors.
13344 \f[I]restart\f[]:
13345 Restart the current extractor run.
13346 \f[I]raise\f[]:
13347 Raise an exception.
13348
13349 This can be an exception defined in
13350 \f[I]exception.py\f[]
13351 or a
13352 \f[I]built-in exception\f[]
13353 (e.g. \f[I]ZeroDivisionError\f[])
13354 \f[I]flag\f[]:
13355 Set a \f[I]flag\f[].
13356
13357 Expected syntax is \f[I]<flag>[ = <value>]\f[] (e.g. \f[I]post = stop\f[])
13358 .br
13359 \f[I]<flag>\f[] can be one of \f[I]file\f[], \f[I]post\f[], \f[I]child\f[], \f[I]download\f[], \f[I]clear\f[]
13360 .br
13361 \f[I]<value>\f[] can be one of \f[I]stop\f[], \f[I]abort\f[], \f[I]terminate\f[], \f[I]restart\f[], \f[I]skip\f[], \f[I]pause\f[], \f[I]toggle\f[], \f[I]clear\f[] (default \f[I]stop\f[])
13362 .br
13363 \f[I]keyword\f[]:
13364 Set a \f[I]keyword\f[] value
13365 \f[I]wait\f[]:
13366 Sleep for a given \f[I]Duration\f[] or
13367 .br
13368 wait until Enter is pressed when no argument was given.
13369 .br
13370 \f[I]exit\f[]:
13371 Exit the program with the given argument as exit status.
13372
13373
13374 .SS Expression
13375 .IP "Type:" 6
13376 \f[I]string\f[]
13377
13378 .IP "Example:" 4
13379 .br
13380 * "1 + 2 + 3"
13381 .br
13382 * "str(id) + '_' + title"
13383 .br
13384 * "' - '.join(tags[:3]) if tags else 'no tags'"
13385
13386 .IP "Description:" 4
13387 A Python \f[I]Expression\f[] is a combination of
13388 values, variables, operators, and function calls
13389 that evaluate to a single value.
13390
13391 .IP "Reference:" 4
13392 .br
13393 * https://docs.python.org/3/reference/expressions.html
13394
13395
13396 .SS Condition
13397 .IP "Type:" 6
13398 .br
13399 * \f[I]Expression\f[]
13400 .br
13401 * \f[I]list\f[] of \f[I]Expressions\f[]
13402
13403 .IP "Example:" 4
13404 .br
13405 * "not is_watching"
13406 .br
13407 * "locals().get('optional')"
13408 .br
13409 * "date >= datetime(2025, 7, 1) or abort()"
13410 .br
13411 * ["width > 800", "0.9 < width/height < 1.1"]
13412
13413 .IP "Description:" 4
13414 A \f[I]Condition\f[] is an \f[I]Expression\f[]
13415 whose result is evaluated as a \f[I]type-bool\f[] value.
13416
13417
13418 .SS Format String
13419 .IP "Type:" 6
13420 \f[I]string\f[]
13421
13422 .IP "Example:" 4
13423 .br
13424 * "foo"
13425 .br
13426 * "{username}"
13427 .br
13428 * "{title} ({id}).{extension}"
13429 .br
13430 * "\\fF {title.title()} ({num:>0{len(str(count))}} / {count}).{extension}"
13431
13432 .IP "Description:" 4
13433 A \f[I]Format String\f[] allows creating dynamic text
13434 by embedding metadata values directly into replacement fields
13435 marked by curly braces \f[I]{...}\f[].
13436
13437 .IP "Reference:" 4
13438 .br
13439 * \f[I]docs/formatting\f[]
13440 .br
13441 * https://docs.python.org/3/library/string.html#formatstrings
13442 .br
13443 * https://docs.python.org/3/library/string.html#formatspec
13444
13445
13446
13447 .SH BUGS
13448 https://codeberg.org/mikf/gallery-dl/issues
13449 https://github.com/mikf/gallery-dl/issues
13450
13451 .SH AUTHORS
13452 Mike Fährmann <[email protected]>
13453 .br
13454 and https://github.com/mikf/gallery-dl/graphs/contributors
13455
13456 .SH "SEE ALSO"
13457 .BR gallery-dl (1)