Debian Codegraph @

data/man/gallery-dl.conf.5

raw
1 .TH "GALLERY-DL.CONF" "5" "2026-09-27" "1.32.14" "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.*.async
229 .IP "Type:" 6
230 .br
231 * \f[I]bool\f[]
232 .br
233 * \f[I]integer\f[]
234
235 .IP "Default:" 9
236 \f[I]true\f[]
237 \f[I]imgbox\f[] \f[I]
238 \f[I]khinsider\f[] \f[]
239 \f[I][Nijie]\f[]
240 \f[I]false\f[]
241 otherwise
242
243 .IP "Description:" 4
244 Run data extraction in an asynchronous background thread.
245
246 Use an \f[I]integer\f[] value to control the \f[I]maxsize\f[] argument of the underlying
247 \f[I]message queue\f[].
248
249
250 .SS extractor.*.children
251 .IP "Type:" 6
252 \f[I]bool\f[]
253
254 .IP "Default:" 9
255 \f[I]true\f[]
256
257 .IP "Description:" 4
258 Allow spawning child extractors.
259
260
261 .SS extractor.*.parent
262 .IP "Type:" 6
263 \f[I]bool\f[]
264
265 .IP "Default:" 9
266 \f[I]true\f[]
267 \f[I][chevereto]\f[] \f[I]
268 \f[I]erome\f[] \f[]
269 \f[I][imagehost]\f[] |
270 \f[I]urlgalleries\f[]
271 \f[I]false\f[]
272 otherwise
273
274 .IP "Description:" 4
275 Mark an extractor as a parent and enable
276
277 .br
278 * \f[I]parent-directory\f[]
279 .br
280 * \f[I]parent-metadata \f[]
281 .br
282 * \f[I]parent-session \f[]
283 .br
284 * \f[I]parent-skip \f[]
285
286 for it by default.
287
288
289 .SS extractor.*.parent-directory
290 .IP "Type:" 6
291 \f[I]bool\f[]
292
293 .IP "Default:" 9
294 \f[I]extractor.parent\f[]
295
296 .IP "Description:" 4
297 Use an extractor's current target directory as
298 \f[I]base-directory\f[] for any spawned child extractors.
299
300
301 .SS extractor.*.parent-metadata
302 .IP "Type:" 6
303 .br
304 * \f[I]bool\f[]
305 .br
306 * \f[I]string\f[]
307
308 .IP "Default:" 9
309 \f[I]true\f[]
310 \f[I]extractor.parent\f[]
311 \f[I]"_parent"\f[]
312 otherwise
313
314 .IP "Description:" 4
315 Forward a parent's metadata to its child extractors.
316
317 If this is a \f[I]string\f[], add a parent's metadata to its children's
318 .br
319 to a field named after said string.
320 For example with \f[I]"parent-metadata": "_p_"\f[]:
321 .br
322
323 .. code:: json
324
325 {
326 "id": "child-id",
327 "_p_": {"id": "parent-id"}
328 }
329
330
331 .SS extractor.*.parent-session
332 .IP "Type:" 6
333 \f[I]bool\f[]
334
335 .IP "Default:" 9
336 \f[I]extractor.parent\f[]
337
338 .IP "Description:" 4
339 Share a parent's
340 \f[I]session\f[]
341 with its child extractors, including
342 \f[I]cookies\f[],
343 \f[I]headers\f[],
344 and other networking settings.
345
346
347 .SS extractor.*.parent-skip
348 .IP "Type:" 6
349 \f[I]bool\f[]
350
351 .IP "Default:" 9
352 \f[I]extractor.parent\f[]
353
354 .IP "Description:" 4
355 Share number of skipped downloads between parent and child extractors.
356
357
358 .SS extractor.*.path-restrict
359 .IP "Type:" 6
360 .br
361 * \f[I]string\f[]
362 .br
363 * \f[I]object\f[] (character → replacement character(s))
364
365 .IP "Default:" 9
366 \f[I]"auto"\f[]
367
368 .IP "Example:" 4
369 .br
370 * "/!? (){}"
371 .br
372 * {"/": "_", "+": "_+_", "({[": "(", "]})": ")", "a-z": "*"}
373
374 .IP "Description:" 4
375 A \f[I]string\f[] of characters to be replaced with the value of
376 .br
377 \f[I]path-replace\f[]
378 or an \f[I]object\f[] mapping invalid/unwanted characters, character sets,
379 .br
380 or character ranges to their replacements
381 for generated path segment names.
382 .br
383
384 .IP "Special Values:" 4
385 \f[I]"auto"\f[]
386 Use characters from \f[I]"unix"\f[] or \f[I]"windows"\f[]
387 depending on the local operating system
388 \f[I]"unix"\f[]
389 \f[I]"/"\f[]
390 \f[I]"windows"\f[]
391 \f[I]"\\\\\\\\\f[I]/<>:\\"?*"\f[]
392 .br
393 (https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file)
394 .br
395 \f[I]"windows+"\f[]
396 \f[I]{"\\\\": "⧹", "\f[]": "|", "/": "⧸", "<": "<", ">": ">", ":": ":", "\\"": """, "?": "?", "*": "*"}\f[]
397 .br
398 (replace characters not allowed by Windows with Unicode alternatives)
399 .br
400 \f[I]"ascii"\f[]
401 \f[I]"^0-9A-Za-z_."\f[]
402 .br
403 (only ASCII digits, letters, underscores, and dots)
404 .br
405 \f[I]"ascii+"\f[]
406 \f[I]"^0-9@-[\\\\]-{ #-)+-.;=!}~"\f[]
407 .br
408 (all ASCII characters except the ones not allowed by Windows)
409 .br
410
411 .IP "Implementation Detail:" 4
412 For \f[I]strings\f[] with length >= 2, this option uses a
413 \f[I]Regular Expression Character Set\f[],
414 meaning that:
415
416 .br
417 * Using a caret \f[I]^\f[] as first character inverts the set
418 (\f[I]"^..."\f[])
419 .br
420 * Character ranges are supported
421 (\f[I]"0-9a-z"\f[])
422 .br
423 * \f[I]]\f[], \f[I]-\f[], and \f[I]\\\f[] need to be escaped as
424 \f[I]\\\\]\f[], \f[I]\\\\-\f[], and \f[I]\\\\\\\\\f[] respectively
425 to use them as literal characters
426
427
428 .SS extractor.*.path-replace
429 .IP "Type:" 6
430 \f[I]string\f[]
431
432 .IP "Default:" 9
433 \f[I]"_"\f[]
434
435 .IP "Description:" 4
436 The replacement character(s) for
437 \f[I]path-restrict\f[]
438
439
440 .SS extractor.*.path-remove
441 .IP "Type:" 6
442 \f[I]string\f[]
443
444 .IP "Default:" 9
445 \f[I]"\\u0000-\\u001f\\u007f"\f[] (ASCII control characters)
446
447 .IP "Description:" 4
448 Set of characters to remove from generated path names.
449
450 .IP "Note:" 4
451 In a string with 2 or more characters, \f[I][]^-\\\f[] need to be
452 escaped with backslashes, e.g. \f[I]"\\\\[\\\\]"\f[]
453
454
455 .SS extractor.*.path-strip
456 .IP "Type:" 6
457 \f[I]string\f[]
458
459 .IP "Default:" 9
460 \f[I]"auto"\f[]
461
462 .IP "Description:" 4
463 Set of characters to remove from the end of generated path segment names
464 using \f[I]str.rstrip()\f[]
465
466 .IP "Special Values:" 4
467 \f[I]"auto"\f[]
468 Use characters from \f[I]"unix"\f[] or \f[I]"windows"\f[]
469 depending on the local operating system
470 \f[I]"unix"\f[]
471 \f[I]""\f[]
472 \f[I]"windows"\f[]
473 \f[I]". "\f[]
474
475
476 .SS extractor.*.path-sub
477 .IP "Type:" 6
478 \f[I]object\f[] (name → replacement)
479
480 .IP "Example:" 4
481 .. code:: json
482
483 {
484 "." : "[dot]",
485 ".." : "[dotdot]",
486 "foo": "bar"
487 }
488
489 .IP "Description:" 4
490 Substitute generated path segment names with the given alternative.
491
492
493 .SS extractor.*.path-convert
494 .IP "Type:" 6
495 \f[I]Conversion(s)\f[]
496
497 .IP "Example:" 4
498 .br
499 * "g"
500 .br
501 * "Wl"
502
503 .IP "Description:" 4
504 \f[I]Conversion(s)\f[] to apply to each path segment after
505 \f[I]path-restrict\f[]
506 replacements.
507
508
509 .SS extractor.*.path-extended
510 .IP "Type:" 6
511 \f[I]bool\f[]
512
513 .IP "Default:" 9
514 \f[I]true\f[]
515
516 .IP "Description:" 4
517 On Windows, use \f[I]extended-length paths\f[]
518 prefixed with \f[I]\\\\?\\\f[] to work around the 260 characters path length limit.
519
520
521 .SS extractor.*.extension-map
522 .IP "Type:" 6
523 \f[I]object\f[] (extension → replacement)
524
525 .IP "Default:" 9
526 .. code:: json
527
528 {
529 "jpeg": "jpg",
530 "jpe" : "jpg",
531 "jfif": "jpg",
532 "jif" : "jpg",
533 "jfi" : "jpg",
534 "html": "htm"
535 }
536
537 .IP "Description:" 4
538 A JSON \f[I]object\f[] mapping filename extensions to their replacements.
539
540
541 .SS extractor.*.skip
542 .IP "Type:" 6
543 .br
544 * \f[I]bool\f[]
545 .br
546 * \f[I]string\f[]
547
548 .IP "Default:" 9
549 \f[I]true\f[]
550
551 .IP "Example:" 4
552 .br
553 * "abort:5"
554 .br
555 * "abort:5:2"
556 .br
557 * "abort:5:manga"
558 .br
559 * "terminate:3"
560
561 .IP "Description:" 4
562 Controls the behavior when downloading files that have been
563 downloaded before, i.e. a file with the same filename already
564 exists or its ID is in a \f[I]download archive\f[].
565
566 \f[I]true\f[]
567 Skip downloads
568 \f[I]false\f[]
569 Overwrite already existing files
570
571 \f[I]"abort"\f[]
572 Stop the current extractor
573 \f[I]"abort:N"\f[]
574 Skip downloads and
575 stop the current extractor after \f[I]N\f[] consecutive skips
576 \f[I]"abort:N:L"\f[]
577 Skip downloads and
578 .br
579 stop the current extractor after \f[I]N\f[] consecutive skips
580 Ascend \f[I]L\f[] levels in the extractor hierarchy
581 .br
582 \f[I]"abort:N:SC"\f[]
583 Skip downloads and
584 .br
585 stop the current extractor after \f[I]N\f[] consecutive skips
586 Ascend to an extractor with subcategory \f[I]SC\f[] in the extractor hierarchy
587 .br
588
589 \f[I]"terminate"\f[]
590 Stop the current extractor, including parent extractors
591 \f[I]"terminate:N"\f[]
592 Skip downloads and
593 stop the current extractor, including parent extractors,
594 after \f[I]N\f[] consecutive skips
595
596 \f[I]"exit"\f[]
597 Exit the program altogether
598 \f[I]"exit:N"\f[]
599 Skip downloads and
600 exit the program after \f[I]N\f[] consecutive skips
601
602 \f[I]"enumerate"\f[]
603 Add an enumeration index to the beginning of the
604 filename extension (\f[I]file.1.ext\f[], \f[I]file.2.ext\f[], etc.)
605
606
607 .SS extractor.*.skip-filter
608 .IP "Type:" 6
609 \f[I]Condition\f[]
610
611 .IP "Description:" 4
612 Python \f[I]Expression\f[] controlling which skipped files to count towards
613 \f[I]"abort"\f[] / \f[I]"terminate"\f[] / \f[I]"exit"\f[].
614
615
616 .SS extractor.*.sleep
617 .IP "Type:" 6
618 \f[I]Duration\f[]
619
620 .IP "Default:" 9
621 \f[I]5.0\f[]
622 \f[I]animepictures\f[]
623 \f[I]0\f[]
624 otherwise
625
626 .IP "Description:" 4
627 Number of seconds to sleep before each download.
628
629
630 .SS extractor.*.sleep-skip
631 .IP "Type:" 6
632 \f[I]Duration\f[]
633
634 .IP "Default:" 9
635 \f[I]0\f[]
636
637 .IP "Description:" 4
638 Number of seconds to sleep after
639 \f[I]skipping\f[]
640 a file download.
641
642
643 .SS extractor.*.sleep-extractor
644 .IP "Type:" 6
645 \f[I]Duration\f[]
646
647 .IP "Default:" 9
648 \f[I]0\f[]
649
650 .IP "Description:" 4
651 Number of seconds to sleep before handling an input URL,
652 i.e. before starting a new extractor.
653
654
655 .SS extractor.*.sleep-retries
656 .IP "Type:" 6
657 \f[I]Duration+\f[]
658
659 .IP "Default:" 9
660 \f[I]"lin=1"\f[]
661
662 .IP "Example:" 4
663 .br
664 * "30-50"
665 .br
666 * "exp=40"
667 .br
668 * "lin:20=30-60"
669
670 .IP "Description:" 4
671 Number of seconds to sleep before
672 \f[I]retrying\f[]
673 an HTTP request.
674
675 If this is a \f[I]string\f[], its \f[I]Duration\f[] value can be prefixed with
676 \f[I]lin[:START[:MAX]]\f[] for linear or
677 \f[I]exp[:BASE[:START[:MAX]]]\f[] for exponential growth.
678
679 .IP "Note:" 4
680 \f[I]lin\f[] and \f[I]exp\f[] can be any starting characters of
681 .br
682 \f[I]linear\f[] and \f[I]exponential\f[].
683 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[].
684 .br
685
686
687 .SS extractor.*.sleep-429
688 .IP "Type:" 6
689 \f[I]Duration+\f[]
690
691 .IP "Default:" 9
692 \f[I]60\f[]
693
694 .IP "Example:" 4
695 .br
696 * "30-50"
697 .br
698 * "e=40"
699 .br
700 * "linear:20=30-60"
701
702 .IP "Description:" 4
703 Number of seconds to sleep when receiving a
704 \f[I]429 Too Many Requests\f[]
705 response before \f[I]retrying\f[] the request.
706
707 If this is a \f[I]string\f[], its \f[I]Duration\f[] value can be prefixed with
708 \f[I]lin[:START[:MAX]]\f[] for linear or
709 \f[I]exp[:BASE[:START[:MAX]]]\f[] for exponential backoff.
710
711
712 .SS extractor.*.sleep-request
713 .IP "Type:" 6
714 \f[I]Duration\f[]
715
716 .IP "Default:" 9
717 \f[I]"0.5-1.5"\f[]
718 \f[I]ao3\f[] \f[I]
719 \f[I]arcalive\f[] \f[]
720 \f[I]artfight\f[] \f[I]
721 \f[I]booth\f[] \f[]
722 \f[I]civitai\f[] \f[I]
723 \f[I][Danbooru]\f[] \f[]
724 \f[I][E621]\f[] \f[I]
725 \f[I][foolfuuka]:search\f[] \f[]
726 \f[I]hdoujin\f[] \f[I]
727 \f[I]itaku\f[] \f[]
728 \f[I][manganelo]\f[] \f[I]
729 \f[I]newgrounds\f[] \f[]
730 \f[I][nitter]\f[] \f[I]
731 \f[I][philomena]\f[] \f[]
732 \f[I]pixiv-novel\f[] \f[I]
733 \f[I]plurk\f[] \f[]
734 \f[I]poipiku\f[] \f[I]
735 \f[I]pornpics\f[] \f[]
736 \f[I]schalenetwork\f[] \f[I]
737 \f[I]scrolller\f[] \f[]
738 \f[I]sizebooru\f[] \f[I]
739 \f[I]sofurry\f[] \f[]
740 \f[I]soundgasm\f[] \f[I]
741 \f[I]thehentaiworld\f[] \f[]
742 \f[I]urlgalleries\f[] \f[I]
743 \f[I]vk\f[] \f[]
744 \f[I]webtoons\f[] \f[I]
745 \f[I]weebcentral\f[] \f[]
746 \f[I]xfolio\f[] \f[I]
747 \f[I]zerochan\f[]
748 \f[I]"1.0"\f[]
749 \f[I]animepictures\f[] \f[]
750 \f[I]furaffinity\f[] \f[I]
751 \f[I]pawchive\f[] \f[]
752 \f[I]rule34\f[]
753 \f[I]"1.0-2.0"\f[]
754 \f[I]flickr\f[] \f[I]
755 \f[I]pexels\f[] \f[]
756 \f[I]weibo\f[] \f[I]
757 \f[I][wikimedia]\f[]
758 \f[I]"1.4"\f[]
759 \f[I]wallhaven\f[]
760 \f[I]"2.0-4.0"\f[]
761 \f[I]behance\f[] \f[]
762 \f[I]imagefap\f[] \f[I]
763 \f[I][Nijie]\f[]
764 \f[I]"3.0-6.0"\f[]
765 \f[I]bilibili\f[] \f[]
766 \f[I]exhentai\f[] |
767 \f[I][reactor]\f[]
768 \f[I]"6.0-6.1"\f[]
769 \f[I]twibooru\f[]
770 \f[I]"6.0-12.0"\f[]
771 \f[I]instagram\f[]
772 \f[I]0\f[]
773 otherwise
774
775 .IP "Description:" 4
776 Minimal time interval in seconds between each HTTP request
777 during data extraction.
778
779
780 .SS extractor.*.username & .password
781 .IP "Type:" 6
782 \f[I]string\f[]
783
784 .IP "Default:" 9
785 \f[I]null\f[]
786
787 .IP "Description:" 4
788 The username and password to use when attempting to log in to
789 another site.
790
791 This is supported for
792
793 .br
794 * \f[I]aibooru\f[] (\f[I]*\f[])
795 .br
796 * \f[I]ao3\f[]
797 .br
798 * \f[I]aryion\f[]
799 .br
800 * \f[I]atfbooru\f[] (\f[I]*\f[])
801 .br
802 * \f[I]bluesky\f[]
803 .br
804 * \f[I]booruvar\f[] (\f[I]*\f[])
805 .br
806 * \f[I]coomer\f[]
807 .br
808 * \f[I]danbooru\f[] (\f[I]*\f[])
809 .br
810 * \f[I]deviantart\f[]
811 .br
812 * \f[I]e621\f[] (\f[I]*\f[])
813 .br
814 * \f[I]e6ai\f[] (\f[I]*\f[])
815 .br
816 * \f[I]e926\f[] (\f[I]*\f[])
817 .br
818 * \f[I]exhentai\f[]
819 .br
820 * \f[I]girlswithmuscle\f[]
821 .br
822 * \f[I]horne\f[] (\f[I]R\f[])
823 .br
824 * \f[I]idolcomplex\f[]
825 .br
826 * \f[I]imgbb\f[]
827 .br
828 * \f[I]inkbunny\f[]
829 .br
830 * \f[I]iwara\f[]
831 .br
832 * \f[I]kemono\f[]
833 .br
834 * \f[I]madokami\f[] (\f[I]R\f[])
835 .br
836 * \f[I]mangadex\f[]
837 .br
838 * \f[I]mangoxo\f[]
839 .br
840 * \f[I]newgrounds\f[]
841 .br
842 * \f[I]nijie\f[] (\f[I]R\f[])
843 .br
844 * \f[I]nudostarforum\f[]
845 .br
846 * \f[I]pawchive\f[]
847 .br
848 * \f[I]pillowfort\f[]
849 .br
850 * \f[I]poipiku\f[]
851 .br
852 * \f[I]rule34world\f[]
853 .br
854 * \f[I]rule34xyz\f[]
855 .br
856 * \f[I]sankaku\f[]
857 .br
858 * \f[I]scrolller\f[]
859 .br
860 * \f[I]seiga\f[]
861 .br
862 * \f[I]simpcity\f[]
863 .br
864 * \f[I]subscribestar\f[]
865 .br
866 * \f[I]tapas\f[]
867 .br
868 * \f[I]vipergirls\f[]
869 .br
870 * \f[I]zerochan\f[]
871
872 These values can also be specified via the
873 \f[I]-u/--username\f[] and \f[I]-p/--password\f[] command-line options or
874 by using a \f[I].netrc\f[] file. (see Authentication_)
875
876
877 .IP "Note:" 4
878 Leave the \f[I]password\f[] value empty or undefined
879 to be prompted for a password when performing a login
880 (see \f[I]getpass()\f[]).
881
882 .. _pw-apikey:
883
884 (*) The \f[I]password\f[] value for these sites should be
885 the API key found in your user profile, not the actual account password.
886
887 .. _pw-required:
888
889 (R) Login with username & password or
890 supplying authenticated
891 \f[I]cookies\f[]
892 is *required*
893
894
895 .SS extractor.*.init
896 .IP "Type:" 6
897 .br
898 * \f[I]bool\f[]
899 .br
900 * \f[I]string\f[]
901
902 .IP "Default:" 9
903 \f[I]false\f[]
904
905 .IP "Description:" 4
906 Controls when to initialize extractor internals.
907 .br
908 (
909 .br
910 \f[I]postprocessors\f[],
911 \f[I]archives\f[],
912 path-* options, etc
913 )
914
915 \f[I]true\f[]
916 Initialize everything immediately upon extractor start
917 \f[I]false\f[] | \f[I]"lazy"\f[]
918 Initialize data structures when processing the first \f[I]post\f[]
919 or not at all when an extractor never yields a \f[I]post\f[].
920
921
922 .SS extractor.*.input
923 .IP "Type:" 6
924 \f[I]bool\f[]
925
926 .IP "Default:" 9
927 \f[I]true\f[] if stdin is attached to a terminal,
928 \f[I]false\f[] otherwise
929
930 .IP "Description:" 4
931 Allow prompting the user for interactive input.
932
933
934 .SS extractor.*.netrc
935 .IP "Type:" 6
936 \f[I]bool\f[]
937
938 .IP "Default:" 9
939 \f[I]false\f[]
940
941 .IP "Description:" 4
942 Enable the use of \f[I].netrc\f[] authentication data.
943
944
945 .SS extractor.*.cookies
946 .IP "Type:" 6
947 .br
948 * \f[I]Path\f[]
949 .br
950 * \f[I]object\f[] (name → value)
951 .br
952 * \f[I]list\f[]
953
954 .IP "Description:" 4
955 Source to read additional cookies from. This can be
956
957 .br
958 * The \f[I]Path\f[] to a Mozilla/Netscape format cookies.txt file
959
960 .. code:: json
961
962 "~/.local/share/cookies-instagram-com.txt"
963
964 .br
965 * An \f[I]object\f[] specifying cookies as name-value pairs
966
967 .. code:: json
968
969 {
970 "cookie-name": "cookie-value",
971 "sessionid" : "14313336321%3AsabDFvuASDnlpb%3A31",
972 "isAdult" : "1"
973 }
974
975 .br
976 * A \f[I]list\f[] with up to 5 entries specifying a browser profile.
977
978 .br
979 * The first entry is the browser name
980 .br
981 * The optional second entry is a profile name or an absolute path to a profile directory
982 .br
983 * The optional third entry is the keyring to retrieve passwords for decrypting cookies from
984 .br
985 * The optional fourth entry is a (Firefox) container name (\f[I]"none"\f[] for only cookies with no container (default))
986 .br
987 * The optional fifth entry is the domain to extract cookies for. Prefix it with a dot \f[I].\f[] to include cookies for subdomains.
988
989 .. code:: json
990
991 ["firefox"]
992 ["firefox", null, null, "Personal"]
993 ["chromium", "Private", "kwallet", null, ".twitter.com"]
994
995
996 .SS extractor.*.cookies-select
997 .IP "Type:" 6
998 \f[I]string\f[]
999
1000 .IP "Default:" 9
1001 \f[I]null\f[]
1002
1003 .IP "Description:" 4
1004 Interpret \f[I]extractor.cookies\f[]
1005 as a list of cookie sources and select one of them for each extractor run.
1006
1007 .. code:: json
1008
1009 [
1010 "~/.local/share/cookies-instagram-com-1.txt",
1011 "~/.local/share/cookies-instagram-com-2.txt",
1012 "~/.local/share/cookies-instagram-com-3.txt",
1013 ["firefox", null, null, "c1", ".instagram-com"],
1014 ]
1015
1016
1017 .IP "Supported Values:" 4
1018 \f[I]"random"\f[]
1019 Select cookies \f[I]randomly\f[].
1020 \f[I]"rotate"\f[]
1021 Select cookies in sequence. Start over from the beginning after reaching the end of the list.
1022
1023
1024 .SS extractor.*.cookies-update
1025 .IP "Type:" 6
1026 .br
1027 * \f[I]bool\f[]
1028 .br
1029 * \f[I]Path\f[]
1030
1031 .IP "Default:" 9
1032 \f[I]true\f[]
1033
1034 .IP "Description:" 4
1035 Export session cookies in cookies.txt format.
1036
1037 .br
1038 * If this is a \f[I]Path\f[], write cookies to the given file path.
1039
1040 .br
1041 * If this is \f[I]true\f[] and \f[I]extractor.*.cookies\f[] specifies the \f[I]Path\f[]
1042 of a valid cookies.txt file, update its contents.
1043
1044
1045 .SS extractor.*.proxy
1046 .IP "Type:" 6
1047 .br
1048 * \f[I]string\f[]
1049 .br
1050 * \f[I]object\f[] (scheme → proxy)
1051
1052 .IP "Example:" 4
1053 .. code:: json
1054
1055 "http://10.10.1.10:3128"
1056
1057 .. code:: json
1058
1059 {
1060 "http" : "http://10.10.1.10:3128",
1061 "https": "http://10.10.1.10:1080",
1062 "http://10.20.1.128": "http://10.10.1.10:5323"
1063 }
1064
1065
1066 .IP "Description:" 4
1067 Proxy (or proxies) to be used for remote connections.
1068
1069 .br
1070 * If this is a \f[I]string\f[], it is the proxy URL for all
1071 outgoing requests.
1072 .br
1073 * If this is an \f[I]object\f[], it is a scheme-to-proxy mapping to
1074 specify different proxy URLs for each scheme.
1075 It is also possible to set a proxy for a specific host by using
1076 \f[I]scheme://host\f[] as key.
1077 See \f[I]Requests' proxy documentation\f[] for more details.
1078
1079 .IP "Note:" 4
1080 If a proxy URL does not include a scheme, \f[I]http://\f[] is assumed.
1081
1082
1083 .SS extractor.*.proxy-env
1084 .IP "Type:" 6
1085 \f[I]bool\f[]
1086
1087 .IP "Default:" 9
1088 \f[I]true\f[]
1089
1090 .IP "Description:" 4
1091 Collect proxy configuration information from environment variables
1092 (\f[I]HTTP_PROXY\f[], \f[I]HTTPS_PROXY\f[], \f[I]NO_PROXY\f[])
1093 and Windows Registry settings.
1094
1095
1096 .SS extractor.*.source-address
1097 .IP "Type:" 6
1098 .br
1099 * \f[I]string\f[]
1100 .br
1101 * \f[I]list\f[] with 1 \f[I]string\f[] and 1 \f[I]integer\f[] as elements
1102
1103 .IP "Example:" 4
1104 .br
1105 * "192.168.178.20"
1106 .br
1107 * ["192.168.178.20", 8080]
1108
1109 .IP "Description:" 4
1110 Client-side IP address to bind to.
1111
1112 Can be either a simple \f[I]string\f[] with just the local IP address
1113 .br
1114 or a \f[I]list\f[] with IP and explicit port number as elements.
1115 .br
1116
1117
1118 .SS extractor.*.user-agent
1119 .IP "Type:" 6
1120 \f[I]string\f[]
1121
1122 .IP "Default:" 9
1123 \f[I]"gallery-dl/VERSION"\f[]
1124 .br
1125 * \f[I][Danbooru]\f[]
1126 .br
1127 * \f[I]mangadex\f[]
1128 .br
1129 * \f[I][nitter]\f[]
1130 .br
1131 * \f[I]pawchive\f[]
1132 .br
1133 * \f[I]weasyl\f[]
1134 .br
1135 * \f[I][wikimedia]\f[]
1136 .br
1137 * \f[I]zerochan\f[]
1138 \f[I]"gallery-dl/VERSION (by mikf)"\f[]
1139 .br
1140 * \f[I][E621]\f[]
1141 \f[I]"net.umanle.arca.android.playstore/0.9.75"\f[]
1142 .br
1143 * \f[I]arcalive\f[]
1144 \f[I]"Patreon/126.9.0.15 (Android; Android 14; Scale/2.10)"\f[]
1145 .br
1146 * \f[I]patreon\f[]
1147 \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[]
1148 .br
1149 * \f[I]instagram\f[]
1150 \f[I]"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:LATEST) Gecko/20100101 Firefox/LATEST"\f[]
1151 .br
1152 * otherwise
1153
1154 .IP "Example:" 4
1155 .br
1156 * "curl/8.14.1"
1157 .br
1158 * "browser"
1159 .br
1160 * "+chrome"
1161 .br
1162 * "@/opt/ChromeBrowser/bin/chrome"
1163
1164 .IP "Description:" 4
1165 User-Agent header value used for HTTP requests.
1166
1167 Setting this value to \f[I]"browser"\f[] will try to automatically detect
1168 and use the \f[I]User-Agent\f[] header of the system's default browser.
1169
1170 Starting this value with a \f[I]+\f[]
1171 .br
1172 will use the latest \f[I]User-Agent\f[] header of this preset target,
1173 e.g. \f[I]"+ff"\f[].
1174 (Supported values:
1175 .br
1176 \f[I]firefox\f[] \f[I] \f[I]ff\f[] \f[]
1177 \f[I]chrome\f[] \f[I] \f[I]cr\f[] \f[]
1178 \f[I]gallery-dl\f[] \f[I] \f[I]gdl\f[] \f[]
1179 \f[I]google-bot\f[] | \f[I]bot\f[]
1180 )
1181
1182 Starting this value with an \f[I]@\f[]
1183 .br
1184 will try to automatically detect and use the \f[I]User-Agent\f[] header
1185 of this installed browser,
1186 e.g. \f[I]"@C:/Program Files/Zen Browser/zen-browser.exe"\f[].
1187 .br
1188
1189
1190 .SS extractor.*.browser
1191 .IP "Type:" 6
1192 \f[I]string\f[]
1193
1194 .IP "Default:" 9
1195 \f[I]"firefox"\f[]
1196 \f[I]artstation\f[] \f[I]
1197 \f[I]behance\f[] \f[]
1198 \f[I]fanbox\f[] \f[I]
1199 \f[I]simplyhentai\f[] \f[]
1200 \f[I]twitter\f[] \f[I]
1201 \f[I]vsco\f[]
1202 \f[I]"chrome"\f[]
1203 \f[I]comicartfans\f[] \f[]
1204 \f[I]instagram\f[]
1205 \f[I]null\f[]
1206 otherwise
1207
1208 .IP "Example:" 4
1209 .br
1210 * "firefox"
1211 .br
1212 * "firefox/128"
1213 .br
1214 * "chrome:macos"
1215 .br
1216 * "chrome/138:macos"
1217
1218 .IP "Description:" 4
1219 Try to emulate a real browser (\f[I]firefox\f[] or \f[I]chrome\f[])
1220 .br
1221 by using its HTTP headers and TLS ciphers for HTTP requests
1222 .br
1223 by setting specialized defaults for
1224
1225 .br
1226 * \f[I]user-agent\f[]
1227 .br
1228 * \f[I]headers\f[]
1229 .br
1230 * \f[I]ciphers\f[]
1231
1232 Supported browsers:
1233
1234 .br
1235 * \f[I]firefox\f[]
1236 .br
1237 * \f[I]firefox/153\f[]
1238 .br
1239 * \f[I]firefox/140\f[]
1240 .br
1241 * \f[I]firefox/128\f[]
1242 .br
1243 * \f[I]chrome\f[]
1244 .br
1245 * \f[I]chrome/150\f[]
1246 .br
1247 * \f[I]chrome/138\f[]
1248 .br
1249 * \f[I]chrome/111\f[]
1250
1251 The operating system used in the \f[I]User-Agent\f[] header can be
1252 specified after a colon \f[I]:\f[] (\f[I]windows\f[], \f[I]linux\f[], \f[I]macos\f[]),
1253 for example \f[I]chrome:windows\f[].
1254
1255 .IP "Note:" 4
1256 Any value *not* matching a supported browser
1257 will fall back to \f[I]"firefox"\f[].
1258
1259 \f[I]requests\f[] and \f[I]urllib3\f[] only support HTTP/1.1, while a real
1260 browser would use HTTP/2 and HTTP/3.
1261
1262
1263 .SS extractor.*.referer
1264 .IP "Type:" 6
1265 .br
1266 * \f[I]bool\f[]
1267 .br
1268 * \f[I]string\f[]
1269
1270 .IP "Default:" 9
1271 \f[I]false\f[]
1272 \f[I]4archive\f[] \f[I]
1273 \f[I]4chanarchives\f[] \f[]
1274 \f[I]archivedmoe\f[] \f[I]
1275 \f[I]arena\f[] \f[]
1276 \f[I]nsfwalbum\f[] \f[I]
1277 \f[I]pholder\f[] \f[]
1278 \f[I]tumblrgallery\f[]
1279 \f[I]true\f[]
1280 otherwise
1281
1282 .IP "Description:" 4
1283 Send \f[I]Referer\f[]
1284 headers with all outgoing HTTP requests.
1285
1286 If this is a \f[I]string\f[], send it as Referer
1287 instead of the extractor's \f[I]root\f[] domain.
1288
1289
1290 .SS extractor.*.geo-bypass
1291 .IP "Type:" 6
1292 .br
1293 * \f[I]string\f[]
1294 .br
1295 * \f[I]list\f[] of \f[I]string\f[]
1296
1297 .IP "Default:" 9
1298 \f[I]"auto"\f[]
1299
1300 .IP "Example:" 4
1301 .br
1302 * "JP"
1303 .br
1304 * "105.48.0.0/12"
1305 .br
1306 * "JP,CN,105.48.0.0/12"
1307 .br
1308 * ["JP", "CN", "105.48.0.0/12"]
1309
1310 .IP "Description:" 4
1311 Use a random IP as fake
1312 \f[I]X-Forwarded-For\f[]
1313 header to try bypassing geographic restrictions.
1314
1315 Can be either
1316 .br
1317 \f[I]ISO 3166-2\f[]
1318 country codes
1319 or IP blocks in CIDR notation.
1320 .br
1321
1322
1323 .SS extractor.*.headers
1324 .IP "Type:" 6
1325 .br
1326 * \f[I]"string"\f[]
1327 .br
1328 * \f[I]object\f[] (name → value)
1329
1330 .IP "Default:" 9
1331 .. code:: json
1332
1333 {
1334 "User-Agent" : "<extractor.*.user-agent>",
1335 "Accept" : "*/*",
1336 "Accept-Language": "en-US,en;q=0.5",
1337 "Accept-Encoding": "gzip, deflate",
1338 "Referer" : "<extractor.*.referer>"
1339 }
1340
1341
1342 .IP "Description:" 4
1343 Additional \f[I]HTTP headers\f[]
1344 to be sent with each HTTP request,
1345
1346 To disable sending a header, set its value to \f[I]null\f[].
1347
1348 Set this option to \f[I]"firefox"\f[] or \f[I]"chrome"\f[]
1349 to use these browser's default headers.
1350
1351
1352 .SS extractor.*.ciphers
1353 .IP "Type:" 6
1354 .br
1355 * \f[I]string\f[]
1356 .br
1357 * \f[I]list\f[] of \f[I]strings\f[]
1358
1359 .IP "Example:" 4
1360 .br
1361 * "firefox"
1362 .br
1363 * .. code:: json
1364
1365 ["ECDHE-ECDSA-AES128-GCM-SHA256",
1366 "ECDHE-RSA-AES128-GCM-SHA256",
1367 "ECDHE-ECDSA-CHACHA20-POLY1305",
1368 "ECDHE-RSA-CHACHA20-POLY1305"]
1369
1370
1371 .IP "Description:" 4
1372 List of TLS/SSL cipher suites in
1373 \f[I]OpenSSL cipher list format\f[]
1374 to be passed to
1375 \f[I]ssl.SSLContext.set_ciphers()\f[]
1376
1377 Set this option to \f[I]"firefox"\f[] or \f[I]"chrome"\f[]
1378 to use these browser's default ciphers.
1379
1380
1381 .SS extractor.*.tls12
1382 .IP "Type:" 6
1383 \f[I]bool\f[]
1384
1385 .IP "Default:" 9
1386 \f[I]false\f[]
1387 \f[I]artfight\f[] \f[I]
1388 \f[I]artstation\f[] \f[]
1389 \f[I]behance\f[]
1390 \f[I]true\f[]
1391 otherwise
1392
1393 .IP "Description:" 4
1394 Allow selecting TLS 1.2 cipher suites.
1395
1396 Can be disabled to alter TLS fingerprints
1397 and potentially bypass Cloudflare blocks.
1398
1399
1400 .SS extractor.*.keywords
1401 .IP "Type:" 6
1402 \f[I]object\f[] (name → value)
1403
1404 .IP "Example:" 4
1405 {"type": "Pixel Art", "type_id": 123}
1406
1407 .IP "Description:" 4
1408 Additional name-value pairs to be added to each metadata dictionary.
1409
1410
1411 .SS extractor.*.keywords-default
1412 .IP "Type:" 6
1413 any
1414
1415 .IP "Default:" 9
1416 \f[I]"None"\f[]
1417
1418 .IP "Description:" 4
1419 Default value used for missing or undefined keyword names in a
1420 \f[I]Format String\f[].
1421
1422
1423 .SS extractor.*.keywords-eval
1424 .IP "Type:" 6
1425 \f[I]bool\f[]
1426
1427 .IP "Default:" 9
1428 \f[I]false\f[]
1429
1430 .IP "Description:" 4
1431 Evaluate each
1432 \f[I]keywords\f[]
1433 and
1434 \f[I]keywords-global\f[]
1435 \f[I]string\f[] value as a \f[I]Format String\f[].
1436
1437
1438 .SS extractor.*.keywords-global
1439 .IP "Type:" 6
1440 \f[I]object\f[] (name → value)
1441
1442 .IP "Example:" 4
1443 {"type": "Original", "type_id": 1, "type_category": "meta"}
1444
1445 .IP "Description:" 4
1446 Global name-value pairs to be added to each metadata dictionary.
1447
1448 .IP "Note:" 4
1449 Keywords defined here will be overwritten by keywords from
1450 \f[I]extractor.keywords\f[]
1451 with the same name.
1452
1453
1454 .SS extractor.*.metadata-url
1455 .IP "Type:" 6
1456 \f[I]string\f[]
1457
1458 .IP "Default:" 9
1459 \f[I]"_url"\f[]
1460
1461 .IP "Description:" 4
1462 Insert a file's download URL into its metadata dictionary as the given name.
1463
1464 For example, setting this option to \f[I]"gdl_file_url"\f[] will cause a new
1465 metadata field with name \f[I]gdl_file_url\f[] to appear, which contains the
1466 current file's download URL.
1467 This can then be used in \f[I]filenames\f[],
1468 with a \f[I]metadata\f[] post processor, etc.
1469
1470
1471 .SS extractor.*.metadata-path
1472 .IP "Type:" 6
1473 \f[I]string\f[]
1474
1475 .IP "Default:" 9
1476 \f[I]"_path"\f[]
1477
1478 .IP "Description:" 4
1479 Insert a reference to the current
1480 \f[I]PathFormat\f[]
1481 data structure into metadata dictionaries as the given name.
1482
1483 For example, setting this option to \f[I]"gdl_path"\f[] would make it possible
1484 to access the current file's filename as \f[I]"{gdl_path.filename}"\f[].
1485
1486
1487 .SS extractor.*.metadata-extractor
1488 .IP "Type:" 6
1489 \f[I]string\f[]
1490
1491 .IP "Default:" 9
1492 \f[I]"_extr"\f[]
1493
1494 .IP "Description:" 4
1495 Insert a reference to the current
1496 \f[I]Extractor\f[]
1497 object into metadata dictionaries as the given name.
1498
1499
1500 .SS extractor.*.metadata-http
1501 .IP "Type:" 6
1502 \f[I]string\f[]
1503
1504 .IP "Default:" 9
1505 \f[I]null\f[]
1506
1507 .IP "Description:" 4
1508 Insert an \f[I]object\f[] containing a file's HTTP headers and
1509 \f[I]filename\f[], \f[I]extension\f[], and \f[I]date\f[] parsed from them
1510 into metadata dictionaries as the given name.
1511
1512 For example, setting this option to \f[I]"gdl_http"\f[] would make it possible
1513 to access the current file's \f[I]Last-Modified\f[] header as \f[I]"{gdl_http[Last-Modified]}"\f[]
1514 and its parsed form as \f[I]"{gdl_http[date]}"\f[].
1515
1516
1517 .SS extractor.*.metadata-version
1518 .IP "Type:" 6
1519 \f[I]string\f[]
1520
1521 .IP "Default:" 9
1522 \f[I]null\f[]
1523
1524 .IP "Description:" 4
1525 Insert an \f[I]object\f[] containing gallery-dl's version info into
1526 metadata dictionaries as the given name.
1527
1528 The content of the object is as follows:
1529
1530 .. code:: json
1531
1532 {
1533 "version" : "string",
1534 "is_executable" : "bool",
1535 "current_git_head": "string or null"
1536 }
1537
1538
1539 .SS extractor.*.category-transfer
1540 .IP "Type:" 6
1541 \f[I]bool\f[]
1542
1543 .IP "Default:" 9
1544 Extractor-specific
1545
1546 .IP "Description:" 4
1547 Transfer an extractor's (sub)category values to all child
1548 extractors spawned by it, to let them inherit their parent's
1549 config options.
1550
1551
1552 .SS extractor.*.blacklist & .whitelist
1553 .IP "Type:" 6
1554 \f[I]list\f[] of \f[I]strings\f[]
1555
1556 .IP "Default:" 9
1557 \f[I]["oauth", "recursive", "test"]\f[] + current extractor category
1558
1559 .IP "Example:" 4
1560 ["imgur", "redgifs:user", "*:image"]
1561
1562 .IP "Description:" 4
1563 A list of extractor identifiers to ignore (or allow)
1564 when spawning child extractors for unknown URLs,
1565 e.g. from \f[I]reddit\f[] or \f[I]plurk\f[].
1566
1567 Each identifier can be
1568
1569 .br
1570 * A category or basecategory name (\f[I]"imgur"\f[], \f[I]"mastodon"\f[])
1571 .br
1572 * | A (base)category-subcategory pair, where both names are separated by a colon (\f[I]"redgifs:user"\f[]).
1573 Both names can be a * or left empty, matching all possible names (\f[I]"*:image"\f[], \f[I]":user"\f[]).
1574 .br
1575
1576 .IP "Note:" 4
1577 Any \f[I]blacklist\f[] setting will automatically include
1578 \f[I]"oauth"\f[], \f[I]"recursive"\f[], and \f[I]"test"\f[].
1579
1580
1581 .SS extractor.*.tags-blacklist & .tags-whitelist
1582 .IP "Type:" 6
1583 .br
1584 * \f[I]Path\f[]
1585 .br
1586 * \f[I]string\f[]
1587 .br
1588 * \f[I]list\f[] of \f[I]strings\f[]
1589
1590 .IP "Example:" 4
1591 .br
1592 * "/path/to/file.txt"
1593 .br
1594 * "1girl,long_hair, highres,commentary_request"
1595 .br
1596 * "1girl long_hair, highres -commentary_request"
1597 .br
1598 * ["1girl", "long_hair", "highres", "commentary_request"]
1599 .br
1600 * ["1girl long_hair", "highres -commentary_request"]
1601
1602 .IP "Description:" 4
1603 A list of tags to exclude/include for processed posts.
1604
1605 Posts containing a blacklisted tag or *not* containing any whitelisted tag,
1606 .br
1607 including all of their files,
1608 will be ignored and not processed any further.
1609 .br
1610
1611 \f[I]Danbooru Blacklist Rules\f[]
1612 are supported.
1613
1614 This can be
1615
1616 .br
1617 * The \f[I]Path\f[] of a plaintext file
1618 containing black-/whitelisted tag names separated by newlines
1619 .br
1620 * A \f[I]string\f[] with tag names separated by commas (\f[I]"tag1,tag2 tag3,tag4"\f[])
1621 .br
1622 * A \f[I]list\f[] of \f[I]string\f[] tag names (\f[I]["tag1", "tag2 tag3", "tag4"]\f[])
1623
1624 Lines starting with \f[I]#\f[] followed by a space
1625 .br
1626 will be ignored and can be used for comments.
1627 For example
1628 \f[I]# this is a comment\f[]
1629 .br
1630
1631 Using \f[I]"/import"\f[] as value will import and apply
1632 your account's blacklisted tags list. This is supported for
1633
1634 .br
1635 * \f[I][Danbooru]\f[] & \f[I][E621]\f[] instances
1636 (requires \f[I]username & api-key\f[])
1637 .br
1638 * \f[I]sankaku\f[]
1639 (requires \f[I]username & password\f[])
1640 .br
1641 * \f[I]gelbooru\f[] & \f[I][gelbooru_v02]\f[] instances
1642 (requires authenticated \f[I]cookies\f[])
1643
1644
1645 .SS extractor.*.archive
1646 .IP "Type:" 6
1647 .br
1648 * \f[I]string\f[]
1649 .br
1650 * \f[I]Path+\f[]
1651
1652 .IP "Default:" 9
1653 \f[I]null\f[]
1654
1655 .IP "Example:" 4
1656 .br
1657 * "$HOME/.archives/gdl.sqlite3"
1658 .br
1659 * [":~", ".archives", "{category}.sqlite3"]
1660 .br
1661 * "postgresql://user:pass@host/database"
1662
1663 .IP "Description:" 4
1664 File to store IDs of downloaded files in. Downloads of files
1665 already recorded in this archive file will be
1666 \f[I]skipped\f[].
1667
1668 The resulting archive file is not a plain text file but an SQLite3
1669 database, as either lookup operations are significantly faster or
1670 memory requirements are significantly lower when the
1671 amount of stored IDs gets reasonably large.
1672
1673 If this value is a
1674 \f[I]PostgreSQL Connection URI\f[],
1675 the archive will use this PostgreSQL database as backend
1676 (requires \f[I]Psycopg\f[]).
1677
1678 .IP "Note:" 4
1679 Archive files that do not already exist get generated automatically.
1680
1681 To use replacement fields in a path,
1682 .br
1683 specify it as a list of strings (see \f[I]Path+\f[])
1684 (for example \f[I][":~", ".archives", "{category}.sqlite3"]\f[])
1685 .br
1686
1687
1688 .SS extractor.*.archive-event
1689 .IP "Type:" 6
1690 + \f[I]string\f[]
1691 + \f[I]list\f[] of \f[I]strings\f[]
1692
1693 .IP "Default:" 9
1694 \f[I]"file"\f[]
1695
1696 .IP "Example:" 4
1697 .br
1698 * "after,skip"
1699 .br
1700 * ["after", "skip"]
1701
1702 .IP "Description:" 4
1703 \f[I]Event(s)\f[]
1704 for which IDs get written to an
1705 \f[I]archive\f[].
1706
1707 .IP "Available Events:" 4
1708 .br
1709 * \f[I]file\f[]
1710 .br
1711 * \f[I]after\f[]
1712 .br
1713 * \f[I]skip\f[]
1714
1715
1716 .SS extractor.*.archive-format
1717 .IP "Type:" 6
1718 \f[I]Format String\f[]
1719
1720 .IP "Example:" 4
1721 "{id}_{offset}"
1722
1723 .IP "Description:" 4
1724 An alternative \f[I]Format String\f[] to build archive IDs with.
1725
1726
1727 .SS extractor.*.archive-mode
1728 .IP "Type:" 6
1729 \f[I]string\f[]
1730
1731 .IP "Default:" 9
1732 \f[I]"file"\f[]
1733
1734 .IP "Description:" 4
1735 Controls when to write \f[I]archive IDs\f[]
1736 to the archive database.
1737
1738 \f[I]"file"\f[]
1739 Write IDs immediately
1740 after completing or skipping a file download.
1741 \f[I]"memory"\f[]
1742 Keep IDs in memory
1743 and only write them after successful job completion.
1744
1745
1746 .SS extractor.*.archive-prefix
1747 .IP "Type:" 6
1748 \f[I]Format String\f[]
1749
1750 .IP "Default:" 9
1751 .br
1752 * \f[I]""\f[] when \f[I]archive-table\f[] is set
1753 .br
1754 * \f[I]"{category}"\f[] otherwise
1755
1756 .IP "Description:" 4
1757 Prefix for archive IDs.
1758
1759
1760 .SS extractor.*.archive-pragma
1761 .IP "Type:" 6
1762 \f[I]list\f[] of \f[I]strings\f[]
1763
1764 .IP "Example:" 4
1765 ["journal_mode=WAL", "synchronous=NORMAL"]
1766
1767 .IP "Description:" 4
1768 A list of SQLite \f[I]PRAGMA\f[] statements to run during archive initialization.
1769
1770 See \f[I]<https://www.sqlite.org/pragma.html#toc>\f[]
1771 for available \f[I]PRAGMA\f[] statements and further details.
1772
1773
1774 .SS extractor.*.archive-reuse
1775 .IP "Type:" 6
1776 \f[I]bool\f[]
1777
1778 .IP "Default:" 9
1779 \f[I]false\f[]
1780
1781 .IP "Description:" 4
1782 Reuse existing archive database connections.
1783
1784
1785 .SS extractor.*.archive-table
1786 .IP "Type:" 6
1787 \f[I]Format String\f[]
1788
1789 .IP "Default:" 9
1790 \f[I]"archive"\f[]
1791
1792 .IP "Example:" 4
1793 "{category}"
1794
1795 .IP "Description:" 4
1796 \f[I]Format String\f[] selecting the archive database table name.
1797
1798
1799 .SS extractor.*.actions
1800 .IP "Type:" 6
1801 .br
1802 * \f[I]object\f[] (pattern → \f[I]Action(s)\f[])
1803 .br
1804 * \f[I]list\f[] of [pattern, \f[I]Action(s)\f[]] pairs
1805
1806 .IP "Example:" 4
1807 .. code:: json
1808
1809 {
1810 "info:Logging in as .+" : "level = debug",
1811 "warning:(?i)unable to .+": "exit 127",
1812 "error" : [
1813 "status \f[I]= 1",
1814 "exec notify.sh 'gdl error'",
1815 "abort"
1816 ]
1817 }
1818
1819 .. code:: json
1820
1821 [
1822 ["info:Logging in as .+" , "level = debug"],
1823 ["warning:(?i)unable to .+", "exit 127" ],
1824 ["error" , [
1825 "status \f[]= 1",
1826 "exec notify.sh 'gdl error'",
1827 "abort"
1828 ]]
1829 ]
1830
1831
1832 .IP "Description:" 4
1833 Perform an \f[I]Action\f[] when logging a message matched by \f[I]pattern\f[].
1834
1835 \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)
1836 followed by an optional
1837 \f[I]Python Regular Expression\f[]
1838 separated by a colon:
1839 \f[I]<level>:<re>\f[]
1840
1841 Using \f[I]*\f[] as level or leaving it empty
1842 matches logging messages of all levels:
1843 \f[I]*:<re>\f[] or \f[I]:<re>\f[]
1844
1845
1846 .SS extractor.*.postprocessors
1847 .IP "Type:" 6
1848 .br
1849 * \f[I]Postprocessor Configuration\f[] object
1850 .br
1851 * \f[I]list\f[] of \f[I]Postprocessor Configuration\f[] objects
1852
1853 .IP "Example:" 4
1854 .. code:: json
1855
1856 [
1857 {
1858 "name": "zip" ,
1859 "compression": "store"
1860 },
1861 {
1862 "name": "exec",
1863 "command": ["/home/foobar/script", "{category}", "{image_id}"]
1864 }
1865 ]
1866
1867
1868 .IP "Description:" 4
1869 A list of \f[I]post processors\f[]
1870 to be applied to each downloaded file in the specified order.
1871
1872 Unlike other options, a \f[I]postprocessors\f[] setting at a deeper level
1873 .br
1874 does not override any \f[I]postprocessors\f[] setting at a lower level.
1875 Instead, all post processors from all applicable \f[I]postprocessors\f[]
1876 .br
1877 settings get combined into a single list.
1878
1879 For example
1880
1881 .br
1882 * an \f[I]mtime\f[] post processor at \f[I]extractor.postprocessors\f[],
1883 .br
1884 * a \f[I]zip\f[] post processor at \f[I]extractor.pixiv.postprocessors\f[],
1885 .br
1886 * and using \f[I]--exec\f[]
1887
1888 will run all three post processors - \f[I]mtime\f[], \f[I]zip\f[], \f[I]exec\f[] -
1889 for each downloaded \f[I]pixiv\f[] file.
1890
1891
1892 .SS extractor.*.postprocessor-options
1893 .IP "Type:" 6
1894 \f[I]object\f[] (name → value)
1895
1896 .IP "Example:" 4
1897 .. code:: json
1898
1899 {
1900 "archive": null,
1901 "keep-files": true
1902 }
1903
1904
1905 .IP "Description:" 4
1906 Additional \f[I]Postprocessor Options\f[] that get added to each individual
1907 \f[I]post processor object\f[]
1908 before initializing it and evaluating filters.
1909
1910
1911 .SS extractor.*.retries
1912 .IP "Type:" 6
1913 \f[I]integer\f[]
1914
1915 .IP "Default:" 9
1916 \f[I]4\f[]
1917
1918 .IP "Description:" 4
1919 Maximum number of times a failed HTTP request is retried before
1920 giving up, or \f[I]-1\f[] for infinite retries.
1921
1922
1923 .SS extractor.*.retry-codes
1924 .IP "Type:" 6
1925 \f[I]list\f[] of \f[I]integers\f[]
1926
1927 .IP "Example:" 4
1928 [404, 429, 430]
1929
1930 .IP "Description:" 4
1931 Additional \f[I]HTTP response status codes\f[]
1932 to retry an HTTP request on.
1933
1934 \f[I]2xx\f[] codes (success responses) and
1935 \f[I]3xx\f[] codes (redirection messages)
1936 will never be retried and always count as success,
1937 regardless of this option.
1938
1939 \f[I]5xx\f[] codes (server error responses) will always be retried,
1940 regardless of this option.
1941
1942
1943 .SS extractor.*.timeout
1944 .IP "Type:" 6
1945 \f[I]float\f[]
1946
1947 .IP "Default:" 9
1948 \f[I]30.0\f[]
1949
1950 .IP "Description:" 4
1951 Amount of time (in seconds) to wait for a successful connection
1952 and response from a remote server.
1953
1954 This value gets internally used as the \f[I]timeout\f[] parameter for the
1955 \f[I]requests.request()\f[] method.
1956
1957
1958 .SS extractor.*.verify
1959 .IP "Type:" 6
1960 .br
1961 * \f[I]bool\f[]
1962 .br
1963 * \f[I]string\f[]
1964
1965 .IP "Default:" 9
1966 \f[I]true\f[]
1967
1968 .IP "Description:" 4
1969 Controls whether to verify SSL/TLS certificates for HTTPS requests.
1970
1971 If this is a \f[I]string\f[], it must be the path to a CA bundle to use
1972 instead of the default certificates.
1973
1974 This value gets internally used as the \f[I]verify\f[] parameter for the
1975 \f[I]requests.request()\f[] method.
1976
1977
1978 .SS extractor.*.truststore
1979 .IP "Type:" 6
1980 \f[I]bool\f[]
1981
1982 .IP "Default:" 9
1983 \f[I]false\f[]
1984
1985 .IP "Description:" 4
1986 Use a
1987 .br
1988 \f[I]truststore\f[]
1989 \f[I]SSLContext\f[] for verifying SSL/TLS certificates
1990 to make use of your system's native certificate stores
1991 .br
1992 instead of relying on
1993 \f[I]certifi\f[]
1994 certificates.
1995
1996
1997 .SS extractor.*.download
1998 .IP "Type:" 6
1999 \f[I]bool\f[]
2000
2001 .IP "Default:" 9
2002 \f[I]true\f[]
2003
2004 .IP "Description:" 4
2005 Controls whether to download media files.
2006
2007 Setting this to \f[I]false\f[] won't download any files, but all other
2008 functions (\f[I]postprocessors\f[], \f[I]download archive\f[], etc.)
2009 will be executed as normal.
2010
2011
2012 .SS extractor.*.fallback
2013 .IP "Type:" 6
2014 \f[I]bool\f[]
2015
2016 .IP "Default:" 9
2017 \f[I]true\f[]
2018
2019 .IP "Description:" 4
2020 Use fallback download URLs when a download fails.
2021
2022
2023 .SS extractor.*.file-range
2024 .IP "Type:" 6
2025 .br
2026 * \f[I]string\f[]
2027 .br
2028 * \f[I]list\f[] of \f[I]strings\f[]
2029
2030 .IP "Example:" 4
2031 .br
2032 * "10-20"
2033 .br
2034 * "-5, 10, 30-50, 100-"
2035 .br
2036 * "10:21, 30:51:2, :5, 100:"
2037 .br
2038 * ["-5", "10", "30-50", "100-"]
2039
2040 .IP "Description:" 4
2041 Index range(s) selecting which files to download.
2042
2043 These can be specified as
2044
2045 .br
2046 * index: \f[I]3\f[] (file number 3)
2047 .br
2048 * range: \f[I]2-4\f[] (files 2, 3, and 4)
2049 .br
2050 * \f[I]slice\f[]: \f[I]3:8:2\f[] (files 3, 5, and 7)
2051
2052 Arguments for range and slice notation are optional
2053 .br
2054 and will default to begin (\f[I]1\f[]) or end (\f[I]sys.maxsize\f[]) if omitted.
2055 For example \f[I]5-\f[], \f[I]5:\f[], and \f[I]5::\f[] all mean "Start at file number 5".
2056 .br
2057
2058 .IP "Note:" 4
2059 The index of the first file is \f[I]1\f[].
2060
2061
2062 .SS extractor.*.post-range
2063 .IP "Type:" 6
2064 \f[I]string\f[]
2065
2066 .IP "Description:" 4
2067 Like \f[I]file-range\f[],
2068 but for posts.
2069
2070
2071 .SS extractor.*.child-range
2072 .IP "Type:" 6
2073 \f[I]string\f[]
2074
2075 .IP "Description:" 4
2076 Like \f[I]file-range\f[],
2077 but for child extractors handling manga chapters, external URLs, etc.
2078
2079
2080 .SS extractor.*.file-filter
2081 .IP "Type:" 6
2082 .br
2083 * \f[I]Condition\f[]
2084 .br
2085 * \f[I]list\f[] of \f[I]Conditions\f[]
2086
2087 .IP "Example:" 4
2088 .br
2089 * "re.search(r'foo(bar)+', description)"
2090 .br
2091 * ["width >= 1200", "width/height > 1.2"]
2092
2093 .IP "Description:" 4
2094 Python \f[I]Expression\f[] controlling which files to download.
2095
2096 A file only gets downloaded when *all* of the given \f[I]Expressions\f[] evaluate to \f[I]True\f[].
2097
2098 Available values are the filename-specific ones listed by \f[I]-K\f[] or \f[I]-j\f[].
2099
2100
2101 .SS extractor.*.post-filter
2102 .IP "Type:" 6
2103 .br
2104 * \f[I]Condition\f[]
2105 .br
2106 * \f[I]list\f[] of \f[I]Conditions\f[]
2107
2108 .IP "Example:" 4
2109 .br
2110 * "post['id'] > 12345"
2111 .br
2112 * ["date >= datetime(2025, 5, 1)", "print(post_id)"]
2113
2114 .IP "Description:" 4
2115 Like \f[I]file-filter\f[],
2116 but for posts.
2117
2118 Available values are the directory-specific ones listed by \f[I]-K\f[] or \f[I]-j\f[].
2119
2120
2121 .SS extractor.*.child-filter
2122 .IP "Type:" 6
2123 .br
2124 * \f[I]Condition\f[]
2125 .br
2126 * \f[I]list\f[] of \f[I]Conditions\f[]
2127
2128 .IP "Example:" 4
2129 .br
2130 * "lang == 'en'"
2131 .br
2132 * ["language == 'French'", "10 <= chapter < 20"]
2133
2134 .IP "Description:" 4
2135 Like \f[I]file-filter\f[],
2136 but for child extractors handling manga chapters, external URLs, etc.
2137
2138
2139 .SS extractor.*.file-unique
2140 .IP "Type:" 6
2141 \f[I]bool\f[]
2142
2143 .IP "Default:" 9
2144 \f[I]false\f[]
2145
2146 .IP "Description:" 4
2147 Ignore file URLs that have been encountered before during the
2148 current extractor run.
2149
2150
2151 .SS extractor.*.child-unique
2152 .IP "Type:" 6
2153 \f[I]bool\f[]
2154
2155 .IP "Default:" 9
2156 \f[I]false\f[]
2157
2158 .IP "Description:" 4
2159 Like \f[I]file-unique\f[],
2160 but applies to delegated URLs like manga chapters, etc.
2161
2162
2163 .SS extractor.*.date-before
2164 .IP "Type:" 6
2165 \f[I]Date\f[]
2166
2167 .IP "Default:" 9
2168 \f[I]null\f[]
2169
2170 .IP "Example:" 4
2171 .br
2172 * "2025-10-31"
2173 .br
2174 * "2026-01-09 15:30:00"
2175 .br
2176 * "2026-01-09T15:30:00Z"
2177 .br
2178 * 1767972600
2179
2180 .IP "Description:" 4
2181 Process only posts created before this \f[I]Date\f[].
2182
2183 Accepted values are \f[I]ISO 8601\f[] dates and Unix timestamps.
2184
2185
2186 .SS extractor.*.date-after
2187 .IP "Type:" 6
2188 \f[I]Date\f[]
2189
2190 .IP "Default:" 9
2191 \f[I]null\f[]
2192
2193 .IP "Description:" 4
2194 Process only posts created after this \f[I]Date\f[].
2195 .br
2196 Stop extraction when encountering
2197 .br
2198 a post created before or equal to this \f[I]Date\f[].
2199
2200 Accepted values are \f[I]ISO 8601\f[] dates and Unix timestamps.
2201
2202
2203 .SS extractor.*.write-pages
2204 .IP "Type:" 6
2205 .br
2206 * \f[I]bool\f[]
2207 .br
2208 * \f[I]string\f[]
2209
2210 .IP "Default:" 9
2211 \f[I]false\f[]
2212
2213 .IP "Description:" 4
2214 During data extraction,
2215 write received HTTP request data
2216 to enumerated files in the current working directory.
2217
2218 .IP "Special Values:" 4
2219 \f[I]"all"\f[]
2220 Include HTTP request and response headers.
2221 .br
2222 Hide \f[I]Authorization\f[], \f[I]Cookie\f[], and \f[I]Set-Cookie\f[] values.
2223 .br
2224 \f[I]"ALL"\f[]
2225 Include all HTTP request and response headers.
2226
2227
2228 .SH EXTRACTOR-SPECIFIC OPTIONS
2229 .SS extractor.ao3.formats
2230 .IP "Type:" 6
2231 .br
2232 * \f[I]string\f[]
2233 .br
2234 * \f[I]list\f[] of \f[I]strings\f[]
2235
2236 .IP "Default:" 9
2237 \f[I]"pdf"\f[]
2238
2239 .IP "Example:" 4
2240 .br
2241 * "azw3,epub,mobi,pdf,html"
2242 .br
2243 * ["azw3", "epub", "mobi", "pdf", "html"]
2244
2245 .IP "Description:" 4
2246 Format(s) to download.
2247
2248
2249 .SS extractor.arcalive.emoticons
2250 .IP "Type:" 6
2251 \f[I]bool\f[]
2252
2253 .IP "Default:" 9
2254 \f[I]false\f[]
2255
2256 .IP "Description:" 4
2257 Download emoticon images.
2258
2259
2260 .SS extractor.arcalive.gifs
2261 .IP "Type:" 6
2262 .br
2263 * \f[I]bool\f[]
2264 .br
2265 * \f[I]string\f[]
2266
2267 .IP "Default:" 9
2268 \f[I]true\f[]
2269
2270 .IP "Description:" 4
2271 Try to download \f[I].gif\f[] versions of \f[I].mp4\f[] videos.
2272
2273 \f[I]true\f[] | \f[I]"fallback\f[]
2274 Use the \f[I].gif\f[] version as primary URL
2275 and provide the \f[I].mp4\f[] one as
2276 \f[I]fallback\f[].
2277 \f[I]"check"\f[]
2278 Check whether a \f[I].gif\f[] version is available
2279 by sending an extra HEAD request.
2280 \f[I]false\f[]
2281 Always download the \f[I].mp4\f[] version.
2282
2283
2284 .SS extractor.artfight.include
2285 .IP "Type:" 6
2286 .br
2287 * \f[I]string\f[]
2288 .br
2289 * \f[I]list\f[] of \f[I]strings\f[]
2290
2291 .IP "Default:" 9
2292 .br
2293 * \f[I]["characters", "attacks", "defenses"]\f[]
2294
2295 .IP "Description:" 4
2296 A (comma-separated) list of subcategories to include
2297 when processing a user profile.
2298
2299 .IP "Supported Values:" 4
2300 .br
2301 * \f[I]characters\f[]
2302 .br
2303 * \f[I]attacks\f[]
2304 .br
2305 * \f[I]defenses\f[]
2306
2307 .IP "Note:" 4
2308 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
2309
2310
2311 .SS extractor.artstation.external
2312 .IP "Type:" 6
2313 \f[I]bool\f[]
2314
2315 .IP "Default:" 9
2316 \f[I]false\f[]
2317
2318 .IP "Description:" 4
2319 Try to follow external URLs of embedded players.
2320
2321
2322 .SS extractor.artstation.max-posts
2323 .IP "Type:" 6
2324 \f[I]integer\f[]
2325
2326 .IP "Default:" 9
2327 \f[I]null\f[]
2328
2329 .IP "Description:" 4
2330 Limit the number of posts/projects to download.
2331
2332
2333 .SS extractor.artstation.mviews
2334 .IP "Type:" 6
2335 \f[I]bool\f[]
2336
2337 .IP "Default:" 9
2338 \f[I]true\f[]
2339
2340 .IP "Description:" 4
2341 Download \f[I].mview\f[] files.
2342
2343
2344 .SS extractor.artstation.previews
2345 .IP "Type:" 6
2346 \f[I]bool\f[]
2347
2348 .IP "Default:" 9
2349 \f[I]false\f[]
2350
2351 .IP "Description:" 4
2352 Download embed previews.
2353
2354
2355 .SS extractor.artstation.videos
2356 .IP "Type:" 6
2357 \f[I]bool\f[]
2358
2359 .IP "Default:" 9
2360 \f[I]true\f[]
2361
2362 .IP "Description:" 4
2363 Download video clips.
2364
2365
2366 .SS extractor.artstation.search.pro-first
2367 .IP "Type:" 6
2368 \f[I]bool\f[]
2369
2370 .IP "Default:" 9
2371 \f[I]true\f[]
2372
2373 .IP "Description:" 4
2374 Enable the "Show Studio and Pro member artwork first" checkbox
2375 when retrieving search results.
2376
2377
2378 .SS extractor.aryion.recursive
2379 .IP "Type:" 6
2380 \f[I]bool\f[]
2381
2382 .IP "Default:" 9
2383 \f[I]true\f[]
2384
2385 .IP "Description:" 4
2386 Controls the post extraction strategy.
2387
2388 \f[I]true\f[]
2389 Start on users' main gallery pages and
2390 recursively descend into subfolders
2391 \f[I]false\f[]
2392 Get posts from "Latest Updates" pages
2393
2394
2395 .SS extractor.bbc.width
2396 .IP "Type:" 6
2397 \f[I]integer\f[]
2398
2399 .IP "Default:" 9
2400 \f[I]1920\f[]
2401
2402 .IP "Description:" 4
2403 Specifies the requested image width.
2404
2405 This value must be divisble by 16 and gets rounded down otherwise.
2406 The maximum possible value appears to be \f[I]1920\f[].
2407
2408
2409 .SS extractor.behance.modules
2410 .IP "Type:" 6
2411 \f[I]list\f[] of \f[I]strings\f[]
2412
2413 .IP "Default:" 9
2414 \f[I]["image", "video", "mediacollection", "embed"]\f[]
2415
2416 .IP "Description:" 4
2417 Selects which gallery modules to download from.
2418
2419 .IP "Supported Types:" 4
2420 .br
2421 * \f[I]"image"\f[]
2422 .br
2423 * \f[I]"video"\f[]
2424 .br
2425 * \f[I]"mediacollection"\f[]
2426 .br
2427 * \f[I]"embed"\f[]
2428 .br
2429 * \f[I]"text"\f[]
2430
2431
2432 .SS extractor.bellazon.order-posts
2433 .IP "Type:" 6
2434 \f[I]string\f[]
2435
2436 .IP "Default:" 9
2437 \f[I]"desc"\f[]
2438
2439 .IP "Description:" 4
2440 Controls the order in which
2441 posts of a \f[I]thread\f[] are processed.
2442
2443 \f[I]"asc"\f[]
2444 Ascending order (oldest first)
2445 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
2446 Descending order (newest first)
2447
2448
2449 .SS extractor.bellazon.quoted
2450 .IP "Type:" 6
2451 \f[I]bool\f[]
2452
2453 .IP "Default:" 9
2454 \f[I]false\f[]
2455
2456 .IP "Description:" 4
2457 Extract files from quoted content.
2458
2459
2460 .SS extractor.bilibili.livephoto
2461 .IP "Type:" 6
2462 \f[I]bool\f[]
2463
2464 .IP "Default:" 9
2465 \f[I]true\f[]
2466
2467 .IP "Description:" 4
2468 Download \f[I]livephoto\f[] files.
2469
2470
2471 .SS extractor.[blogger].api-key
2472 .IP "Type:" 6
2473 \f[I]string\f[]
2474
2475 .IP "Description:" 4
2476 Custom Blogger API key.
2477
2478 https://developers.google.com/blogger/docs/3.0/using#APIKey
2479
2480
2481 .SS extractor.[blogger].videos
2482 .IP "Type:" 6
2483 \f[I]bool\f[]
2484
2485 .IP "Default:" 9
2486 \f[I]true\f[]
2487
2488 .IP "Description:" 4
2489 Download embedded videos hosted on https://www.blogger.com/
2490
2491
2492 .SS extractor.bluesky.api-server
2493 .IP "Type:" 6
2494 \f[I]string\f[]
2495
2496 .IP "Default:" 9
2497 \f[I]"https://bsky.social"\f[] if a
2498 .br
2499 \f[I]username\f[]
2500 is provided
2501 \f[I]"https://api.bsky.app"\f[] otherwise
2502 .br
2503
2504 .IP "Description:" 4
2505 Server address for API requests.
2506
2507 Can be used when self-hosting a
2508 \f[I]PDS\f[]
2509
2510
2511 .SS extractor.bluesky.include
2512 .IP "Type:" 6
2513 .br
2514 * \f[I]string\f[]
2515 .br
2516 * \f[I]list\f[] of \f[I]strings\f[]
2517
2518 .IP "Default:" 9
2519 .br
2520 * \f[I]"posts"\f[] if
2521 \f[I]reposts\f[] or
2522 \f[I]quoted\f[] is enabled
2523 .br
2524 * \f[I]"media"\f[] otherwise
2525
2526 .IP "Example:" 4
2527 .br
2528 * "avatar,background,posts"
2529 .br
2530 * ["avatar", "background", "posts"]
2531
2532 .IP "Description:" 4
2533 A (comma-separated) list of subcategories to include
2534 when processing a user profile.
2535
2536 .IP "Supported Values:" 4
2537 .br
2538 * \f[I]info\f[]
2539 .br
2540 * \f[I]avatar\f[]
2541 .br
2542 * \f[I]background\f[]
2543 .br
2544 * \f[I]posts\f[]
2545 .br
2546 * \f[I]replies\f[]
2547 .br
2548 * \f[I]media\f[]
2549 .br
2550 * \f[I]video\f[]
2551 .br
2552 * \f[I]likes\f[]
2553
2554 .IP "Note:" 4
2555 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
2556
2557
2558 .SS extractor.bluesky.likes.endpoint
2559 .IP "Type:" 6
2560 \f[I]string\f[]
2561
2562 .IP "Default:" 9
2563 \f[I]"listRecords"\f[]
2564
2565 .IP "Description:" 4
2566 API endpoint to use for retrieving liked posts.
2567
2568 \f[I]"listRecords"\f[]
2569 Use the results from
2570 .br
2571 \f[I]com.atproto.repo.listRecords\f[]
2572 Requires no login and alows accessing likes of all users,
2573 .br
2574 but uses one request to
2575 \f[I]getPostThread\f[]
2576 per post,
2577 \f[I]"getActorLikes"\f[]
2578 Use the results from
2579 .br
2580 \f[I]app.bsky.feed.getActorLikes\f[]
2581 Requires login and only allows accessing your own likes.
2582 .br
2583
2584
2585 .SS extractor.bluesky.metadata
2586 .IP "Type:" 6
2587 .br
2588 * \f[I]bool\f[]
2589 .br
2590 * \f[I]string\f[]
2591 .br
2592 * \f[I]list\f[] of \f[I]strings\f[]
2593
2594 .IP "Default:" 9
2595 \f[I]false\f[]
2596
2597 .IP "Example:" 4
2598 .br
2599 * "facets,user"
2600 .br
2601 * ["facets", "user"]
2602
2603 .IP "Description:" 4
2604 Extract additional metadata.
2605
2606 \f[I]facets\f[]
2607 \f[I]hashtags\f[], \f[I]mentions\f[], \f[I]uris\f[]
2608 \f[I]user\f[]
2609 Detailed \f[I]user\f[] metadata for the user referenced in the input URL.
2610 .br
2611 (\f[I]app.bsky.actor.getProfile\f[])
2612 .br
2613
2614
2615 .SS extractor.bluesky.likes.depth
2616 .IP "Type:" 6
2617 \f[I]integer\f[]
2618
2619 .IP "Default:" 9
2620 \f[I]0\f[]
2621
2622 .IP "Description:" 4
2623 Sets the maximum depth of returned reply posts.
2624
2625 (See the \f[I]depth\f[] parameter of \f[I]app.bsky.feed.getPostThread\f[])
2626
2627
2628 .SS extractor.bluesky.quoted
2629 .IP "Type:" 6
2630 \f[I]bool\f[]
2631
2632 .IP "Default:" 9
2633 \f[I]false\f[]
2634
2635 .IP "Description:" 4
2636 Fetch media from quoted posts.
2637
2638
2639 .SS extractor.bluesky.reposts
2640 .IP "Type:" 6
2641 \f[I]bool\f[]
2642
2643 .IP "Default:" 9
2644 \f[I]false\f[]
2645
2646 .IP "Description:" 4
2647 Process reposts.
2648
2649
2650 .SS extractor.bluesky.videos
2651 .IP "Type:" 6
2652 \f[I]bool\f[]
2653
2654 .IP "Default:" 9
2655 \f[I]true\f[]
2656
2657 .IP "Description:" 4
2658 Download videos.
2659
2660
2661 .SS extractor.boosty.allowed
2662 .IP "Type:" 6
2663 \f[I]bool\f[]
2664
2665 .IP "Default:" 9
2666 \f[I]true\f[]
2667
2668 .IP "Description:" 4
2669 Request only available posts.
2670
2671
2672 .SS extractor.boosty.bought
2673 .IP "Type:" 6
2674 \f[I]bool\f[]
2675
2676 .IP "Default:" 9
2677 \f[I]false\f[]
2678
2679 .IP "Description:" 4
2680 Request only purchased posts for \f[I]feed\f[] results.
2681
2682
2683 .SS extractor.boosty.metadata
2684 .IP "Type:" 6
2685 \f[I]bool\f[]
2686
2687 .IP "Default:" 9
2688 \f[I]false\f[]
2689
2690 .IP "Description:" 4
2691 Provide detailed \f[I]user\f[] metadata.
2692
2693
2694 .SS extractor.boosty.videos
2695 .IP "Type:" 6
2696 .br
2697 * \f[I]bool\f[]
2698 .br
2699 * \f[I]list\f[] of \f[I]strings\f[]
2700
2701 .IP "Default:" 9
2702 \f[I]true\f[]
2703
2704 .IP "Example:" 4
2705 ["full_hd", "high", "medium"]
2706
2707 .IP "Description:" 4
2708 Download videos.
2709
2710 If this is a \f[I]list\f[], it selects which format to try to download.
2711
2712 .IP "Possible Formats:" 4
2713 .br
2714 * \f[I]ultra_hd\f[] (2160p)
2715 .br
2716 * \f[I]quad_hd\f[] (1440p)
2717 .br
2718 * \f[I]full_hd\f[] (1080p)
2719 .br
2720 * \f[I]high\f[] (720p)
2721 .br
2722 * \f[I]medium\f[] (480p)
2723 .br
2724 * \f[I]low\f[] (360p)
2725 .br
2726 * \f[I]lowest\f[] (240p)
2727 .br
2728 * \f[I]tiny\f[] (144p)
2729
2730
2731 .SS extractor.booth.strategy
2732 .IP "Type:" 6
2733 \f[I]string\f[]
2734
2735 .IP "Default:" 9
2736 \f[I]"webpage"\f[]
2737
2738 .IP "Description:" 4
2739 Selects how to handle and extract file URLs.
2740
2741 \f[I]"webpage"\f[]
2742 Retrieve the full HTML page
2743 and extract file URLs from it
2744 \f[I]"fallback"\f[]
2745 Use \f[I]fallback\f[] URLs
2746 to guess each file's correct filename extension
2747
2748
2749 .SS extractor.bunkr.endpoint
2750 .IP "Type:" 6
2751 \f[I]string\f[]
2752
2753 .IP "Default:" 9
2754 \f[I]"/api/_001_v2"\f[]
2755
2756 .IP "Description:" 4
2757 API endpoint for retrieving file URLs.
2758
2759
2760 .SS extractor.bunkr.tlds
2761 .IP "Type:" 6
2762 \f[I]bool\f[]
2763
2764 .IP "Default:" 9
2765 \f[I]false\f[]
2766
2767 .IP "Description:" 4
2768 Controls which \f[I]bunkr\f[] TLDs to accept.
2769
2770 \f[I]true\f[]
2771 Match URLs with *all* possible TLDs (e.g. \f[I]bunkr.xyz\f[] or \f[I]bunkrrr.duck\f[])
2772 \f[I]false\f[]
2773 Match only URLs with known TLDs
2774
2775
2776 .SS extractor.[chevereto].password
2777 .IP "Type:" 6
2778 .br
2779 * \f[I]string\f[]
2780 .br
2781 * \f[I]list\f[] of \f[I]strings\f[]
2782
2783 .IP "Default:" 9
2784 \f[I]null\f[]
2785
2786 .IP "Example:" 4
2787 .br
2788 * pw1,pw2,foobar
2789 .br
2790 * ["pw1", "pw2", "foobar"]
2791
2792 .IP "Description:" 4
2793 Password value(s) used to access protected albums.
2794
2795
2796 .SS extractor.cien.files
2797 .IP "Type:" 6
2798 \f[I]list\f[] of \f[I]strings\f[]
2799
2800 .IP "Default:" 9
2801 \f[I]["image", "video", "download", "gallery"]\f[]
2802
2803 .IP "Description:" 4
2804 Determines the type and order of files to download.
2805
2806 .IP "Available Types:" 4
2807 .br
2808 * \f[I]image\f[]
2809 .br
2810 * \f[I]video\f[]
2811 .br
2812 * \f[I]cover\f[]
2813 .br
2814 * \f[I]download\f[]
2815 .br
2816 * \f[I]gallery\f[]
2817
2818
2819 .SS extractor.civitai.api
2820 .IP "Type:" 6
2821 \f[I]string\f[]
2822
2823 .IP "Default:" 9
2824 \f[I]"trpc"\f[]
2825
2826 .IP "Description:" 4
2827 Selects which API endpoints to use.
2828
2829 \f[I]"rest"\f[]
2830 \f[I]Public REST API\f[]
2831 \f[I]"trpc"\f[]
2832 Internal tRPC API
2833
2834
2835 .SS extractor.civitai.api-key
2836 .IP "Type:" 6
2837 \f[I]string\f[]
2838
2839 .IP "Description:" 4
2840 The API Key value generated in your
2841 \f[I]User Account Settings\f[]
2842 to make authorized API requests.
2843
2844 See \f[I]API/Authorization\f[]
2845 for details.
2846
2847
2848 .SS extractor.civitai.files
2849 .IP "Type:" 6
2850 \f[I]list\f[] of \f[I]strings\f[]
2851
2852 .IP "Default:" 9
2853 \f[I]["image"]\f[]
2854
2855 .IP "Description:" 4
2856 Determines the type and order of files to download when processing models.
2857
2858 .IP "Available Types:" 4
2859 .br
2860 * \f[I]model\f[]
2861 .br
2862 * \f[I]image\f[]
2863 .br
2864 * \f[I]gallery\f[]
2865
2866
2867 .SS extractor.civitai.include
2868 .IP "Type:" 6
2869 .br
2870 * \f[I]string\f[]
2871 .br
2872 * \f[I]list\f[] of \f[I]strings\f[]
2873
2874 .IP "Default:" 9
2875 \f[I]["user-images", "user-videos"]\f[]
2876
2877 .IP "Description:" 4
2878 A (comma-separated) list of subcategories to include
2879 when processing a user profile.
2880
2881 .IP "Supported Values:" 4
2882 .br
2883 * \f[I]user-models\f[]
2884 .br
2885 * \f[I]user-posts\f[]
2886 .br
2887 * \f[I]user-images\f[]
2888 .br
2889 * \f[I]user-videos\f[]
2890 .br
2891 * \f[I]user-collections\f[]
2892
2893 .IP "Note:" 4
2894 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
2895
2896 To get a more complete set of metadata
2897 like \f[I]model['name']\f[] and \f[I]post['title']\f[],
2898 include \f[I]user-models\f[] and \f[I]user-posts\f[]
2899 as well as the default \f[I]user-images\f[] and \f[I]user-videos\f[]:
2900
2901 \f[I]["user-models", "user-posts", "user-images", "user-videos"]\f[]
2902
2903
2904 .SS extractor.civitai.metadata
2905 .IP "Type:" 6
2906 .br
2907 * \f[I]bool\f[]
2908 .br
2909 * \f[I]string\f[]
2910 .br
2911 * \f[I]list\f[] of \f[I]strings\f[]
2912
2913 .IP "Default:" 9
2914 \f[I]false\f[]
2915
2916 .IP "Example:" 4
2917 .br
2918 * "generation,tags,post,version"
2919 .br
2920 * ["version", "generation"]
2921
2922 .IP "Description:" 4
2923 Extract additional metadata.
2924
2925 .IP "Supported Values:" 4
2926 .br
2927 * \f[I]generation\f[]
2928 .br
2929 * \f[I]post\f[]
2930 .br
2931 * \f[I]tags\f[]
2932 .br
2933 * \f[I]version\f[]
2934
2935 .IP "Note:" 4
2936 This requires 1 additional API request
2937 for each selected value per image or video.
2938
2939
2940 .SS extractor.civitai.nsfw
2941 .IP "Type:" 6
2942 .br
2943 * \f[I]bool\f[]
2944 .br
2945 * \f[I]string\f[] (\f[I]"api": "rest"\f[])
2946 .br
2947 * \f[I]integer\f[] (\f[I]"api": "trpc"\f[])
2948
2949 .IP "Default:" 9
2950 \f[I]true\f[]
2951
2952 .IP "Description:" 4
2953 Download NSFW-rated images.
2954
2955 .br
2956 * For \f[I]"api": "rest"\f[], this can be one of
2957 \f[I]"None"\f[], \f[I]"Soft"\f[], \f[I]"Mature"\f[], \f[I]"X"\f[]
2958 to set the highest returned mature content flag.
2959
2960 .br
2961 * For \f[I]"api": "trpc"\f[], this can be an \f[I]integer\f[]
2962 whose bits select the returned mature content flags.
2963
2964 For example, \f[I]28\f[] (\f[I]4\f[I]8\f[]16\f[]) would return only
2965 \f[I]R\f[], \f[I]X\f[], and \f[I]XXX\f[] rated images,
2966 while \f[I]3\f[] (\f[I]1|2\f[]) would return only
2967 \f[I]None\f[] and \f[I]Soft\f[] rated images,
2968
2969 .IP "Note:" 4
2970 Requires
2971 \f[I]api-key\f[]
2972 or authenticated
2973 \f[I]cookies\f[]
2974 to allow NSFW content.
2975
2976
2977 .SS extractor.civitai.period
2978 .IP "Type:" 6
2979 \f[I]string\f[]
2980
2981 .IP "Default:" 9
2982 \f[I]"AllTime"\f[]
2983
2984 .IP "Description:" 4
2985 Sets the \f[I]period\f[] parameter
2986 when paginating over results.
2987
2988 .IP "Supported Values:" 4
2989 .br
2990 * \f[I]"AllTime"\f[]
2991 .br
2992 * \f[I]"Year"\f[]
2993 .br
2994 * \f[I]"Month"\f[]
2995 .br
2996 * \f[I]"Week"\f[]
2997 .br
2998 * \f[I]"Day"\f[]
2999
3000
3001 .SS extractor.civitai.sort
3002 .IP "Type:" 6
3003 \f[I]string\f[]
3004
3005 .IP "Default:" 9
3006 \f[I]"Newest"\f[]
3007
3008 .IP "Description:" 4
3009 Sets the \f[I]sort\f[] parameter
3010 when paginating over results.
3011
3012 .IP "Supported Values:" 4
3013 .br
3014 * \f[I]"Newest"\f[]
3015 .br
3016 * \f[I]"Oldest"\f[]
3017 .br
3018 * \f[I]"Most Reactions"\f[]
3019 .br
3020 * \f[I]"Most Comments"\f[]
3021 .br
3022 * \f[I]"Most Collected"\f[]
3023
3024 .IP "Special Values:" 4
3025 \f[I]"asc"\f[]
3026 Ascending order (\f[I]"Oldest"\f[])
3027 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
3028 Descending order (\f[I]"Newest"\f[])
3029
3030
3031 .SS extractor.civitai.quality
3032 .IP "Type:" 6
3033 .br
3034 * \f[I]string\f[]
3035 .br
3036 * \f[I]list\f[] of \f[I]strings\f[]
3037
3038 .IP "Default:" 9
3039 \f[I]"original=true"\f[]
3040
3041 .IP "Example:" 4
3042 .br
3043 * "width=1280,quality=90"
3044 .br
3045 * ["width=1280", "quality=90"]
3046
3047 .IP "Description:" 4
3048 A (comma-separated) list of image quality options
3049 to pass with every image URL.
3050
3051 Known available options include \f[I]original\f[], \f[I]quality\f[], \f[I]width\f[]
3052
3053 .IP "Note:" 4
3054 Set this option to an arbitrary letter, e.g., \f[I]"w"\f[],
3055 to download images in JPEG format at their original resolution.
3056
3057
3058 .SS extractor.civitai.quality-videos
3059 .IP "Type:" 6
3060 .br
3061 * \f[I]string\f[]
3062 .br
3063 * \f[I]list\f[] of \f[I]strings\f[]
3064
3065 .IP "Default:" 9
3066 \f[I]"original"\f[]
3067
3068 .IP "Example:" 4
3069 .br
3070 * "+transcode=true,quality=100"
3071 .br
3072 * ["+", "transcode=true", "quality=100"]
3073
3074 .IP "Description:" 4
3075 A (comma-separated) list of video quality options
3076 to pass with every video URL.
3077
3078 Known available options include \f[I]original\f[], \f[I]quality\f[], \f[I]transcode\f[]
3079
3080 Use \f[I]+\f[] as first character to add the given options to the
3081 \f[I]quality\f[] ones.
3082
3083
3084 .SS extractor.civitai.quality-fallback
3085 .IP "Type:" 6
3086 \f[I]string\f[]
3087
3088 .IP "Default:" 9
3089 \f[I]"transcode=true,original=true,quality=100"\f[]
3090
3091 .IP "Description:" 4
3092 Video quality options to pass with video fallback URLs.
3093
3094
3095 .SS extractor.civitai.search-images.token
3096 .IP "Type:" 6
3097 \f[I]string\f[]
3098
3099 .IP "Default:" 9
3100 \f[I]"8c46eb2508e21db1e9828a97968d91ab1ca1caa5f70a00e88a2ba1e286603b61"\f[]
3101
3102 .IP "Description:" 4
3103 \f[I]Authorization\f[] header value used for /multi-search queries.
3104
3105
3106 .SS extractor.coomer.files
3107 .IP "Type:" 6
3108 \f[I]list\f[] of \f[I]strings\f[]
3109
3110 .IP "Default:" 9
3111 \f[I]["file", "attachments", "inline"]\f[]
3112
3113 .IP "Description:" 4
3114 Determines the type and order of files to be downloaded.
3115
3116 .IP "Available Types:" 4
3117 .br
3118 * \f[I]file\f[]
3119 .br
3120 * \f[I]attachments\f[]
3121 .br
3122 * \f[I]inline\f[]
3123
3124
3125 .SS extractor.clonr.zip
3126 .IP "Type:" 6
3127 \f[I]bool\f[]
3128
3129 .IP "Default:" 9
3130 \f[I]false\f[]
3131
3132 .IP "Description:" 4
3133 Download folder content as a single ZIP archive instead of individual files.
3134
3135
3136 .SS extractor.cosmos.format
3137 .IP "Type:" 6
3138 .br
3139 * \f[I]string\f[]
3140
3141 .IP "Default:" 9
3142 \f[I]"jpeg"\f[]
3143
3144 .IP "Example:" 4
3145 "avif"
3146
3147 .IP "Description:" 4
3148 Selects file type of downloaded images.
3149
3150
3151 .SS extractor.cyberdrop.domain
3152 .IP "Type:" 6
3153 \f[I]string\f[]
3154
3155 .IP "Default:" 9
3156 \f[I]null\f[]
3157
3158 .IP "Example:" 4
3159 "cyberdrop.to"
3160
3161 .IP "Description:" 4
3162 Specifies the domain used by \f[I]cyberdrop\f[] regardless of input URL.
3163
3164 Setting this option to \f[I]"auto"\f[]
3165 uses the same domain as a given input URL.
3166
3167
3168 .SS extractor.cyberfile.password
3169 .IP "Type:" 6
3170 \f[I]string\f[]
3171
3172 .IP "Default:" 9
3173 \f[I]""\f[]
3174
3175 .IP "Description:" 4
3176 Password value used to access protected files and folders.
3177
3178 Leave this value empty or undefined
3179 to be interactively prompted for a password when needed
3180 (see \f[I]getpass()\f[]).
3181
3182
3183 .SS extractor.cyberfile.recursive
3184 .IP "Type:" 6
3185 \f[I]bool\f[]
3186
3187 .IP "Default:" 9
3188 \f[I]true\f[]
3189
3190 .IP "Description:" 4
3191 Recursively download files from subfolders.
3192
3193
3194 .SS extractor.[Danbooru].external
3195 .IP "Type:" 6
3196 \f[I]bool\f[]
3197
3198 .IP "Default:" 9
3199 \f[I]false\f[]
3200
3201 .IP "Description:" 4
3202 For unavailable or restricted posts,
3203 follow the \f[I]source\f[] and download from there if possible.
3204
3205
3206 .SS extractor.[Danbooru].favgroup.order-posts
3207 .IP "Type:" 6
3208 \f[I]string\f[]
3209
3210 .IP "Default:" 9
3211 \f[I]"pool"\f[]
3212
3213 .IP "Description:" 4
3214 Controls the order in which \f[I]pool\f[]/\f[I]favgroup\f[] posts are returned.
3215
3216 \f[I]"pool"\f[] \f[I] \f[I]"pool_asc"\f[] \f[] \f[I]"asc"\f[] \f[I] \f[I]"asc_pool"\f[]
3217 Pool order
3218 \f[I]"pool_desc"\f[] \f[] \f[I]"desc_pool"\f[] \f[I] \f[I]"desc"\f[]
3219 Reverse Pool order
3220 \f[I]"id"\f[] \f[] \f[I]"id_desc"\f[] \f[I] \f[I]"desc_id"\f[]
3221 Descending Post ID order
3222 \f[I]"id_asc"\f[] \f[] \f[I]"asc_id"\f[]
3223 Ascending Post ID order
3224
3225
3226 .SS extractor.[Danbooru].ugoira
3227 .IP "Type:" 6
3228 \f[I]bool\f[]
3229
3230 .IP "Default:" 9
3231 \f[I]false\f[]
3232
3233 .IP "Description:" 4
3234 Controls the download target for Ugoira posts.
3235
3236 \f[I]true\f[]
3237 ZIP archives
3238 \f[I]false\f[]
3239 Converted video files
3240
3241
3242 .SS extractor.[Danbooru].metadata
3243 .IP "Type:" 6
3244 .br
3245 * \f[I]bool\f[]
3246 .br
3247 * \f[I]string\f[]
3248 .br
3249 * \f[I]list\f[] of \f[I]strings\f[]
3250
3251 .IP "Default:" 9
3252 \f[I]false\f[]
3253
3254 .IP "Example:" 4
3255 .br
3256 * "replacements,comments,ai_tags"
3257 .br
3258 * ["replacements", "comments", "ai_tags"]
3259
3260 .IP "Description:" 4
3261 Extract additional metadata
3262 (notes, artist commentary, parent, children, uploader)
3263
3264 It is possible to specify a custom list of metadata includes.
3265 See \f[I]available_includes\f[]
3266 for possible field names. \f[I]aibooru\f[] also supports \f[I]ai_metadata\f[].
3267
3268 .IP "Note:" 4
3269 This requires 1 additional HTTP request per 200-post batch.
3270
3271
3272 .SS extractor.[Danbooru].threshold
3273 .IP "Type:" 6
3274 .br
3275 * \f[I]string\f[]
3276 .br
3277 * \f[I]integer\f[]
3278
3279 .IP "Default:" 9
3280 \f[I]"auto"\f[]
3281
3282 .IP "Description:" 4
3283 Stop paginating over API results if the length of a batch of returned
3284 posts is less than the specified number. Defaults to the per-page limit
3285 of the current instance, which is 200.
3286
3287 .IP "Note:" 4
3288 Changing this setting is normally not necessary. When the value is
3289 greater than the per-page limit, gallery-dl will stop after the first
3290 batch. The value cannot be less than 1.
3291
3292
3293 .SS extractor.dankefuerslesen.zip
3294 .IP "Type:" 6
3295 \f[I]bool\f[]
3296
3297 .IP "Default:" 9
3298 \f[I]false\f[]
3299
3300 .IP "Description:" 4
3301 Download each chapter as a single ZIP archive instead of individual images.
3302
3303
3304 .SS extractor.deviantart.auto-watch
3305 .IP "Type:" 6
3306 \f[I]bool\f[]
3307
3308 .IP "Default:" 9
3309 \f[I]false\f[]
3310
3311 .IP "Description:" 4
3312 Automatically watch users when encountering "Watchers-Only Deviations"
3313 (requires a \f[I]refresh-token\f[]).
3314
3315
3316 .SS extractor.deviantart.auto-unwatch
3317 .IP "Type:" 6
3318 \f[I]bool\f[]
3319
3320 .IP "Default:" 9
3321 \f[I]false\f[]
3322
3323 .IP "Description:" 4
3324 After watching a user through \f[I]auto-watch\f[],
3325 unwatch that user at the end of the current extractor run.
3326
3327
3328 .SS extractor.deviantart.comments
3329 .IP "Type:" 6
3330 \f[I]bool\f[]
3331
3332 .IP "Default:" 9
3333 \f[I]false\f[]
3334
3335 .IP "Description:" 4
3336 Extract \f[I]comments\f[] metadata.
3337
3338
3339 .SS extractor.deviantart.comments-avatars
3340 .IP "Type:" 6
3341 \f[I]bool\f[]
3342
3343 .IP "Default:" 9
3344 \f[I]false\f[]
3345
3346 .IP "Description:" 4
3347 Download the avatar of each commenting user.
3348
3349 .IP "Note:" 4
3350 Enabling this option also enables deviantart.comments_.
3351
3352
3353 .SS extractor.deviantart.extra
3354 .IP "Type:" 6
3355 \f[I]bool\f[]
3356
3357 .IP "Default:" 9
3358 \f[I]false\f[]
3359
3360 .IP "Description:" 4
3361 Download extra Sta.sh resources from
3362 description texts and journals.
3363
3364 .IP "Note:" 4
3365 Enabling this option also enables deviantart.metadata_.
3366
3367
3368 .SS extractor.deviantart.flat
3369 .IP "Type:" 6
3370 \f[I]bool\f[]
3371
3372 .IP "Default:" 9
3373 \f[I]true\f[]
3374
3375 .IP "Description:" 4
3376 Select the directory structure created by the Gallery- and
3377 Favorite-Extractors.
3378
3379 \f[I]true\f[]
3380 Use a flat directory structure.
3381 \f[I]false\f[]
3382 Collect a list of all gallery \f[I]folders\f[] or
3383 favorites \f[I]collections\f[] and transfer any further work to other
3384 extractors (\f[I]folder\f[] or \f[I]collection\f[]), which will then
3385 create individual subdirectories for each of them.
3386
3387 .IP "Note:" 4
3388 Going through all gallery folders won't
3389 fetch deviations not contained in any folder.
3390
3391
3392 .SS extractor.deviantart.folders
3393 .IP "Type:" 6
3394 \f[I]bool\f[]
3395
3396 .IP "Default:" 9
3397 \f[I]false\f[]
3398
3399 .IP "Description:" 4
3400 Provide a \f[I]folders\f[] metadata field that contains the names of all
3401 folders a deviation is present in.
3402
3403 .IP "Note:" 4
3404 Gathering this information requires a lot of API calls.
3405 Use with caution.
3406
3407
3408 .SS extractor.deviantart.group
3409 .IP "Type:" 6
3410 .br
3411 * \f[I]bool\f[]
3412 .br
3413 * \f[I]string\f[]
3414
3415 .IP "Default:" 9
3416 \f[I]true\f[]
3417
3418 .IP "Description:" 4
3419 Check whether the profile name in a given URL
3420 belongs to a group or a regular user.
3421
3422 When disabled, assume every given profile name
3423 belongs to a regular user.
3424
3425 .IP "Special Values:" 4
3426 \f[I]"skip"\f[]
3427 Skip groups
3428
3429
3430 .SS extractor.deviantart.include
3431 .IP "Type:" 6
3432 .br
3433 * \f[I]string\f[]
3434 .br
3435 * \f[I]list\f[] of \f[I]strings\f[]
3436
3437 .IP "Default:" 9
3438 \f[I]"gallery"\f[]
3439
3440 .IP "Example:" 4
3441 .br
3442 * "favorite,journal,scraps"
3443 .br
3444 * ["favorite", "journal", "scraps"]
3445
3446 .IP "Description:" 4
3447 A (comma-separated) list of subcategories to include
3448 when processing a user profile.
3449
3450 .IP "Supported Values:" 4
3451 .br
3452 * \f[I]avatar\f[]
3453 .br
3454 * \f[I]background\f[]
3455 .br
3456 * \f[I]gallery\f[]
3457 .br
3458 * \f[I]scraps\f[]
3459 .br
3460 * \f[I]journal\f[]
3461 .br
3462 * \f[I]favorite\f[]
3463 .br
3464 * \f[I]status\f[]
3465
3466 .IP "Note:" 4
3467 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
3468
3469
3470 .SS extractor.deviantart.intermediary
3471 .IP "Type:" 6
3472 \f[I]bool\f[]
3473
3474 .IP "Default:" 9
3475 \f[I]true\f[]
3476
3477 .IP "Description:" 4
3478 For older non-downloadable images,
3479 download a higher-quality \f[I]/intermediary/\f[] version.
3480
3481
3482 .SS extractor.deviantart.journals
3483 .IP "Type:" 6
3484 \f[I]string\f[]
3485
3486 .IP "Default:" 9
3487 \f[I]"html"\f[]
3488
3489 .IP "Description:" 4
3490 Selects the output format for textual content. This includes journals,
3491 literature and status updates.
3492
3493 \f[I]"html"\f[]
3494 HTML with (roughly) the same layout as on DeviantArt.
3495 \f[I]"text"\f[]
3496 Plain text with image references and HTML tags removed.
3497 \f[I]"none"\f[]
3498 Don't download textual content.
3499
3500
3501 .SS extractor.deviantart.mature
3502 .IP "Type:" 6
3503 \f[I]bool\f[]
3504
3505 .IP "Default:" 9
3506 \f[I]true\f[]
3507
3508 .IP "Description:" 4
3509 Enable mature content.
3510
3511 This option simply sets the \f[I]mature_content\f[] parameter for API
3512 calls to either \f[I]"true"\f[] or \f[I]"false"\f[] and does not do any other
3513 form of content filtering.
3514
3515
3516 .SS extractor.deviantart.metadata
3517 .IP "Type:" 6
3518 .br
3519 * \f[I]bool\f[]
3520 .br
3521 * \f[I]string\f[]
3522 .br
3523 * \f[I]list\f[] of \f[I]strings\f[]
3524
3525 .IP "Default:" 9
3526 \f[I]false\f[]
3527
3528 .IP "Example:" 4
3529 .br
3530 * "stats,submission"
3531 .br
3532 * ["camera", "stats", "submission"]
3533
3534 .IP "Description:" 4
3535 Extract additional metadata for deviation objects.
3536
3537 Provides
3538 \f[I]description\f[], \f[I]tags\f[], \f[I]license\f[], and \f[I]is_watching\f[]
3539 fields when enabled.
3540
3541 It is possible to request extended metadata by specifying a list of
3542
3543 \f[I]camera\f[]
3544 EXIF information if available
3545 \f[I]stats\f[]
3546 Deviation statistics
3547 \f[I]submission\f[]
3548 Submission information
3549 \f[I]collection\f[]
3550 Favourited folder information (requires a \f[I]refresh token\f[])
3551 \f[I]gallery\f[]
3552 Gallery folder information (requires a \f[I]refresh token\f[])
3553
3554 .IP "Note:" 4
3555 Set this option to \f[I]"all"\f[] to request all extended metadata categories.
3556
3557 See \f[I]/deviation/metadata\f[]
3558 for official documentation.
3559
3560
3561 .SS extractor.deviantart.original
3562 .IP "Type:" 6
3563 .br
3564 * \f[I]bool\f[]
3565 .br
3566 * \f[I]string\f[]
3567
3568 .IP "Default:" 9
3569 \f[I]false\f[]
3570
3571 .IP "Description:" 4
3572 Download original files if available.
3573
3574 Setting this option to \f[I]"images"\f[] only downloads original
3575 files if they are images and falls back to preview versions for
3576 everything else (archives, videos, etc.).
3577
3578 .IP "Note:" 4
3579 https://www.deviantart.com/team/status-update/An-adjustments-being-made-to-1307747979 ::
3580
3581 > The New Weekly Limits:
3582 > Non-Core & Core Basic: 10 downloads per week
3583 > Core+ and higher : 150 downloads per week
3584
3585
3586 .SS extractor.deviantart.pagination
3587 .IP "Type:" 6
3588 \f[I]string\f[]
3589
3590 .IP "Default:" 9
3591 \f[I]"api"\f[]
3592
3593 .IP "Description:" 4
3594 Controls when to stop paginating over API results.
3595
3596 \f[I]"api"\f[]
3597 Trust the API and stop when \f[I]has_more\f[] is \f[I]false\f[].
3598 \f[I]"manual"\f[]
3599 Disregard \f[I]has_more\f[] and only stop when a batch of results is empty.
3600
3601
3602 .SS extractor.deviantart.previews
3603 .IP "Type:" 6
3604 \f[I]bool\f[]
3605
3606 .IP "Default:" 9
3607 \f[I]false\f[]
3608
3609 .IP "Description:" 4
3610 For non-image files (archives, videos, etc.),
3611 also download the file's preview image.
3612
3613 Set this option to \f[I]"all"\f[] to download previews for all files.
3614
3615
3616 .SS extractor.deviantart.public
3617 .IP "Type:" 6
3618 \f[I]bool\f[]
3619
3620 .IP "Default:" 9
3621 \f[I]true\f[]
3622
3623 .IP "Description:" 4
3624 Use a public access token for API requests.
3625
3626 Disable this option to *force* using a private token for all requests
3627 when a \f[I]refresh token\f[] is provided.
3628
3629
3630 .SS extractor.deviantart.quality
3631 .IP "Type:" 6
3632 .br
3633 * \f[I]integer\f[]
3634 .br
3635 * \f[I]string\f[]
3636
3637 .IP "Default:" 9
3638 \f[I]100\f[]
3639
3640 .IP "Description:" 4
3641 JPEG quality level of images for which
3642 an original file download is not available.
3643
3644 Set this to \f[I]"png"\f[] to download a PNG version of these images instead.
3645
3646
3647 .SS extractor.deviantart.refresh-token
3648 .IP "Type:" 6
3649 \f[I]string\f[]
3650
3651 .IP "Default:" 9
3652 \f[I]null\f[]
3653
3654 .IP "Description:" 4
3655 The \f[I]refresh-token\f[] value you get from
3656 \f[I]linking your DeviantArt account to gallery-dl\f[].
3657
3658 Using a \f[I]refresh-token\f[] allows you to access private or otherwise
3659 not publicly available deviations.
3660
3661 .IP "Note:" 4
3662 The \f[I]refresh-token\f[] becomes invalid
3663 \f[I]after 3 months\f[]
3664 or whenever your \f[I]cache file\f[] is deleted or cleared.
3665
3666
3667 .SS extractor.deviantart.wait-min
3668 .IP "Type:" 6
3669 \f[I]integer\f[]
3670
3671 .IP "Default:" 9
3672 \f[I]0\f[]
3673
3674 .IP "Description:" 4
3675 Minimum wait time in seconds before API requests.
3676
3677
3678 .SS extractor.deviantart.avatar.formats
3679 .IP "Type:" 6
3680 \f[I]list\f[] of \f[I]strings\f[]
3681
3682 .IP "Example:" 4
3683 ["original.jpg", "big.jpg", "big.gif", ".png"]
3684
3685 .IP "Description:" 4
3686 Avatar URL formats to return.
3687
3688 Each format is parsed as \f[I]SIZE.EXT\f[].
3689 .br
3690 Leave \f[I]SIZE\f[] empty to download the regular, small avatar format.
3691 .br
3692
3693 .IP "Note:" 4
3694 Consider updating
3695 .br
3696 \f[I]archive-format\f[]
3697 for \f[I]avatar\f[] results to
3698 \f[I]"a_{_username}_{index}{title[6:]}.{extension}"\f[]
3699 .br
3700 or similar when using an
3701 .br
3702 \f[I]archive\f[]
3703 to be able to handle different formats.
3704
3705
3706 .SS extractor.deviantart.folder.subfolders
3707 .IP "Type:" 6
3708 \f[I]bool\f[]
3709
3710 .IP "Default:" 9
3711 \f[I]true\f[]
3712
3713 .IP "Description:" 4
3714 Also extract subfolder content.
3715
3716
3717 .SS extractor.directlink.transform
3718 .IP "Type:" 6
3719 .br
3720 * \f[I]object\f[] (pattern → replacement)
3721 .br
3722 * \f[I]list\f[] of [pattern, replacement] pairs
3723
3724 .IP "Example:" 4
3725 .. code:: json
3726
3727 {
3728 "/foo" : "/bar/baz",
3729 "([?&])dl=0\\\\b": "\\\\1dl=1"
3730 }
3731
3732 .. code:: json
3733
3734 [
3735 ["/foo" , "/bar/baz"],
3736 ["([?&])dl=0\\\\b": "\\\\1dl=1"]
3737 ]
3738
3739 .IP "Description:" 4
3740 Transform URLs by substituting all matching patterns
3741 with their respective replacements
3742 using \f[I]re.sub()\f[].
3743
3744
3745 .SS extractor.discord.embeds
3746 .IP "Type:" 6
3747 \f[I]list\f[] of \f[I]strings\f[]
3748
3749 .IP "Default:" 9
3750 \f[I]["image", "gifv", "video"]\f[]
3751
3752 .IP "Description:" 4
3753 Selects which embed types to download from.
3754
3755 Supported embed types are
3756 \f[I]image\f[], \f[I]gifv\f[], \f[I]video\f[], \f[I]rich\f[], \f[I]article\f[], \f[I]link\f[].
3757
3758
3759 .SS extractor.discord.threads
3760 .IP "Type:" 6
3761 \f[I]bool\f[]
3762
3763 .IP "Default:" 9
3764 \f[I]true\f[]
3765
3766 .IP "Description:" 4
3767 Extract threads from Discord text channels.
3768
3769
3770 .SS extractor.discord.token
3771 .IP "Type:" 6
3772 \f[I]string\f[]
3773
3774 .IP "Description:" 4
3775 Discord Bot Token for API requests.
3776
3777 You can follow \f[I]this guide\f[] to get a token.
3778
3779
3780 .SS extractor.dynastyscans.anthology.metadata
3781 .IP "Type:" 6
3782 \f[I]bool\f[]
3783
3784 .IP "Default:" 9
3785 \f[I]false\f[]
3786
3787 .IP "Description:" 4
3788 Extract \f[I]alert\f[], \f[I]description\f[], and \f[I]status\f[] metadata
3789 from an anthology's HTML page.
3790
3791
3792 .SS extractor.[E621].metadata
3793 .IP "Type:" 6
3794 .br
3795 * \f[I]bool\f[]
3796 .br
3797 * \f[I]string\f[]
3798 .br
3799 * \f[I]list\f[] of \f[I]strings\f[]
3800
3801 .IP "Default:" 9
3802 \f[I]false\f[]
3803
3804 .IP "Example:" 4
3805 .br
3806 * "notes,pools"
3807 .br
3808 * ["notes", "pools"]
3809
3810 .IP "Description:" 4
3811 Extract additional metadata (notes, pool metadata) if available.
3812
3813 .IP "Note:" 4
3814 This requires 0-2 additional HTTP requests per post.
3815
3816
3817 .SS extractor.[E621].threshold
3818 .IP "Type:" 6
3819 .br
3820 * \f[I]string\f[]
3821 .br
3822 * \f[I]integer\f[]
3823
3824 .IP "Default:" 9
3825 \f[I]"auto"\f[]
3826
3827 .IP "Description:" 4
3828 Stop paginating over API results if the length of a batch of returned
3829 posts is less than the specified number. Defaults to the per-page limit
3830 of the current instance, which is 320.
3831
3832 .IP "Note:" 4
3833 Changing this setting is normally not necessary. When the value is
3834 greater than the per-page limit, gallery-dl will stop after the first
3835 batch. The value cannot be less than 1.
3836
3837
3838 .SS extractor.erome.user.reposts
3839 .IP "Type:" 6
3840 \f[I]bool\f[]
3841
3842 .IP "Default:" 9
3843 \f[I]false\f[]
3844
3845 .IP "Description:" 4
3846 Include reposts when extracting albums from a user profile.
3847
3848
3849 .SS extractor.exhentai.domain
3850 .IP "Type:" 6
3851 \f[I]string\f[]
3852
3853 .IP "Default:" 9
3854 \f[I]"auto"\f[]
3855
3856 .IP "Description:" 4
3857 \f[I]"auto"\f[]
3858 Use \f[I]e-hentai.org\f[] or \f[I]exhentai.org\f[]
3859 depending on the input URL
3860 \f[I]"e-hentai.org"\f[]
3861 Use \f[I]e-hentai.org\f[] for all URLs
3862 \f[I]"exhentai.org"\f[]
3863 Use \f[I]exhentai.org\f[] for all URLs
3864
3865
3866 .SS extractor.exhentai.fallback-retries
3867 .IP "Type:" 6
3868 \f[I]integer\f[]
3869
3870 .IP "Default:" 9
3871 \f[I]2\f[]
3872
3873 .IP "Description:" 4
3874 Number of times a failed image gets retried,
3875 or \f[I]-1\f[] for infinite retries.
3876
3877
3878 .SS extractor.exhentai.fav
3879 .IP "Type:" 6
3880 \f[I]string\f[]
3881
3882 .IP "Example:" 4
3883 "4"
3884
3885 .IP "Description:" 4
3886 After downloading a gallery,
3887 add it to your account's favorites as the given category number.
3888
3889 .IP "Note:" 4
3890 Set this to "favdel" to remove galleries from your favorites.
3891
3892 This will remove any Favorite Notes when applied
3893 to already favorited galleries.
3894
3895
3896 .SS extractor.exhentai.gp
3897 .IP "Type:" 6
3898 \f[I]string\f[]
3899
3900 .IP "Default:" 9
3901 \f[I]"resized"\f[]
3902
3903 .IP "Description:" 4
3904 Selects how to handle "you do not have enough GP" errors.
3905
3906 .br
3907 * "resized": Continue downloading \f[I]non-original\f[] images.
3908 .br
3909 * "stop": Stop the current extractor run.
3910 .br
3911 * "wait": Wait for user input before retrying the current image.
3912
3913
3914 .SS extractor.exhentai.limits
3915 .IP "Type:" 6
3916 \f[I]integer\f[]
3917
3918 .IP "Default:" 9
3919 \f[I]null\f[]
3920
3921 .IP "Description:" 4
3922 Set a custom image download limit and perform
3923 \f[I]limits-action\f[]
3924 when it gets exceeded.
3925
3926
3927 .SS extractor.exhentai.limits-action
3928 .IP "Type:" 6
3929 \f[I]string\f[]
3930
3931 .IP "Default:" 9
3932 \f[I]"stop"\f[]
3933
3934 .IP "Description:" 4
3935 Action to perform when the image limit is exceeded.
3936
3937 .br
3938 * "stop": Stop the current extractor run.
3939 .br
3940 * "wait": Wait for user input.
3941 .br
3942 * "reset": Spend GP to reset your account's image limits.
3943
3944
3945 .SS extractor.exhentai.metadata
3946 .IP "Type:" 6
3947 \f[I]bool\f[]
3948
3949 .IP "Default:" 9
3950 \f[I]false\f[]
3951
3952 .IP "Description:" 4
3953 Load extended gallery metadata from the
3954 \f[I]API\f[].
3955
3956 .br
3957 * Adds \f[I]archiver_key\f[], \f[I]posted\f[], and \f[I]torrents\f[]
3958 .br
3959 * Provides exact \f[I]date\f[] and \f[I]filesize\f[]
3960
3961
3962 .SS extractor.exhentai.original
3963 .IP "Type:" 6
3964 \f[I]bool\f[]
3965
3966 .IP "Default:" 9
3967 \f[I]true\f[]
3968
3969 .IP "Description:" 4
3970 Download full-sized original images if available.
3971
3972
3973 .SS extractor.exhentai.source
3974 .IP "Type:" 6
3975 \f[I]string\f[]
3976
3977 .IP "Default:" 9
3978 \f[I]"gallery"\f[]
3979
3980 .IP "Description:" 4
3981 Selects an alternative source to download files from.
3982
3983 \f[I]"hitomi"\f[]
3984 Download the corresponding gallery from \f[I]hitomi.la\f[]
3985 \f[I]"metadata"\f[]
3986 Load only a gallery's metadata from the
3987 \f[I]API\f[]
3988 \f[I]"torrent"\f[]
3989 Download a gallery's \f[I].torrent\f[] files
3990
3991
3992 .SS extractor.exhentai.tags
3993 .IP "Type:" 6
3994 \f[I]bool\f[]
3995
3996 .IP "Default:" 9
3997 \f[I]true\f[]
3998
3999 .IP "Description:" 4
4000 Group \f[I]tags\f[] by type and
4001 provide them as \f[I]tags_<type>\f[] metadata fields,
4002 for example \f[I]tags_artist\f[] or \f[I]tags_character\f[].
4003
4004
4005 .SS extractor.facebook.author-followups
4006 .IP "Type:" 6
4007 \f[I]bool\f[]
4008
4009 .IP "Default:" 9
4010 \f[I]false\f[]
4011
4012 .IP "description:" 4
4013 Extract comments that include photo attachments made by the author of the post.
4014
4015
4016 .SS extractor.facebook.fallback-retries
4017 .IP "Type:" 6
4018 \f[I]integer\f[]
4019
4020 .IP "Default:" 9
4021 \f[I]2\f[]
4022
4023 .IP "Description:" 4
4024 Number of times empty pages get retried,
4025 or \f[I]-1\f[] for infinite retries.
4026
4027
4028 .SS extractor.facebook.include
4029 .IP "Type:" 6
4030 .br
4031 * \f[I]string\f[]
4032 .br
4033 * \f[I]list\f[] of \f[I]strings\f[]
4034
4035 .IP "Default:" 9
4036 \f[I]"photos"\f[]
4037
4038 .IP "Example:" 4
4039 .br
4040 * "avatar,photos"
4041 .br
4042 * ["avatar", "photos"]
4043
4044 .IP "Description:" 4
4045 A (comma-separated) list of subcategories to include
4046 when processing a user profile.
4047
4048 .IP "Supported Values:" 4
4049 .br
4050 * \f[I]info\f[]
4051 .br
4052 * \f[I]avatar\f[]
4053 .br
4054 * \f[I]photos\f[]
4055 .br
4056 * \f[I]albums\f[]
4057
4058 .IP "Note:" 4
4059 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
4060
4061
4062 .SS extractor.facebook.loop
4063 .IP "Type:" 6
4064 \f[I]bool\f[]
4065
4066 .IP "Default:" 9
4067 \f[I]true\f[]
4068
4069 .IP "Description:" 4
4070 Continue when detecting a possible jump to a set's beginning.
4071
4072
4073 .SS extractor.facebook.videos
4074 .IP "Type:" 6
4075 .br
4076 * \f[I]bool\f[]
4077 .br
4078 * \f[I]string\f[]
4079
4080 .IP "Default:" 9
4081 \f[I]true\f[]
4082
4083 .IP "Description:" 4
4084 Control video download behavior.
4085
4086 \f[I]true\f[]
4087 Extract and download video & audio separately.
4088 \f[I]"ytdl"\f[]
4089 Let \f[I]ytdl\f[] handle video extraction and download, and merge video & audio streams.
4090 \f[I]false\f[]
4091 Ignore videos.
4092
4093
4094 .SS extractor.fanbox.comments
4095 .IP "Type:" 6
4096 \f[I]bool\f[]
4097
4098 .IP "Default:" 9
4099 \f[I]false\f[]
4100
4101 .IP "Description:" 4
4102 Extract \f[I]comments\f[] metadata.
4103
4104 .IP "Note:" 4
4105 This requires 1 or more additional API requests per post,
4106 depending on the number of comments.
4107
4108
4109 .SS extractor.fanbox.embeds
4110 .IP "Type:" 6
4111 .br
4112 * \f[I]bool\f[]
4113 .br
4114 * \f[I]string\f[]
4115
4116 .IP "Default:" 9
4117 \f[I]true\f[]
4118
4119 .IP "Description:" 4
4120 Control behavior on embedded content from external sites.
4121
4122 \f[I]true\f[]
4123 Extract embed URLs and download them if supported
4124 (videos are not downloaded).
4125 \f[I]"ytdl"\f[]
4126 Like \f[I]true\f[], but let \f[I]ytdl\f[] handle video
4127 extraction and download for YouTube, Vimeo, and SoundCloud embeds.
4128 \f[I]false\f[]
4129 Ignore embeds.
4130
4131
4132 .SS extractor.fanbox.fee-min
4133 .IP "Type:" 6
4134 \f[I]integer\f[]
4135
4136 .IP "Description:" 4
4137 Do not request API data or extract files from posts
4138 that require a fee (\f[I]feeRequired\f[]) less than the specified amount.
4139
4140
4141 .SS extractor.fanbox.fee-max
4142 .IP "Type:" 6
4143 \f[I]integer\f[]
4144
4145 .IP "Description:" 4
4146 Do not request API data or extract files from posts
4147 that require a fee (\f[I]feeRequired\f[]) greater than the specified amount.
4148
4149
4150 .SS extractor.fanbox.metadata
4151 .IP "Type:" 6
4152 .br
4153 * \f[I]bool\f[]
4154 .br
4155 * \f[I]string\f[]
4156 .br
4157 * \f[I]list\f[] of \f[I]strings\f[]
4158
4159 .IP "Default:" 9
4160 \f[I]false\f[]
4161
4162 .IP "Example:" 4
4163 .br
4164 * user,plan,comments
4165 .br
4166 * ["user", "plan", "comments"]
4167
4168 .IP "Description:" 4
4169 Extract \f[I]plan\f[] and extended \f[I]user\f[] metadata.
4170
4171 .IP "Supported Fields:" 4
4172 .br
4173 * \f[I]comments\f[]
4174 .br
4175 * \f[I]plan\f[]
4176 .br
4177 * \f[I]user\f[]
4178
4179 .IP "Note:" 4
4180 \f[I]comments\f[] can also be enabled via
4181 \f[I]fanbox.comments\f[]
4182
4183
4184 .SS extractor.fanbox.creator.offset
4185 .IP "Type:" 6
4186 \f[I]integer\f[]
4187
4188 .IP "Default:" 9
4189 \f[I]0\f[]
4190
4191 .IP "Description:" 4
4192 Custom \f[I]offset\f[] starting value when paginating over posts.
4193
4194
4195 .SS extractor.fansly.formats
4196 .IP "Type:" 6
4197 \f[I]list\f[] of \f[I]integers\f[]
4198
4199 .IP "Default:" 9
4200 \f[I]null\f[]
4201
4202 .IP "Example:" 4
4203 [1, 2, 3, 4, 302, 303]
4204
4205 .IP "Description:" 4
4206 List of file formats to consider during format selection.
4207
4208
4209 .SS extractor.fansly.previews
4210 .IP "Type:" 6
4211 \f[I]bool\f[]
4212
4213 .IP "Default:" 9
4214 \f[I]true\f[]
4215
4216 .IP "Description:" 4
4217 Download previews if no other format is available.
4218
4219
4220 .SS extractor.fansly.token
4221 .IP "Type:" 6
4222 \f[I]string\f[]
4223
4224 .IP "Example:" 4
4225 "kX7pL9qW3zT2rY8mB5nJ4vC6xF1tA0hD8uE2wG9yR3sQ7iZ4oM5jN6cP8lV0bK2tU9aL1eW"
4226
4227 .IP "Description:" 4
4228 \f[I]authorization\f[] header value
4229 used for requests to \f[I]https://apiv3.fansly.com/api\f[]
4230 to access locked content.
4231
4232
4233 .SS extractor.fantia.text
4234 .IP "Type:" 6
4235 \f[I]bool\f[]
4236
4237 .IP "Default:" 9
4238 \f[I]true\f[]
4239
4240 .IP "Description:" 4
4241 Download content of text-only posts.
4242
4243
4244 .SS extractor.filester.domain
4245 .IP "Type:" 6
4246 \f[I]string\f[]
4247
4248 .IP "Default:" 9
4249 \f[I]"filester.me"\f[]
4250
4251 .IP "Description:" 4
4252 Specifies the domain used by \f[I]filester\f[] extractors.
4253
4254 Setting this option to \f[I]"auto"\f[]
4255 uses the same domain as a given input URL.
4256
4257
4258 .SS extractor.flickr.access-token & .access-token-secret
4259 .IP "Type:" 6
4260 \f[I]string\f[]
4261
4262 .IP "Default:" 9
4263 \f[I]null\f[]
4264
4265 .IP "Description:" 4
4266 The \f[I]access_token\f[] and \f[I]access_token_secret\f[] values you get
4267 from \f[I]linking your Flickr account to gallery-dl\f[].
4268
4269
4270 .SS extractor.flickr.contexts
4271 .IP "Type:" 6
4272 \f[I]bool\f[]
4273
4274 .IP "Default:" 9
4275 \f[I]false\f[]
4276
4277 .IP "Description:" 4
4278 For each photo, return the albums and pools it belongs to
4279 as \f[I]set\f[] and \f[I]pool\f[] metadata.
4280
4281 .IP "Note:" 4
4282 This requires 1 additional API call per photo.
4283 See \f[I]flickr.photos.getAllContexts\f[] for details.
4284
4285
4286 .SS extractor.flickr.exif
4287 .IP "Type:" 6
4288 \f[I]bool\f[]
4289
4290 .IP "Default:" 9
4291 \f[I]false\f[]
4292
4293 .IP "Description:" 4
4294 For each photo, return its EXIF/TIFF/GPS tags
4295 as \f[I]exif\f[] and \f[I]camera\f[] metadata.
4296
4297 .IP "Note:" 4
4298 This requires 1 additional API call per photo.
4299 See \f[I]flickr.photos.getExif\f[] for details.
4300
4301
4302 .SS extractor.flickr.info
4303 .IP "Type:" 6
4304 \f[I]bool\f[]
4305
4306 .IP "Default:" 9
4307 \f[I]false\f[]
4308
4309 .IP "Description:" 4
4310 For each photo, retrieve its "full" metadata as provided by
4311 \f[I]flickr.photos.getInfo\f[]
4312
4313 .IP "Note:" 4
4314 This requires 1 additional API call per photo.
4315
4316
4317 .SS extractor.flickr.metadata
4318 .IP "Type:" 6
4319 .br
4320 * \f[I]bool\f[]
4321 .br
4322 * \f[I]string\f[]
4323 .br
4324 * \f[I]list\f[] of \f[I]strings\f[]
4325
4326 .IP "Default:" 9
4327 \f[I]false\f[]
4328
4329 .IP "Example:" 4
4330 .br
4331 * license,last_update,machine_tags
4332 .br
4333 * ["license", "last_update", "machine_tags"]
4334
4335 .IP "Description:" 4
4336 Extract additional metadata
4337 (license, date_taken, original_format, last_update, geo, machine_tags, o_dims)
4338
4339 It is possible to specify a custom list of metadata includes.
4340 See \f[I]the extras parameter\f[]
4341 in \f[I]Flickr's API docs\f[]
4342 for possible field names.
4343
4344
4345 .SS extractor.flickr.profile
4346 .IP "Type:" 6
4347 \f[I]bool\f[]
4348
4349 .IP "Default:" 9
4350 \f[I]false\f[]
4351
4352 .IP "Description:" 4
4353 Extract additional \f[I]user\f[] profile metadata.
4354
4355 .IP "Note:" 4
4356 This requires 1 additional API call per user profile.
4357 See \f[I]flickr.people.getInfo\f[] for details.
4358
4359
4360 .SS extractor.flickr.size-max
4361 .IP "Type:" 6
4362 .br
4363 * \f[I]integer\f[]
4364 .br
4365 * \f[I]string\f[]
4366
4367 .IP "Default:" 9
4368 \f[I]null\f[]
4369
4370 .IP "Description:" 4
4371 Sets the maximum allowed size for downloaded images.
4372
4373 .br
4374 * If this is an \f[I]integer\f[], it specifies the maximum image dimension
4375 (width and height) in pixels.
4376 .br
4377 * If this is a \f[I]string\f[], it should be one of Flickr's format specifiers
4378 (\f[I]"Original"\f[], \f[I]"Large"\f[], ... or \f[I]"o"\f[], \f[I]"k"\f[], \f[I]"h"\f[],
4379 \f[I]"l"\f[], ...) to use as an upper limit.
4380
4381
4382 .SS extractor.flickr.videos
4383 .IP "Type:" 6
4384 \f[I]bool\f[]
4385
4386 .IP "Default:" 9
4387 \f[I]true\f[]
4388
4389 .IP "Description:" 4
4390 Extract and download videos.
4391
4392
4393 .SS extractor.flickr.urls
4394 .IP "Type:" 6
4395 \f[I]string\f[]
4396
4397 .IP "Default:" 9
4398 \f[I]null\f[]
4399
4400 .IP "Description:" 4
4401 Transform image URLs.
4402
4403 \f[I]"download"\f[]
4404 Download URLs
4405 (e.g. \f[I]https://live.staticflickr.com/123/456789_abcdef_o_d.jpg\f[])
4406
4407
4408 .SS extractor.foriio.audio
4409 .IP "Type:" 6
4410 \f[I]bool\f[]
4411
4412 .IP "Default:" 9
4413 \f[I]true\f[]
4414
4415 .IP "Description:" 4
4416 Download embedded audio files using \f[I]ytdl\f[]
4417 in \f[I]sound\f[] works
4418
4419
4420 .SS extractor.foriio.external
4421 .IP "Type:" 6
4422 \f[I]bool\f[]
4423
4424 .IP "Default:" 9
4425 \f[I]true\f[]
4426
4427 .IP "Description:" 4
4428 Follow external URLs
4429 in \f[I]web_article\f[] works
4430
4431
4432 .SS extractor.foriio.user.posts
4433 .IP "Type:" 6
4434 .br
4435 * \f[I]string\f[]
4436 .br
4437 * \f[I]list\f[] of \f[I]strings\f[]
4438
4439 .IP "Default:" 9
4440 \f[I]null\f[]
4441
4442 .IP "Example:" 4
4443 .br
4444 * "image,video,sound"
4445 .br
4446 * ["web_article", "copy_writing"]
4447
4448 .IP "Description:" 4
4449 Only process works of the given types.
4450
4451
4452 .SS extractor.foriio.previews
4453 .IP "Type:" 6
4454 \f[I]bool\f[]
4455
4456 .IP "Default:" 9
4457 \f[I]false\f[]
4458
4459 .IP "Description:" 4
4460 Download preview images of embedded media.
4461
4462
4463 .SS extractor.foriio.videos
4464 .IP "Type:" 6
4465 \f[I]bool\f[]
4466
4467 .IP "Default:" 9
4468 \f[I]true\f[]
4469
4470 .IP "Description:" 4
4471 Download embedded (YouTube) videos using \f[I]ytdl\f[]
4472 in \f[I]video\f[] works
4473
4474
4475 .SS extractor.furaffinity.comments
4476 .IP "Type:" 6
4477 \f[I]string\f[]
4478
4479 .IP "Default:" 9
4480 \f[I]"text"\f[]
4481
4482 .IP "Description:" 4
4483 Controls the format of \f[I]text\f[] entries in \f[I]comments\f[] metadata fields.
4484
4485 \f[I]"text"\f[]
4486 Plain text with HTML tags removed
4487 \f[I]"html"\f[]
4488 Raw HTML content
4489
4490
4491 .SS extractor.furaffinity.descriptions
4492 .IP "Type:" 6
4493 \f[I]string\f[]
4494
4495 .IP "Default:" 9
4496 \f[I]"text"\f[]
4497
4498 .IP "Description:" 4
4499 Controls the format of \f[I]description\f[] metadata fields.
4500
4501 \f[I]"text"\f[]
4502 Plain text with HTML tags removed
4503 \f[I]"html"\f[]
4504 Raw HTML content
4505
4506
4507 .SS extractor.furaffinity.external
4508 .IP "Type:" 6
4509 \f[I]bool\f[]
4510
4511 .IP "Default:" 9
4512 \f[I]false\f[]
4513
4514 .IP "Description:" 4
4515 Follow external URLs linked in descriptions.
4516
4517
4518 .SS extractor.furaffinity.include
4519 .IP "Type:" 6
4520 .br
4521 * \f[I]string\f[]
4522 .br
4523 * \f[I]list\f[] of \f[I]strings\f[]
4524
4525 .IP "Default:" 9
4526 \f[I]"gallery"\f[]
4527
4528 .IP "Example:" 4
4529 .br
4530 * "scraps,favorite"
4531 .br
4532 * ["scraps", "favorite"]
4533
4534 .IP "Description:" 4
4535 A (comma-separated) list of subcategories to include
4536 when processing a user profile.
4537
4538 .IP "Supported Values:" 4
4539 .br
4540 * \f[I]gallery\f[]
4541 .br
4542 * \f[I]scraps\f[]
4543 .br
4544 * \f[I]favorite\f[]
4545 .br
4546 * \f[I]journals\f[]
4547
4548 .IP "Note:" 4
4549 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
4550
4551
4552 .SS extractor.furaffinity.layout
4553 .IP "Type:" 6
4554 \f[I]string\f[]
4555
4556 .IP "Default:" 9
4557 \f[I]"auto"\f[]
4558
4559 .IP "Description:" 4
4560 Selects which site layout to expect when parsing posts.
4561
4562 \f[I]"auto"\f[]
4563 Automatically differentiate between \f[I]"old"\f[] and \f[I]"new"\f[]
4564 \f[I]"old"\f[]
4565 Expect the *old* site layout
4566 \f[I]"new"\f[]
4567 Expect the *new* site layout
4568
4569
4570 .SS extractor.gelbooru.api-key & .user-id
4571 .IP "Type:" 6
4572 \f[I]string\f[]
4573
4574 .IP "Default:" 9
4575 \f[I]null\f[]
4576
4577 .IP "Description:" 4
4578 Values from the API Access Credentials section
4579 found at the bottom of your account's
4580 \f[I]Options\f[]
4581 page.
4582
4583
4584 .SS extractor.gelbooru.favorite.order-posts
4585 .IP "Type:" 6
4586 \f[I]string\f[]
4587
4588 .IP "Default:" 9
4589 \f[I]"desc"\f[]
4590
4591 .IP "Description:" 4
4592 Controls the order in which favorited posts are returned.
4593
4594 \f[I]"asc"\f[]
4595 Ascending favorite date order (oldest first)
4596 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
4597 Descending favorite date order (newest first)
4598
4599
4600 .SS extractor.generic.enabled
4601 .IP "Type:" 6
4602 \f[I]bool\f[]
4603
4604 .IP "Default:" 9
4605 \f[I]false\f[]
4606
4607 .IP "Description:" 4
4608 Match **all** URLs not otherwise supported by gallery-dl,
4609 even ones without a \f[I]generic:\f[] prefix.
4610
4611
4612 .SS extractor.gofile.api-token
4613 .IP "Type:" 6
4614 \f[I]string\f[]
4615
4616 .IP "Default:" 9
4617 \f[I]null\f[]
4618
4619 .IP "Description:" 4
4620 API token value found at the bottom of your \f[I]profile page\f[].
4621
4622 If not set, a temporary guest token will be used.
4623
4624
4625 .SS extractor.gofile.website-token
4626 .IP "Type:" 6
4627 \f[I]string\f[]
4628
4629 .IP "Description:" 4
4630 API token value used during API requests.
4631
4632 An invalid or not up-to-date value
4633 will result in \f[I]401 Unauthorized\f[] errors.
4634
4635 Keeping this option unset will use an extra HTTP request
4636 to attempt to fetch the current value used by gofile.
4637
4638
4639 .SS extractor.gofile.recursive
4640 .IP "Type:" 6
4641 \f[I]bool\f[]
4642
4643 .IP "Default:" 9
4644 \f[I]true\f[]
4645
4646 .IP "Description:" 4
4647 Recursively download files from subfolders.
4648
4649
4650 .SS extractor.gofile.salt
4651 .IP "Type:" 6
4652 \f[I]string\f[]
4653
4654 .IP "Description:" 4
4655 Alternate salt value used during website token generation.
4656
4657
4658 .SS extractor.hdoujin.cbz
4659 .IP "Type:" 6
4660 \f[I]bool\f[]
4661
4662 .IP "Default:" 9
4663 \f[I]false\f[]
4664
4665 .IP "Description:" 4
4666 Download each gallery as a single \f[I].cbz\f[] file.
4667
4668 .IP "Note:" 4
4669 Requires a
4670 \f[I]token\f[]
4671
4672
4673 .SS extractor.hdoujin.crt
4674 .IP "Type:" 6
4675 \f[I]string\f[]
4676
4677 .IP "Example:" 4
4678 .br
4679 * "0542daa9-352c-4fd5-a497-6c6d5cf07423"
4680 .br
4681 * "/12345/a1b2c3d4e5f6?crt=0542daa9-352c-4fd5-a497-6c6d5cf07423"
4682
4683 .IP "Description:" 4
4684 The \f[I]crt\f[] query parameter value
4685 sent when fetching gallery data.
4686
4687 To get this value:
4688
4689 .br
4690 * Open your browser's Developer Tools (F12)
4691 .br
4692 * Select Network → XHR
4693 .br
4694 * Open a gallery page
4695 .br
4696 * Select the last Network entry and copy its \f[I]crt\f[] value
4697
4698 .IP "Note:" 4
4699 You will also need your browser's
4700 \f[I]user-agent\f[]
4701
4702
4703 .SS extractor.hdoujin.format
4704 .IP "Type:" 6
4705 .br
4706 * \f[I]string\f[]
4707 .br
4708 * \f[I]list\f[] of \f[I]strings\f[]
4709
4710 .IP "Default:" 9
4711 \f[I]["0", "1600", "1280", "980", "780"]\f[]
4712
4713 .IP "Description:" 4
4714 Name(s) of the image format to download.
4715
4716 When more than one format is given, the first available one is selected.
4717
4718 Possible formats are
4719 .br
4720 \f[I]"780"\f[], \f[I]"980"\f[], \f[I]"1280"\f[], \f[I]"1600"\f[], \f[I]"0"\f[] (original)
4721 .br
4722
4723
4724 .SS extractor.hdoujin.tags
4725 .IP "Type:" 6
4726 \f[I]bool\f[]
4727
4728 .IP "Default:" 9
4729 \f[I]false\f[]
4730
4731 .IP "Description:" 4
4732 Group \f[I]tags\f[] by type and
4733 provide them as \f[I]tags_<type>\f[] metadata fields,
4734 for example \f[I]tags_artist\f[] or \f[I]tags_character\f[].
4735
4736
4737 .SS extractor.hdoujin.token
4738 .IP "Type:" 6
4739 \f[I]string\f[]
4740
4741 .IP "Example:" 4
4742 .br
4743 * "3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
4744 .br
4745 * "Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
4746 .br
4747 * "Authorization: Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
4748
4749 .IP "Description:" 4
4750 \f[I]Authorization\f[] header value
4751 used for requests to \f[I]https://api.hdoujin.org\f[]
4752 to access \f[I]favorite\f[] galleries
4753 or download
4754 \f[I].cbz\f[]
4755 archives.
4756
4757
4758 .SS extractor.hentaifoundry.descriptions
4759 .IP "Type:" 6
4760 \f[I]string\f[]
4761
4762 .IP "Default:" 9
4763 \f[I]"text"\f[]
4764
4765 .IP "Description:" 4
4766 Controls the format of \f[I]description\f[] metadata fields.
4767
4768 \f[I]"text"\f[]
4769 Plain text with HTML tags removed
4770 \f[I]"html"\f[]
4771 Raw HTML content
4772
4773
4774 .SS extractor.hentaifoundry.include
4775 .IP "Type:" 6
4776 .br
4777 * \f[I]string\f[]
4778 .br
4779 * \f[I]list\f[] of \f[I]strings\f[]
4780
4781 .IP "Default:" 9
4782 \f[I]"pictures"\f[]
4783
4784 .IP "Example:" 4
4785 .br
4786 * "scraps,stories"
4787 .br
4788 * ["scraps", "stories"]
4789
4790 .IP "Description:" 4
4791 A (comma-separated) list of subcategories to include
4792 when processing a user profile.
4793
4794 .IP "Supported Values:" 4
4795 .br
4796 * \f[I]pictures\f[]
4797 .br
4798 * \f[I]scraps\f[]
4799 .br
4800 * \f[I]stories\f[]
4801 .br
4802 * \f[I]favorite\f[]
4803
4804 .IP "Note:" 4
4805 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
4806
4807
4808 .SS extractor.hitomi.format
4809 .IP "Type:" 6
4810 \f[I]string\f[]
4811
4812 .IP "Default:" 9
4813 \f[I]"webp"\f[]
4814
4815 .IP "Description:" 4
4816 Selects which image format to download.
4817
4818 .IP "Available Formats:" 4
4819 .br
4820 * \f[I]"webp"\f[]
4821 .br
4822 * \f[I]"avif"\f[]
4823
4824
4825 .SS extractor.imagechest.access-token
4826 .IP "Type:" 6
4827 \f[I]string\f[]
4828
4829 .IP "Description:" 4
4830 Your personal Image Chest access token.
4831
4832 These tokens allow using the API instead of having to scrape HTML pages,
4833 providing more detailed metadata.
4834 (\f[I]date\f[], \f[I]description\f[], etc)
4835
4836 See https://imgchest.com/docs/api/1.0/general/authorization
4837 for instructions on how to generate such a token.
4838
4839
4840 .SS extractor.imgur.client-id
4841 .IP "Type:" 6
4842 \f[I]string\f[]
4843
4844 .IP "Description:" 4
4845 Custom Client ID value for API requests.
4846
4847
4848 .SS extractor.imgur.mp4
4849 .IP "Type:" 6
4850 .br
4851 * \f[I]bool\f[]
4852 .br
4853 * \f[I]string\f[]
4854
4855 .IP "Default:" 9
4856 \f[I]true\f[]
4857
4858 .IP "Description:" 4
4859 Controls whether to choose the GIF or MP4 version of an animation.
4860
4861 \f[I]true\f[]
4862 Follow Imgur's advice and choose MP4 if the
4863 \f[I]prefer_video\f[] flag in an image's metadata is set.
4864 \f[I]false\f[]
4865 Always choose GIF.
4866 \f[I]"always"\f[]
4867 Always choose MP4.
4868
4869
4870 .SS extractor.inkbunny.orderby
4871 .IP "Type:" 6
4872 \f[I]string\f[]
4873
4874 .IP "Default:" 9
4875 \f[I]"create_datetime"\f[]
4876
4877 .IP "Description:" 4
4878 Value of the \f[I]orderby\f[] parameter for submission searches.
4879
4880 (See \f[I]API#Search\f[]
4881 for details)
4882
4883
4884 .SS extractor.instagram.audio
4885 .IP "Type:" 6
4886 .br
4887 * \f[I]bool\f[]
4888 .br
4889 * \f[I]string\f[]
4890
4891 .IP "Default:" 9
4892 \f[I]false\f[]
4893
4894 .IP "Description:" 4
4895 Controls audio download behavior.
4896
4897 \f[I]true\f[] \f[I] \f[I]"dash"\f[] \f[] \f[I]"ytdl"\f[]
4898 Download audio from \f[I]dash_manifest\f[] data using \f[I]ytdl\f[] when available
4899 and a non-DASH format otherwise
4900 \f[I]"merged"\f[]
4901 Download non-DASH formats
4902 \f[I]false\f[]
4903 Do not download audio files
4904
4905
4906 .SS extractor.instagram.cursor
4907 .IP "Type:" 6
4908 .br
4909 * \f[I]bool\f[]
4910 .br
4911 * \f[I]string\f[]
4912
4913 .IP "Default:" 9
4914 \f[I]true\f[]
4915
4916 .IP "Example:" 4
4917 "3414259811154179155_25025320"
4918
4919 .IP "Description:" 4
4920 Controls from which position to start the extraction process from.
4921
4922 \f[I]true\f[]
4923 Start from the beginning.
4924 .br
4925 Log the most recent \f[I]cursor\f[] value when interrupted before reaching the end.
4926 .br
4927 \f[I]false\f[]
4928 Start from the beginning.
4929 any \f[I]string\f[]
4930 Start from the position defined by this value.
4931
4932
4933 .SS extractor.instagram.include
4934 .IP "Type:" 6
4935 .br
4936 * \f[I]string\f[]
4937 .br
4938 * \f[I]list\f[] of \f[I]strings\f[]
4939
4940 .IP "Default:" 9
4941 \f[I]"posts"\f[]
4942
4943 .IP "Example:" 4
4944 .br
4945 * "stories,highlights,posts"
4946 .br
4947 * ["stories", "highlights", "posts"]
4948
4949 .IP "Description:" 4
4950 A (comma-separated) list of subcategories to include
4951 when processing a user profile.
4952
4953 .IP "Supported Values:" 4
4954 .br
4955 * \f[I]posts\f[]
4956 .br
4957 * \f[I]reels\f[]
4958 .br
4959 * \f[I]tagged\f[]
4960 .br
4961 * \f[I]stories\f[]
4962 .br
4963 * \f[I]highlights\f[]
4964 .br
4965 * \f[I]info\f[]
4966 .br
4967 * \f[I]avatar\f[]
4968
4969 .IP "Note:" 4
4970 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
4971
4972
4973 .SS extractor.instagram.max-posts
4974 .IP "Type:" 6
4975 \f[I]integer\f[]
4976
4977 .IP "Default:" 9
4978 \f[I]null\f[]
4979
4980 .IP "Description:" 4
4981 Limit the number of posts to download.
4982
4983
4984 .SS extractor.instagram.metadata
4985 .IP "Type:" 6
4986 \f[I]bool\f[]
4987
4988 .IP "Default:" 9
4989 \f[I]false\f[]
4990
4991 .IP "Description:" 4
4992 Provide extended \f[I]user\f[] metadata even when referring to a user by ID,
4993 e.g. \f[I]instagram.com/id:12345678\f[].
4994
4995 .IP "Note:" 4
4996 This metadata is always available when referring to a user by name,
4997 e.g. \f[I]instagram.com/USERNAME\f[].
4998
4999
5000 .SS extractor.instagram.order-files
5001 .IP "Type:" 6
5002 \f[I]string\f[]
5003
5004 .IP "Default:" 9
5005 \f[I]"asc"\f[]
5006
5007 .IP "Description:" 4
5008 Controls the order in which files of each post are returned.
5009
5010 \f[I]"asc"\f[]
5011 Same order as displayed in a post
5012 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
5013 Reverse order as displayed in a post
5014
5015 .IP "Note:" 4
5016 This option does *not* affect \f[I]{num}\f[].
5017 To enumerate files in reverse order, use \f[I]count - num + 1\f[].
5018
5019
5020 .SS extractor.instagram.order-posts
5021 .IP "Type:" 6
5022 \f[I]string\f[]
5023
5024 .IP "Default:" 9
5025 \f[I]"asc"\f[]
5026
5027 .IP "Description:" 4
5028 Controls the order in which posts are returned.
5029
5030 \f[I]"asc"\f[]
5031 Same order as displayed
5032 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
5033 Reverse order as displayed
5034 \f[I]"id"\f[] or \f[I]"id_asc"\f[]
5035 Ascending order by ID
5036 \f[I]"id_desc"\f[]
5037 Descending order by ID
5038
5039 .IP "Note:" 4
5040 This option only affects \f[I]highlights\f[].
5041
5042
5043 .SS extractor.instagram.pinned
5044 .IP "Type:" 6
5045 \f[I]bool\f[]
5046
5047 .IP "Default:" 9
5048 \f[I]true\f[]
5049
5050 .IP "Description:" 4
5051 Process pinned posts.
5052
5053
5054 .SS extractor.instagram.previews
5055 .IP "Type:" 6
5056 .br
5057 * \f[I]bool\f[]
5058 .br
5059 * \f[I]string\f[]
5060 .br
5061 * \f[I]list\f[] of \f[I]strings\f[]
5062
5063 .IP "Default:" 9
5064 \f[I]false\f[]
5065
5066 .IP "Example:" 4
5067 .br
5068 * "video"
5069 .br
5070 * ["audio", "video"]
5071
5072 .IP "Description:" 4
5073 Download video previews and audio covers.
5074
5075
5076 .SS extractor.instagram.static-videos
5077 .IP "Type:" 6
5078 \f[I]bool\f[]
5079
5080 .IP "Default:" 9
5081 \f[I]true\f[]
5082
5083 .IP "Description:" 4
5084 Download static story/highlight "videos" generated from a photo.
5085
5086 Disabling this option downloads the photo version instead.
5087
5088
5089 .SS extractor.instagram.user-cache
5090 .IP "Type:" 6
5091 .br
5092 * \f[I]bool\f[]
5093 .br
5094 * \f[I]string\f[]
5095
5096 .IP "Default:" 9
5097 \f[I]"disk"\f[]
5098
5099 .IP "Example:" 4
5100 "disk:86400"
5101
5102 .IP "Description:" 4
5103 Selects how to cache user profile data.
5104
5105 \f[I]true\f[] \f[I] \f[I]"disk"\f[]
5106 Cache user data on disk
5107 \f[I]"disk:EXP"\f[]
5108 Cache user data on disk.
5109 Refresh cache entry after \f[I]EXP\f[] seconds.
5110 \f[I]false\f[] \f[] \f[I]"memory"\f[]
5111 Cache user data in memory
5112
5113
5114 .SS extractor.instagram.user-strategy
5115 .IP "Type:" 6
5116 .br
5117 * \f[I]string\f[]
5118 .br
5119 * \f[I]list\f[] of \f[I]strings\f[]
5120
5121 .IP "Default:" 9
5122 \f[I]["search", "web"]\f[]
5123
5124 .IP "Example:" 4
5125 .br
5126 * "web,info,search"
5127 .br
5128 * ["web", "info", "search"]
5129
5130 .IP "Description:" 4
5131 Selects how to retrieve user IDs and profile data.
5132
5133 \f[I]"search"\f[] \f[I] \f[I]"topsearch"\f[]
5134 Use topsearch API results
5135 \f[I]"info"\f[] \f[] \f[I]"web_profile_info"\f[]
5136 Use web_profile_info API results
5137 .br
5138 (high liklyhood of \f[I]429 Too Many Requests\f[] errors)
5139 .br
5140 \f[I]"web"\f[] | \f[I]"webpage"\f[]
5141 Extract minimal user information from profile webpage
5142
5143
5144 .SS extractor.instagram.videos
5145 .IP "Type:" 6
5146 .br
5147 * \f[I]bool\f[]
5148 .br
5149 * \f[I]string\f[]
5150
5151 .IP "Default:" 9
5152 \f[I]true\f[]
5153
5154 .IP "Description:" 4
5155 Controls video download behavior.
5156
5157 \f[I]true\f[] \f[I] \f[I]"dash"\f[] \f[] \f[I]"ytdl"\f[]
5158 Download videos from \f[I]video_dash_manifest\f[] data using \f[I]ytdl\f[]
5159 \f[I]"merged"\f[]
5160 Download pre-merged video formats
5161 \f[I]false\f[]
5162 Do not download videos
5163
5164
5165 .SS extractor.instagram.warn-images
5166 .IP "Type:" 6
5167 .br
5168 * \f[I]bool\f[]
5169 .br
5170 * \f[I]string\f[]
5171
5172 .IP "Default:" 9
5173 \f[I]true\f[]
5174
5175 .IP "Description:" 4
5176 Show a warning when downloading images
5177 with a resolution smaller than the original.
5178
5179 \f[I]true\f[]
5180 Show a warning when at least one dimension
5181 is smaller than the reported original resolution
5182 \f[I]"all"\f[] | \f[I]"both"\f[]
5183 Show a warning only when both \f[I]width\f[] and \f[I]height\f[]
5184 are smaller than the reported original resolution
5185 \f[I]false\f[]
5186 Do not show a warning
5187
5188
5189 .SS extractor.instagram.warn-videos
5190 .IP "Type:" 6
5191 \f[I]bool\f[]
5192
5193 .IP "Default:" 9
5194 \f[I]true\f[]
5195
5196 .IP "Description:" 4
5197 Show a warning when downloading videos with a
5198 \f[I]User-Agent\f[]
5199 header causing potentially lowered video quality.
5200
5201
5202 .SS extractor.instagram.wd
5203 .IP "Type:" 6
5204 .br
5205 * \f[I]bool\f[]
5206 .br
5207 * \f[I]string\f[]
5208
5209 .IP "Default:" 9
5210 \f[I]false\f[]
5211
5212 .IP "Description:" 4
5213 Controls how to handle \f[I]wd\f[] cookies,
5214 .br
5215 which possibly limit the dimensions of returned photos.
5216 .br
5217
5218 \f[I]true\f[]
5219 Keep \f[I]wd\f[] cookie
5220 \f[I]false\f[]
5221 Unset/delete \f[I]wd\f[] cookie
5222 any \f[I]string\f[]
5223 Set \f[I]wd\f[] cookie to this value
5224
5225
5226 .SS extractor.instagram.stories.split
5227 .IP "Type:" 6
5228 .br
5229 * \f[I]bool\f[]
5230
5231 .IP "Default:" 9
5232 \f[I]false\f[]
5233
5234 .IP "Description:" 4
5235 Split \f[I]stories\f[] elements into separate posts.
5236
5237
5238 .SS extractor.itaku.include
5239 .IP "Type:" 6
5240 .br
5241 * \f[I]string\f[]
5242 .br
5243 * \f[I]list\f[] of \f[I]strings\f[]
5244
5245 .IP "Default:" 9
5246 \f[I]"gallery"\f[]
5247
5248 .IP "Example:" 4
5249 .br
5250 * "stars,gallery"
5251 .br
5252 * ["stars", "gallery"]
5253
5254 .IP "Description:" 4
5255 A (comma-separated) list of subcategories to include
5256 when processing a user profile.
5257
5258 .IP "Supported Values:" 4
5259 .br
5260 * \f[I]gallery\f[]
5261 .br
5262 * \f[I]posts\f[]
5263 .br
5264 * \f[I]followers\f[]
5265 .br
5266 * \f[I]following\f[]
5267 .br
5268 * \f[I]stars\f[]
5269
5270 .IP "Note:" 4
5271 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
5272
5273
5274 .SS extractor.itaku.order
5275 .IP "Type:" 6
5276 \f[I]string\f[]
5277
5278 .IP "Default:" 9
5279 \f[I]"desc"\f[]
5280
5281 .IP "Description:" 4
5282 Controls the order in which
5283 images/posts/users are returned.
5284
5285 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
5286 Ascending order (oldest first)
5287 \f[I]"desc"\f[]
5288 Descending order (newest first)
5289 any other \f[I]string\f[]
5290 Custom result order
5291
5292
5293 .SS extractor.itaku.videos
5294 .IP "Type:" 6
5295 \f[I]bool\f[]
5296
5297 .IP "Default:" 9
5298 \f[I]true\f[]
5299
5300 .IP "Description:" 4
5301 Download video files.
5302
5303
5304 .SS extractor.iwara.embeds
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 Downlload embedded external videos using \f[I]ytdl\f[].
5313
5314
5315 .SS extractor.iwara.format
5316 .IP "Type:" 6
5317 .br
5318 * \f[I]string\f[]
5319 .br
5320 * \f[I]list\f[] of \f[I]strings\f[]
5321
5322 .IP "Example:" 4
5323 .br
5324 * "Source"
5325 .br
5326 * "360,540,Source"
5327 .br
5328 * ["360", "540", "Source"]
5329
5330 .IP "Description:" 4
5331 Selects the preferred format for video downloads.
5332
5333 When more than one format is given, the first available one is selected.
5334
5335
5336 .SS extractor.iwara.include
5337 .IP "Type:" 6
5338 .br
5339 * \f[I]string\f[]
5340 .br
5341 * \f[I]list\f[] of \f[I]strings\f[]
5342
5343 .IP "Default:" 9
5344 \f[I]["user-images", "user-videos"]\f[]
5345
5346 .IP "Description:" 4
5347 A (comma-separated) list of subcategories to include
5348 when processing a user profile.
5349
5350 .IP "Supported Values:" 4
5351 .br
5352 * \f[I]user-images\f[]
5353 .br
5354 * \f[I]user-videos\f[]
5355 .br
5356 * \f[I]user-playlists\f[]
5357
5358 .IP "Note:" 4
5359 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
5360
5361
5362 .SS extractor.joyreactor.embeds
5363 .IP "Type:" 6
5364 \f[I]bool\f[]
5365
5366 .IP "Default:" 9
5367 \f[I]false\f[]
5368
5369 .IP "Description:" 4
5370 Downlload embedded external videos with \f[I]ytdl\f[].
5371
5372
5373 .SS extractor.joyreactor.formats
5374 .IP "Type:" 6
5375 .br
5376 * \f[I]string\f[]
5377 .br
5378 * \f[I]list\f[] of \f[I]strings\f[]
5379
5380 .IP "Default:" 9
5381 \f[I]["webm"]\f[]
5382
5383 .IP "Example:" 4
5384 "gif,mp4,webm"
5385
5386 .IP "Description:" 4
5387 A (comma-separated) list of video formats to download.
5388
5389 .IP "Supported Values:" 4
5390 .br
5391 * \f[I]webm\f[]
5392 .br
5393 * \f[I]mp4\f[]
5394 .br
5395 * \f[I]gif\f[]
5396
5397
5398 .SS extractor.joyreactor.metadata
5399 .IP "Type:" 6
5400 \f[I]bool\f[]
5401
5402 .IP "Default:" 9
5403 \f[I]false\f[]
5404
5405 .IP "Description:" 4
5406 Extract additional metadata.
5407
5408
5409 .SS extractor.joyreactor.videos
5410 .IP "Type:" 6
5411 \f[I]bool\f[]
5412
5413 .IP "Default:" 9
5414 \f[I]true\f[]
5415
5416 .IP "Description:" 4
5417 Download videos.
5418
5419
5420 .SS extractor.kemono.archives
5421 .IP "Type:" 6
5422 \f[I]bool\f[]
5423
5424 .IP "Default:" 9
5425 \f[I]false\f[]
5426
5427 .IP "Description:" 4
5428 Extract additional metadata for \f[I]archives\f[] files, including
5429 \f[I]file\f[], \f[I]file_list\f[], and \f[I]password\f[].
5430
5431 .IP "Note:" 4
5432 This requires 1 additional HTTP request per \f[I]archives\f[] file.
5433
5434
5435 .SS extractor.kemono.archives-format
5436 .IP "Type:" 6
5437 \f[I]string\f[]
5438
5439 .IP "Default:" 9
5440 \f[I]"list"\f[]
5441
5442 .IP "Description:" 4
5443 Determines the format/type of the
5444 \f[I]archives\f[]
5445 metadata field.
5446
5447 \f[I]"list"\f[] \f[I] \f[I]"array"\f[]
5448 Plain \f[I]list\f[] with archive files as elements
5449 \f[I]"dict"\f[] \f[] \f[I]"object"\f[]
5450 A \f[I]dict\f[] with each archive file's \f[I]hash\f[] as key.
5451
5452
5453 .SS extractor.kemono.comments
5454 .IP "Type:" 6
5455 \f[I]bool\f[]
5456
5457 .IP "Default:" 9
5458 \f[I]false\f[]
5459
5460 .IP "Description:" 4
5461 Extract \f[I]comments\f[] metadata.
5462
5463 .IP "Note:" 4
5464 This requires 1 additional HTTP request per post.
5465
5466
5467 .SS extractor.kemono.duplicates
5468 .IP "Type:" 6
5469 .br
5470 * \f[I]bool\f[]
5471 .br
5472 * \f[I]string\f[]
5473 .br
5474 * \f[I]list\f[] of \f[I]strings\f[]
5475
5476 .IP "Default:" 9
5477 \f[I]false\f[]
5478
5479 .IP "Example:" 4
5480 .br
5481 * "attachment,inline"
5482 .br
5483 * ["file", "attachment"]
5484
5485 .IP "Description:" 4
5486 Controls how to handle duplicate files in a post.
5487
5488 \f[I]true\f[]
5489 Download duplicates
5490 \f[I]false\f[]
5491 Ignore duplicates
5492 any \f[I]list\f[] or \f[I]string\f[]
5493 Download a duplicate file if its \f[I]type\f[] is in the given list
5494 .br
5495 Ignore it otherwise
5496 .br
5497
5498
5499 .SS extractor.kemono.dms
5500 .IP "Type:" 6
5501 \f[I]bool\f[]
5502
5503 .IP "Default:" 9
5504 \f[I]false\f[]
5505
5506 .IP "Description:" 4
5507 Extract a user's direct messages as \f[I]dms\f[] metadata.
5508
5509
5510 .SS extractor.kemono.announcements
5511 .IP "Type:" 6
5512 \f[I]bool\f[]
5513
5514 .IP "Default:" 9
5515 \f[I]false\f[]
5516
5517 .IP "Description:" 4
5518 Extract a user's announcements as \f[I]announcements\f[] metadata.
5519
5520
5521 .SS extractor.kemono.expand
5522 .IP "Type:" 6
5523 \f[I]bool\f[]
5524
5525 .IP "Default:" 9
5526 \f[I]false\f[]
5527
5528 .IP "Description:" 4
5529 Provide complete post metadata
5530 by fetching extra data with an additional API request for each post.
5531
5532 Includes \f[I]captions\f[], \f[I]content\f[], \f[I]embed\f[], \f[I]poll\f[], \f[I]tags\f[],
5533
5534
5535 .SS extractor.kemono.favorites
5536 .IP "Type:" 6
5537 \f[I]string\f[]
5538
5539 .IP "Default:" 9
5540 \f[I]"artist"\f[]
5541
5542 .IP "Description:" 4
5543 Determines the type of favorites to be downloaded.
5544
5545 Available types are \f[I]artist\f[] and \f[I]post\f[].
5546
5547
5548 .SS extractor.kemono.files
5549 .IP "Type:" 6
5550 \f[I]list\f[] of \f[I]strings\f[]
5551
5552 .IP "Default:" 9
5553 \f[I]["attachments", "file", "inline"]\f[]
5554
5555 .IP "Description:" 4
5556 Determines the type and order of files to be downloaded.
5557
5558 .IP "Available Types:" 4
5559 .br
5560 * \f[I]file\f[]
5561 .br
5562 * \f[I]attachments\f[]
5563 .br
5564 * \f[I]inline\f[]
5565
5566
5567 .SS extractor.kemono.max-posts
5568 .IP "Type:" 6
5569 \f[I]integer\f[]
5570
5571 .IP "Default:" 9
5572 \f[I]null\f[]
5573
5574 .IP "Description:" 4
5575 Limit the number of posts to download.
5576
5577
5578 .SS extractor.kemono.metadata
5579 .IP "Type:" 6
5580 \f[I]bool\f[]
5581
5582 .IP "Default:" 9
5583 \f[I]true\f[]
5584
5585 .IP "Description:" 4
5586 Extract \f[I]username\f[] and \f[I]user_profile\f[] metadata.
5587
5588
5589 .SS extractor.kemono.original
5590 .IP "Type:" 6
5591 \f[I]bool\f[]
5592
5593 .IP "Default:" 9
5594 \f[I]false\f[]
5595
5596 .IP "Description:" 4
5597 Try to download original files.
5598
5599 Download thumbnails/previews if available when this option is disabled.
5600
5601
5602 .SS extractor.kemono.revisions
5603 .IP "Type:" 6
5604 .br
5605 * \f[I]bool\f[]
5606 .br
5607 * \f[I]string\f[]
5608
5609 .IP "Default:" 9
5610 \f[I]false\f[]
5611
5612 .IP "Description:" 4
5613 Extract post revisions.
5614
5615 Set this to \f[I]"unique"\f[] to filter out duplicate revisions.
5616
5617 .IP "Note:" 4
5618 This requires 1 additional HTTP request per post.
5619
5620
5621 .SS extractor.kemono.order-revisions
5622 .IP "Type:" 6
5623 \f[I]string\f[]
5624
5625 .IP "Default:" 9
5626 \f[I]"desc"\f[]
5627
5628 .IP "Description:" 4
5629 Controls the order in which
5630 \f[I]revisions\f[]
5631 are returned.
5632
5633 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
5634 Ascending order (oldest first)
5635 \f[I]"desc"\f[]
5636 Descending order (newest first)
5637
5638
5639 .SS extractor.kemono.discord.order-posts
5640 .IP "Type:" 6
5641 \f[I]string\f[]
5642
5643 .IP "Default:" 9
5644 \f[I]"asc"\f[]
5645
5646 .IP "Description:" 4
5647 Controls the order in which
5648 \f[I]discord\f[] posts
5649 are returned.
5650
5651 \f[I]"asc"\f[]
5652 Ascending order (oldest first)
5653 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
5654 Descending order (newest first)
5655
5656
5657 .SS extractor.khinsider.covers
5658 .IP "Type:" 6
5659 \f[I]bool\f[]
5660
5661 .IP "Default:" 9
5662 \f[I]false\f[]
5663
5664 .IP "Description:" 4
5665 Download album cover images.
5666
5667
5668 .SS extractor.khinsider.format
5669 .IP "Type:" 6
5670 \f[I]string\f[]
5671
5672 .IP "Default:" 9
5673 \f[I]"mp3"\f[]
5674
5675 .IP "Description:" 4
5676 The name of the preferred file format to download.
5677
5678 Use \f[I]"all"\f[] to download all available formats,
5679 or a (comma-separated) list to select multiple formats.
5680
5681 If the selected format is not available,
5682 the first in the list gets chosen (usually mp3).
5683
5684
5685 .SS extractor.koofr.recursive
5686 .IP "Type:" 6
5687 \f[I]bool\f[]
5688
5689 .IP "Default:" 9
5690 \f[I]true\f[]
5691
5692 .IP "Description:" 4
5693 \f[I]true\f[]
5694 Recursively descent into subfolders
5695 while downloading individual files.
5696 \f[I]false\f[]
5697 Download shared /links/ with multiple files as a single .zip file.
5698
5699
5700 .SS extractor.lolisafe.domain
5701 .IP "Type:" 6
5702 \f[I]string\f[]
5703
5704 .IP "Default:" 9
5705 \f[I]null\f[]
5706
5707 .IP "Description:" 4
5708 Specifies the domain used by a \f[I]lolisafe\f[] extractor
5709 regardless of input URL.
5710
5711 Setting this option to \f[I]"auto"\f[]
5712 uses the same domain as a given input URL.
5713
5714
5715 .SS extractor.luscious.gif
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 Format in which to download animated images.
5724
5725 Use \f[I]true\f[] to download animated images as gifs and \f[I]false\f[]
5726 to download as mp4 videos.
5727
5728
5729 .SS extractor.mangadex.api-server
5730 .IP "Type:" 6
5731 \f[I]string\f[]
5732
5733 .IP "Default:" 9
5734 \f[I]"https://api.mangadex.org"\f[]
5735
5736 .IP "Description:" 4
5737 The server to use for API requests.
5738
5739
5740 .SS extractor.mangadex.api-parameters
5741 .IP "Type:" 6
5742 \f[I]object\f[] (name → value)
5743
5744 .IP "Example:" 4
5745 {"order[updatedAt]": "desc"}
5746
5747 .IP "Description:" 4
5748 Additional query parameters to send when fetching manga chapters.
5749
5750 (See \f[I]/manga/{id}/feed\f[]
5751 and \f[I]/user/follows/manga/feed\f[])
5752
5753
5754 .SS extractor.mangadex.data-saver
5755 .IP "Type:" 6
5756 \f[I]bool\f[]
5757
5758 .IP "Default:" 9
5759 \f[I]false\f[]
5760
5761 .IP "Description:" 4
5762 Enable Data Saver mode and download lower quality versions of chapters.
5763
5764
5765 .SS extractor.mangadex.lang
5766 .IP "Type:" 6
5767 .br
5768 * \f[I]string\f[]
5769 .br
5770 * \f[I]list\f[] of \f[I]strings\f[]
5771
5772 .IP "Example:" 4
5773 .br
5774 * "en"
5775 .br
5776 * "fr,it"
5777 .br
5778 * ["fr", "it"]
5779
5780 .IP "Description:" 4
5781 \f[I]ISO 639-1\f[] code(s) to filter chapters by.
5782
5783
5784 .SS extractor.mangadex.ratings
5785 .IP "Type:" 6
5786 .br
5787 * \f[I]string\f[]
5788 .br
5789 * \f[I]list\f[] of \f[I]strings\f[]
5790
5791 .IP "Default:" 9
5792 \f[I]["safe", "suggestive", "erotica", "pornographic"]\f[]
5793
5794 .IP "Example:" 4
5795 .br
5796 * "safe"
5797 .br
5798 * "erotica,suggestive"
5799 .br
5800 * ["erotica", "suggestive"]
5801
5802 .IP "Description:" 4
5803 List of acceptable content ratings for returned chapters.
5804
5805
5806 .SS extractor.mangadex.manga.covers
5807 .IP "Type:" 6
5808 \f[I]bool\f[]
5809
5810 .IP "Default:" 9
5811 \f[I]false\f[]
5812
5813 .IP "Description:" 4
5814 Download manga cover images.
5815
5816
5817 .SS extractor.mangafire.manga.lang
5818 .IP "Type:" 6
5819 \f[I]string\f[]
5820
5821 .IP "Default:" 9
5822 \f[I]"en"\f[]
5823
5824 .IP "Description:" 4
5825 \f[I]ISO 639-1\f[] code selecting which chapters to download.
5826
5827
5828 .SS extractor.mangareader.manga.lang
5829 .IP "Type:" 6
5830 \f[I]string\f[]
5831
5832 .IP "Default:" 9
5833 \f[I]"en"\f[]
5834
5835 .IP "Example:" 4
5836 "pt-br"
5837
5838 .IP "Description:" 4
5839 \f[I]ISO 639-1\f[] code selecting which chapters to download.
5840
5841
5842 .SS extractor.mangapark.source
5843 .IP "Type:" 6
5844 .br
5845 * \f[I]string\f[]
5846 .br
5847 * \f[I]integer\f[]
5848
5849 .IP "Example:" 4
5850 .br
5851 * "koala:en"
5852 .br
5853 * 15150116
5854
5855 .IP "Description:" 4
5856 Select chapter source and language for a manga.
5857
5858 The general syntax is \f[I]"<source name>:<ISO 639-1 language code>"\f[].
5859 .br
5860 Both are optional, meaning \f[I]"koala"\f[], \f[I]"koala:"\f[], \f[I]":en"\f[],
5861 .br
5862 or even just \f[I]":"\f[] are possible as well.
5863
5864 Specifying the numeric \f[I]ID\f[] of a source is also supported.
5865
5866
5867 .SS extractor.[mastodon].access-token
5868 .IP "Type:" 6
5869 \f[I]string\f[]
5870
5871 .IP "Default:" 9
5872 \f[I]null\f[]
5873
5874 .IP "Description:" 4
5875 The \f[I]access-token\f[] value you get from \f[I]linking your account to
5876 gallery-dl\f[].
5877
5878 .IP "Note:" 4
5879 gallery-dl comes with built-in tokens for
5880 \f[I]mastodon.social\f[], \f[I]pawoo\f[], and \f[I]baraag\f[].
5881
5882
5883 .SS extractor.[mastodon].cards
5884 .IP "Type:" 6
5885 \f[I]bool\f[]
5886
5887 .IP "Default:" 9
5888 \f[I]false\f[]
5889
5890 .IP "Description:" 4
5891 Fetch media from cards.
5892
5893
5894 .SS extractor.[mastodon].reblogs
5895 .IP "Type:" 6
5896 \f[I]bool\f[]
5897
5898 .IP "Default:" 9
5899 \f[I]false\f[]
5900
5901 .IP "Description:" 4
5902 Fetch media from reblogged posts.
5903
5904
5905 .SS extractor.[mastodon].replies
5906 .IP "Type:" 6
5907 \f[I]bool\f[]
5908
5909 .IP "Default:" 9
5910 \f[I]true\f[]
5911
5912 .IP "Description:" 4
5913 Fetch media from replies to other posts.
5914
5915
5916 .SS extractor.[mastodon].text-posts
5917 .IP "Type:" 6
5918 \f[I]bool\f[]
5919
5920 .IP "Default:" 9
5921 \f[I]false\f[]
5922
5923 .IP "Description:" 4
5924 Also emit metadata for text-only posts without media content.
5925
5926
5927 .SS extractor.[misskey].access-token
5928 .IP "Type:" 6
5929 \f[I]string\f[]
5930
5931 .IP "Description:" 4
5932 Your access token, necessary to fetch favorited notes.
5933
5934
5935 .SS extractor.[misskey].date-min & .date-max
5936 .IP "Type:" 6
5937 \f[I]Date\f[]
5938
5939 .IP "Default:" 9
5940 \f[I]null\f[]
5941
5942 .IP "Description:" 4
5943 Retrieve only notes posted after/before this \f[I]Date\f[]
5944
5945
5946 .SS extractor.[misskey].include
5947 .IP "Type:" 6
5948 .br
5949 * \f[I]string\f[]
5950 .br
5951 * \f[I]list\f[] of \f[I]strings\f[]
5952
5953 .IP "Default:" 9
5954 \f[I]"notes"\f[]
5955
5956 .IP "Example:" 4
5957 .br
5958 * "avatar,background,notes"
5959 .br
5960 * ["avatar", "background", "notes"]
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]info\f[]
5969 .br
5970 * \f[I]avatar\f[]
5971 .br
5972 * \f[I]background\f[]
5973 .br
5974 * \f[I]notes\f[]
5975
5976 .IP "Note:" 4
5977 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
5978
5979
5980 .SS extractor.[misskey].order-posts
5981 .IP "Type:" 6
5982 \f[I]string\f[]
5983
5984 .IP "Default:" 9
5985 \f[I]"desc"\f[]
5986
5987 .IP "Description:" 4
5988 Controls the order in which posts are processed.
5989
5990 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
5991 Ascending order (oldest first)
5992 \f[I]"desc"\f[]
5993 Descending order (newest first)
5994
5995
5996 .SS extractor.[misskey].renotes
5997 .IP "Type:" 6
5998 \f[I]bool\f[]
5999
6000 .IP "Default:" 9
6001 \f[I]false\f[]
6002
6003 .IP "Description:" 4
6004 Fetch media from renoted notes.
6005
6006
6007 .SS extractor.[misskey].replies
6008 .IP "Type:" 6
6009 \f[I]bool\f[]
6010
6011 .IP "Default:" 9
6012 \f[I]true\f[]
6013
6014 .IP "Description:" 4
6015 Fetch media from replies to other notes.
6016
6017
6018 .SS extractor.[misskey].text-posts
6019 .IP "Type:" 6
6020 \f[I]bool\f[]
6021
6022 .IP "Default:" 9
6023 \f[I]false\f[]
6024
6025 .IP "Description:" 4
6026 Also retrieve text-only notes without media content.
6027
6028
6029 .SS extractor.[moebooru].pool.metadata
6030 .IP "Type:" 6
6031 \f[I]bool\f[]
6032
6033 .IP "Default:" 9
6034 \f[I]false\f[]
6035
6036 .IP "Description:" 4
6037 Extract extended \f[I]pool\f[] metadata.
6038
6039 .IP "Note:" 4
6040 Not supported by all \f[I]moebooru\f[] instances.
6041
6042
6043 .SS extractor.myfigurecollection.include
6044 .IP "Type:" 6
6045 .br
6046 * \f[I]string\f[]
6047 .br
6048 * \f[I]list\f[] of \f[I]strings\f[]
6049
6050 .IP "Default:" 9
6051 \f[I]"user-pictures"\f[]
6052
6053 .IP "Description:" 4
6054 A (comma-separated) list of subcategories to include
6055 when processing a user profile.
6056
6057 .IP "Supported Values:" 4
6058 .br
6059 * \f[I]user-collections\f[]
6060 .br
6061 * \f[I]user-pictures\f[]
6062 .br
6063 * \f[I]user-albums\f[]
6064
6065 .IP "Note:" 4
6066 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
6067
6068
6069 .SS extractor.naver-blog.videos
6070 .IP "Type:" 6
6071 \f[I]bool\f[]
6072
6073 .IP "Default:" 9
6074 \f[I]true\f[]
6075
6076 .IP "Description:" 4
6077 Download videos.
6078
6079
6080 .SS extractor.naver-chzzk.offset
6081 .IP "Type:" 6
6082 \f[I]integer\f[]
6083
6084 .IP "Default:" 9
6085 \f[I]0\f[]
6086
6087 .IP "Description:" 4
6088 Custom \f[I]offset\f[] starting value when paginating over comments.
6089
6090
6091 .SS extractor.newgrounds.flash
6092 .IP "Type:" 6
6093 \f[I]bool\f[]
6094
6095 .IP "Default:" 9
6096 \f[I]true\f[]
6097
6098 .IP "Description:" 4
6099 Download original Adobe Flash animations instead of pre-rendered videos.
6100
6101
6102 .SS extractor.newgrounds.format
6103 .IP "Type:" 6
6104 .br
6105 * \f[I]string\f[]
6106 .br
6107 * \f[I]list\f[] of \f[I]string\f[]
6108
6109 .IP "Default:" 9
6110 \f[I]"original"\f[]
6111
6112 .IP "Example:" 4
6113 .br
6114 * "720p"
6115 .br
6116 * ["mp4", "mov", "1080p", "720p"]
6117
6118 .IP "Description:" 4
6119 Selects the preferred format for video downloads.
6120
6121 If the selected format is not available,
6122 the next smaller one gets chosen.
6123
6124 If this is a \f[I]list\f[], try each given
6125 filename extension in original resolution or recoded format
6126 until an available format is found.
6127
6128
6129 .SS extractor.newgrounds.include
6130 .IP "Type:" 6
6131 .br
6132 * \f[I]string\f[]
6133 .br
6134 * \f[I]list\f[] of \f[I]strings\f[]
6135
6136 .IP "Default:" 9
6137 \f[I]"art"\f[]
6138
6139 .IP "Example:" 4
6140 .br
6141 * "movies,audio"
6142 .br
6143 * ["movies", "audio"]
6144
6145 .IP "Description:" 4
6146 A (comma-separated) list of subcategories to include
6147 when processing a user profile.
6148
6149 .IP "Supported Values:" 4
6150 .br
6151 * \f[I]art\f[]
6152 .br
6153 * \f[I]audio\f[]
6154 .br
6155 * \f[I]games\f[]
6156 .br
6157 * \f[I]movies\f[]
6158
6159 .IP "Note:" 4
6160 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
6161
6162
6163 .SS extractor.nijie.include
6164 .IP "Type:" 6
6165 .br
6166 * \f[I]string\f[]
6167 .br
6168 * \f[I]list\f[] of \f[I]strings\f[]
6169
6170 .IP "Default:" 9
6171 \f[I]"illustration,doujin"\f[]
6172
6173 .IP "Description:" 4
6174 A (comma-separated) list of subcategories to include
6175 when processing a user profile.
6176
6177 .IP "Supported Values:" 4
6178 .br
6179 * \f[I]illustration\f[]
6180 .br
6181 * \f[I]doujin\f[]
6182 .br
6183 * \f[I]favorite\f[]
6184 .br
6185 * \f[I]nuita\f[]
6186
6187 .IP "Note:" 4
6188 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
6189
6190
6191 .SS extractor.[nitter].fallback-retries
6192 .IP "Type:" 6
6193 \f[I]integer\f[]
6194
6195 .IP "Default:" 9
6196 \f[I]2\f[]
6197
6198 .IP "Description:" 4
6199 Number of times fetching a Tweets results page is retried
6200 after receiving an empty response,
6201 or \f[I]-1\f[] for infinite retries.
6202
6203
6204 .SS extractor.[nitter].quoted
6205 .IP "Type:" 6
6206 \f[I]bool\f[]
6207
6208 .IP "Default:" 9
6209 \f[I]false\f[]
6210
6211 .IP "Description:" 4
6212 Fetch media from quoted Tweets.
6213
6214
6215 .SS extractor.[nitter].retweets
6216 .IP "Type:" 6
6217 \f[I]bool\f[]
6218
6219 .IP "Default:" 9
6220 \f[I]false\f[]
6221
6222 .IP "Description:" 4
6223 Fetch media from Retweets.
6224
6225
6226 .SS extractor.[nitter].videos
6227 .IP "Type:" 6
6228 .br
6229 * \f[I]bool\f[]
6230 .br
6231 * \f[I]string\f[]
6232
6233 .IP "Default:" 9
6234 \f[I]true\f[]
6235
6236 .IP "Description:" 4
6237 Control video download behavior.
6238
6239 \f[I]true\f[]
6240 Download videos
6241 \f[I]"ytdl"\f[]
6242 Download videos using \f[I]ytdl\f[]
6243 \f[I]false\f[]
6244 Skip video Tweets
6245
6246
6247 .SS extractor.oauth.browser
6248 .IP "Type:" 6
6249 \f[I]bool\f[]
6250
6251 .IP "Default:" 9
6252 \f[I]true\f[]
6253
6254 .IP "Description:" 4
6255 Controls how a user is directed to an OAuth authorization page.
6256
6257 \f[I]true\f[]
6258 Use Python's \f[I]webbrowser.open()\f[] method to automatically
6259 open the URL in the user's default browser.
6260 \f[I]false\f[]
6261 Ask the user to copy & paste an URL from the terminal.
6262
6263
6264 .SS extractor.oauth.cache
6265 .IP "Type:" 6
6266 \f[I]bool\f[]
6267
6268 .IP "Default:" 9
6269 \f[I]true\f[]
6270
6271 .IP "Description:" 4
6272 Store tokens received during OAuth authorizations
6273 in \f[I]cache\f[].
6274
6275
6276 .SS extractor.oauth.host
6277 .IP "Type:" 6
6278 \f[I]string\f[]
6279
6280 .IP "Default:" 9
6281 \f[I]"localhost"\f[]
6282
6283 .IP "Description:" 4
6284 Host name / IP address to bind to during OAuth authorization.
6285
6286
6287 .SS extractor.oauth.port
6288 .IP "Type:" 6
6289 \f[I]integer\f[]
6290
6291 .IP "Default:" 9
6292 \f[I]6414\f[]
6293
6294 .IP "Description:" 4
6295 Port number to listen on during OAuth authorization.
6296
6297 .IP "Note:" 4
6298 All redirects will go to port \f[I]6414\f[], regardless
6299 of the port specified here. You'll have to manually adjust the
6300 port number in your browser's address bar when using a different
6301 port than the default.
6302
6303
6304 .SS extractor.onlyhaven.domain
6305 .IP "Type:" 6
6306 \f[I]string\f[]
6307
6308 .IP "Default:" 9
6309 \f[I]null\f[]
6310
6311 .IP "Description:" 4
6312 Specifies the domain used by \f[I]onlyhaven\f[] extractors.
6313
6314 Setting this option to \f[I]"auto"\f[]
6315 uses the same domain as the given input URL.
6316
6317
6318 .SS extractor.onlyhaven.expand
6319 .IP "Type:" 6
6320 \f[I]bool\f[]
6321
6322 .IP "Default:" 9
6323 \f[I]false\f[]
6324
6325 .IP "Description:" 4
6326 Provide complete \f[I]creator\f[] post metadata
6327 by fetching extra data with an additional API request for each post.
6328
6329 Includes \f[I]originalFilename\f[], \f[I]comments\f[], \f[I]links\f[], \f[I]tags\f[],
6330
6331
6332 .SS extractor.onlyhaven.metadata
6333 .IP "Type:" 6
6334 \f[I]bool\f[]
6335
6336 .IP "Default:" 9
6337 \f[I]true\f[]
6338
6339 .IP "Description:" 4
6340 Extract \f[I]username\f[] and \f[I]user_profile\f[] metadata.
6341
6342
6343 .SS extractor.pawchive.archives
6344 .IP "Type:" 6
6345 \f[I]bool\f[]
6346
6347 .IP "Default:" 9
6348 \f[I]false\f[]
6349
6350 .IP "Description:" 4
6351 Extract additional metadata for \f[I]archives\f[] files, including
6352 \f[I]file\f[], \f[I]file_list\f[], and \f[I]password\f[].
6353
6354 .IP "Note:" 4
6355 This requires 1 additional HTTP request per \f[I]archives\f[] file.
6356
6357
6358 .SS extractor.pawchive.archives-format
6359 .IP "Type:" 6
6360 \f[I]string\f[]
6361
6362 .IP "Default:" 9
6363 \f[I]"list"\f[]
6364
6365 .IP "Description:" 4
6366 Determines the format/type of the
6367 \f[I]archives\f[]
6368 metadata field.
6369
6370 \f[I]"list"\f[] \f[I] \f[I]"array"\f[]
6371 Plain \f[I]list\f[] with archive files as elements
6372 \f[I]"dict"\f[] \f[] \f[I]"object"\f[]
6373 A \f[I]dict\f[] with each archive file's \f[I]hash\f[] as key.
6374
6375
6376 .SS extractor.pawchive.comments
6377 .IP "Type:" 6
6378 \f[I]bool\f[]
6379
6380 .IP "Default:" 9
6381 \f[I]false\f[]
6382
6383 .IP "Description:" 4
6384 Extract \f[I]comments\f[] metadata.
6385
6386 .IP "Note:" 4
6387 This requires 1 additional HTTP request per post.
6388
6389
6390 .SS extractor.pawchive.deferred
6391 .IP "Type:" 6
6392 .br
6393 * \f[I]bool\f[]
6394 .br
6395 * \f[I]string\f[]
6396
6397 .IP "Default:" 9
6398 \f[I]true\f[]
6399
6400 .IP "Description:" 4
6401 Extract and download \f[I]deferred\f[] files.
6402 .br
6403 (i.e. files marked with "Exceeded file size limit, available temporarily")
6404 .br
6405
6406 Set this to \f[I]"only"\f[] to download only \f[I]deferred\f[] files
6407 from posts containing at least one \f[I]deferred\f[] file.
6408
6409
6410 .SS extractor.pawchive.domain
6411 .IP "Type:" 6
6412 \f[I]string\f[]
6413
6414 .IP "Default:" 9
6415 \f[I]null\f[]
6416
6417 .IP "Description:" 4
6418 Specifies the domain used by \f[I]pawchive\f[] extractors.
6419
6420 Setting this option to \f[I]"auto"\f[]
6421 uses the same domain as the given input URL.
6422
6423
6424 .SS extractor.pawchive.duplicates
6425 .IP "Type:" 6
6426 .br
6427 * \f[I]bool\f[]
6428 .br
6429 * \f[I]string\f[]
6430 .br
6431 * \f[I]list\f[] of \f[I]strings\f[]
6432
6433 .IP "Default:" 9
6434 \f[I]false\f[]
6435
6436 .IP "Example:" 4
6437 .br
6438 * "attachment,inline"
6439 .br
6440 * ["file", "attachment"]
6441
6442 .IP "Description:" 4
6443 Controls how to handle duplicate files in a post.
6444
6445 \f[I]true\f[]
6446 Download duplicates
6447 \f[I]false\f[]
6448 Ignore duplicates
6449 any \f[I]list\f[] or \f[I]string\f[]
6450 Download a duplicate file if its \f[I]type\f[] is in the given list
6451 .br
6452 Ignore it otherwise
6453 .br
6454
6455
6456 .SS extractor.pawchive.expand
6457 .IP "Type:" 6
6458 \f[I]bool\f[]
6459
6460 .IP "Default:" 9
6461 \f[I]false\f[]
6462
6463 .IP "Description:" 4
6464 Provide complete post metadata
6465 by fetching extra data with an additional API request for each post.
6466
6467
6468 .SS extractor.pawchive.favorites
6469 .IP "Type:" 6
6470 \f[I]string\f[]
6471
6472 .IP "Default:" 9
6473 \f[I]"artist"\f[]
6474
6475 .IP "Description:" 4
6476 Determines the type of favorites to be downloaded.
6477
6478 Available types are \f[I]artist\f[] and \f[I]post\f[].
6479
6480
6481 .SS extractor.pawchive.files
6482 .IP "Type:" 6
6483 \f[I]list\f[] of \f[I]strings\f[]
6484
6485 .IP "Default:" 9
6486 \f[I]["file", "attachments", "inline"]\f[]
6487
6488 .IP "Description:" 4
6489 Determines the type and order of files to be downloaded.
6490
6491 .IP "Available Types:" 4
6492 .br
6493 * \f[I]file\f[]
6494 .br
6495 * \f[I]attachments\f[]
6496 .br
6497 * \f[I]inline\f[]
6498
6499
6500 .SS extractor.pawchive.max-posts
6501 .IP "Type:" 6
6502 \f[I]integer\f[]
6503
6504 .IP "Default:" 9
6505 \f[I]null\f[]
6506
6507 .IP "Description:" 4
6508 Limit the number of posts to download.
6509
6510
6511 .SS extractor.pawchive.metadata
6512 .IP "Type:" 6
6513 \f[I]bool\f[]
6514
6515 .IP "Default:" 9
6516 \f[I]true\f[]
6517
6518 .IP "Description:" 4
6519 Extract \f[I]username\f[] and \f[I]user_profile\f[] metadata.
6520
6521
6522 .SS extractor.pawchive.original
6523 .IP "Type:" 6
6524 \f[I]bool\f[]
6525
6526 .IP "Default:" 9
6527 \f[I]true\f[]
6528
6529 .IP "Description:" 4
6530 Download original files.
6531
6532 Download thumbnails/previews if available when this option is disabled.
6533
6534
6535 .SS extractor.pawchive.previews
6536 .IP "Type:" 6
6537 \f[I]bool\f[]
6538
6539 .IP "Default:" 9
6540 \f[I]false\f[]
6541
6542 .IP "Description:" 4
6543 Download thumbnails/previews for files marked as \f[I]preview_only\f[] and
6544 .br
6545 provide preview fallbacks for original files.
6546 .br
6547
6548
6549 .SS extractor.pawchive.revisions
6550 .IP "Type:" 6
6551 .br
6552 * \f[I]bool\f[]
6553 .br
6554 * \f[I]string\f[]
6555
6556 .IP "Default:" 9
6557 \f[I]false\f[]
6558
6559 .IP "Description:" 4
6560 Extract post revisions.
6561
6562 Set this to \f[I]"unique"\f[] to filter out duplicate revisions.
6563
6564 .IP "Note:" 4
6565 This requires 1 additional HTTP request per post.
6566
6567
6568 .SS extractor.pawchive.order-revisions
6569 .IP "Type:" 6
6570 \f[I]string\f[]
6571
6572 .IP "Default:" 9
6573 \f[I]"desc"\f[]
6574
6575 .IP "Description:" 4
6576 Controls the order in which
6577 \f[I]revisions\f[]
6578 are returned.
6579
6580 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
6581 Ascending order (oldest first)
6582 \f[I]"desc"\f[]
6583 Descending order (newest first)
6584
6585
6586 .SS extractor.paheal.metadata
6587 .IP "Type:" 6
6588 \f[I]bool\f[]
6589
6590 .IP "Default:" 9
6591 \f[I]false\f[]
6592
6593 .IP "Description:" 4
6594 Extract additional metadata (\f[I]source\f[], \f[I]uploader\f[])
6595
6596 .IP "Note:" 4
6597 This requires 1 additional HTTP request per post.
6598
6599
6600 .SS extractor.patreon.cursor
6601 .IP "Type:" 6
6602 .br
6603 * \f[I]bool\f[]
6604 .br
6605 * \f[I]string\f[]
6606
6607 .IP "Default:" 9
6608 \f[I]true\f[]
6609
6610 .IP "Example:" 4
6611 "03:eyJ2IjoxLCJjIjoiMzU0NDQ1MjAiLCJ0IjoiIn0=:DTcmjBoVj01o_492YBYqHhqx"
6612
6613 .IP "Description:" 4
6614 Controls from which position to start the extraction process from.
6615
6616 \f[I]true\f[]
6617 Start from the beginning.
6618 .br
6619 Log the most recent \f[I]cursor\f[] value when interrupted before reaching the end.
6620 .br
6621 \f[I]false\f[]
6622 Start from the beginning.
6623 any \f[I]string\f[]
6624 Start from the position defined by this value.
6625
6626
6627 .SS extractor.patreon.files
6628 .IP "Type:" 6
6629 \f[I]list\f[] of \f[I]strings\f[]
6630
6631 .IP "Default:" 9
6632 \f[I]["images", "image_large", "attachments", "postfile", "content"]\f[]
6633
6634 .IP "Description:" 4
6635 Determines types and order of files to download.
6636
6637 .IP "Available Types:" 4
6638 .br
6639 * \f[I]postfile\f[]
6640 .br
6641 * \f[I]images\f[]
6642 .br
6643 * \f[I]image_large\f[]
6644 .br
6645 * \f[I]attachments\f[]
6646 .br
6647 * \f[I]content\f[]
6648
6649
6650 .SS extractor.patreon.format-images
6651 .IP "Type:" 6
6652 \f[I]string\f[]
6653
6654 .IP "Default:" 9
6655 \f[I]"download_url"\f[]
6656
6657 .IP "Description:" 4
6658 Selects the format of \f[I]images\f[] \f[I]files\f[].
6659
6660 .IP "Available Formats:" 4
6661 .br
6662 * \f[I]download_url\f[] (\f[I]"a":1,"p":1\f[])
6663 .br
6664 * \f[I]url\f[] (\f[I]"w":620\f[])
6665 .br
6666 * \f[I]original\f[] (\f[I]"q":100,"webp":0\f[])
6667 .br
6668 * \f[I]default\f[] (\f[I]"w":620\f[])
6669 .br
6670 * \f[I]default_small\f[] (\f[I]"w":360\f[])
6671 .br
6672 * \f[I]default_blurred\f[] (\f[I]"w":620\f[])
6673 .br
6674 * \f[I]default_blurred_small\f[] (\f[I]"w":360\f[])
6675 .br
6676 * \f[I]thumbnail\f[] (\f[I]"h":360,"w":360\f[])
6677 .br
6678 * \f[I]thumbnail_large\f[] (\f[I]"h":1080,"w":1080\f[])
6679 .br
6680 * \f[I]thumbnail_small\f[] (\f[I]"h":100,"w":100\f[])
6681
6682
6683 .SS extractor.patreon.order-posts
6684 .IP "Type:" 6
6685 \f[I]string\f[]
6686
6687 .IP "Default:" 9
6688 \f[I]collection\f[]
6689 \f[I]"asc"\f[]
6690 otherwise
6691 \f[I]"desc"\f[]
6692
6693 .IP "Example:" 4
6694 .br
6695 * "-published_at"
6696 .br
6697 * "collection_order"
6698
6699 .IP "Description:" 4
6700 Controls the order in which
6701 posts are returned and processed.
6702
6703 \f[I]"asc"\f[]
6704 Ascending order (oldest first)
6705 \f[I]"desc"\f[]
6706 Descending order (newest first)
6707 \f[I]"reverse"\f[]
6708 Reverse order
6709 any other \f[I]string\f[]
6710 Custom \f[I]sort\f[] order
6711
6712
6713 .SS extractor.patreon.user.date-max
6714 .IP "Type:" 6
6715 \f[I]Date\f[]
6716
6717 .IP "Default:" 9
6718 \f[I]0\f[]
6719
6720 .IP "Description:" 4
6721 Sets the \f[I]Date\f[] to start from.
6722
6723
6724 .SS extractor.[philomena].api-key
6725 .IP "Type:" 6
6726 \f[I]string\f[]
6727
6728 .IP "Default:" 9
6729 \f[I]null\f[]
6730
6731 .IP "Description:" 4
6732 Your account's API Key,
6733 to use your personal browsing settings and filters.
6734
6735
6736 .SS extractor.[philomena].filter
6737 .IP "Type:" 6
6738 \f[I]integer\f[]
6739
6740 .IP "Default:" 9
6741 :\f[I]derpibooru\f[]:
6742 \f[I]56027\f[] (\f[I]Everything\f[] filter)
6743 :\f[I]ponybooru\f[]:
6744 \f[I]3\f[] (\f[I]Nah.\f[] filter)
6745 :otherwise:
6746 \f[I]2\f[]
6747
6748
6749 .IP "Description:" 4
6750 The content filter ID to use.
6751
6752 Setting an explicit filter ID overrides any default filters and can be used
6753 to access 18+ content without \f[I]API Key\f[].
6754
6755 See \f[I]Filters\f[] for details.
6756
6757
6758 .SS extractor.[philomena].comments
6759 .IP "Type:" 6
6760 \f[I]bool\f[]
6761
6762 .IP "Default:" 9
6763 \f[I]false\f[]
6764
6765 .IP "Description:" 4
6766 Extract \f[I]comments\f[] metadata.
6767
6768
6769 .SS extractor.[philomena].svg
6770 .IP "Type:" 6
6771 \f[I]bool\f[]
6772
6773 .IP "Default:" 9
6774 \f[I]true\f[]
6775
6776 .IP "Description:" 4
6777 Download SVG versions of images when available.
6778
6779 Try to download the \f[I]view_url\f[] version of these posts
6780 when this option is disabled.
6781
6782
6783 .SS extractor.pillowfort.external
6784 .IP "Type:" 6
6785 \f[I]bool\f[]
6786
6787 .IP "Default:" 9
6788 \f[I]false\f[]
6789
6790 .IP "Description:" 4
6791 Follow links to external sites, e.g. Twitter,
6792
6793
6794 .SS extractor.pillowfort.inline
6795 .IP "Type:" 6
6796 \f[I]bool\f[]
6797
6798 .IP "Default:" 9
6799 \f[I]true\f[]
6800
6801 .IP "Description:" 4
6802 Extract inline images.
6803
6804
6805 .SS extractor.pillowfort.reblogs
6806 .IP "Type:" 6
6807 \f[I]bool\f[]
6808
6809 .IP "Default:" 9
6810 \f[I]false\f[]
6811
6812 .IP "Description:" 4
6813 Extract media from reblogged posts.
6814
6815
6816 .SS extractor.pinterest.domain
6817 .IP "Type:" 6
6818 \f[I]string\f[]
6819
6820 .IP "Default:" 9
6821 \f[I]"auto"\f[]
6822
6823 .IP "Description:" 4
6824 Specifies the domain used by \f[I]pinterest\f[] extractors.
6825
6826 Setting this option to \f[I]"auto"\f[]
6827 uses the same domain as a given input URL.
6828
6829
6830 .SS extractor.pinterest.sections
6831 .IP "Type:" 6
6832 \f[I]bool\f[]
6833
6834 .IP "Default:" 9
6835 \f[I]true\f[]
6836
6837 .IP "Description:" 4
6838 Include pins from board sections.
6839
6840
6841 .SS extractor.pinterest.stories
6842 .IP "Type:" 6
6843 \f[I]bool\f[]
6844
6845 .IP "Default:" 9
6846 \f[I]true\f[]
6847
6848 .IP "Description:" 4
6849 Extract files from story pins.
6850
6851
6852 .SS extractor.pinterest.videos
6853 .IP "Type:" 6
6854 \f[I]bool\f[]
6855
6856 .IP "Default:" 9
6857 \f[I]true\f[]
6858
6859 .IP "Description:" 4
6860 Download from video pins.
6861
6862
6863 .SS extractor.pixeldrain.api-key
6864 .IP "Type:" 6
6865 \f[I]string\f[]
6866
6867 .IP "Description:" 4
6868 Your account's \f[I]API key\f[]
6869
6870
6871 .SS extractor.pixeldrain.recursive
6872 .IP "Type:" 6
6873 \f[I]bool\f[]
6874
6875 .IP "Default:" 9
6876 \f[I]true\f[]
6877
6878 .IP "Description:" 4
6879 Recursively download files from subfolders.
6880
6881
6882 .SS extractor.pixeldrain.zip
6883 .IP "Type:" 6
6884 \f[I]bool\f[]
6885
6886 .IP "Default:" 9
6887 \f[I]false\f[]
6888
6889 .IP "Description:" 4
6890 Download albums as a single .zip file.
6891
6892
6893 .SS extractor.pixiv.include
6894 .IP "Type:" 6
6895 .br
6896 * \f[I]string\f[]
6897 .br
6898 * \f[I]list\f[] of \f[I]strings\f[]
6899
6900 .IP "Default:" 9
6901 \f[I]"artworks"\f[]
6902
6903 .IP "Example:" 4
6904 .br
6905 * "avatar,background,artworks"
6906 .br
6907 * ["avatar", "background", "artworks"]
6908
6909 .IP "Description:" 4
6910 A (comma-separated) list of subcategories to include
6911 when processing a user profile.
6912
6913 .IP "Supported Values:" 4
6914 .br
6915 * \f[I]artworks\f[]
6916 .br
6917 * \f[I]avatar\f[]
6918 .br
6919 * \f[I]background\f[]
6920 .br
6921 * \f[I]favorite\f[]
6922 .br
6923 * \f[I]novel-user\f[]
6924 .br
6925 * \f[I]novel-bookmark\f[]
6926 .br
6927 * \f[I]sketch\f[]
6928
6929 .IP "Note:" 4
6930 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
6931
6932
6933 .SS extractor.pixiv.refresh-token
6934 .IP "Type:" 6
6935 \f[I]string\f[]
6936
6937 .IP "Description:" 4
6938 The \f[I]refresh-token\f[] value you get
6939 from running \f[I]gallery-dl oauth:pixiv\f[] (see OAuth_) or
6940 by using a third-party tool like
6941 \f[I]gppt\f[].
6942
6943
6944 .SS extractor.pixiv.metadata
6945 .IP "Type:" 6
6946 \f[I]bool\f[]
6947
6948 .IP "Default:" 9
6949 \f[I]false\f[]
6950
6951 .IP "Description:" 4
6952 Fetch extended \f[I]user\f[] metadata.
6953
6954
6955 .SS extractor.pixiv.metadata-bookmark
6956 .IP "Type:" 6
6957 \f[I]bool\f[]
6958
6959 .IP "Default:" 9
6960 \f[I]false\f[]
6961
6962 .IP "Description:" 4
6963 For works bookmarked by
6964 \f[I]your own account\f[],
6965 fetch bookmark tags as \f[I]tags_bookmark\f[] metadata.
6966
6967 .IP "Note:" 4
6968 This requires 1 additional API request per bookmarked post.
6969
6970
6971 .SS extractor.pixiv.captions
6972 .IP "Type:" 6
6973 \f[I]bool\f[]
6974
6975 .IP "Default:" 9
6976 \f[I]false\f[]
6977
6978 .IP "Description:" 4
6979 For works with seemingly empty \f[I]caption\f[] metadata,
6980 try to grab the actual \f[I]caption\f[] value using the AJAX API.
6981
6982
6983 .SS extractor.pixiv.comments
6984 .IP "Type:" 6
6985 \f[I]bool\f[]
6986
6987 .IP "Default:" 9
6988 \f[I]false\f[]
6989
6990 .IP "Description:" 4
6991 Fetch \f[I]comments\f[] metadata.
6992
6993 .IP "Note:" 4
6994 This requires 1 or more additional API requests per post,
6995 depending on the number of comments.
6996
6997
6998 .SS extractor.pixiv.work.related
6999 .IP "Type:" 6
7000 \f[I]bool\f[]
7001
7002 .IP "Default:" 9
7003 \f[I]false\f[]
7004
7005 .IP "Description:" 4
7006 Also download related artworks.
7007
7008
7009 .SS extractor.pixiv.tags
7010 .IP "Type:" 6
7011 \f[I]string\f[]
7012
7013 .IP "Default:" 9
7014 \f[I]"japanese"\f[]
7015
7016 .IP "Description:" 4
7017 Controls the \f[I]tags\f[] metadata field.
7018
7019 .br
7020 * "japanese": List of Japanese tags
7021 .br
7022 * "translated": List of translated tags
7023 .br
7024 * "original": Unmodified list with both Japanese and translated tags
7025
7026
7027 .SS extractor.pixiv.ugoira
7028 .IP "Type:" 6
7029 .br
7030 * \f[I]bool\f[]
7031 .br
7032 * \f[I]string\f[]
7033
7034 .IP "Default:" 9
7035 \f[I]true\f[]
7036
7037 .IP "Description:" 4
7038 Download Pixiv's Ugoira animations.
7039
7040 These animations come as a \f[I].zip\f[] archive containing all
7041 animation frames in JPEG format by default.
7042
7043 Set this option to \f[I]"original"\f[]
7044 to download them as individual, higher-quality frames.
7045
7046 Use an ugoira post processor to convert them
7047 to watchable animations. (Example__)
7048
7049
7050 .SS extractor.pixiv.max-posts
7051 .IP "Type:" 6
7052 \f[I]integer\f[]
7053
7054 .IP "Default:" 9
7055 \f[I]0\f[]
7056
7057 .IP "Description:" 4
7058 When downloading galleries, this sets the maximum number of posts to get.
7059 A value of \f[I]0\f[] means no limit.
7060
7061
7062 .SS extractor.pixiv.sanity
7063 .IP "Type:" 6
7064 \f[I]bool\f[]
7065
7066 .IP "Default:" 9
7067 \f[I]true\f[]
7068
7069 .IP "Description:" 4
7070 Try to fetch \f[I]limit_sanity_level\f[] works via web API.
7071
7072
7073 .SS extractor.pixiv.favorite.cursor
7074 .IP "Type:" 6
7075 \f[I]string\f[]
7076
7077 .IP "Description:" 4
7078 Start from the given bookmark ID.
7079
7080
7081 .SS extractor.pixiv-novel.comments
7082 .IP "Type:" 6
7083 \f[I]bool\f[]
7084
7085 .IP "Default:" 9
7086 \f[I]false\f[]
7087
7088 .IP "Description:" 4
7089 Fetch \f[I]comments\f[] metadata.
7090
7091 .IP "Note:" 4
7092 This requires 1 or more additional API requests per novel,
7093 depending on the number of comments.
7094
7095
7096 .SS extractor.pixiv-novel.covers
7097 .IP "Type:" 6
7098 \f[I]bool\f[]
7099
7100 .IP "Default:" 9
7101 \f[I]false\f[]
7102
7103 .IP "Description:" 4
7104 Download cover images.
7105
7106
7107 .SS extractor.pixiv-novel.embeds
7108 .IP "Type:" 6
7109 \f[I]bool\f[]
7110
7111 .IP "Default:" 9
7112 \f[I]false\f[]
7113
7114 .IP "Description:" 4
7115 Download embedded images.
7116
7117
7118 .SS extractor.pixiv-novel.full-series
7119 .IP "Type:" 6
7120 \f[I]bool\f[]
7121
7122 .IP "Default:" 9
7123 \f[I]false\f[]
7124
7125 .IP "Description:" 4
7126 When downloading a novel being part of a series,
7127 download all novels of that series.
7128
7129
7130 .SS extractor.pixiv-novel.max-posts
7131 .IP "Type:" 6
7132 \f[I]integer\f[]
7133
7134 .IP "Default:" 9
7135 \f[I]0\f[]
7136
7137 .IP "Description:" 4
7138 When downloading multiple novels,
7139 this sets the maximum number of novels to get.
7140
7141 A value of \f[I]0\f[] means no limit.
7142
7143
7144 .SS extractor.pixiv-novel.metadata
7145 .IP "Type:" 6
7146 \f[I]bool\f[]
7147
7148 .IP "Default:" 9
7149 \f[I]false\f[]
7150
7151 .IP "Description:" 4
7152 Fetch extended \f[I]user\f[] metadata.
7153
7154
7155 .SS extractor.pixiv-novel.metadata-bookmark
7156 .IP "Type:" 6
7157 \f[I]bool\f[]
7158
7159 .IP "Default:" 9
7160 \f[I]false\f[]
7161
7162 .IP "Description:" 4
7163 For novels bookmarked by
7164 \f[I]your own account\f[],
7165 fetch bookmark tags as \f[I]tags_bookmark\f[] metadata.
7166
7167 .IP "Note:" 4
7168 This requires 1 additional API request per bookmarked post.
7169
7170
7171 .SS extractor.pixiv-novel.refresh-token
7172 .IP "Type:" 6
7173 \f[I]string\f[]
7174
7175 .IP "Description:" 4
7176 The \f[I]refresh-token\f[] value you get
7177 from running \f[I]gallery-dl oauth:pixiv\f[] (see OAuth_) or
7178 by using a third-party tool like
7179 \f[I]gppt\f[].
7180
7181 This can be the same value as \f[I]extractor.pixiv.refresh-token\f[]
7182
7183
7184 .SS extractor.pixiv-novel.tags
7185 .IP "Type:" 6
7186 \f[I]string\f[]
7187
7188 .IP "Default:" 9
7189 \f[I]"japanese"\f[]
7190
7191 .IP "Description:" 4
7192 Controls the \f[I]tags\f[] metadata field.
7193
7194 .br
7195 * "japanese": List of Japanese tags
7196 .br
7197 * "translated": List of translated tags
7198 .br
7199 * "original": Unmodified list with both Japanese and translated tags
7200
7201
7202 .SS extractor.pixiv-novel.bookmark.cursor
7203 .IP "Type:" 6
7204 \f[I]string\f[]
7205
7206 .IP "Description:" 4
7207 Start from the given bookmark ID.
7208
7209
7210 .SS extractor.plurk.comments
7211 .IP "Type:" 6
7212 \f[I]bool\f[]
7213
7214 .IP "Default:" 9
7215 \f[I]false\f[]
7216
7217 .IP "Description:" 4
7218 Also search Plurk comments for URLs.
7219
7220
7221 .SS extractor.plurk.external
7222 .IP "Type:" 6
7223 \f[I]bool\f[]
7224
7225 .IP "Default:" 9
7226 \f[I]false\f[]
7227
7228 .IP "Description:" 4
7229 Follow external links in Plurk posts that are not hosted on
7230 \f[I]images.plurk.com\f[] or \f[I]imgs.plurk.com\f[].
7231
7232
7233 .SS extractor.plurk.replurk
7234 .IP "Type:" 6
7235 \f[I]bool\f[]
7236
7237 .IP "Default:" 9
7238 \f[I]false\f[]
7239
7240 .IP "Description:" 4
7241 Process replurked posts in addition to original posts.
7242
7243
7244 .SS extractor.[postmill].save-link-post-body
7245 .IP "Type:" 6
7246 \f[I]bool\f[]
7247
7248 .IP "Default:" 9
7249 \f[I]false\f[]
7250
7251 .IP "Description:" 4
7252 Whether or not to save the body for link/image posts.
7253
7254
7255 .SS extractor.reactor.gif
7256 .IP "Type:" 6
7257 \f[I]bool\f[]
7258
7259 .IP "Default:" 9
7260 \f[I]false\f[]
7261
7262 .IP "Description:" 4
7263 Format in which to download animated images.
7264
7265 Use \f[I]true\f[] to download animated images as gifs and \f[I]false\f[]
7266 to download as mp4 videos.
7267
7268
7269 .SS extractor.reddit.api
7270 .IP "Type:" 6
7271 \f[I]string\f[]
7272
7273 .IP "Default:" 9
7274 \f[I]"auto"\f[]
7275
7276 .IP "Description:" 4
7277 Selects which API endpoints to use.
7278
7279 \f[I]"auto"\f[]
7280 Use \f[I]"oauth"\f[] when a
7281 \f[I]client_id\f[]
7282 is given, \f[I]"rest"\f[] otherwise.
7283
7284 \f[I]"oauth"\f[]
7285 Use the OAuth API at \f[I]https://oauth.reddit.com\f[]
7286
7287 Requires
7288 \f[I]client-id & user-agent
7289 <extractor.reddit.client-id & .user-agent-oauth_>\f[]
7290 and uses a
7291 \f[I]refresh token\f[]
7292 for authentication.
7293
7294 \f[I]"rest"\f[]
7295 Use the REST API at \f[I]https://www.reddit.com\f[]
7296
7297 Uses
7298 \f[I]cookies\f[]
7299 for authentication.
7300
7301
7302 .SS extractor.reddit.comments
7303 .IP "Type:" 6
7304 \f[I]integer\f[]
7305
7306 .IP "Default:" 9
7307 \f[I]0\f[]
7308
7309 .IP "Description:" 4
7310 The value of the \f[I]limit\f[] parameter when loading
7311 a submission and its comments.
7312 This number (roughly) specifies the total amount of comments
7313 being retrieved with the first API call.
7314
7315 Reddit's internal default and maximum values for this parameter
7316 appear to be 200 and 500 respectively.
7317
7318 The value \f[I]0\f[] ignores all comments and significantly reduces the
7319 time required when scanning a subreddit.
7320
7321
7322 .SS extractor.reddit.morecomments
7323 .IP "Type:" 6
7324 \f[I]bool\f[]
7325
7326 .IP "Default:" 9
7327 \f[I]false\f[]
7328
7329 .IP "Description:" 4
7330 Retrieve additional comments by resolving the \f[I]more\f[] comment
7331 stubs in the base comment tree.
7332
7333 .IP "Note:" 4
7334 This requires 1 additional API call for every 100 extra comments.
7335
7336
7337 .SS extractor.reddit.embeds
7338 .IP "Type:" 6
7339 \f[I]bool\f[]
7340
7341 .IP "Default:" 9
7342 \f[I]true\f[]
7343
7344 .IP "Description:" 4
7345 Download embedded comments media.
7346
7347
7348 .SS extractor.reddit.date-min & .date-max
7349 .IP "Type:" 6
7350 \f[I]Date\f[]
7351
7352 .IP "Default:" 9
7353 \f[I]0\f[] and \f[I]253402210800\f[] (timestamp of \f[I]datetime.max\f[])
7354
7355 .IP "Description:" 4
7356 Ignore all submissions posted before/after this date.
7357
7358
7359 .SS extractor.reddit.id-min & .id-max
7360 .IP "Type:" 6
7361 \f[I]string\f[]
7362
7363 .IP "Example:" 4
7364 "6kmzv2"
7365
7366 .IP "Description:" 4
7367 Ignore all submissions posted before/after the submission with this ID.
7368
7369
7370 .SS extractor.reddit.limit
7371 .IP "Type:" 6
7372 \f[I]integer\f[]
7373
7374 .IP "Default:" 9
7375 \f[I]null\f[]
7376
7377 .IP "Description:" 4
7378 Number of results to return in a single API query.
7379
7380 This value specifies the \f[I]limit\f[] parameter
7381 used for API requests when retrieving paginated results.
7382
7383 \f[I]null\f[] means not including this parameter at all
7384 and letting Reddit chose a default.
7385
7386
7387 .SS extractor.reddit.pinned
7388 .IP "Type:" 6
7389 \f[I]bool\f[]
7390
7391 .IP "Default:" 9
7392 \f[I]true\f[]
7393
7394 .IP "Description:" 4
7395 Process pinned submissions.
7396
7397
7398 .SS extractor.reddit.previews
7399 .IP "Type:" 6
7400 \f[I]bool\f[]
7401
7402 .IP "Default:" 9
7403 \f[I]true\f[]
7404
7405 .IP "Description:" 4
7406 For failed downloads from external URLs / child extractors,
7407 download Reddit's preview image/video if available.
7408
7409
7410 .SS extractor.reddit.recursion
7411 .IP "Type:" 6
7412 \f[I]integer\f[]
7413
7414 .IP "Default:" 9
7415 \f[I]0\f[]
7416
7417 .IP "Description:" 4
7418 Reddit extractors can recursively visit other submissions
7419 linked to in the initial set of submissions.
7420 This value sets the maximum recursion depth.
7421
7422 .IP "Special Values:" 4
7423 \f[I]0\f[]
7424 Recursion is disabled
7425 \f[I]-1\f[]
7426 Infinite recursion (don't do this)
7427
7428
7429 .SS extractor.reddit.refresh-token
7430 .IP "Type:" 6
7431 \f[I]string\f[]
7432
7433 .IP "Default:" 9
7434 \f[I]null\f[]
7435
7436 .IP "Description:" 4
7437 The \f[I]refresh-token\f[] value you get from
7438 \f[I]linking your Reddit account to gallery-dl\f[].
7439
7440 Using a \f[I]refresh-token\f[] allows you to access private or otherwise
7441 not publicly available subreddits, given that your account is
7442 authorized to do so,
7443 but requests to the reddit API are going to be rate limited
7444 at 600 requests every 10 minutes/600 seconds.
7445
7446
7447 .SS extractor.reddit.selftext
7448 .IP "Type:" 6
7449 \f[I]bool\f[]
7450
7451 .IP "Default:" 9
7452 .br
7453 * \f[I]true\f[] if \f[I]comments\f[] are enabled
7454 .br
7455 * \f[I]false\f[] otherwise
7456
7457 .IP "Description:" 4
7458 Follow links in the original post's \f[I]selftext\f[].
7459
7460
7461 .SS extractor.reddit.videos
7462 .IP "Type:" 6
7463 .br
7464 * \f[I]bool\f[]
7465 .br
7466 * \f[I]string\f[]
7467
7468 .IP "Default:" 9
7469 \f[I]"dash"\f[]
7470
7471 .IP "Description:" 4
7472 Control video download behavior.
7473
7474 \f[I]true\f[]
7475 Download videos and use \f[I]ytdl\f[] to handle
7476 HLS and DASH manifests
7477 \f[I]"ytdl"\f[]
7478 Download videos and let \f[I]ytdl\f[] handle all of
7479 video extraction and download
7480 \f[I]"dash"\f[]
7481 Extract DASH manifest URLs and use \f[I]ytdl\f[]
7482 to download and merge them. (*)
7483 \f[I]false\f[]
7484 Ignore videos
7485
7486 .IP "Note:" 4
7487 (*)
7488 This saves 1 HTTP request per video
7489 and might potentially be able to download otherwise deleted videos,
7490 but it will not always get the best video quality available.
7491
7492
7493 .SS extractor.reddit.user.only
7494 .IP "Type:" 6
7495 \f[I]bool\f[]
7496
7497 .IP "Default:" 9
7498 \f[I]user-saved\f[] \f[I] \f[I]user-upvoted\f[] \f[] \f[I]user-downvoted\f[]
7499 \f[I]false\f[]
7500 otherwise
7501 \f[I]true\f[]
7502
7503 .IP "Description:" 4
7504 Only process and return posts from the user specified in the input URL.
7505
7506
7507 .SS extractor.redgifs.format
7508 .IP "Type:" 6
7509 .br
7510 * \f[I]string\f[]
7511 .br
7512 * \f[I]list\f[] of \f[I]strings\f[]
7513
7514 .IP "Default:" 9
7515 \f[I]["hd", "sd", "gif"]\f[]
7516
7517 .IP "Description:" 4
7518 List of names of the preferred animation format.`
7519
7520 If a selected format is not available, the next one in the list will be
7521 tried until an available format is found.
7522
7523 If the format is given as \f[I]string\f[], it will be extended with
7524 \f[I]["hd", "sd", "gif"]\f[]. Use a list with one element to
7525 restrict it to only one possible format.
7526
7527 .IP "Available Formats:" 4
7528 .br
7529 * \f[I]"hd"\f[]
7530 .br
7531 * \f[I]"sd"\f[]
7532 .br
7533 * \f[I]"gif"\f[]
7534 .br
7535 * \f[I]"thumbnail"\f[]
7536 .br
7537 * \f[I]"vthumbnail"\f[]
7538 .br
7539 * \f[I]"poster"\f[]
7540
7541
7542 .SS extractor.rule34.api-key & .user-id
7543 .IP "Type:" 6
7544 \f[I]string\f[]
7545
7546 .IP "Default:" 9
7547 \f[I]null\f[]
7548
7549 .IP "Description:" 4
7550 Values from the API Access Credentials section
7551 found near the bottom of your account's
7552 \f[I]Options\f[]
7553 page.
7554
7555 Enable Generate New Key? and click Save
7556 if the value after \f[I]&api_key=\f[] is empty,
7557 e.g. \f[I]&api_key=&user_id=12345\f[]
7558
7559
7560 .SS extractor.rule34xyz.format
7561 .IP "Type:" 6
7562 .br
7563 * \f[I]string\f[]
7564 .br
7565 * \f[I]list\f[] of \f[I]strings\f[]
7566
7567 .IP "Default:" 9
7568 \f[I]["10", "40", "41", "2"]\f[]
7569
7570 .IP "Example:" 4
7571 "33,34,4"
7572
7573 .IP "Description:" 4
7574 Selects the file format to extract.
7575
7576 When more than one format is given, the first available one is selected.
7577
7578
7579 .SS extractor.sankaku.refresh
7580 .IP "Type:" 6
7581 \f[I]bool\f[]
7582
7583 .IP "Default:" 9
7584 \f[I]false\f[]
7585
7586 .IP "Description:" 4
7587 Refresh download URLs before they expire.
7588
7589
7590 .SS extractor.sankaku.tags
7591 .IP "Type:" 6
7592 .br
7593 * \f[I]bool\f[]
7594 .br
7595 * \f[I]string\f[]
7596
7597 .IP "Default:" 9
7598 \f[I]false\f[]
7599
7600 .IP "Description:" 4
7601 Group \f[I]tags\f[] by type and
7602 .br
7603 provide them as \f[I]tags_<type>\f[] and \f[I]tag_string_TYPE\f[] metadata fields,
7604 for example \f[I]tags_artist\f[] and \f[I]tags_character\f[].
7605 .br
7606
7607 \f[I]true\f[]
7608 Enable general \f[I]tags\f[] categories
7609
7610 Requires:
7611
7612 .br
7613 * 1 additional API request per 100 tags per post
7614
7615 \f[I]"extended"\f[]
7616 Group \f[I]tags\f[] by the new, extended tag category system
7617 used on \f[I]chan.sankakucomplex.com\f[]
7618
7619 Requires:
7620
7621 .br
7622 * 1 additional HTTP request per post
7623 .br
7624 * authenticated \f[I]cookies\f[]
7625 to fetch full \f[I]tags\f[] category data
7626
7627 \f[I]false\f[]
7628 Disable \f[I]tags\f[] categories
7629
7630
7631 .SS extractor.sankakucomplex.embeds
7632 .IP "Type:" 6
7633 \f[I]bool\f[]
7634
7635 .IP "Default:" 9
7636 \f[I]false\f[]
7637
7638 .IP "Description:" 4
7639 Download video embeds from external sites.
7640
7641
7642 .SS extractor.sankakucomplex.videos
7643 .IP "Type:" 6
7644 \f[I]bool\f[]
7645
7646 .IP "Default:" 9
7647 \f[I]true\f[]
7648
7649 .IP "Description:" 4
7650 Download videos.
7651
7652
7653 .SS extractor.schalenetwork.cbz
7654 .IP "Type:" 6
7655 \f[I]bool\f[]
7656
7657 .IP "Default:" 9
7658 \f[I]false\f[]
7659
7660 .IP "Description:" 4
7661 Download each gallery as a single \f[I].cbz\f[] file.
7662
7663 .IP "Note:" 4
7664 Requires a
7665 \f[I]token\f[]
7666
7667
7668 .SS extractor.schalenetwork.crt
7669 .IP "Type:" 6
7670 \f[I]string\f[]
7671
7672 .IP "Example:" 4
7673 .br
7674 * "0542daa9-352c-4fd5-a497-6c6d5cf07423"
7675 .br
7676 * "/12345/a1b2c3d4e5f6?crt=0542daa9-352c-4fd5-a497-6c6d5cf07423"
7677
7678 .IP "Description:" 4
7679 The \f[I]crt\f[] query parameter value
7680 sent when fetching gallery data.
7681
7682 To get this value:
7683
7684 .br
7685 * Open your browser's Developer Tools (F12)
7686 .br
7687 * Select Network → XHR
7688 .br
7689 * Open a gallery page
7690 .br
7691 * Select the last Network entry and copy its \f[I]crt\f[] value
7692
7693 .IP "Note:" 4
7694 You will also need your browser's
7695 \f[I]user-agent\f[]
7696
7697
7698 .SS extractor.schalenetwork.format
7699 .IP "Type:" 6
7700 .br
7701 * \f[I]string\f[]
7702 .br
7703 * \f[I]list\f[] of \f[I]strings\f[]
7704
7705 .IP "Default:" 9
7706 \f[I]["0", "1600", "1280", "980", "780"]\f[]
7707
7708 .IP "Description:" 4
7709 Name(s) of the image format to download.
7710
7711 When more than one format is given, the first available one is selected.
7712
7713 .IP "Formats:" 4
7714 .br
7715 * \f[I]"780"\f[]
7716 .br
7717 * \f[I]"980"\f[]
7718 .br
7719 * \f[I]"1280"\f[]
7720 .br
7721 * \f[I]"1600"\f[]
7722 .br
7723 * \f[I]"0"\f[] (original)
7724
7725
7726 .SS extractor.schalenetwork.tags
7727 .IP "Type:" 6
7728 \f[I]bool\f[]
7729
7730 .IP "Default:" 9
7731 \f[I]true\f[]
7732
7733 .IP "Description:" 4
7734 Group \f[I]tags\f[] by type and
7735 provide them as \f[I]tags_<type>\f[] metadata fields,
7736 for example \f[I]tags_artist\f[] or \f[I]tags_character\f[].
7737
7738
7739 .SS extractor.schalenetwork.token
7740 .IP "Type:" 6
7741 \f[I]string\f[]
7742
7743 .IP "Example:" 4
7744 .br
7745 * "3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
7746 .br
7747 * "Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
7748 .br
7749 * "Authorization: Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
7750
7751 .IP "Description:" 4
7752 \f[I]Authorization\f[] header value
7753 used for requests to \f[I]https://api.schale.network\f[]
7754 to access \f[I]favorite\f[] galleries
7755 or download
7756 \f[I].cbz\f[]
7757 archives.
7758
7759
7760 .SS extractor.sexcom.gifs
7761 .IP "Type:" 6
7762 \f[I]bool\f[]
7763
7764 .IP "Default:" 9
7765 \f[I]true\f[]
7766
7767 .IP "Description:" 4
7768 Download animated images as \f[I].gif\f[] instead of \f[I].webp\f[]
7769
7770
7771 .SS extractor.sizebooru.metadata
7772 .IP "Type:" 6
7773 \f[I]bool\f[]
7774
7775 .IP "Default:" 9
7776 \f[I]false\f[]
7777
7778 .IP "Description:" 4
7779 Extract additional metadata:
7780
7781 .br
7782 * \f[I]approver\f[]
7783 .br
7784 * \f[I]artist\f[]
7785 .br
7786 * \f[I]date\f[]
7787 .br
7788 * \f[I]date_approved\f[]
7789 .br
7790 * \f[I]favorite\f[]
7791 .br
7792 * \f[I]source\f[]
7793 .br
7794 * \f[I]tags\f[]
7795 .br
7796 * \f[I]uploader\f[]
7797 .br
7798 * \f[I]views\f[]
7799
7800 .IP "Note:" 4
7801 This requires 1 additional HTTP request per post.
7802
7803
7804 .SS extractor.skeb.article
7805 .IP "Type:" 6
7806 \f[I]bool\f[]
7807
7808 .IP "Default:" 9
7809 \f[I]false\f[]
7810
7811 .IP "Description:" 4
7812 Download article images.
7813
7814
7815 .SS extractor.skeb.include
7816 .IP "Type:" 6
7817 .br
7818 * \f[I]string\f[]
7819 .br
7820 * \f[I]list\f[] of \f[I]strings\f[]
7821
7822 .IP "Default:" 9
7823 .br
7824 * \f[I]["works", "sentrequests"]\f[]
7825 if \f[I]sent-requests\f[] are enabled
7826 .br
7827 * \f[I]["works"]\f[] otherwise
7828
7829 .IP "Example:" 4
7830 .br
7831 * "works,sentrequests"
7832 .br
7833 * ["works", "sentrequests"]
7834
7835 .IP "Description:" 4
7836 A (comma-separated) list of subcategories to include
7837 when processing a user profile.
7838
7839 .IP "Supported Values:" 4
7840 .br
7841 * \f[I]works\f[]
7842 .br
7843 * \f[I]sentrequests\f[]
7844
7845 .IP "Note:" 4
7846 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
7847
7848
7849 .SS extractor.skeb.sent-requests
7850 .IP "Type:" 6
7851 \f[I]bool\f[]
7852
7853 .IP "Default:" 9
7854 \f[I]false\f[]
7855
7856 .IP "Description:" 4
7857 Download sent requests.
7858
7859
7860 .SS extractor.skeb.thumbnails
7861 .IP "Type:" 6
7862 \f[I]bool\f[]
7863
7864 .IP "Default:" 9
7865 \f[I]false\f[]
7866
7867 .IP "Description:" 4
7868 Download thumbnails.
7869
7870
7871 .SS extractor.skeb.search.filters
7872 .IP "Type:" 6
7873 .br
7874 * \f[I]string\f[]
7875 .br
7876 * \f[I]list\f[] of \f[I]strings\f[]
7877
7878 .IP "Default:" 9
7879 \f[I]["genre:art", "genre:voice", "genre:novel", "genre:video", "genre:music", "genre:correction"]\f[]
7880
7881 .IP "Example:" 4
7882 "genre:music OR genre:voice"
7883
7884 .IP "Description:" 4
7885 Filters used during searches.
7886
7887
7888 .SS extractor.smugmug.videos
7889 .IP "Type:" 6
7890 \f[I]bool\f[]
7891
7892 .IP "Default:" 9
7893 \f[I]true\f[]
7894
7895 .IP "Description:" 4
7896 Download video files.
7897
7898
7899 .SS extractor.sofurry.include
7900 .IP "Type:" 6
7901 .br
7902 * \f[I]string\f[]
7903 .br
7904 * \f[I]list\f[] of \f[I]strings\f[]
7905
7906 .IP "Default:" 9
7907 \f[I]"gallery"\f[]
7908
7909 .IP "Description:" 4
7910 A (comma-separated) list of subcategories to include
7911 when processing a user profile.
7912
7913 .IP "Supported Values:" 4
7914 .br
7915 * \f[I]gallery\f[]
7916 .br
7917 * \f[I]favorite\f[]
7918
7919 .IP "Note:" 4
7920 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
7921
7922
7923 .SS extractor.sofurry.original
7924 .IP "Type:" 6
7925 \f[I]bool\f[]
7926
7927 .IP "Default:" 9
7928 \f[I]true\f[]
7929
7930 .IP "Description:" 4
7931 Download original files.
7932
7933 Submissions containing more than one file
7934 will be downloaded as \f[I].zip\f[] archive.
7935
7936 Disabling this option will download files
7937 via their display URL in \f[I].webp\f[] format.
7938
7939
7940 .SS extractor.steamgriddb.animated
7941 .IP "Type:" 6
7942 \f[I]bool\f[]
7943
7944 .IP "Default:" 9
7945 \f[I]true\f[]
7946
7947 .IP "Description:" 4
7948 Include \f[I]animated\f[] assets
7949 when downloading from a list of assets.
7950
7951
7952 .SS extractor.steamgriddb.epilepsy
7953 .IP "Type:" 6
7954 \f[I]bool\f[]
7955
7956 .IP "Default:" 9
7957 \f[I]true\f[]
7958
7959 .IP "Description:" 4
7960 Include assets tagged with \f[I]epilepsy\f[]
7961 when downloading from a list of assets.
7962
7963
7964 .SS extractor.steamgriddb.dimensions
7965 .IP "Type:" 6
7966 .br
7967 * \f[I]string\f[]
7968 .br
7969 * \f[I]list\f[] of \f[I]strings\f[]
7970
7971 .IP "Default:" 9
7972 \f[I]"all"\f[]
7973
7974 .IP "Example:" 4
7975 .br
7976 * "1024x512,512x512"
7977 .br
7978 * ["460x215", "920x430"]
7979
7980 .IP "Description:" 4
7981 Only include assets that are in the specified dimensions. \f[I]all\f[] can be
7982 used to specify all dimensions.
7983
7984 .IP "Valid Values:" 4
7985 Grids
7986 \f[I]460x215\f[] \f[I]
7987 \f[I]920x430\f[] \f[]
7988 \f[I]342x482\f[] \f[I]
7989 \f[I]600x900\f[] \f[]
7990 \f[I]660x930\f[] \f[I]
7991 \f[I]512x512\f[] \f[]
7992 \f[I]1024x1024\f[]
7993 Heroes
7994 \f[I]1600x650\f[] \f[I]
7995 \f[I]1920x620\f[] \f[]
7996 \f[I]3840x1240\f[]
7997 Logos
7998 N/A (will be ignored)
7999 Icons
8000 \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[]
8001 \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[]
8002 \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[]
8003 \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[]
8004 \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]
8005 \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[]
8006 \f[I]512x512\f[] \f[I] \f[I]768x768\f[] \f[] \f[I]1024x1024\f[]
8007
8008
8009 .SS extractor.steamgriddb.file-types
8010 .IP "Type:" 6
8011 .br
8012 * \f[I]string\f[]
8013 .br
8014 * \f[I]list\f[] of \f[I]strings\f[]
8015
8016 .IP "Default:" 9
8017 \f[I]"all"\f[]
8018
8019 .IP "Example:" 4
8020 .br
8021 * "png,jpeg"
8022 .br
8023 * ["jpeg", "webp"]
8024
8025 .IP "Description:" 4
8026 Only include assets that are in the specified file types. \f[I]all\f[] can be
8027 used to specify all file types.
8028
8029 .IP "Valid Values:" 4
8030 Grids
8031 \f[I]png\f[] \f[I] \f[I]jpeg\f[] \f[] \f[I]jpg\f[] \f[I] \f[I]webp\f[]
8032 Heroes
8033 \f[I]png\f[] \f[] \f[I]jpeg\f[] \f[I] \f[I]jpg\f[] \f[] \f[I]webp\f[]
8034 Logos
8035 \f[I]png\f[] \f[I] \f[I]webp\f[]
8036 Icons
8037 \f[I]png\f[] \f[] \f[I]ico\f[]
8038
8039
8040 .SS extractor.steamgriddb.download-fake-png
8041 .IP "Type:" 6
8042 \f[I]bool\f[]
8043
8044 .IP "Default:" 9
8045 \f[I]true\f[]
8046
8047 .IP "Description:" 4
8048 Download fake PNGs alongside the real file.
8049
8050
8051 .SS extractor.steamgriddb.humor
8052 .IP "Type:" 6
8053 \f[I]bool\f[]
8054
8055 .IP "Default:" 9
8056 \f[I]true\f[]
8057
8058 .IP "Description:" 4
8059 Include assets tagged with \f[I]humor\f[]
8060 when downloading from a list of assets.
8061
8062
8063 .SS extractor.steamgriddb.languages
8064 .IP "Type:" 6
8065 .br
8066 * \f[I]string\f[]
8067 .br
8068 * \f[I]list\f[] of \f[I]strings\f[]
8069
8070 .IP "Default:" 9
8071 \f[I]"all"\f[]
8072
8073 .IP "Example:" 4
8074 .br
8075 * "en,km"
8076 .br
8077 * ["fr", "it"]
8078
8079 .IP "Description:" 4
8080 Only include assets that are in the specified languages.
8081
8082 .IP "Valid Values:" 4
8083 \f[I]ISO 639-1\f[] codes
8084
8085 .IP "Note:" 4
8086 \f[I]all\f[] can be used to specify all languages.
8087
8088
8089 .SS extractor.steamgriddb.nsfw
8090 .IP "Type:" 6
8091 \f[I]bool\f[]
8092
8093 .IP "Default:" 9
8094 \f[I]true\f[]
8095
8096 .IP "Description:" 4
8097 Include assets tagged with adult content when downloading from a list of assets.
8098
8099
8100 .SS extractor.steamgriddb.sort
8101 .IP "Type:" 6
8102 \f[I]string\f[]
8103
8104 .IP "Default:" 9
8105 \f[I]"score_desc"\f[]
8106
8107 .IP "Description:" 4
8108 Set the chosen sorting method when downloading from a list of assets.
8109
8110 .IP "Supported Values:" 4
8111 .br
8112 * \f[I]score_desc\f[] (Highest Score (Beta))
8113 .br
8114 * \f[I]score_asc\f[] (Lowest Score (Beta))
8115 .br
8116 * \f[I]score_old_desc\f[] (Highest Score (Old))
8117 .br
8118 * \f[I]score_old_asc\f[] (Lowest Score (Old))
8119 .br
8120 * \f[I]age_desc\f[] (Newest First)
8121 .br
8122 * \f[I]age_asc\f[] (Oldest First)
8123
8124
8125 .SS extractor.steamgriddb.static
8126 .IP "Type:" 6
8127 \f[I]bool\f[]
8128
8129 .IP "Default:" 9
8130 \f[I]true\f[]
8131
8132 .IP "Description:" 4
8133 Include static assets when downloading from a list of assets.
8134
8135
8136 .SS extractor.steamgriddb.untagged
8137 .IP "Type:" 6
8138 \f[I]bool\f[]
8139
8140 .IP "Default:" 9
8141 \f[I]true\f[]
8142
8143 .IP "Description:" 4
8144 Include untagged assets when downloading from a list of assets.
8145
8146
8147 .SS extractor.[szurubooru].username & .token
8148 .IP "Type:" 6
8149 \f[I]string\f[]
8150
8151 .IP "Description:" 4
8152 Username and login token of your account to access private resources.
8153
8154 To generate a token, visit \f[I]/user/USERNAME/list-tokens\f[]
8155 and click \f[I]Create Token\f[].
8156
8157
8158 .SS extractor.tenor.format
8159 .IP "Type:" 6
8160 .br
8161 * \f[I]string\f[]
8162 .br
8163 * \f[I]list\f[] of \f[I]strings\f[]
8164
8165 .IP "Default:" 9
8166 \f[I]["gif", "mp4", "webm", "webp"]\f[]
8167
8168 .IP "Description:" 4
8169 List of names of the preferred animation format.
8170
8171 If a selected format is not available, the next one in the list will be
8172 tried until a format is found.
8173
8174 .IP "Available Formats:" 4
8175 .br
8176 * \f[I]gif\f[]
8177 .br
8178 * \f[I]gif_transparent\f[]
8179 .br
8180 * \f[I]mediumgif\f[]
8181 .br
8182 * \f[I]gifpreview\f[]
8183 .br
8184 * \f[I]tinygif\f[]
8185 .br
8186 * \f[I]tinygif_transparent\f[]
8187 .br
8188 * \f[I]mp4\f[]
8189 .br
8190 * \f[I]tinymp4\f[]
8191 .br
8192 * \f[I]webm\f[]
8193 .br
8194 * \f[I]webp\f[]
8195 .br
8196 * \f[I]webp_transparent\f[]
8197 .br
8198 * \f[I]tinywebp\f[]
8199 .br
8200 * \f[I]tinywebp_transparent\f[]
8201
8202
8203 .SS extractor.tiktok.audio
8204 .IP "Type:" 6
8205 .br
8206 * \f[I]bool\f[]
8207 .br
8208 * \f[I]string\f[]
8209
8210 .IP "Default:" 9
8211 \f[I]true\f[]
8212
8213 .IP "Description:" 4
8214 Controls audio download behavior.
8215
8216 \f[I]true\f[]
8217 Download audio tracks
8218 \f[I]"ytdl"\f[]
8219 Download audio tracks using \f[I]ytdl\f[]
8220 \f[I]false\f[]
8221 Ignore audio tracks
8222
8223
8224 .SS extractor.tiktok.covers
8225 .IP "Type:" 6
8226 .br
8227 * \f[I]bool\f[]
8228 .br
8229 * \f[I]string\f[]
8230
8231 .IP "Default:" 9
8232 \f[I]false\f[]
8233
8234 .IP "Description:" 4
8235 Download video covers.
8236
8237 \f[I]true\f[]
8238 Download the first cover found in the following order:
8239
8240 .br
8241 * \f[I]thumbnail\f[]
8242 .br
8243 * \f[I]cover\f[]
8244 .br
8245 * \f[I]originCover\f[]
8246 .br
8247 * \f[I]dynamicCover\f[]
8248 \f[I]false\f[]
8249 Do not download covers
8250 \f[I]"all"\f[]
8251 Download all available covers
8252
8253
8254 .SS extractor.tiktok.photos
8255 .IP "Type:" 6
8256 \f[I]bool\f[]
8257
8258 .IP "Default:" 9
8259 \f[I]true\f[]
8260
8261 .IP "Description:" 4
8262 Download photos.
8263
8264
8265 .SS extractor.tiktok.subtitles
8266 .IP "Type:" 6
8267 .br
8268 * \f[I]bool\f[]
8269 .br
8270 * \f[I]string\f[]
8271
8272 .IP "Default:" 9
8273 \f[I]false\f[]
8274
8275 .IP "Example:" 4
8276 .br
8277 * "all"
8278 .br
8279 * "ASR,MT,LC"
8280 .br
8281 * "ASR,eng-US"
8282
8283 .IP "Description:" 4
8284 Download video subtitles.
8285 The subtitles can be filtered by source or language.
8286 The following source types can be filtered:
8287
8288 .br
8289 * \f[I]ASR\f[] - Automatic Speech Recognition
8290 .br
8291 * \f[I]MT\f[] - Machine Translation
8292 .br
8293 * \f[I]LC\f[] - Local Captions / Creator Captions
8294
8295 If both source types and language codes are provided,
8296 only subtitles matching both are downloaded.
8297
8298 \f[I]true\f[]
8299 Download all subtitles tagged \f[I]ASR\f[]
8300 \f[I]false\f[]
8301 Do not download subtitles
8302 \f[I]"all"\f[]
8303 Download all available subtitles.
8304 \f[I]"ASR,MT,eng-US,cmn-Hans-CN"\f[]
8305 Download english and simplified chinese subtitles
8306 that are either automatically recognized or machine translated.
8307
8308 The source types and languages can be listed in any order.
8309
8310 .IP "Note:" 4
8311 It is not possible to filter all subtitles of a specific source type,
8312 while also filtering for additional languages of another source type.
8313 (e.g. any ASR subtitle + fra-FR of any source type)
8314 For this, refer to \f[I]extractor.*.file-filter\f[].
8315
8316
8317 .SS extractor.tiktok.videos
8318 .IP "Type:" 6
8319 .br
8320 * \f[I]bool\f[]
8321 .br
8322 * \f[I]string\f[]
8323
8324 .IP "Default:" 9
8325 \f[I]true\f[]
8326
8327 .IP "Description:" 4
8328 Controls video download behavior.
8329
8330 \f[I]true\f[]
8331 Download videos
8332 \f[I]"ytdl"\f[]
8333 Download videos using \f[I]ytdl\f[]
8334 \f[I]false\f[]
8335 Ignore videos
8336
8337
8338 .SS extractor.tiktok.tiktok-range
8339 .IP "Type:" 6
8340 \f[I]string\f[]
8341
8342 .IP "Default:" 9
8343 \f[I]""\f[]
8344
8345 .IP "Example:" 4
8346 "1-20"
8347
8348 .IP "Description:" 4
8349 Range or playlist indices of \f[I]tiktok\f[] posts to extract.
8350
8351 When using ytdl, see
8352 \f[I]ytdl/playlist_items\f[]
8353 for details.
8354
8355
8356 .SS extractor.tiktok.posts.order-posts
8357 .IP "Type:" 6
8358 \f[I]string\f[]
8359
8360 .IP "Default:" 9
8361 \f[I]"desc"\f[]
8362
8363 .IP "Description:" 4
8364 Controls the order in which
8365 posts are processed.
8366
8367 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
8368 Ascending order (oldest first)
8369 \f[I]"desc"\f[]
8370 Descending order (newest first)
8371 \f[I]"popular"\f[]
8372 *Popular* order
8373
8374
8375 .SS extractor.tiktok.posts.ytdl
8376 .IP "Type:" 6
8377 \f[I]bool\f[]
8378
8379 .IP "Default:" 9
8380 \f[I]false\f[]
8381
8382 .IP "Description:" 4
8383 Extract user posts with \f[I]ytdl\f[]
8384
8385
8386 .SS extractor.tiktok.posts.module
8387 .IP "Type:" 6
8388 \f[I]Module\f[]
8389
8390 .IP "Default:" 9
8391 \f[I]null\f[]
8392
8393 .IP "Description:" 4
8394 The \f[I]ytdl\f[] \f[I]Module\f[]
8395 to extract posts from a \f[I]tiktok\f[] user profile with.
8396
8397 See \f[I]extractor.ytdl.module\f[].
8398
8399
8400 .SS extractor.tiktok.user.include
8401 .IP "Type:" 6
8402 .br
8403 * \f[I]string\f[]
8404 .br
8405 * \f[I]list\f[] of \f[I]strings\f[]
8406
8407 .IP "Default:" 9
8408 \f[I]["avatar", "posts"]\f[]
8409
8410 .IP "Description:" 4
8411 A (comma-separated) list of subcategories to include
8412 when processing a user profile.
8413
8414 .IP "Supported Values:" 4
8415 .br
8416 * \f[I]avatar\f[]
8417 .br
8418 * \f[I]posts\f[]
8419 .br
8420 * \f[I]reposts\f[]
8421 .br
8422 * \f[I]stories\f[]
8423 .br
8424 * \f[I]likes\f[]
8425 .br
8426 * \f[I]saved\f[]
8427
8428 .IP "Note:" 4
8429 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
8430
8431
8432 .SS extractor.tumblr.avatar
8433 .IP "Type:" 6
8434 \f[I]bool\f[]
8435
8436 .IP "Default:" 9
8437 \f[I]false\f[]
8438
8439 .IP "Description:" 4
8440 Download blog avatars.
8441
8442
8443 .SS extractor.tumblr.date-min & .date-max
8444 .IP "Type:" 6
8445 \f[I]Date\f[]
8446
8447 .IP "Default:" 9
8448 \f[I]0\f[] and \f[I]null\f[]
8449
8450 .IP "Description:" 4
8451 Ignore all posts published before/after this date.
8452
8453
8454 .SS extractor.tumblr.external
8455 .IP "Type:" 6
8456 \f[I]bool\f[]
8457
8458 .IP "Default:" 9
8459 \f[I]false\f[]
8460
8461 .IP "Description:" 4
8462 Follow external URLs (e.g. from "Link" posts) and try to extract
8463 images from them.
8464
8465
8466 .SS extractor.tumblr.inline
8467 .IP "Type:" 6
8468 .br
8469 * \f[I]bool\f[]
8470 .br
8471 * \f[I]string\f[]
8472
8473 .IP "Default:" 9
8474 \f[I]true\f[]
8475
8476 .IP "Description:" 4
8477 \f[I]true\f[]
8478 Search posts for inline images and videos
8479 \f[I]false\f[]
8480 Don't extract inline files
8481 \f[I]"original"\f[]
8482 Extract inline media files.
8483 For reblogged posts, extract them only from the original post text.
8484 \f[I]"reblog"\f[]
8485 Extract inline media files.
8486 For reblogged posts, extract them only from the reblog text.
8487
8488
8489 .SS extractor.tumblr.offset
8490 .IP "Type:" 6
8491 \f[I]integer\f[]
8492
8493 .IP "Default:" 9
8494 \f[I]0\f[]
8495
8496 .IP "Description:" 4
8497 Custom \f[I]offset\f[] starting value when paginating over blog posts.
8498
8499 Allows skipping over posts without having to waste API calls.
8500
8501
8502 .SS extractor.tumblr.original
8503 .IP "Type:" 6
8504 \f[I]bool\f[]
8505
8506 .IP "Default:" 9
8507 \f[I]true\f[]
8508
8509 .IP "Description:" 4
8510 Download full-resolution \f[I]photo\f[] and \f[I]inline\f[] images.
8511
8512 For each photo with "maximum" resolution
8513 (width equal to 2048 or height equal to 3072)
8514 or each inline image,
8515 use an extra HTTP request to find the URL to its full-resolution version.
8516
8517
8518 .SS extractor.tumblr.pagination
8519 .IP "Type:" 6
8520 \f[I]string\f[]
8521
8522 .IP "Default:" 9
8523 .br
8524 * \f[I]"before"\f[] if \f[I]date-max\f[] is set
8525 .br
8526 * \f[I]"offset"\f[] otherwise
8527
8528 .IP "Description:" 4
8529 Controls how to paginate over blog posts.
8530
8531 \f[I]"api"\f[]
8532 \f[I]next\f[] parameter provided by the API
8533 (potentially misses posts due to a
8534 \f[I]bug\f[]
8535 in Tumblr's API)
8536 \f[I]"before"\f[]
8537 Timestamp of last post
8538 \f[I]"offset"\f[]
8539 Post offset number
8540
8541
8542 .SS extractor.tumblr.ratelimit
8543 .IP "Type:" 6
8544 \f[I]string\f[]
8545
8546 .IP "Default:" 9
8547 \f[I]"abort"\f[]
8548
8549 .IP "Description:" 4
8550 Selects how to handle exceeding the daily API rate limit.
8551
8552 \f[I]"abort"\f[]
8553 Raise an error and stop extraction
8554 \f[I]"wait"\f[]
8555 Wait until rate limit reset
8556
8557
8558 .SS extractor.tumblr.reblogs
8559 .IP "Type:" 6
8560 .br
8561 * \f[I]bool\f[]
8562 .br
8563 * \f[I]string\f[]
8564
8565 .IP "Default:" 9
8566 \f[I]true\f[]
8567
8568 .IP "Description:" 4
8569 \f[I]true\f[]
8570 Extract media from reblogged posts
8571 \f[I]false\f[]
8572 Skip reblogged posts
8573 \f[I]"same-blog"\f[]
8574 Skip reblogged posts unless the original post
8575 is from the same blog
8576
8577
8578 .SS extractor.tumblr.posts
8579 .IP "Type:" 6
8580 .br
8581 * \f[I]string\f[]
8582 .br
8583 * \f[I]list\f[] of \f[I]strings\f[]
8584
8585 .IP "Default:" 9
8586 \f[I]"all"\f[]
8587
8588 .IP "Example:" 4
8589 .br
8590 * "video,audio,link"
8591 .br
8592 * ["video", "audio", "link"]
8593
8594 .IP "Description:" 4
8595 A (comma-separated) list of post types to extract images, etc. from.
8596
8597 Possible types are \f[I]text\f[], \f[I]quote\f[], \f[I]link\f[], \f[I]answer\f[],
8598 \f[I]video\f[], \f[I]audio\f[], \f[I]photo\f[], \f[I]chat\f[].
8599
8600 It is possible to use \f[I]"all"\f[] instead of listing all types separately.
8601
8602
8603 .SS extractor.tumblr.fallback-delay
8604 .IP "Type:" 6
8605 \f[I]float\f[]
8606
8607 .IP "Default:" 9
8608 \f[I]120.0\f[]
8609
8610 .IP "Description:" 4
8611 Number of seconds to wait between retries
8612 for fetching full-resolution images.
8613
8614
8615 .SS extractor.tumblr.fallback-retries
8616 .IP "Type:" 6
8617 \f[I]integer\f[]
8618
8619 .IP "Default:" 9
8620 \f[I]2\f[]
8621
8622 .IP "Description:" 4
8623 Number of retries for fetching full-resolution images,
8624 or \f[I]-1\f[] for infinite retries.
8625
8626
8627 .SS extractor.twibooru.api-key
8628 .IP "Type:" 6
8629 \f[I]string\f[]
8630
8631 .IP "Default:" 9
8632 \f[I]null\f[]
8633
8634 .IP "Description:" 4
8635 Your \f[I]Twibooru API Key\f[],
8636 to use your account's browsing settings and filters.
8637
8638
8639 .SS extractor.twibooru.filter
8640 .IP "Type:" 6
8641 \f[I]integer\f[]
8642
8643 .IP "Default:" 9
8644 \f[I]2\f[] (\f[I]Everything\f[] filter)
8645
8646 .IP "Description:" 4
8647 The content filter ID to use.
8648
8649 Setting an explicit filter ID overrides any default filters and can be used
8650 to access 18+ content without \f[I]API Key\f[].
8651
8652 See \f[I]Filters\f[] for details.
8653
8654
8655 .SS extractor.twibooru.svg
8656 .IP "Type:" 6
8657 \f[I]bool\f[]
8658
8659 .IP "Default:" 9
8660 \f[I]true\f[]
8661
8662 .IP "Description:" 4
8663 Download SVG versions of images when available.
8664
8665 Try to download the \f[I]view_url\f[] version of these posts
8666 when this option is disabled.
8667
8668
8669 .SS extractor.twitter.ads
8670 .IP "Type:" 6
8671 \f[I]bool\f[]
8672
8673 .IP "Default:" 9
8674 \f[I]false\f[]
8675
8676 .IP "Description:" 4
8677 Fetch media from promoted Tweets.
8678
8679
8680 .SS extractor.twitter.articles
8681 .IP "Type:" 6
8682 .br
8683 * \f[I]bool\f[]
8684 .br
8685 * \f[I]string\f[]
8686 .br
8687 * \f[I]list\f[] of \f[I]strings\f[]
8688
8689 .IP "Default:" 9
8690 \f[I]true\f[]
8691
8692 .IP "Example:" 4
8693 ["media", "document", "metadata"]
8694
8695 .IP "Description:" 4
8696 Process article Tweets.
8697
8698 It is possible to select which files to download
8699 and what article metadata to extract
8700 by specifying a list of targets:
8701
8702 \f[I]cover\f[]
8703 Download article cover images
8704 \f[I]media\f[]
8705 Download article media files
8706 \f[I]html\f[]
8707 Extract article content as \f[I]html\f[] metadata
8708 \f[I]metadata\f[] \f[I] \f[I]meta\f[]
8709 Extract \f[I]article\f[] metadata
8710 (\f[I]id\f[], \f[I]title\f[], \f[I]date\f[], \f[I]date_updated\f[])
8711 \f[I]document\f[] \f[] \f[I]doc\f[]
8712 Download article contents as HTML document
8713
8714
8715 .SS extractor.twitter.cards
8716 .IP "Type:" 6
8717 .br
8718 * \f[I]bool\f[]
8719 .br
8720 * \f[I]string\f[]
8721
8722 .IP "Default:" 9
8723 \f[I]false\f[]
8724
8725 .IP "Description:" 4
8726 Controls how to handle \f[I]Twitter Cards\f[].
8727
8728 \f[I]false\f[]
8729 Ignore cards
8730 \f[I]true\f[]
8731 Download image content from supported cards
8732 \f[I]"ytdl"\f[]
8733 Additionally download video content from unsupported cards using \f[I]ytdl\f[]
8734
8735
8736 .SS extractor.twitter.cards-blacklist
8737 .IP "Type:" 6
8738 \f[I]list\f[] of \f[I]strings\f[]
8739
8740 .IP "Example:" 4
8741 ["summary", "youtube.com", "player:twitch.tv"]
8742
8743 .IP "Description:" 4
8744 List of card types to ignore.
8745
8746 Possible values are
8747
8748 .br
8749 * card names
8750 .br
8751 * card domains
8752 .br
8753 * \f[I]<card name>:<card domain>\f[]
8754
8755
8756 .SS extractor.twitter.conversations
8757 .IP "Type:" 6
8758 .br
8759 * \f[I]bool\f[]
8760 .br
8761 * \f[I]string\f[]
8762
8763 .IP "Default:" 9
8764 \f[I]false\f[]
8765
8766 .IP "Description:" 4
8767 For input URLs pointing to a single Tweet,
8768 e.g. https://twitter.com/i/web/status/<TweetID>,
8769 fetch media from all Tweets and replies in this \f[I]conversation
8770 <https://help.twitter.com/en/using-twitter/twitter-conversations>\f[].
8771
8772 If this option is equal to \f[I]"accessible"\f[],
8773 only download from conversation Tweets
8774 if the given initial Tweet is accessible.
8775
8776
8777 .SS extractor.twitter.csrf
8778 .IP "Type:" 6
8779 \f[I]string\f[]
8780
8781 .IP "Default:" 9
8782 \f[I]"cookies"\f[]
8783
8784 .IP "Description:" 4
8785 Controls how to handle Cross Site Request Forgery (CSRF) tokens.
8786
8787 \f[I]"auto"\f[]
8788 Always auto-generate a token.
8789 \f[I]"cookies"\f[]
8790 Use token given by the \f[I]ct0\f[] cookie if present.
8791
8792
8793 .SS extractor.twitter.cursor
8794 .IP "Type:" 6
8795 .br
8796 * \f[I]bool\f[]
8797 .br
8798 * \f[I]string\f[]
8799
8800 .IP "Default:" 9
8801 \f[I]true\f[]
8802
8803 .IP "Example:" 4
8804 "1/DAABCgABGVKi5lE___oKAAIYbfYNcxrQLggAAwAAAAIAAA"
8805
8806 .IP "Description:" 4
8807 Controls from which position to start the extraction process from.
8808
8809 \f[I]true\f[]
8810 Start from the beginning.
8811 .br
8812 Log the most recent \f[I]cursor\f[] value when interrupted before reaching the end.
8813 .br
8814 \f[I]false\f[]
8815 Start from the beginning.
8816 any \f[I]string\f[]
8817 Start from the position defined by this value.
8818
8819 .IP "Note:" 4
8820 A \f[I]cursor\f[] value from one timeline cannot be used with another.
8821
8822
8823 .SS extractor.twitter.expand
8824 .IP "Type:" 6
8825 \f[I]bool\f[]
8826
8827 .IP "Default:" 9
8828 \f[I]false\f[]
8829
8830 .IP "Description:" 4
8831 For each Tweet, return *all* Tweets from that initial Tweet's
8832 conversation or thread, i.e. *expand* all Twitter threads.
8833
8834 Going through a timeline with this option enabled is essentially the same
8835 as running \f[I]gallery-dl https://twitter.com/i/web/status/<TweetID>\f[]
8836 with enabled \f[I]conversations\f[] option
8837 for each Tweet in said timeline.
8838
8839 .IP "Note:" 4
8840 This requires at least 1 additional API call per initial Tweet.
8841
8842
8843 .SS extractor.twitter.unavailable
8844 .IP "Type:" 6
8845 \f[I]bool\f[]
8846
8847 .IP "Default:" 9
8848 \f[I]false\f[]
8849
8850 .IP "Description:" 4
8851 Try to download media marked as \f[I]Unavailable\f[],
8852 e.g. \f[I]Geoblocked\f[] videos.
8853
8854
8855 .SS extractor.twitter.include
8856 .IP "Type:" 6
8857 .br
8858 * \f[I]string\f[]
8859 .br
8860 * \f[I]list\f[] of \f[I]strings\f[]
8861
8862 .IP "Default:" 9
8863 \f[I]"timeline"\f[]
8864
8865 .IP "Example:" 4
8866 .br
8867 * "avatar,background,media"
8868 .br
8869 * ["avatar", "background", "media"]
8870
8871 .IP "Description:" 4
8872 A (comma-separated) list of subcategories to include
8873 when processing a user profile.
8874
8875 .IP "Supported Values:" 4
8876 .br
8877 * \f[I]info\f[]
8878 .br
8879 * \f[I]avatar\f[]
8880 .br
8881 * \f[I]background\f[]
8882 .br
8883 * \f[I]timeline\f[]
8884 .br
8885 * \f[I]tweets\f[]
8886 .br
8887 * \f[I]media\f[]
8888 .br
8889 * \f[I]with-replies\f[]
8890 .br
8891 * \f[I]highlights\f[]
8892 .br
8893 * \f[I]likes\f[]
8894
8895 .IP "Note:" 4
8896 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
8897
8898
8899 .SS extractor.twitter.transform
8900 .IP "Type:" 6
8901 \f[I]bool\f[]
8902
8903 .IP "Default:" 9
8904 \f[I]true\f[]
8905
8906 .IP "Description:" 4
8907 Transform Tweet and User metadata into a simpler, uniform format.
8908
8909
8910 .SS extractor.twitter.tweet-endpoint
8911 .IP "Type:" 6
8912 \f[I]string\f[]
8913
8914 .IP "Default:" 9
8915 \f[I]"auto"\f[]
8916
8917 .IP "Description:" 4
8918 Selects the API endpoint used to retrieve single Tweets.
8919
8920 \f[I]"restid"\f[]
8921 \f[I]/TweetResultByRestId\f[] - accessible to guest users
8922 \f[I]"detail"\f[]
8923 \f[I]/TweetDetail\f[] - more stable
8924 \f[I]"auto"\f[]
8925 \f[I]"detail"\f[] when logged in, \f[I]"restid"\f[] otherwise
8926
8927
8928 .SS extractor.twitter.size
8929 .IP "Type:" 6
8930 \f[I]list\f[] of \f[I]strings\f[]
8931
8932 .IP "Default:" 9
8933 \f[I]["orig", "4096x4096", "large", "medium", "small"]\f[]
8934
8935 .IP "Description:" 4
8936 The image version to download.
8937 Any entries after the first one will be used for potential
8938 \f[I]fallback\f[] URLs.
8939
8940 Known available sizes are
8941
8942 .br
8943 * \f[I]orig\f[]
8944 .br
8945 * \f[I]large\f[]
8946 .br
8947 * \f[I]medium\f[]
8948 .br
8949 * \f[I]small\f[]
8950 .br
8951 * \f[I]4096x4096\f[]
8952 .br
8953 * \f[I]900x900\f[]
8954 .br
8955 * \f[I]360x360\f[]
8956
8957
8958 .SS extractor.twitter.limit
8959 .IP "Type:" 6
8960 .br
8961 * \f[I]integer\f[]
8962 .br
8963 * \f[I]list\f[] of \f[I]integers\f[]
8964
8965 .IP "Default:" 9
8966 \f[I]50\f[]
8967
8968 .IP "Example:" 4
8969 [40, 30, 20, 10, 5]
8970
8971 .IP "Description:" 4
8972 Number of requested results per API query.
8973
8974 When given as a \f[I]list\f[],
8975 start with the first element as \f[I]count\f[] parameter
8976 and switch to the next element whenever no results are returned.
8977
8978
8979 .SS extractor.twitter.logout
8980 .IP "Type:" 6
8981 \f[I]bool\f[]
8982
8983 .IP "Default:" 9
8984 \f[I]false\f[]
8985
8986 .IP "Description:" 4
8987 Logout and retry as guest when access to another user's Tweets is blocked.
8988
8989
8990 .SS extractor.twitter.metadata-user
8991 .IP "Type:" 6
8992 \f[I]bool\f[]
8993
8994 .IP "Default:" 9
8995 \f[I]false\f[]
8996
8997 .IP "Description:" 4
8998 Extract additional metadata for user accounts (\f[I]author\f[], \f[I]user\f[])
8999
9000 .br
9001 * \f[I]based_in\f[]
9002 .br
9003 * \f[I]friends_mutual\f[]
9004 .br
9005 * \f[I]location_accurate\f[]
9006 .br
9007 * \f[I]name_changes\f[]
9008 .br
9009 * \f[I]source\f[]
9010
9011 .IP "Note:" 4
9012 This requires 2 additional HTTP request per user.
9013
9014
9015 .SS extractor.twitter.pinned
9016 .IP "Type:" 6
9017 \f[I]bool\f[]
9018
9019 .IP "Default:" 9
9020 \f[I]false\f[]
9021
9022 .IP "Description:" 4
9023 Fetch media from pinned Tweets.
9024
9025
9026 .SS extractor.twitter.previews
9027 .IP "Type:" 6
9028 \f[I]bool\f[]
9029
9030 .IP "Default:" 9
9031 \f[I]false\f[]
9032
9033 .IP "Description:" 4
9034 Download video previews.
9035
9036
9037 .SS extractor.twitter.quoted
9038 .IP "Type:" 6
9039 \f[I]bool\f[]
9040
9041 .IP "Default:" 9
9042 \f[I]false\f[]
9043
9044 .IP "Description:" 4
9045 Fetch media from quoted Tweets.
9046
9047 If this option is enabled, gallery-dl will try to fetch
9048 a quoted (original) Tweet when it sees the Tweet which quotes it.
9049
9050
9051 .SS extractor.twitter.quoted-expand
9052 .IP "Type:" 6
9053 \f[I]bool\f[]
9054
9055 .IP "Default:" 9
9056 \f[I]extractor.twitter.quoted\f[]
9057
9058 .IP "Description:" 4
9059 When encountering a quoted Tweet with empty/missing data,
9060 fetch its complete body via an additional API request.
9061
9062
9063 .SS extractor.twitter.ratelimit
9064 .IP "Type:" 6
9065 \f[I]string\f[]
9066
9067 .IP "Default:" 9
9068 \f[I]"wait"\f[]
9069
9070 .IP "Description:" 4
9071 Selects how to handle exceeding the API rate limit.
9072
9073 \f[I]"abort"\f[]
9074 Raise an error and stop extraction
9075 \f[I]"abort:N"\f[]
9076 Raise an error and stop extraction
9077 after waiting \f[I]N\f[] times until rate limit reset
9078 \f[I]"wait"\f[]
9079 Wait until rate limit reset
9080 \f[I]"wait:N"\f[]
9081 Wait for \f[I]N\f[] seconds
9082
9083
9084 .SS extractor.twitter.locked
9085 .IP "Type:" 6
9086 \f[I]string\f[]
9087
9088 .IP "Default:" 9
9089 \f[I]"abort"\f[]
9090
9091 .IP "Description:" 4
9092 Selects how to handle "account is temporarily locked" errors.
9093
9094 \f[I]"abort"\f[]
9095 Raise an error and stop extraction
9096 \f[I]"wait"\f[]
9097 Wait until the account is unlocked and retry
9098
9099
9100 .SS extractor.twitter.replies
9101 .IP "Type:" 6
9102 \f[I]bool\f[]
9103
9104 .IP "Default:" 9
9105 \f[I]true\f[]
9106
9107 .IP "Description:" 4
9108 Fetch media from replies to other Tweets.
9109
9110 If this value is \f[I]"self"\f[], only consider replies where
9111 reply and original Tweet are from the same user.
9112
9113 .IP "Note:" 4
9114 Twitter will automatically expand conversations if you
9115 use the \f[I]/with_replies\f[] timeline while logged in. For example,
9116 media from Tweets which the user replied to will also be downloaded.
9117
9118 It is possible to exclude unwanted Tweets using \f[I]file-filter
9119 <extractor.*.file-filter_>\f[].
9120
9121
9122 .SS extractor.twitter.retries-api
9123 .IP "Type:" 6
9124 \f[I]integer\f[]
9125
9126 .IP "Default:" 9
9127 \f[I]9\f[]
9128
9129 .IP "Description:" 4
9130 Maximum number of retries
9131 for API requests when encountering server \f[I]errors\f[],
9132 or \f[I]-1\f[] for infinite retries.
9133
9134
9135 .SS extractor.twitter.retweets
9136 .IP "Type:" 6
9137 \f[I]bool\f[]
9138
9139 .IP "Default:" 9
9140 \f[I]false\f[]
9141
9142 .IP "Description:" 4
9143 Fetch media from Retweets.
9144
9145 If this value is \f[I]"original"\f[], metadata for these files
9146 will be taken from the original Tweets, not the Retweets.
9147
9148
9149 .SS extractor.twitter.search-limit
9150 .IP "Type:" 6
9151 .br
9152 * \f[I]integer\f[]
9153 .br
9154 * \f[I]list\f[] of \f[I]integers\f[]
9155
9156 .IP "Default:" 9
9157 \f[I]20\f[]
9158
9159 .IP "Example:" 4
9160 [50, 20, 10, 5, 2]
9161
9162 .IP "Description:" 4
9163 Number of requested results per search query.
9164
9165 When given as a \f[I]list\f[],
9166 start with the first element as \f[I]count\f[] parameter
9167 and switch to the next element when
9168 \f[I]search-stop\f[]
9169 is reached.
9170
9171
9172 .SS extractor.twitter.search-pagination
9173 .IP "Type:" 6
9174 \f[I]string\f[]
9175
9176 .IP "Default:" 9
9177 \f[I]"max_id"\f[]
9178
9179 .IP "Description:" 4
9180 Selects how to paginate over search results.
9181
9182 \f[I]"cursor"\f[]
9183 Use \f[I]cursor\f[] values provided by the API
9184 \f[I]"max_id"\f[] \f[I] \f[I]"maxid"\f[] \f[] \f[I]"id"\f[]
9185 Update the \f[I]max_id\f[] search query parameter
9186 to the Tweet ID value of the last retrieved Tweet.
9187 \f[I]"until"\f[] \f[I] \f[I]"date"\f[] \f[] \f[I]"datetime"\f[] | \f[I]"dt"\f[]
9188 Update the \f[I]until\f[] search query parameter
9189 to the date value of the last retrieved Tweet.
9190
9191
9192 .SS extractor.twitter.search-results
9193 .IP "Type:" 6
9194 \f[I]string\f[]
9195
9196 .IP "Default:" 9
9197 \f[I]"latest"\f[]
9198
9199 .IP "Description:" 4
9200 Determines the target of search results.
9201
9202 .IP "Supported Values:" 4
9203 .br
9204 * \f[I]"top"\f[]
9205 .br
9206 * \f[I]"media"\f[]
9207 .br
9208 * \f[I]"latest"\f[] | \f[I]"live"\f[]
9209
9210
9211 .SS extractor.twitter.search-stop
9212 .IP "Type:" 6
9213 \f[I]integer\f[]
9214
9215 .IP "Default:" 9
9216 \f[I]3\f[]
9217
9218 .IP "Description:" 4
9219 Number of empty search result batches
9220 to accept before stopping.
9221
9222
9223 .SS extractor.twitter.showmore
9224 .IP "Type:" 6
9225 \f[I]bool\f[]
9226
9227 .IP "Default:" 9
9228 \f[I]true\f[]
9229
9230 .IP "Description:" 4
9231 Expand \f[I]Show more\f[] / \f[I]Show probable spam\f[] stubs.
9232
9233
9234 .SS extractor.twitter.showreplies
9235 .IP "Type:" 6
9236 \f[I]bool\f[]
9237
9238 .IP "Default:" 9
9239 \f[I]true\f[]
9240
9241 .IP "Description:" 4
9242 Expand \f[I]Show replies\f[] stubs.
9243
9244
9245 .SS extractor.twitter.timeline.strategy
9246 .IP "Type:" 6
9247 \f[I]string\f[]
9248
9249 .IP "Default:" 9
9250 \f[I]"auto"\f[]
9251
9252 .IP "Description:" 4
9253 Controls the strategy / tweet source used for timeline URLs
9254 (\f[I]https://twitter.com/USER/timeline\f[]).
9255
9256 \f[I]"tweets"\f[]
9257 \f[I]/tweets\f[] timeline + search
9258 \f[I]"media"\f[]
9259 \f[I]/media\f[] timeline + search
9260 \f[I]"with_replies"\f[]
9261 \f[I]/with_replies\f[] timeline + search
9262 \f[I]"auto"\f[]
9263 \f[I]"tweets"\f[] or \f[I]"media"\f[], depending on \f[I]retweets\f[] and \f[I]text-tweets\f[] settings
9264
9265
9266 .SS extractor.twitter.text-tweets
9267 .IP "Type:" 6
9268 \f[I]bool\f[]
9269
9270 .IP "Default:" 9
9271 \f[I]false\f[]
9272
9273 .IP "Description:" 4
9274 Also emit metadata for text-only Tweets without media content.
9275
9276 This only has an effect with a \f[I]metadata\f[] (or \f[I]exec\f[]) post processor
9277 with \f[I]"event": "post"\f[]
9278 and appropriate \f[I]filename\f[].
9279
9280
9281 .SS extractor.twitter.twitpic
9282 .IP "Type:" 6
9283 \f[I]bool\f[]
9284
9285 .IP "Default:" 9
9286 \f[I]false\f[]
9287
9288 .IP "Description:" 4
9289 Extract \f[I]TwitPic\f[] embeds.
9290
9291
9292 .SS extractor.twitter.unique
9293 .IP "Type:" 6
9294 \f[I]bool\f[]
9295
9296 .IP "Default:" 9
9297 \f[I]true\f[]
9298
9299 .IP "Description:" 4
9300 Ignore previously seen Tweets.
9301
9302
9303 .SS extractor.twitter.users
9304 .IP "Type:" 6
9305 \f[I]string\f[]
9306
9307 .IP "Default:" 9
9308 \f[I]"user"\f[]
9309
9310 .IP "Example:" 4
9311 "https://twitter.com/search?q=from:{core[screen_name]}"
9312
9313 .IP "Description:" 4
9314 Basic format string for user URLs generated from
9315 .br
9316 \f[I]following\f[] and \f[I]list-members\f[] queries,
9317 whose replacement field values come from Twitter \f[I]user\f[] objects
9318 .br
9319 (\f[I]Example\f[])
9320
9321 .IP "Special Values:" 4
9322 \f[I]"user"\f[]
9323 \f[I]https://twitter.com/i/user/{rest_id}\f[]
9324 \f[I]"timeline"\f[]
9325 \f[I]https://twitter.com/id:{rest_id}/timeline\f[]
9326 \f[I]"tweets"\f[]
9327 \f[I]https://twitter.com/id:{rest_id}/tweets\f[]
9328 \f[I]"media"\f[]
9329 \f[I]https://twitter.com/id:{rest_id}/media\f[]
9330
9331 .IP "Note:" 4
9332 To allow gallery-dl to follow custom URL formats, set the \f[I]blacklist\f[]
9333 for \f[I]twitter\f[] to a non-default value, e.g. an empty string \f[I]""\f[].
9334
9335
9336 .SS extractor.twitter.videos
9337 .IP "Type:" 6
9338 .br
9339 * \f[I]bool\f[]
9340 .br
9341 * \f[I]string\f[]
9342
9343 .IP "Default:" 9
9344 \f[I]true\f[]
9345
9346 .IP "Description:" 4
9347 Control video download behavior.
9348
9349 \f[I]true\f[]
9350 Download videos
9351 \f[I]"ytdl"\f[]
9352 Download videos using \f[I]ytdl\f[]
9353 \f[I]false\f[]
9354 Skip video Tweets
9355
9356
9357 .SS extractor.unsplash.format
9358 .IP "Type:" 6
9359 \f[I]string\f[]
9360
9361 .IP "Default:" 9
9362 \f[I]"raw"\f[]
9363
9364 .IP "Description:" 4
9365 Name of the image format to download.
9366
9367 .IP "Available Formats:" 4
9368 .br
9369 * \f[I]"raw"\f[]
9370 .br
9371 * \f[I]"full"\f[]
9372 .br
9373 * \f[I]"regular"\f[]
9374 .br
9375 * \f[I]"small"\f[]
9376 .br
9377 * \f[I]"thumb"\f[]
9378
9379
9380 .SS extractor.vipergirls.domain
9381 .IP "Type:" 6
9382 \f[I]string\f[]
9383
9384 .IP "Default:" 9
9385 \f[I]"viper.click"\f[]
9386
9387 .IP "Description:" 4
9388 Specifies the domain used by \f[I]vipergirls\f[] extractors.
9389
9390 For example \f[I]"viper.click"\f[] if the main domain is blocked or to bypass Cloudflare,
9391
9392
9393 .SS extractor.vipergirls.like
9394 .IP "Type:" 6
9395 \f[I]bool\f[]
9396
9397 .IP "Default:" 9
9398 \f[I]false\f[]
9399
9400 .IP "Description:" 4
9401 Automatically like posts after downloading their images.
9402
9403 .IP "Note:" 4
9404 Requires \f[I]login\f[]
9405 or \f[I]cookies\f[]
9406
9407
9408 .SS extractor.vipergirls.order-posts
9409 .IP "Type:" 6
9410 \f[I]string\f[]
9411
9412 .IP "Default:" 9
9413 \f[I]"desc"\f[]
9414
9415 .IP "Description:" 4
9416 Controls the order in which
9417 posts of a \f[I]thread\f[] are processed.
9418
9419 \f[I]"asc"\f[]
9420 Ascending order (oldest first)
9421 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
9422 Descending order (newest first)
9423
9424
9425 .SS extractor.vk.domain
9426 .IP "Type:" 6
9427 \f[I]string\f[]
9428
9429 .IP "Default:" 9
9430 \f[I]"auto"\f[]
9431
9432 .IP "Description:" 4
9433 Specifies the domain used by \f[I]cyberdrop\f[] regardless of input URL.
9434
9435 Setting this option to \f[I]"auto"\f[]
9436 uses the same domain as a given input URL.
9437
9438
9439 .SS extractor.vk.offset
9440 .IP "Type:" 6
9441 \f[I]integer\f[]
9442
9443 .IP "Default:" 9
9444 \f[I]0\f[]
9445
9446 .IP "Description:" 4
9447 Custom \f[I]offset\f[] starting value when paginating over image results.
9448
9449
9450 .SS extractor.vsco.include
9451 .IP "Type:" 6
9452 .br
9453 * \f[I]string\f[]
9454 .br
9455 * \f[I]list\f[] of \f[I]strings\f[]
9456
9457 .IP "Default:" 9
9458 \f[I]"gallery"\f[]
9459
9460 .IP "Example:" 4
9461 .br
9462 * "avatar,collection"
9463 .br
9464 * ["avatar", "collection"]
9465
9466 .IP "Description:" 4
9467 A (comma-separated) list of subcategories to include
9468 when processing a user profile.
9469
9470 .IP "Supported Values:" 4
9471 .br
9472 * \f[I]avatar\f[]
9473 .br
9474 * \f[I]gallery\f[]
9475 .br
9476 * \f[I]spaces\f[]
9477 .br
9478 * \f[I]collection\f[]
9479
9480 .IP "Note:" 4
9481 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
9482
9483
9484 .SS extractor.vsco.videos
9485 .IP "Type:" 6
9486 \f[I]bool\f[]
9487
9488 .IP "Default:" 9
9489 \f[I]true\f[]
9490
9491 .IP "Description:" 4
9492 Download video files.
9493
9494
9495 .SS extractor.wallhaven.api-key
9496 .IP "Type:" 6
9497 \f[I]string\f[]
9498
9499 .IP "Default:" 9
9500 \f[I]null\f[]
9501
9502 .IP "Description:" 4
9503 Your \f[I]Wallhaven API Key\f[],
9504 to use your account's browsing settings and default filters when searching.
9505
9506 See https://wallhaven.cc/help/api for more information.
9507
9508
9509 .SS extractor.wallhaven.include
9510 .IP "Type:" 6
9511 .br
9512 * \f[I]string\f[]
9513 .br
9514 * \f[I]list\f[] of \f[I]strings\f[]
9515
9516 .IP "Default:" 9
9517 \f[I]"uploads"\f[]
9518
9519 .IP "Example:" 4
9520 .br
9521 * "uploads,collections"
9522 .br
9523 * ["uploads", "collections"]
9524
9525 .IP "Description:" 4
9526 A (comma-separated) list of subcategories to include
9527 when processing a user profile.
9528
9529 .IP "Supported Values:" 4
9530 .br
9531 * \f[I]uploads\f[]
9532 .br
9533 * \f[I]collections\f[]
9534
9535 .IP "Note:" 4
9536 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
9537
9538
9539 .SS extractor.wallhaven.metadata
9540 .IP "Type:" 6
9541 \f[I]bool\f[]
9542
9543 .IP "Default:" 9
9544 \f[I]false\f[]
9545
9546 .IP "Description:" 4
9547 Extract additional metadata (tags, uploader)
9548
9549 .IP "Note:" 4
9550 This requires 1 additional HTTP request per post.
9551
9552
9553 .SS extractor.weasyl.api-key
9554 .IP "Type:" 6
9555 \f[I]string\f[]
9556
9557 .IP "Default:" 9
9558 \f[I]null\f[]
9559
9560 .IP "Description:" 4
9561 Your \f[I]Weasyl API Key\f[],
9562 to use your account's browsing settings and filters.
9563
9564
9565 .SS extractor.weasyl.metadata
9566 .IP "Type:" 6
9567 \f[I]bool\f[]
9568
9569 .IP "Default:" 9
9570 \f[I]false\f[]
9571
9572 .IP "Description:" 4
9573 Fetch extra submission metadata during gallery downloads.
9574 .br
9575 (\f[I]comments\f[], \f[I]description\f[], \f[I]favorites\f[], \f[I]folder_name\f[],
9576 .br
9577 \f[I]tags\f[], \f[I]views\f[])
9578
9579 .IP "Note:" 4
9580 This requires 1 additional HTTP request per submission.
9581
9582
9583 .SS extractor.webtoons.bgm
9584 .IP "Type:" 6
9585 .br
9586 * \f[I]bool\f[]
9587 .br
9588 * \f[I]string\f[]
9589
9590 .IP "Default:" 9
9591 \f[I]true\f[]
9592
9593 .IP "Example:" 4
9594 "aac"
9595
9596 .IP "Description:" 4
9597 Download an episode's background music if available.
9598
9599 If this is a \f[I]string\f[], remux the downloaded background music file
9600 into the given format.
9601
9602 .IP "Note:" 4
9603 Requires \f[I]ytdl\f[] for downloads
9604 and \f[I]ffmpeg\f[] for remuxing
9605
9606
9607 .SS extractor.webtoons.quality
9608 .IP "Type:" 6
9609 .br
9610 * \f[I]integer\f[]
9611 .br
9612 * \f[I]string\f[]
9613 .br
9614 * \f[I]object\f[] (ext → type)
9615
9616 .IP "Default:" 9
9617 \f[I]"original"\f[]
9618
9619 .IP "Example:" 4
9620 .br
9621 * 90
9622 .br
9623 * "q50"
9624 .br
9625 * {"jpg": "q80", "jpeg": "q80", "png": false}
9626
9627 .IP "Description:" 4
9628 Controls the quality of downloaded files by modifying URLs' \f[I]type\f[] parameter.
9629
9630 \f[I]"original"\f[]
9631 Download minimally compressed versions of JPG files
9632 any \f[I]integer\f[]
9633 Use \f[I]"q<VALUE>"\f[] as \f[I]type\f[] parameter for JPEG files
9634 any \f[I]string\f[]
9635 Use this value as \f[I]type\f[] parameter for JPEG files
9636 any \f[I]object\f[]
9637 Use the given values as \f[I]type\f[] parameter for URLs with the specified extensions
9638 .br
9639 - Set a value to \f[I]false\f[] to completely remove these extension's \f[I]type\f[] parameter
9640 .br
9641 - Omit an extension to leave its URLs unchanged
9642 .br
9643
9644
9645 .SS extractor.webtoons.banners
9646 .IP "Type:" 6
9647 \f[I]bool\f[]
9648
9649 .IP "Default:" 9
9650 \f[I]false\f[]
9651
9652 .IP "Description:" 4
9653 Download the active comic's \f[I]banner\f[].
9654
9655
9656 .SS extractor.webtoons.thumbnails
9657 .IP "Type:" 6
9658 \f[I]bool\f[]
9659
9660 .IP "Default:" 9
9661 \f[I]false\f[]
9662
9663 .IP "Description:" 4
9664 Download the active episode's \f[I]thumbnail\f[].
9665
9666 Useful for creating CBZ archives with actual source thumbnails.
9667
9668
9669 .SS extractor.weibo.gifs
9670 .IP "Type:" 6
9671 .br
9672 * \f[I]bool\f[]
9673 .br
9674 * \f[I]string\f[]
9675
9676 .IP "Default:" 9
9677 \f[I]true\f[]
9678
9679 .IP "Description:" 4
9680 Download \f[I]gif\f[] files.
9681
9682 Set this to \f[I]"video"\f[] to download GIFs as video files.
9683
9684
9685 .SS extractor.weibo.include
9686 .IP "Type:" 6
9687 .br
9688 * \f[I]string\f[]
9689 .br
9690 * \f[I]list\f[] of \f[I]strings\f[]
9691
9692 .IP "Default:" 9
9693 \f[I]"feed"\f[]
9694
9695 .IP "Description:" 4
9696 A (comma-separated) list of subcategories to include
9697 when processing a user profile.
9698
9699 .IP "Supported Values:" 4
9700 .br
9701 * \f[I]home\f[]
9702 .br
9703 * \f[I]feed\f[]
9704 .br
9705 * \f[I]videos\f[]
9706 .br
9707 * \f[I]newvideo\f[]
9708 .br
9709 * \f[I]article\f[]
9710 .br
9711 * \f[I]album\f[]
9712 .br
9713 * \f[I]subalbums\f[]
9714
9715 .IP "Note:" 4
9716 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
9717
9718
9719 .SS extractor.weibo.likes
9720 .IP "Type:" 6
9721 \f[I]bool\f[]
9722
9723 .IP "Default:" 9
9724 \f[I]false\f[]
9725
9726 .IP "Description:" 4
9727 Download from \f[I]like\f[] (\f[I]赞过\f[]) posts.
9728
9729
9730 .SS extractor.weibo.livephoto
9731 .IP "Type:" 6
9732 .br
9733 * \f[I]bool\f[]
9734 .br
9735 * \f[I]string\f[]
9736
9737 .IP "Default:" 9
9738 \f[I]true\f[]
9739
9740 .IP "Description:" 4
9741 Download \f[I]livephoto\f[] files.
9742
9743 \f[I]true\f[]
9744 Download image & video files
9745 \f[I]false\f[]
9746 Download images only
9747 \f[I]"video"\f[]
9748 Download videos only
9749
9750
9751 .SS extractor.weibo.movies
9752 .IP "Type:" 6
9753 \f[I]bool\f[]
9754
9755 .IP "Default:" 9
9756 \f[I]false\f[]
9757
9758 .IP "Description:" 4
9759 Download \f[I]movie\f[] videos.
9760
9761
9762 .SS extractor.weibo.retweets
9763 .IP "Type:" 6
9764 \f[I]bool\f[]
9765
9766 .IP "Default:" 9
9767 \f[I]false\f[]
9768
9769 .IP "Description:" 4
9770 Fetch media from retweeted posts.
9771
9772 If this value is \f[I]"original"\f[], metadata for these files
9773 will be taken from the original posts, not the retweeted posts.
9774
9775
9776 .SS extractor.weibo.text
9777 .IP "Type:" 6
9778 \f[I]bool\f[]
9779
9780 .IP "Default:" 9
9781 \f[I]false\f[]
9782
9783 .IP "Description:" 4
9784 Extract full \f[I]text\f[] & \f[I]text_raw\f[] metadata
9785 for statuses with truncated \f[I]text\f[].
9786
9787
9788 .SS extractor.weibo.videos
9789 .IP "Type:" 6
9790 \f[I]bool\f[]
9791
9792 .IP "Default:" 9
9793 \f[I]true\f[]
9794
9795 .IP "Description:" 4
9796 Download video files.
9797
9798
9799 .SS extractor.weibo.album.subalbums
9800 .IP "Type:" 6
9801 \f[I]bool\f[]
9802
9803 .IP "Default:" 9
9804 \f[I]false\f[]
9805
9806 .IP "Description:" 4
9807 Extract subalbum media.
9808
9809
9810 .SS extractor.wikimedia.format
9811 .IP "Type:" 6
9812 \f[I]string\f[]
9813
9814 .IP "Default:" 9
9815 \f[I]fandom\f[] | \f[I]wikigg\f[]
9816 \f[I]"original"\f[]
9817 otherwise
9818 \f[I]""\f[]
9819
9820 .IP "Description:" 4
9821 Sets the format query parameter value
9822 added to all download URLs.
9823
9824
9825 .SS extractor.wikimedia.image-revisions
9826 .IP "Type:" 6
9827 \f[I]integer\f[]
9828
9829 .IP "Default:" 9
9830 \f[I]1\f[]
9831
9832 .IP "Description:" 4
9833 Number of revisions to return for a single image.
9834
9835 The dafault value of 1 only returns the latest revision.
9836
9837 The value must be between 1 and 500.
9838
9839 .IP "Note:" 4
9840 The API sometimes returns image revisions on article pages even when this option is
9841 set to 1. However, setting it to a higher value may reduce the number of API requests.
9842
9843
9844 .SS extractor.wikimedia.limit
9845 .IP "Type:" 6
9846 \f[I]integer\f[]
9847
9848 .IP "Default:" 9
9849 \f[I]50\f[]
9850
9851 .IP "Description:" 4
9852 Number of results to return in a single API query.
9853
9854 The value must be between 10 and 500.
9855
9856
9857 .SS extractor.wikimedia.subcategories
9858 .IP "Type:" 6
9859 \f[I]bool\f[]
9860
9861 .IP "Default:" 9
9862 \f[I]true\f[]
9863
9864 .IP "Description:" 4
9865 For \f[I]Category:\f[] pages, recursively descent into subcategories.
9866
9867
9868 .SS extractor.xasiat.format
9869 .IP "Type:" 6
9870 \f[I]string\f[]
9871
9872 .IP "Default:" 9
9873 \f[I]"best"\f[]
9874
9875 .IP "Description:" 4
9876 Selects video download format.
9877
9878 \f[I]"HD"\f[] \f[I] \f[I]"hd"\f[] \f[] \f[I]"best"\f[]
9879 "Best Quality" format
9880 \f[I]"SD"\f[] \f[I] \f[I]"sd"\f[] \f[] \f[I]"480p"\f[]
9881 "SD" format
9882
9883
9884 .SS extractor.[xenforo].attachments
9885 .IP "Type:" 6
9886 \f[I]bool\f[]
9887
9888 .IP "Default:" 9
9889 \f[I]true\f[]
9890
9891 .IP "Description:" 4
9892 Extract forum post attachments.
9893
9894
9895 .SS extractor.[xenforo].embeds
9896 .IP "Type:" 6
9897 \f[I]bool\f[]
9898
9899 .IP "Default:" 9
9900 \f[I]true\f[]
9901
9902 .IP "Description:" 4
9903 Extract URLs of forum post embeds.
9904
9905
9906 .SS extractor.[xenforo].metadata
9907 .IP "Type:" 6
9908 \f[I]bool\f[]
9909
9910 .IP "Default:" 9
9911 \f[I]false\f[]
9912
9913 .IP "Description:" 4
9914 Extract detailed metadata for media files.
9915
9916 .IP "Note:" 4
9917 This requires 1 additional HTTP request per file.
9918
9919
9920 .SS extractor.[xenforo].order-posts
9921 .IP "Type:" 6
9922 \f[I]string\f[]
9923
9924 .IP "Default:" 9
9925 \f[I]thread\f[]
9926 \f[I]"desc"\f[]
9927 otherwise
9928 \f[I]"asc"\f[]
9929
9930 .IP "Description:" 4
9931 Controls the order in which
9932 posts of a \f[I]thread\f[] or media files are processed.
9933
9934 \f[I]"asc"\f[]
9935 Ascending order (oldest first)
9936 \f[I]"desc"\f[] \f[I] \f[I]"reverse"\f[]
9937 Descending order (newest first)
9938 \f[I]"reaction"\f[] \f[] \f[I]"score"\f[]
9939 Reaction Score order (\f[I]threads\f[] only)
9940
9941
9942 .SS extractor.[xenforo].quoted
9943 .IP "Type:" 6
9944 \f[I]bool\f[]
9945
9946 .IP "Default:" 9
9947 \f[I]false\f[]
9948
9949 .IP "Description:" 4
9950 Extract files from quoted content.
9951
9952
9953 .SS extractor.xfolio.fullsize
9954 .IP "Type:" 6
9955 \f[I]bool\f[]
9956
9957 .IP "Default:" 9
9958 \f[I]true\f[]
9959
9960 .IP "Description:" 4
9961 Download posts' files as Full Size Download ZIP container
9962 if available and purchased.
9963
9964
9965 .SS extractor.ytdl.cmdline-args
9966 .IP "Type:" 6
9967 .br
9968 * \f[I]string\f[]
9969 .br
9970 * \f[I]list\f[] of \f[I]strings\f[]
9971
9972 .IP "Example:" 4
9973 .br
9974 * "--quiet --write-sub --merge-output-format mkv"
9975 .br
9976 * ["--quiet", "--write-sub", "--merge-output-format", "mkv"]
9977
9978 .IP "Description:" 4
9979 Additional \f[I]ytdl\f[] options specified as command-line arguments.
9980
9981 See
9982 \f[I]yt-dlp options\f[]
9983 /
9984 \f[I]youtube-dl options\f[]
9985
9986
9987 .SS extractor.ytdl.config-file
9988 .IP "Type:" 6
9989 \f[I]Path\f[]
9990
9991 .IP "Example:" 4
9992 "~/.config/yt-dlp/config"
9993
9994 .IP "Description:" 4
9995 Location of a \f[I]ytdl\f[] configuration file to load options from.
9996
9997
9998 .SS extractor.ytdl.deprecations
9999 .IP "Type:" 6
10000 \f[I]bool\f[]
10001
10002 .IP "Default:" 9
10003 \f[I]false\f[]
10004
10005 .IP "Description:" 4
10006 Allow \f[I]ytdl\f[] to warn about deprecated options and features.
10007
10008
10009 .SS extractor.ytdl.enabled
10010 .IP "Type:" 6
10011 \f[I]bool\f[]
10012
10013 .IP "Default:" 9
10014 \f[I]false\f[]
10015
10016 .IP "Description:" 4
10017 Process URLs otherwise unsupported by gallery-dl with \f[I]ytdl\f[].
10018
10019
10020 .SS extractor.ytdl.format
10021 .IP "Type:" 6
10022 \f[I]string\f[]
10023
10024 .IP "Default:" 9
10025 Default of the \f[I]ytdl\f[] \f[I]module\f[] used.
10026 .br
10027 (\f[I]"bestvideo*+bestaudio/best"\f[] for \f[I]yt_dlp\f[],
10028 .br
10029 \f[I]"bestvideo+bestaudio/best"\f[] for \f[I]youtube_dl\f[])
10030
10031 .IP "Description:" 4
10032 \f[I]ytdl\f[] format selection string.
10033
10034 See
10035 \f[I]yt-dlp format selection\f[]
10036 /
10037 \f[I]youtube-dl format selection\f[]
10038
10039
10040 .SS extractor.ytdl.generic
10041 .IP "Type:" 6
10042 .br
10043 * \f[I]bool\f[]
10044 .br
10045 * \f[I]string\f[]
10046
10047 .IP "Default:" 9
10048 \f[I]true\f[]
10049
10050 .IP "Description:" 4
10051 Enables the use of \f[I]ytdl's\f[] \f[I]Generic\f[] extractor.
10052
10053 Set this option to \f[I]"force"\f[] for the same effect as
10054 \f[I]--force-generic-extractor\f[].
10055
10056
10057 .SS extractor.ytdl.generic-category
10058 .IP "Type:" 6
10059 \f[I]bool\f[]
10060
10061 .IP "Default:" 9
10062 \f[I]true\f[]
10063
10064 .IP "Description:" 4
10065 When using \f[I]ytdl's\f[] \f[I]Generic\f[] extractor,
10066 change category to \f[I]"ytdl-generic"\f[] and
10067 set subcategory to the input URL's domain.
10068
10069
10070 .SS extractor.ytdl.logging
10071 .IP "Type:" 6
10072 \f[I]bool\f[]
10073
10074 .IP "Default:" 9
10075 \f[I]true\f[]
10076
10077 .IP "Description:" 4
10078 Route \f[I]ytdl's\f[] output through gallery-dl's logging system.
10079 Otherwise it will be written directly to stdout/stderr.
10080
10081 .IP "Note:" 4
10082 Set \f[I]quiet\f[] and \f[I]no_warnings\f[] in
10083 \f[I]extractor.ytdl.raw-options\f[] to \f[I]true\f[] to suppress all output.
10084
10085
10086 .SS extractor.ytdl.module
10087 .IP "Type:" 6
10088 \f[I]Module\f[]
10089
10090 .IP "Default:" 9
10091 \f[I]null\f[]
10092
10093 .IP "Example:" 4
10094 .br
10095 * "yt-dlp"
10096 .br
10097 * "/home/user/.local/lib/python3.13/site-packages/youtube_dl"
10098
10099 .IP "Description:" 4
10100 The \f[I]ytdl\f[] \f[I]Module\f[] to import.
10101
10102 Setting this to \f[I]null\f[] will try to import \f[I]"yt_dlp"\f[]
10103 followed by \f[I]"youtube_dl"\f[] as fallback.
10104
10105
10106 .SS extractor.ytdl.raw-options
10107 .IP "Type:" 6
10108 \f[I]object\f[] (name → value)
10109
10110 .IP "Example:" 4
10111 .. code:: json
10112
10113 {
10114 "quiet": true,
10115 "writesubtitles": true,
10116 "merge_output_format": "mkv"
10117 }
10118
10119 .IP "Description:" 4
10120 Additional options passed directly to the \f[I]YoutubeDL\f[] constructor.
10121
10122 Available options can be found in
10123 \f[I]yt-dlp's docstrings\f[]
10124 /
10125 \f[I]youtube-dl's docstrings\f[]
10126
10127
10128 .SS extractor.zerochan.extensions
10129 .IP "Type:" 6
10130 .br
10131 * \f[I]string\f[]
10132 .br
10133 * \f[I]list\f[] of \f[I]strings\f[]
10134
10135 .IP "Default:" 9
10136 \f[I]["jpg", "png", "webp", "gif"]\f[]
10137
10138 .IP "Example:" 4
10139 .br
10140 * "gif"
10141 .br
10142 * ["webp", "gif", "jpg"}
10143
10144 .IP "Description:" 4
10145 List of filename extensions to try when dynamically building download URLs
10146 (\f[I]"pagination": "api"\f[] +
10147 \f[I]"metadata": false\f[])
10148
10149
10150 .SS extractor.zerochan.metadata
10151 .IP "Type:" 6
10152 \f[I]bool\f[]
10153
10154 .IP "Default:" 9
10155 \f[I]false\f[]
10156
10157 .IP "Description:" 4
10158 Extract additional metadata (date, md5, tags, ...)
10159
10160 .IP "Note:" 4
10161 This requires 1-2 additional HTTP requests per post.
10162
10163
10164 .SS extractor.zerochan.pagination
10165 .IP "Type:" 6
10166 \f[I]string\f[]
10167
10168 .IP "Default:" 9
10169 \f[I]"api"\f[]
10170
10171 .IP "Description:" 4
10172 Controls how to paginate over tag search results.
10173
10174 \f[I]"api"\f[]
10175 Use the \f[I]JSON API\f[]
10176 (no \f[I]extension\f[] metadata)
10177 \f[I]"html"\f[]
10178 Parse HTML pages
10179 (limited to 100 pages * 24 posts)
10180
10181
10182 .SS extractor.zerochan.redirects
10183 .IP "Type:" 6
10184 \f[I]bool\f[]
10185
10186 .IP "Default:" 9
10187 \f[I]false\f[]
10188
10189 .IP "Description:" 4
10190 Automatically follow tag redirects.
10191
10192
10193 .SS extractor.[booru].tags
10194 .IP "Type:" 6
10195 \f[I]bool\f[]
10196
10197 .IP "Default:" 9
10198 \f[I]false\f[]
10199
10200 .IP "Description:" 4
10201 Group \f[I]tags\f[] by type and
10202 provide them as \f[I]tags_<type>\f[] metadata fields,
10203 for example \f[I]tags_artist\f[] or \f[I]tags_character\f[].
10204
10205 .IP "Note:" 4
10206 This requires 1 additional HTTP request per post.
10207
10208
10209 .SS extractor.[booru].notes
10210 .IP "Type:" 6
10211 \f[I]bool\f[]
10212
10213 .IP "Default:" 9
10214 \f[I]false\f[]
10215
10216 .IP "Description:" 4
10217 Extract overlay notes (position and text).
10218
10219 .IP "Note:" 4
10220 This requires 1 additional HTTP request per post.
10221
10222
10223 .SS extractor.[booru].url
10224 .IP "Type:" 6
10225 .br
10226 * \f[I]string\f[]
10227 .br
10228 * \f[I]list\f[] of \f[I]strings\f[]
10229
10230 .IP "Default:" 9
10231 \f[I]"file_url"\f[]
10232
10233 .IP "Example:" 4
10234 .br
10235 * "preview_url"
10236 .br
10237 * ["sample_url", "preview_url", "file_url"]
10238
10239 .IP "Description:" 4
10240 Alternate field name to retrieve download URLs from.
10241
10242 When multiple names are given, download the first available one.
10243
10244
10245 .SS extractor.[manga-extractor].chapter-reverse
10246 .IP "Type:" 6
10247 \f[I]bool\f[]
10248
10249 .IP "Default:" 9
10250 \f[I]false\f[]
10251
10252 .IP "Description:" 4
10253 Reverse the order of chapter URLs extracted from manga pages.
10254
10255 \f[I]true\f[]
10256 Start with the latest chapter
10257 \f[I]false\f[]
10258 Start with the first chapter
10259
10260
10261 .SS extractor.[manga-extractor].page-reverse
10262 .IP "Type:" 6
10263 \f[I]bool\f[]
10264
10265 .IP "Default:" 9
10266 \f[I]false\f[]
10267
10268 .IP "Description:" 4
10269 Download manga chapter pages in reverse order.
10270
10271
10272 .SH DOWNLOADER OPTIONS
10273 .SS downloader.*.enabled
10274 .IP "Type:" 6
10275 \f[I]bool\f[]
10276
10277 .IP "Default:" 9
10278 \f[I]true\f[]
10279
10280 .IP "Description:" 4
10281 Enable/Disable this downloader module.
10282
10283
10284 .SS downloader.*.filesize-min & .filesize-max
10285 .IP "Type:" 6
10286 \f[I]string\f[]
10287
10288 .IP "Default:" 9
10289 \f[I]null\f[]
10290
10291 .IP "Example:" 4
10292 "32000", "500k", "2.5M"
10293
10294 .IP "Description:" 4
10295 Minimum/Maximum allowed file size in bytes.
10296 Any file smaller/larger than this limit will not be downloaded.
10297
10298 Possible values are valid integer or floating-point numbers
10299 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[].
10300 These suffixes are case-insensitive.
10301
10302
10303 .SS downloader.*.mtime
10304 .IP "Type:" 6
10305 \f[I]bool\f[]
10306
10307 .IP "Default:" 9
10308 \f[I]true\f[]
10309
10310 .IP "Description:" 4
10311 Use \f[I]Last-Modified\f[] HTTP response headers
10312 to set file modification times.
10313
10314
10315 .SS downloader.*.part
10316 .IP "Type:" 6
10317 \f[I]bool\f[]
10318
10319 .IP "Default:" 9
10320 \f[I]true\f[]
10321
10322 .IP "Description:" 4
10323 Controls the use of \f[I].part\f[] files during file downloads.
10324
10325 \f[I]true\f[]
10326 Write downloaded data into \f[I].part\f[] files and rename
10327 them upon download completion. This mode additionally supports
10328 resuming incomplete downloads.
10329 \f[I]false\f[]
10330 Do not use \f[I].part\f[] files and write data directly
10331 into the actual output files.
10332
10333
10334 .SS downloader.*.part-directory
10335 .IP "Type:" 6
10336 .br
10337 * \f[I]Path\f[]
10338 .br
10339 * \f[I]object\f[] (\f[I]Condition\f[] → \f[I]Path\f[])
10340
10341 .IP "Default:" 9
10342 \f[I]null\f[]
10343
10344 .IP "Example:" 4
10345 .. code:: json
10346
10347 "/tmp/.gdl"
10348
10349 .. code:: json
10350
10351 {
10352 "size > 100000": "~/.gdl/part",
10353 "duration" : "/tmp/.gdl/video",
10354 }
10355
10356
10357 .IP "Description:" 4
10358 Alternate location(s) for \f[I].part\f[] files.
10359
10360 .IP "Note:" 4
10361 If this value is \f[I]null\f[] or no \f[I]Conditions\f[] apply,
10362 \f[I].part\f[] files are stored alongside the actual output files.
10363
10364 For a single \f[I]Path\f[], missing directories will be created as needed
10365
10366
10367 .SS downloader.*.progress
10368 .IP "Type:" 6
10369 \f[I]float\f[]
10370
10371 .IP "Default:" 9
10372 \f[I]3.0\f[]
10373
10374 .IP "Description:" 4
10375 Number of seconds until a download progress indicator
10376 for the current download is displayed.
10377
10378 Set this option to \f[I]null\f[] to disable this indicator.
10379
10380
10381 .SS downloader.*.rate
10382 .IP "Type:" 6
10383 .br
10384 * \f[I]string\f[]
10385 .br
10386 * \f[I]list\f[] with 2 \f[I]strings\f[]
10387
10388 .IP "Default:" 9
10389 \f[I]null\f[]
10390
10391 .IP "Example:" 4
10392 .br
10393 * "32000"
10394 .br
10395 * "500k"
10396 .br
10397 * "1M - 2.5M"
10398 .br
10399 * ["1M", "2.5M"]
10400
10401 .IP "Description:" 4
10402 Maximum download rate in bytes per second.
10403
10404 Possible values are valid integer or floating-point numbers
10405 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[].
10406 These suffixes are case-insensitive.
10407
10408 If given as a range, the maximum download rate
10409 will be randomly chosen before each download.
10410 (see \f[I]random.randint()\f[])
10411
10412
10413 .SS downloader.*.retries
10414 .IP "Type:" 6
10415 \f[I]integer\f[]
10416
10417 .IP "Default:" 9
10418 \f[I]extractor.*.retries\f[]
10419
10420 .IP "Description:" 4
10421 Maximum number of retries during file downloads,
10422 or \f[I]-1\f[] for infinite retries.
10423
10424
10425 .SS downloader.*.timeout
10426 .IP "Type:" 6
10427 \f[I]float\f[]
10428
10429 .IP "Default:" 9
10430 \f[I]extractor.*.timeout\f[]
10431
10432 .IP "Description:" 4
10433 Connection timeout during file downloads.
10434
10435
10436 .SS downloader.*.verify
10437 .IP "Type:" 6
10438 .br
10439 * \f[I]bool\f[]
10440 .br
10441 * \f[I]string\f[]
10442
10443 .IP "Default:" 9
10444 \f[I]extractor.*.verify\f[]
10445
10446 .IP "Description:" 4
10447 Certificate validation during file downloads.
10448
10449
10450 .SS downloader.*.proxy
10451 .IP "Type:" 6
10452 .br
10453 * \f[I]string\f[]
10454 .br
10455 * \f[I]object\f[] (scheme → proxy)
10456
10457 .IP "Default:" 9
10458 \f[I]extractor.*.proxy\f[]
10459
10460 .IP "Description:" 4
10461 Proxy server used for file downloads.
10462
10463 Disable the use of a proxy for file downloads
10464 by explicitly setting this option to \f[I]null\f[].
10465
10466
10467 .SS downloader.http.adjust-extensions
10468 .IP "Type:" 6
10469 \f[I]bool\f[]
10470
10471 .IP "Default:" 9
10472 \f[I]true\f[]
10473
10474 .IP "Description:" 4
10475 Check file headers of downloaded files
10476 and adjust their filename extensions if they do not match.
10477
10478 For example, this will change the filename extension (\f[I]{extension}\f[])
10479 of a file called \f[I]example.png\f[] from \f[I]png\f[] to \f[I]jpg\f[] when said file
10480 contains JPEG/JFIF data.
10481
10482
10483 .SS downloader.http.consume-content
10484 .IP "Type:" 6
10485 \f[I]bool\f[]
10486
10487 .IP "Default:" 9
10488 \f[I]false\f[]
10489
10490 .IP "Description:" 4
10491 Controls the behavior when an HTTP response is considered
10492 unsuccessful
10493
10494 If the value is \f[I]true\f[], consume the response body. This
10495 avoids closing the connection and therefore improves connection
10496 reuse.
10497
10498 If the value is \f[I]false\f[], immediately close the connection
10499 without reading the response. This can be useful if the server
10500 is known to send large bodies for error responses.
10501
10502
10503 .SS downloader.http.chunk-size
10504 .IP "Type:" 6
10505 .br
10506 * \f[I]integer\f[]
10507 .br
10508 * \f[I]string\f[]
10509
10510 .IP "Default:" 9
10511 \f[I]32768\f[]
10512
10513 .IP "Example:" 4
10514 "50k", "0.8M"
10515
10516 .IP "Description:" 4
10517 Number of bytes per downloaded chunk.
10518
10519 Possible values are integer numbers
10520 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[].
10521 These suffixes are case-insensitive.
10522
10523
10524 .SS downloader.http.headers
10525 .IP "Type:" 6
10526 \f[I]object\f[] (name → value)
10527
10528 .IP "Example:" 4
10529 {"Accept": "image/webp,*/*", "Referer": "https://example.org/"}
10530
10531 .IP "Description:" 4
10532 Additional HTTP headers to send when downloading files,
10533
10534
10535 .SS downloader.http.retry-codes
10536 .IP "Type:" 6
10537 \f[I]list\f[] of \f[I]integers\f[]
10538
10539 .IP "Default:" 9
10540 \f[I]extractor.*.retry-codes\f[]
10541
10542 .IP "Description:" 4
10543 Additional \f[I]HTTP response status codes\f[]
10544 to retry a download on.
10545
10546 Codes \f[I]200\f[], \f[I]206\f[], and \f[I]416\f[] (when resuming a \f[I]partial\f[]
10547 download) will never be retried and always count as success,
10548 regardless of this option.
10549
10550 \f[I]5xx\f[] codes (server error responses) will always be retried,
10551 regardless of this option.
10552
10553
10554 .SS downloader.http.sleep-429
10555 .IP "Type:" 6
10556 \f[I]Duration\f[]
10557
10558 .IP "Default:" 9
10559 \f[I]extractor.*.sleep-429\f[]
10560
10561 .IP "Description:" 4
10562 Number of seconds to sleep when receiving a 429 Too Many Requests
10563 response before \f[I]retrying\f[] the request.
10564
10565 .IP "Note:" 4
10566 Requires
10567 \f[I]retry-codes\f[]
10568 to include \f[I]429\f[].
10569
10570
10571 .SS downloader.http.validate
10572 .IP "Type:" 6
10573 \f[I]bool\f[]
10574
10575 .IP "Default:" 9
10576 \f[I]true\f[]
10577
10578 .IP "Description:" 4
10579 Check for invalid responses.
10580
10581 Fail a download when a file does not pass
10582 instead of downloading a potentially broken file.
10583
10584
10585 .SS downloader.http.validate-html
10586 .IP "Type:" 6
10587 \f[I]bool\f[]
10588
10589 .IP "Default:" 9
10590 \f[I]true\f[]
10591
10592 .IP "Description:" 4
10593 Check for unexpected HTML responses.
10594
10595 Fail file downloads with a \f[I]text/html\f[]
10596 \f[I]Content-Type header\f[]
10597 when expecting a media file instead.
10598
10599
10600 .SS downloader.ytdl.cmdline-args
10601 .IP "Type:" 6
10602 .br
10603 * \f[I]string\f[]
10604 .br
10605 * \f[I]list\f[] of \f[I]strings\f[]
10606
10607 .IP "Example:" 4
10608 .br
10609 * "--quiet --write-sub --merge-output-format mkv"
10610 .br
10611 * ["--quiet", "--write-sub", "--merge-output-format", "mkv"]
10612
10613 .IP "Description:" 4
10614 Additional \f[I]ytdl\f[] options specified as command-line arguments.
10615
10616 See
10617 \f[I]yt-dlp options\f[]
10618 /
10619 \f[I]youtube-dl options\f[]
10620
10621
10622 .SS downloader.ytdl.config-file
10623 .IP "Type:" 6
10624 \f[I]Path\f[]
10625
10626 .IP "Example:" 4
10627 "~/.config/yt-dlp/config"
10628
10629 .IP "Description:" 4
10630 Location of a \f[I]ytdl\f[] configuration file to load options from.
10631
10632
10633 .SS downloader.ytdl.deprecations
10634 .IP "Type:" 6
10635 \f[I]bool\f[]
10636
10637 .IP "Default:" 9
10638 \f[I]false\f[]
10639
10640 .IP "Description:" 4
10641 Allow \f[I]ytdl\f[] to warn about deprecated options and features.
10642
10643
10644 .SS downloader.ytdl.format
10645 .IP "Type:" 6
10646 \f[I]string\f[]
10647
10648 .IP "Default:" 9
10649 Default of the \f[I]ytdl\f[] \f[I]module\f[] used.
10650 .br
10651 (\f[I]"bestvideo*+bestaudio/best"\f[] for \f[I]yt_dlp\f[],
10652 .br
10653 \f[I]"bestvideo+bestaudio/best"\f[] for \f[I]youtube_dl\f[])
10654
10655 .IP "Description:" 4
10656 \f[I]ytdl\f[] format selection string.
10657
10658 See
10659 \f[I]yt-dlp format selection\f[]
10660 /
10661 \f[I]youtube-dl format selection\f[]
10662
10663
10664 .SS downloader.ytdl.forward-cookies
10665 .IP "Type:" 6
10666 \f[I]bool\f[]
10667
10668 .IP "Default:" 9
10669 \f[I]true\f[]
10670
10671 .IP "Description:" 4
10672 Forward gallery-dl's cookies to \f[I]ytdl\f[].
10673
10674
10675 .SS downloader.ytdl.logging
10676 .IP "Type:" 6
10677 \f[I]bool\f[]
10678
10679 .IP "Default:" 9
10680 \f[I]true\f[]
10681
10682 .IP "Description:" 4
10683 Route \f[I]ytdl's\f[] output through gallery-dl's logging system.
10684 Otherwise it will be written directly to stdout/stderr.
10685
10686 .IP "Note:" 4
10687 Set \f[I]quiet\f[] and \f[I]no_warnings\f[] in
10688 \f[I]downloader.ytdl.raw-options\f[] to \f[I]true\f[] to suppress all output.
10689
10690
10691 .SS downloader.ytdl.module
10692 .IP "Type:" 6
10693 \f[I]Module\f[]
10694
10695 .IP "Default:" 9
10696 \f[I]null\f[]
10697
10698 .IP "Example:" 4
10699 .br
10700 * "yt-dlp"
10701 .br
10702 * "/home/user/.local/lib/python3.13/site-packages/youtube_dl"
10703
10704 .IP "Description:" 4
10705 The \f[I]ytdl\f[] \f[I]Module\f[] to import.
10706
10707 Setting this to \f[I]null\f[] will try to import \f[I]"yt_dlp"\f[]
10708 followed by \f[I]"youtube_dl"\f[] as fallback.
10709
10710
10711 .SS downloader.ytdl.outtmpl
10712 .IP "Type:" 6
10713 \f[I]string\f[]
10714
10715 .IP "Default:" 9
10716 \f[I]null\f[]
10717
10718 .IP "Description:" 4
10719 The Output Template
10720 used to generate filenames for files downloaded with \f[I]ytdl\f[].
10721
10722 See
10723 \f[I]yt-dlp output template\f[]
10724 /
10725 \f[I]youtube-dl output template\f[].
10726
10727 .IP "Special Values:" 4
10728 \f[I]null\f[]
10729 generate filenames with \f[I]extractor.*.filename\f[]
10730 \f[I]"default"\f[]
10731 use \f[I]ytdl's\f[] default, currently
10732 \f[I]"%(title)s [%(id)s].%(ext)s"\f[] for \f[I]yt-dlp\f[] /
10733 \f[I]"%(title)s-%(id)s.%(ext)s"\f[] for \f[I]youtube-dl\f[]
10734
10735 .IP "Note:" 4
10736 An output template other than \f[I]null\f[] might
10737 cause unexpected results in combination with certain options
10738 (e.g. \f[I]"skip": "enumerate"\f[])
10739
10740
10741 .SS downloader.ytdl.raw-options
10742 .IP "Type:" 6
10743 \f[I]object\f[] (name → value)
10744
10745 .IP "Example:" 4
10746 .. code:: json
10747
10748 {
10749 "quiet": true,
10750 "writesubtitles": true,
10751 "merge_output_format": "mkv"
10752 }
10753
10754
10755 .IP "Description:" 4
10756 Additional options passed directly to the \f[I]YoutubeDL\f[] constructor.
10757
10758 Available options can be found in
10759 \f[I]yt-dlp's docstrings\f[]
10760 /
10761 \f[I]youtube-dl's docstrings\f[]
10762
10763
10764 .SH OUTPUT OPTIONS
10765 .SS output.mode
10766 .IP "Type:" 6
10767 .br
10768 * \f[I]string\f[]
10769 .br
10770 * \f[I]object\f[] (key → format string)
10771
10772 .IP "Default:" 9
10773 \f[I]"auto"\f[]
10774
10775 .IP "Description:" 4
10776 Controls the output string format and status indicators.
10777
10778 \f[I]"null"\f[]
10779 No output
10780 \f[I]"pipe"\f[]
10781 Suitable for piping to other processes or files
10782 \f[I]"terminal"\f[]
10783 Suitable for the standard Windows console
10784 \f[I]"color"\f[]
10785 Suitable for terminals that understand ANSI escape codes and colors
10786 \f[I]"auto"\f[]
10787 \f[I]"pipe"\f[] if not on a TTY,
10788 \f[I]"terminal"\f[] on Windows with \f[I]output.ansi\f[] disabled,
10789 \f[I]"color"\f[] otherwise.
10790
10791 It is possible to use custom output format strings
10792 .br
10793 by setting this option to an \f[I]object\f[] and specifying
10794 \f[I]start\f[], \f[I]success\f[], \f[I]skip\f[], \f[I]progress\f[], and \f[I]progress-total\f[].
10795 .br
10796
10797 For example, the following will replicate the same output as \f[I]mode: color\f[]:
10798
10799 .. code:: json
10800
10801 {
10802 "start" : "{}",
10803 "success": "\\r\\u001b[1;32m{}\\u001b[0m\\n",
10804 "skip" : "\\u001b[2m{}\\u001b[0m\\n",
10805 "progress" : "\\r{0:>7}B {1:>7}B/s ",
10806 "progress-total": "\\r{3:>3}% {0:>7}B {1:>7}B/s "
10807 }
10808
10809 \f[I]start\f[], \f[I]success\f[], and \f[I]skip\f[] are used to output the current
10810 filename, where \f[I]{}\f[] or \f[I]{0}\f[] is replaced with said filename.
10811 If a given format string contains printable characters other than that,
10812 their number needs to be specified as \f[I][<number>, <format string>]\f[]
10813 to get the correct results for \f[I]output.shorten\f[]. For example
10814
10815 .. code:: json
10816
10817 "start" : [12, "Downloading {}"]
10818
10819 \f[I]progress\f[] and \f[I]progress-total\f[] are used when displaying the
10820 .br
10821 \f[I]download progress indicator\f[],
10822 \f[I]progress\f[] when the total number of bytes to download is unknown,
10823 .br
10824 \f[I]progress-total\f[] otherwise.
10825
10826 For these format strings
10827
10828 .br
10829 * \f[I]{0}\f[] is number of bytes downloaded
10830 .br
10831 * \f[I]{1}\f[] is number of downloaded bytes per second
10832 .br
10833 * \f[I]{2}\f[] is total number of bytes
10834 .br
10835 * \f[I]{3}\f[] is percent of bytes downloaded to total bytes
10836
10837
10838 .SS output.stdout & .stdin & .stderr
10839 .IP "Type:" 6
10840 .br
10841 * \f[I]string\f[]
10842 .br
10843 * \f[I]object\f[]
10844
10845 .IP "Example:" 4
10846 .. code:: json
10847
10848 "utf-8"
10849
10850 .. code:: json
10851
10852 {
10853 "encoding": "utf-8",
10854 "errors": "replace",
10855 "line_buffering": true
10856 }
10857
10858
10859 .IP "Description:" 4
10860 \f[I]Reconfigure\f[]
10861 a \f[I]standard stream\f[].
10862
10863 Possible options are
10864
10865 .br
10866 * \f[I]encoding\f[]
10867 .br
10868 * \f[I]errors\f[]
10869 .br
10870 * \f[I]newline\f[]
10871 .br
10872 * \f[I]line_buffering\f[]
10873 .br
10874 * \f[I]write_through\f[]
10875
10876 When this option is specified as a simple \f[I]string\f[],
10877 it is interpreted as \f[I]{"encoding": "<string-value>", "errors": "replace"}\f[]
10878
10879 .IP "Note:" 4
10880 \f[I]errors\f[] always defaults to \f[I]"replace"\f[]
10881
10882
10883 .SS output.shorten
10884 .IP "Type:" 6
10885 \f[I]bool\f[]
10886
10887 .IP "Default:" 9
10888 \f[I]true\f[]
10889
10890 .IP "Description:" 4
10891 Controls whether the output strings should be shortened to fit
10892 on one console line.
10893
10894 Set this option to \f[I]"eaw"\f[] (East Asian Width)
10895 to display the correct result for east-asian characters
10896 with a display width greater than 1.
10897
10898
10899 .SS output.colors
10900 .IP "Type:" 6
10901 .br
10902 * \f[I]bool\f[]
10903 .br
10904 * \f[I]object\f[] (key → ANSI color)
10905
10906 .IP "Default:" 9
10907 .. code:: json
10908
10909 {
10910 "success": "1;32",
10911 "skip" : "2",
10912 "debug" : "0;37",
10913 "info" : "1;37",
10914 "warning": "1;33",
10915 "error" : "1;31"
10916 }
10917
10918
10919 .IP "Description:" 4
10920 Controls the
10921 \f[I]ANSI colors\f[]
10922 used for various outputs.
10923
10924 \f[I]true\f[]
10925 Use default ANSI colors.
10926 \f[I]false\f[]
10927 Disable ANSI colors.
10928 \f[I]object\f[]
10929 Use custom ANSI colors.
10930
10931 Keys for \f[I]mode: color\f[]
10932
10933 .br
10934 * \f[I]success\f[]: successfully downloaded files
10935 .br
10936 * \f[I]skip\f[]: skipped files
10937
10938 Keys for Logging Messages
10939
10940 .br
10941 * \f[I]debug\f[]: debug logging messages
10942 .br
10943 * \f[I]info\f[]: info logging messages
10944 .br
10945 * \f[I]warning\f[]: warning logging messages
10946 .br
10947 * \f[I]error\f[]: error logging messages
10948
10949
10950 .SS output.ansi
10951 .IP "Type:" 6
10952 \f[I]bool\f[]
10953
10954 .IP "Default:" 9
10955 \f[I]true\f[]
10956
10957 .IP "Description:" 4
10958 On Windows, enable ANSI escape sequences and colored output
10959 .br
10960 by setting the \f[I]ENABLE_VIRTUAL_TERMINAL_PROCESSING\f[] flag for stdout and stderr.
10961 .br
10962
10963 .IP "Note:" 4
10964 To disable colored output, set \f[I]output.colors\f[] to \f[I]false\f[].
10965
10966
10967 .SS output.skip
10968 .IP "Type:" 6
10969 \f[I]bool\f[]
10970
10971 .IP "Default:" 9
10972 \f[I]true\f[]
10973
10974 .IP "Description:" 4
10975 Show skipped file downloads.
10976
10977
10978 .SS output.fallback
10979 .IP "Type:" 6
10980 \f[I]bool\f[]
10981
10982 .IP "Default:" 9
10983 \f[I]true\f[]
10984
10985 .IP "Description:" 4
10986 Include fallback URLs in the output of \f[I]-g/--get-urls\f[].
10987
10988
10989 .SS output.jsonl
10990 .IP "Type:" 6
10991 \f[I]bool\f[]
10992
10993 .IP "Default:" 9
10994 \f[I]false\f[]
10995
10996 .IP "Description:" 4
10997 Output \f[I]-j/--dump-json\f[] & \f[I]-J/--resolve-json\f[]
10998 data in \f[I]JSON Lines\f[] format.
10999
11000
11001 .SS output.private
11002 .IP "Type:" 6
11003 \f[I]bool\f[]
11004
11005 .IP "Default:" 9
11006 \f[I]false\f[]
11007
11008 .IP "Description:" 4
11009 Include private fields,
11010 i.e. fields whose name starts with an underscore,
11011 in the output of \f[I]-K/--list-keywords\f[] and \f[I]-j/--dump-json\f[].
11012
11013
11014 .SS output.progress
11015 .IP "Type:" 6
11016 .br
11017 * \f[I]bool\f[]
11018 .br
11019 * \f[I]string\f[]
11020
11021 .IP "Default:" 9
11022 \f[I]true\f[]
11023
11024 .IP "Description:" 4
11025 Controls the progress indicator when *gallery-dl* is run with
11026 multiple URLs as arguments.
11027
11028 \f[I]true\f[]
11029 Show the default progress indicator
11030 (\f[I]"[{current}/{total}] {url}"\f[])
11031 \f[I]false\f[]
11032 Do not show any progress indicator
11033 Any \f[I]string\f[]
11034 Show the progress indicator using this
11035 as a custom \f[I]format string\f[]. Possible replacement keys are
11036 \f[I]current\f[], \f[I]total\f[] and \f[I]url\f[].
11037
11038
11039 .SS output.log
11040 .IP "Type:" 6
11041 .br
11042 * \f[I]Format String\f[]
11043 .br
11044 * \f[I]Logging Configuration\f[]
11045
11046 .IP "Default:" 9
11047 \f[I]"[{name}][{levelname}] {message}"\f[]
11048
11049 .IP "Description:" 4
11050 Configuration for logging output to stderr.
11051
11052
11053 .SS output.logfile
11054 .IP "Type:" 6
11055 .br
11056 * \f[I]Path\f[]
11057 .br
11058 * \f[I]Logging Configuration\f[]
11059
11060 .IP "Description:" 4
11061 File to write logging output to.
11062
11063
11064 .SS output.unsupportedfile
11065 .IP "Type:" 6
11066 .br
11067 * \f[I]Path\f[]
11068 .br
11069 * \f[I]Logging Configuration\f[]
11070
11071 .IP "Description:" 4
11072 File to write external URLs unsupported by *gallery-dl* to.
11073
11074
11075 .SS output.errorfile
11076 .IP "Type:" 6
11077 .br
11078 * \f[I]Path\f[]
11079 .br
11080 * \f[I]Logging Configuration\f[]
11081
11082 .IP "Description:" 4
11083 File to write input URLs which returned an error to.
11084
11085 When combined with
11086 \f[I]-I\f[]/\f[I]--input-file-comment\f[] or
11087 \f[I]-x\f[]/\f[I]--input-file-delete\f[],
11088 this option will cause *all* input URLs from these files
11089 to be commented/deleted after processing them
11090 and not just successful ones.
11091
11092
11093 .SS output.num-to-str
11094 .IP "Type:" 6
11095 \f[I]bool\f[]
11096
11097 .IP "Default:" 9
11098 \f[I]false\f[]
11099
11100 .IP "Description:" 4
11101 Convert numeric values (\f[I]integer\f[] or \f[I]float\f[]) to \f[I]string\f[]
11102 before outputting them as JSON.
11103
11104
11105 .SH POSTPROCESSOR OPTIONS
11106 .SS actions.action
11107 .IP "Type:" 6
11108 \f[I]Action(s)\f[]
11109
11110 .IP "Description:" 4
11111 The \f[I]Action(s)\f[] to perform.
11112
11113 .IP "Note:" 4
11114 This option can also be set as \f[I]mode\f[],
11115 making it possible to use \f[I]"name": "actions/<action>@<event>"\f[]
11116
11117
11118 .SS actions.event
11119 .IP "Type:" 6
11120 .br
11121 * \f[I]string\f[]
11122 .br
11123 * \f[I]list\f[] of \f[I]strings\f[]
11124
11125 .IP "Default:" 9
11126 \f[I]"prepare"\f[]
11127
11128 .IP "Description:" 4
11129 The event(s) for which \f[I]actions.action\f[] is triggered.
11130
11131 See \f[I]metadata.event\f[] for a list of available events.
11132
11133
11134 .SS classify.mapping
11135 .IP "Type:" 6
11136 \f[I]object\f[] (directory → extensions)
11137
11138 .IP "Default:" 9
11139 .. code:: json
11140
11141 {
11142 "Pictures" : ["jpg", "jpeg", "png", "gif", "bmp", "svg", "webp",
11143 "avif", "heic", "heif", "ico", "psd"],
11144 "Video" : ["flv", "ogv", "avi", "mp4", "mpg", "mpeg", "3gp", "mkv",
11145 "webm", "vob", "wmv", "m4v", "mov"],
11146 "Music" : ["mp3", "aac", "flac", "ogg", "wma", "m4a", "wav"],
11147 "Archives" : ["zip", "rar", "7z", "tar", "gz", "bz2"],
11148 "Documents": ["txt", "pdf"]
11149 }
11150
11151
11152 .IP "Description:" 4
11153 A mapping from directory names to filename extensions that should
11154 be stored in them.
11155
11156 Files with an extension not listed will be ignored and stored
11157 in their default location.
11158
11159
11160 .SS compare.action
11161 .IP "Type:" 6
11162 \f[I]string\f[]
11163
11164 .IP "Default:" 9
11165 \f[I]"replace"\f[]
11166
11167 .IP "Description:" 4
11168 The action to take when files do **not** compare as equal.
11169
11170 \f[I]"replace"\f[]
11171 Replace/Overwrite the old version with the new one
11172 \f[I]"enumerate"\f[]
11173 Add an enumeration index to the filename of the new
11174 version like \f[I]skip = "enumerate"\f[]
11175
11176
11177 .SS compare.equal
11178 .IP "Type:" 6
11179 \f[I]string\f[]
11180
11181 .IP "Default:" 9
11182 \f[I]"null"\f[]
11183
11184 .IP "Description:" 4
11185 The action to take when files do compare as equal.
11186
11187 \f[I]"abort:N"\f[]
11188 Stop the current extractor run
11189 after \f[I]N\f[] consecutive files compared as equal.
11190 \f[I]"terminate:N"\f[]
11191 Stop the current extractor run,
11192 including parent extractors,
11193 after \f[I]N\f[] consecutive files compared as equal.
11194 \f[I]"exit:N"\f[]
11195 Exit the program
11196 after \f[I]N\f[] consecutive files compared as equal.
11197
11198
11199 .SS compare.shallow
11200 .IP "Type:" 6
11201 \f[I]bool\f[]
11202
11203 .IP "Default:" 9
11204 \f[I]false\f[]
11205
11206 .IP "Description:" 4
11207 Only compare file sizes. Do not read and compare their content.
11208
11209
11210 .SS directory.event
11211 .IP "Type:" 6
11212 .br
11213 * \f[I]string\f[]
11214 .br
11215 * \f[I]list\f[] of \f[I]strings\f[]
11216
11217 .IP "Default:" 9
11218 \f[I]"prepare"\f[]
11219
11220 .IP "Description:" 4
11221 The event(s) for which \f[I]directory\f[] \f[I]Format Strings\f[] are (re)evaluated.
11222
11223 See \f[I]metadata.event\f[] for a list of available events.
11224
11225
11226 .SS exec.archive
11227 .IP "Type:" 6
11228 .br
11229 * \f[I]string\f[]
11230 .br
11231 * \f[I]Path\f[]
11232
11233 .IP "Description:" 4
11234 Database to store IDs of executed commands in,
11235 similar to \f[I]extractor.*.archive\f[].
11236
11237 The following archive options are also supported:
11238
11239 .br
11240 * \f[I]archive-format\f[]
11241 .br
11242 * \f[I]archive-prefix\f[]
11243 .br
11244 * \f[I]archive-pragma\f[]
11245 .br
11246 * \f[I]archive-reuse \f[]
11247 .br
11248 * \f[I]archive-table \f[]
11249
11250
11251 .SS exec.async
11252 .IP "Type:" 6
11253 \f[I]bool\f[]
11254
11255 .IP "Default:" 9
11256 \f[I]false\f[]
11257
11258 .IP "Description:" 4
11259 Controls whether to wait for a subprocess to finish
11260 or to let it run asynchronously.
11261
11262
11263 .SS exec.command
11264 .IP "Type:" 6
11265 .br
11266 * \f[I]string\f[]
11267 .br
11268 * \f[I]list\f[] of \f[I]strings\f[]
11269
11270 .IP "Example:" 4
11271 .br
11272 * "convert {} {}.png && rm {}"
11273 .br
11274 * ["echo", "{user[account]}", "{id}"]
11275
11276 .IP "Description:" 4
11277 The command to run.
11278
11279 .br
11280 * If this is a \f[I]string\f[], it will be executed using the system's
11281 shell, e.g. \f[I]/bin/sh\f[]. Any \f[I]{}\f[] will be replaced
11282 with the full path of a file or target directory, depending on
11283 \f[I]exec.event\f[]
11284
11285 .br
11286 * If this is a \f[I]list\f[], the first element specifies the program
11287 name and any further elements its arguments.
11288
11289 Each element of this list is evaluated as a \f[I]Format String\f[] using
11290 the files' metadata as well as
11291 \f[I]{_path}\f[], \f[I]{_temppath}\f[], \f[I]{_directory}\f[], and \f[I]{_filename}\f[].
11292
11293
11294 .SS exec.commands
11295 .IP "Type:" 6
11296 \f[I]list\f[] of \f[I]commands\f[]
11297
11298 .IP "Example:" 4
11299 .. code:: json
11300
11301 [
11302 ["echo", "{user[account]}", "{id}"]
11303 ["magick", "convert" "{_path}", "\\fF {_path.rpartition('.')[0]}.png"],
11304 "rm {}",
11305 ]
11306
11307 .IP "Description:" 4
11308 Multiple \f[I]commands\f[] to run in succession.
11309
11310 All \f[I]commands\f[] after the first returning with a non-zero
11311 exit status will not be run.
11312
11313
11314 .SS exec.event
11315 .IP "Type:" 6
11316 .br
11317 * \f[I]string\f[]
11318 .br
11319 * \f[I]list\f[] of \f[I]strings\f[]
11320
11321 .IP "Default:" 9
11322 \f[I]"after"\f[]
11323
11324 .IP "Description:" 4
11325 The event(s) for which \f[I]exec.command\f[] is run.
11326
11327 See \f[I]metadata.event\f[] for a list of available events.
11328
11329
11330 .SS exec.output
11331 .IP "Type:" 6
11332 \f[I]boolean\f[]
11333
11334 .IP "Default:" 9
11335 \f[I]true\f[]
11336
11337 .IP "Description:" 4
11338 Show output of spawned subprocesses.
11339
11340
11341 .SS exec.session
11342 .IP "Type:" 6
11343 \f[I]bool\f[]
11344
11345 .IP "Default:" 9
11346 \f[I]false\f[]
11347
11348 .IP "Description:" 4
11349 Start subprocesses in a new session.
11350
11351 On Windows, this means passing
11352 \f[I]CREATE_NEW_PROCESS_GROUP\f[]
11353 as a \f[I]creationflags\f[] argument to
11354 \f[I]subprocess.Popen\f[]
11355
11356 On POSIX systems, this means enabling the
11357 \f[I]start_new_session\f[] argument of
11358 \f[I]subprocess.Popen\f[]
11359 to have it call \f[I]setsid()\f[].
11360
11361
11362 .SS exec.verbose
11363 .IP "Type:" 6
11364 \f[I]bool\f[]
11365
11366 .IP "Default:" 9
11367 \f[I]true\f[]
11368
11369 .IP "Description:" 4
11370 Include \f[I]command\f[]
11371 arguments in logging messages.
11372
11373
11374 .SS exec.success
11375 .IP "Type:" 6
11376 \f[I]Action(s)\f[]
11377
11378 .IP "Description:" 4
11379 Run these \f[I]Action(s)\f[] when \f[I]command\f[]
11380 succeeds and returns with exit status 0.
11381
11382
11383 .SS exec.error
11384 .IP "Type:" 6
11385 \f[I]Action(s)\f[]
11386
11387 .IP "Description:" 4
11388 Run these \f[I]Action(s)\f[] when \f[I]command\f[]
11389 fails and returns with a non-zero exit status.
11390
11391
11392 .SS hash.chunk-size
11393 .IP "Type:" 6
11394 \f[I]integer\f[]
11395
11396 .IP "Default:" 9
11397 \f[I]32768\f[]
11398
11399 .IP "Description:" 4
11400 Number of bytes read per chunk during file hash computation.
11401
11402
11403 .SS hash.event
11404 .IP "Type:" 6
11405 .br
11406 * \f[I]string\f[]
11407 .br
11408 * \f[I]list\f[] of \f[I]strings\f[]
11409
11410 .IP "Default:" 9
11411 \f[I]"file"\f[]
11412
11413 .IP "Description:" 4
11414 The event(s) for which \f[I]file hashes\f[] are computed.
11415
11416 See \f[I]metadata.event\f[] for a list of available events.
11417
11418
11419 .SS hash.filename
11420 .IP "Type:" 6
11421 .br
11422 * \f[I]bool\f[]
11423
11424 .IP "Default:" 9
11425 \f[I]false\f[]
11426
11427 .IP "Description:" 4
11428 Rebuild \f[I]filenames\f[] after computing
11429 \f[I]hash digests\f[] and adding them to the metadata dict.
11430
11431
11432 .SS hash.hashes
11433 .IP "Type:" 6
11434 .br
11435 * \f[I]string\f[]
11436 .br
11437 * \f[I]object\f[] (field name → hash algorithm)
11438
11439 .IP "Default:" 9
11440 \f[I]"md5,sha1"\f[]
11441
11442 .IP "Example:" 4
11443 .. code:: json
11444
11445 "sha256:hash_sha,sha3_512:hash_sha3"
11446
11447 .. code:: json
11448
11449 {
11450 "hash_sha" : "sha256",
11451 "hash_sha3": "sha3_512"
11452 }
11453
11454
11455 .IP "Description:" 4
11456 Hash digests to compute.
11457
11458 For a list of available hash algorithms, run
11459
11460 .. code::
11461
11462 python -c "import hashlib; print('\\n'.join(hashlib.algorithms_available))"
11463
11464 or see \f[I]python/hashlib\f[].
11465
11466 .br
11467 * If this is a \f[I]string\f[],
11468 it is parsed as a a comma-separated list of algorthm-fieldname pairs:
11469
11470 .. code::
11471
11472 [<hash algorithm> ":"] <field name> ["," ...]
11473
11474 When \f[I]<hash algorithm>\f[] is omitted,
11475 \f[I]<field name>\f[] is used as algorithm name.
11476
11477 .br
11478 * If this is an \f[I]object\f[],
11479 it is a \f[I]<field name>\f[] to \f[I]<algorithm name>\f[] mapping
11480 for hash digests to compute.
11481
11482 .IP "Note:" 4
11483 This option can also be set as \f[I]mode\f[],
11484 making it possible to use \f[I]"name": "hash/<fieldname>@<event>"\f[]
11485
11486
11487 .SS metadata.mode
11488 .IP "Type:" 6
11489 \f[I]string\f[]
11490
11491 .IP "Default:" 9
11492 \f[I]"json"\f[]
11493
11494 .IP "Description:" 4
11495 Selects how to process metadata.
11496
11497 \f[I]"json"\f[]
11498 Write metadata using \f[I]json.dump()\f[]
11499 \f[I]"jsonl"\f[]
11500 Write metadata in \f[I]JSON Lines\f[] format
11501 \f[I]"tags"\f[]
11502 Write \f[I]tags\f[] separated by newlines
11503 \f[I]"print"\f[]
11504 Write the result of applying
11505 \f[I]content-format\f[]
11506 to \f[I]stdout\f[]
11507 \f[I]"custom"\f[]
11508 Write the result of applying
11509 \f[I]content-format\f[]
11510 to \f[I]a file\f[]
11511 \f[I]"modify"\f[]
11512 Add or modify metadata entries
11513 \f[I]"delete"\f[]
11514 Remove metadata entries
11515
11516
11517 .SS metadata.filename
11518 .IP "Type:" 6
11519 \f[I]Format String\f[]
11520
11521 .IP "Default:" 9
11522 \f[I]null\f[]
11523
11524 .IP "Example:" 4
11525 "{id}.data.json"
11526
11527 .IP "Description:" 4
11528 A \f[I]Format String\f[] to generate filenames for metadata files.
11529 (see \f[I]extractor.filename\f[])
11530
11531 Using \f[I]"-"\f[] as filename will write all output to \f[I]stdout\f[].
11532
11533 If this option is set, \f[I]metadata.extension\f[] and
11534 \f[I]metadata.extension-format\f[] will be ignored.
11535
11536
11537 .SS metadata.directory
11538 .IP "Type:" 6
11539 .br
11540 * \f[I]string\f[]
11541 .br
11542 * \f[I]list\f[] of \f[I]strings\f[]
11543
11544 .IP "Default:" 9
11545 \f[I]"."\f[]
11546
11547 .IP "Example:" 4
11548 .br
11549 * "metadata"
11550 .br
11551 * ["..", "metadata", "\\fF {id // 500 * 500}"]
11552
11553 .IP "Description:" 4
11554 Directory where metadata files are stored in
11555 relative to \f[I]metadata.base-directory\f[].
11556
11557
11558 .SS metadata.base-directory
11559 .IP "Type:" 6
11560 .br
11561 * \f[I]bool\f[]
11562 .br
11563 * \f[I]Path\f[]
11564
11565 .IP "Default:" 9
11566 \f[I]false\f[]
11567
11568 .IP "Description:" 4
11569 Selects the relative location for metadata files.
11570
11571 \f[I]false\f[]
11572 Current target location for file downloads (\f[I]base-directory\f[] + directory_)
11573 \f[I]true\f[]
11574 Current \f[I]base-directory\f[] location
11575 any \f[I]Path\f[]
11576 Custom location
11577
11578
11579 .SS metadata.extension
11580 .IP "Type:" 6
11581 \f[I]string\f[]
11582
11583 .IP "Default:" 9
11584 \f[I]"json"\f[] or \f[I]"txt"\f[]
11585
11586 .IP "Description:" 4
11587 Filename extension for metadata files that will be appended to the
11588 original file names.
11589
11590
11591 .SS metadata.extension-format
11592 .IP "Type:" 6
11593 \f[I]Format String\f[]
11594
11595 .IP "Example:" 4
11596 .br
11597 * "{extension}.json"
11598 .br
11599 * "json"
11600
11601 .IP "Description:" 4
11602 Custom \f[I]Format String\f[] to generate filename extensions
11603 for metadata files, which will replace the original filename extension.
11604
11605 .IP "Note:" 4
11606 When this option is set, \f[I]metadata.extension\f[] is ignored.
11607
11608
11609 .SS metadata.metadata-path
11610 .IP "Type:" 6
11611 \f[I]string\f[]
11612
11613 .IP "Example:" 4
11614 "_meta_path"
11615
11616 .IP "Description:" 4
11617 Insert the path of generated files
11618 into metadata dictionaries as the given name.
11619
11620
11621 .SS metadata.event
11622 .IP "Type:" 6
11623 .br
11624 * \f[I]string\f[]
11625 .br
11626 * \f[I]list\f[] of \f[I]strings\f[]
11627
11628 .IP "Default:" 9
11629 \f[I]"file"\f[]
11630
11631 .IP "Example:" 4
11632 .br
11633 * "prepare,file,after"
11634 .br
11635 * ["prepare-after", "skip"]
11636
11637 .IP "Description:" 4
11638 The event(s) for which metadata gets written to a file.
11639
11640 Available events are:
11641
11642 \f[I]init\f[]
11643 After post processor initialization
11644 and before the first file download
11645 \f[I]finalize\f[]
11646 On extractor shutdown, e.g. after all files were downloaded
11647 \f[I]finalize-success\f[]
11648 On extractor shutdown when no error occurred
11649 \f[I]finalize-error\f[]
11650 On extractor shutdown when at least one error occurred
11651 \f[I]prepare\f[]
11652 Before a file download
11653 \f[I]prepare-after\f[]
11654 Before a file download,
11655 but after building and checking file paths
11656 \f[I]file\f[]
11657 When completing a file download,
11658 but before it gets moved to its target location
11659 \f[I]after\f[]
11660 After a file got moved to its target location
11661 \f[I]skip\f[]
11662 When skipping a file download
11663 \f[I]error\f[]
11664 After a file download failed
11665 \f[I]post\f[]
11666 When starting to download all files of a post,
11667 e.g. a Tweet on Twitter or a post on Patreon.
11668 \f[I]post-after\f[]
11669 After downloading all files of a post
11670 \f[I]child\f[]
11671 When spawning a new child extractor
11672 \f[I]child-after\f[]
11673 After a child extractor ran
11674
11675
11676 .SS metadata.include
11677 .IP "Type:" 6
11678 \f[I]list\f[] of \f[I]strings\f[]
11679
11680 .IP "Example:" 4
11681 ["id", "width", "height", "description"]
11682
11683 .IP "Description:" 4
11684 Include only the given top-level keys when writing JSON data.
11685
11686 .IP "Note:" 4
11687 Missing or undefined fields will be silently ignored.
11688
11689
11690 .SS metadata.exclude
11691 .IP "Type:" 6
11692 \f[I]list\f[] of \f[I]strings\f[]
11693
11694 .IP "Example:" 4
11695 ["blocked", "watching", "status"]
11696
11697 .IP "Description:" 4
11698 Exclude all given keys from written JSON data.
11699
11700 .IP "Note:" 4
11701 Cannot be used with \f[I]metadata.include\f[].
11702
11703
11704 .SS metadata.fields
11705 .IP "Type:" 6
11706 .br
11707 * \f[I]list\f[] of \f[I]strings\f[]
11708 .br
11709 * \f[I]object\f[] (field name → \f[I]Format String\f[])
11710
11711 .IP "Example:" 4
11712 .. code:: json
11713
11714 ["blocked", "watching", "status[creator][name]"]
11715
11716 .. code:: json
11717
11718 {
11719 "blocked" : "***",
11720 "watching" : "\\fE 'yes' if watching else 'no'",
11721 "status[username]": "{status[creator][name]!l}"
11722 }
11723
11724
11725 .IP "Description:" 4
11726 \f[I]"mode": "delete"\f[]
11727 A list of metadata field names to remove.
11728 \f[I]"mode": "modify"\f[]
11729 An object with metadata field names mapping to a \f[I]Format String\f[]
11730 whose result is assigned to that field name.
11731
11732 .IP "Note::" 4
11733 Unlike standard \f[I]Format Strings\f[], replacement fields here
11734 preserve the original type of their value
11735 instead of automatically converting it to \f[I]type-str\f[].
11736
11737
11738 .SS metadata.content-format
11739 .IP "Type:" 6
11740 .br
11741 * \f[I]Format String\f[]
11742 .br
11743 * \f[I]list\f[] of \f[I]Format Strings\f[]
11744
11745 .IP "Example:" 4
11746 .br
11747 * "tags:\\n\\n{tags:J\\n}\\n"
11748 .br
11749 * ["tags:", "", "{tags:J\\n}"]
11750
11751 .IP "Description:" 4
11752 Custom \f[I]Format String(s)\f[] to build the content of metadata files with.
11753
11754 .IP "Note:" 4
11755 Only applies to \f[I]"mode": "custom"\f[].
11756
11757
11758 .SS metadata.ascii
11759 .IP "Type:" 6
11760 \f[I]bool\f[]
11761
11762 .IP "Default:" 9
11763 \f[I]false\f[]
11764
11765 .IP "Description:" 4
11766 Escape all non-ASCII characters.
11767
11768 See the \f[I]ensure_ascii\f[] argument of \f[I]json.dump()\f[] for further details.
11769
11770 .IP "Note:" 4
11771 Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[].
11772
11773
11774 .SS metadata.indent
11775 .IP "Type:" 6
11776 .br
11777 * \f[I]integer\f[]
11778 .br
11779 * \f[I]string\f[]
11780
11781 .IP "Default:" 9
11782 \f[I]4\f[]
11783
11784 .IP "Description:" 4
11785 Indentation level of JSON output.
11786
11787 See the \f[I]indent\f[] argument of \f[I]json.dump()\f[] for further details.
11788
11789 .IP "Note:" 4
11790 Only applies to \f[I]"mode": "json"\f[].
11791
11792
11793 .SS metadata.separators
11794 .IP "Type:" 6
11795 \f[I]list\f[] with two \f[I]string\f[] elements
11796
11797 .IP "Default:" 9
11798 \f[I][", ", ": "]\f[]
11799
11800 .IP "Description:" 4
11801 \f[I]<item separator>\f[] - \f[I]<key separator>\f[] pair
11802 to separate JSON keys and values with.
11803
11804 See the \f[I]separators\f[] argument of \f[I]json.dump()\f[] for further details.
11805
11806 .IP "Note:" 4
11807 Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[].
11808
11809
11810 .SS metadata.sort
11811 .IP "Type:" 6
11812 \f[I]bool\f[]
11813
11814 .IP "Default:" 9
11815 \f[I]false\f[]
11816
11817 .IP "Description:" 4
11818 Sort output by key.
11819
11820 See the \f[I]sort_keys\f[] argument of \f[I]json.dump()\f[] for further details.
11821
11822 .IP "Note:" 4
11823 Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[].
11824
11825
11826 .SS metadata.empty
11827 .IP "Type:" 6
11828 \f[I]bool\f[]
11829
11830 .IP "Default:" 9
11831 \f[I]false\f[]
11832
11833 .IP "Description:" 4
11834 Write empty
11835 JSON / \f[I]tags\f[] / \f[I]content-format\f[]
11836 data and create empty files.
11837
11838
11839 .SS metadata.open
11840 .IP "Type:" 6
11841 \f[I]string\f[]
11842
11843 .IP "Default:" 9
11844 \f[I]"w"\f[]
11845
11846 .IP "Description:" 4
11847 The \f[I]mode\f[] in which metadata files get opened.
11848
11849 For example,
11850 use \f[I]"a"\f[] to append to a file's content
11851 or \f[I]"w"\f[] to truncate it.
11852
11853 See the \f[I]mode\f[] argument of \f[I]open()\f[] for further details.
11854
11855
11856 .SS metadata.encoding
11857 .IP "Type:" 6
11858 \f[I]string\f[]
11859
11860 .IP "Default:" 9
11861 \f[I]"utf-8"\f[]
11862
11863 .IP "Description:" 4
11864 Name of the encoding used to encode a file's content.
11865
11866 See the \f[I]encoding\f[] argument of \f[I]open()\f[] for further details.
11867
11868
11869 .SS metadata.newline
11870 .IP "Type:" 6
11871 \f[I]string\f[]
11872
11873 .IP "Default:" 9
11874 \f[I]null\f[]
11875
11876 .IP "Description:" 4
11877 The newline sequence used in metadata files.
11878
11879 If \f[I]null\f[], any \f[I]\\n\f[] characters
11880 written are translated to the system default line separator.
11881
11882 See the \f[I]newline\f[] argument of \f[I]open()\f[] for further details.
11883
11884 .IP "Supported Values:" 4
11885 \f[I]null\f[]
11886 Any \f[I]\\n\f[] characters
11887 written are translated to the system default line separator.
11888 \f[I]""\f[] \f[I] \f[I]"\\n"\f[]
11889 Don't replace newline characters.
11890 \f[I]"\\r"\f[] \f[] \f[I]"\\r\\n"\f[]
11891 Replace newline characters with the given sequence.
11892
11893
11894 .SS metadata.private
11895 .IP "Type:" 6
11896 \f[I]bool\f[]
11897
11898 .IP "Default:" 9
11899 \f[I]false\f[]
11900
11901 .IP "Description:" 4
11902 Include private fields,
11903 i.e. fields whose name starts with an underscore.
11904
11905
11906 .SS metadata.skip
11907 .IP "Type:" 6
11908 \f[I]bool\f[]
11909
11910 .IP "Default:" 9
11911 \f[I]false\f[]
11912
11913 .IP "Description:" 4
11914 Do not overwrite already existing files.
11915
11916
11917 .SS metadata.archive
11918 .IP "Type:" 6
11919 .br
11920 * \f[I]string\f[]
11921 .br
11922 * \f[I]Path\f[]
11923
11924 .IP "Description:" 4
11925 Database to store IDs of generated metadata files in,
11926 similar to \f[I]extractor.*.archive\f[].
11927
11928 The following archive options are also supported:
11929
11930 .br
11931 * \f[I]archive-format\f[]
11932 .br
11933 * \f[I]archive-prefix\f[]
11934 .br
11935 * \f[I]archive-pragma\f[]
11936 .br
11937 * \f[I]archive-reuse \f[]
11938 .br
11939 * \f[I]archive-table \f[]
11940
11941
11942 .SS metadata.mtime
11943 .IP "Type:" 6
11944 \f[I]bool\f[]
11945
11946 .IP "Default:" 9
11947 \f[I]false\f[]
11948
11949 .IP "Description:" 4
11950 Set modification times of generated metadata files
11951 according to the accompanying downloaded file.
11952
11953 Enabling this option will only have an effect
11954 *if* there is actual \f[I]mtime\f[] metadata available, that is
11955
11956 .br
11957 * after a file download (\f[I]"event": "file"\f[] (default), \f[I]"event": "after"\f[])
11958 .br
11959 * when running *after* an \f[I]mtime\f[] post processes for the same \f[I]event\f[]
11960
11961 For example, a \f[I]metadata\f[] post processor for \f[I]"event": "post"\f[] will
11962 *not* be able to set its file's modification time unless an \f[I]mtime\f[]
11963 post processor with \f[I]"event": "post"\f[] runs *before* it.
11964
11965
11966 .SS mtime.event
11967 .IP "Type:" 6
11968 .br
11969 * \f[I]string\f[]
11970 .br
11971 * \f[I]list\f[] of \f[I]strings\f[]
11972
11973 .IP "Default:" 9
11974 \f[I]"post-after"\f[]
11975 \f[I]"target": "directory"\f[]
11976 \f[I]"file"\f[]
11977 otherwise
11978
11979 .IP "Description:" 4
11980 The event(s) for which \f[I]mtime.key\f[] or \f[I]mtime.value\f[] get evaluated.
11981
11982 See \f[I]metadata.event\f[] for a list of available events.
11983
11984
11985 .SS mtime.target
11986 .IP "Type:" 6
11987 \f[I]string\f[]
11988
11989 .IP "Default:" 9
11990 \f[I]"file"\f[]
11991
11992 .IP "Description:" 4
11993 The target to which \f[I]mtime.key\f[] or \f[I]mtime.value\f[] is applied to.
11994
11995 Supported values are \f[I]"file"\f[] and \f[I]"directory"\f[].
11996
11997
11998 .SS mtime.key
11999 .IP "Type:" 6
12000 \f[I]string\f[]
12001
12002 .IP "Default:" 9
12003 \f[I]"date"\f[]
12004
12005 .IP "Description:" 4
12006 Name of the metadata field whose value should be used.
12007
12008 This value must be either a Unix timestamp or a
12009 \f[I]type-datetime\f[] object.
12010
12011 .IP "Note:" 4
12012 This option is ignored if \f[I]mtime.value\f[] is set.
12013
12014
12015 .SS mtime.value
12016 .IP "Type:" 6
12017 \f[I]Format String\f[]
12018
12019 .IP "Default:" 9
12020 \f[I]null\f[]
12021
12022 .IP "Example:" 4
12023 .br
12024 * "{status[date]}"
12025 .br
12026 * "{content[0:6]:R22/2022/D%Y%m%d/}"
12027
12028 .IP "Description:" 4
12029 The \f[I]Format String\f[] whose value should be used.
12030
12031 The resulting value must be either a Unix timestamp or a
12032 \f[I]type-datetime\f[] object.
12033
12034 .IP "Note::" 4
12035 Unlike standard \f[I]Format Strings\f[], replacement fields here
12036 preserve the original type of their value
12037 instead of automatically converting it to \f[I]type-str\f[].
12038
12039
12040 .SS python.archive
12041 .IP "Type:" 6
12042 .br
12043 * \f[I]string\f[]
12044 .br
12045 * \f[I]Path\f[]
12046
12047 .IP "Description:" 4
12048 Database to store IDs of called Python functions in,
12049 similar to \f[I]extractor.*.archive\f[].
12050
12051 The following archive options are also supported:
12052
12053 .br
12054 * \f[I]archive-format\f[]
12055 .br
12056 * \f[I]archive-prefix\f[]
12057 .br
12058 * \f[I]archive-pragma\f[]
12059 .br
12060 * \f[I]archive-reuse \f[]
12061 .br
12062 * \f[I]archive-table \f[]
12063
12064
12065 .SS python.event
12066 .IP "Type:" 6
12067 .br
12068 * \f[I]string\f[]
12069 .br
12070 * \f[I]list\f[] of \f[I]strings\f[]
12071
12072 .IP "Default:" 9
12073 \f[I]"file"\f[]
12074
12075 .IP "Description:" 4
12076 The event(s) for which \f[I]python.function\f[] is called
12077 or \f[I]python.expression\f[] is evaluated.
12078
12079 See \f[I]metadata.event\f[] for a list of available events.
12080
12081
12082 .SS python.expression
12083 .IP "Type:" 6
12084 \f[I]Expression\f[]
12085
12086 .IP "Example:" 4
12087 .br
12088 * "print('Foo Bar')"
12089 .br
12090 * "terminate()"
12091
12092 .IP "Description:" 4
12093 A Python \f[I]Expression\f[] to
12094 \f[I]evaluate\f[].
12095
12096 .IP "Note:" 4
12097 Only used with \f[I]"mode": "eval"\f[]
12098
12099
12100 .SS python.function
12101 .IP "Type:" 6
12102 \f[I]string\f[]
12103
12104 .IP "Example:" 4
12105 .br
12106 * "my_module:generate_text"
12107 .br
12108 * "~/.local/share/gdl_utils.py:resize"
12109
12110 .IP "Description:" 4
12111 The Python function to call.
12112
12113 This function is specified as \f[I]<module>:<function name>\f[], where
12114 .br
12115 \f[I]<module>\f[] is a \f[I]Module\f[] and
12116 .br
12117 \f[I]<function name>\f[] is the name of the function in that module.
12118
12119 It gets called with the current metadata dict as argument.
12120
12121
12122 .SS python.args
12123 .IP "Type:" 6
12124 \f[I]list\f[] of \f[I]Format Strings\f[]
12125
12126 .IP "Example:" 4
12127 ["{username!c}", "\\fE width*height", "\\fF {site//(1024*1024)}MB"]
12128
12129 .IP "Description:" 4
12130 List of additional positional arguments
12131 that get passed to \f[I]python.function\f[].
12132
12133
12134 .SS python.kwargs
12135 .IP "Type:" 6
12136 \f[I]object\f[] (name → \f[I]Format String\f[])
12137
12138 .IP "Example:" 4
12139 .. code:: json
12140
12141 {
12142 "user" : "{username!c}",
12143 "pixels": "\\fE width*height",
12144 "size" : "\\fF {size//(1024*1024)}MB"]`
12145 }
12146
12147 .IP "Description:" 4
12148 Mapping of additional keyword arguments
12149 that get passed to \f[I]python.function\f[].
12150
12151
12152 .SS python.mode
12153 .IP "Type:" 6
12154 \f[I]string\f[]
12155
12156 .IP "Default:" 9
12157 \f[I]"function"\f[]
12158
12159 .IP "Description:" 4
12160 Selects what Python code to run.
12161
12162 \f[I]"eval"\f[]
12163 Evaluate an
12164 \f[I]expression\f[]
12165 \f[I]function"\f[]
12166 Call a
12167 \f[I]function\f[]
12168
12169
12170 .SS rename.from
12171 .IP "Type:" 6
12172 \f[I]Format String\f[]
12173
12174 .IP "Description:" 4
12175 The \f[I]Format String\f[] for filenames to rename.
12176
12177 When no value is given, \f[I]extractor.*.filename\f[] is used.
12178
12179
12180 .SS rename.to
12181 .IP "Type:" 6
12182 \f[I]Format String\f[]
12183
12184 .IP "Description:" 4
12185 The \f[I]Format String\f[] for target filenames.
12186
12187 When no value is given, \f[I]extractor.*.filename\f[] is used.
12188
12189
12190 .SS rename.skip
12191 .IP "Type:" 6
12192 \f[I]bool\f[]
12193
12194 .IP "Default:" 9
12195 \f[I]true\f[]
12196
12197 .IP "Description:" 4
12198 Do not rename a file when another file with the target name already exists.
12199
12200
12201 .SS ugoira.extension
12202 .IP "Type:" 6
12203 \f[I]string\f[]
12204
12205 .IP "Default:" 9
12206 \f[I]"webm"\f[]
12207
12208 .IP "Description:" 4
12209 Filename extension for the resulting video files.
12210
12211
12212 .SS ugoira.ffmpeg-args
12213 .IP "Type:" 6
12214 \f[I]list\f[] of \f[I]strings\f[]
12215
12216 .IP "Default:" 9
12217 \f[I]null\f[]
12218
12219 .IP "Example:" 4
12220 ["-c:v", "libvpx-vp9", "-an", "-b:v", "2M"]
12221
12222 .IP "Description:" 4
12223 Additional \f[I]ffmpeg\f[] command-line arguments.
12224
12225
12226 .SS ugoira.mode
12227 .IP "Type:" 6
12228 \f[I]string\f[]
12229
12230 .IP "Default:" 9
12231 \f[I]"auto"\f[]
12232
12233 .IP "Description:" 4
12234 \f[I]ffmpeg\f[] demuxer to read and process input files with.
12235
12236 .IP "Supported Values:" 4
12237 \f[I]"auto"\f[]
12238 use \f[I]mkvmerge\f[] if available, fall back to \f[I]concat\f[] otherwise
12239 \f[I]"concat"\f[]
12240 https://ffmpeg.org/ffmpeg-formats.html#concat-1
12241 .br
12242 Inaccurate frame timecodes for non-uniform frame delays
12243 .br
12244 \f[I]"image2"\f[]
12245 https://ffmpeg.org/ffmpeg-formats.html#image2-1
12246 .br
12247 Accurate timecodes, requires nanosecond file timestamps, i.e. no Windows or macOS)
12248 .br
12249 \f[I]"mkvmerge"\f[]
12250 Accurate timecodes, only WebM or MKV, requires \f[I]mkvmerge\f[])
12251 \f[I]"archive"\f[]
12252 Store "original" frames in a \f[I].zip\f[] archive
12253
12254
12255 .SS ugoira.ffmpeg-location
12256 .IP "Type:" 6
12257 \f[I]Path\f[]
12258
12259 .IP "Default:" 9
12260 \f[I]"ffmpeg"\f[]
12261
12262 .IP "Description:" 4
12263 Location of the \f[I]ffmpeg\f[] (or \f[I]avconv\f[]) executable to use.
12264
12265
12266 .SS ugoira.mkvmerge-args
12267 .IP "Type:" 6
12268 \f[I]list\f[] of \f[I]strings\f[]
12269
12270 .IP "Default:" 9
12271 \f[I]null\f[]
12272
12273 .IP "Example:" 4
12274 ["--no-date", "--disable-lacing"]
12275
12276 .IP "Description:" 4
12277 Additional \f[I]mkvmerge\f[] command-line arguments.
12278
12279
12280 .SS ugoira.mkvmerge-location
12281 .IP "Type:" 6
12282 \f[I]Path\f[]
12283
12284 .IP "Default:" 9
12285 \f[I]"mkvmerge"\f[]
12286
12287 .IP "Description:" 4
12288 Location of the \f[I]mkvmerge\f[] executable for use with the
12289 \f[I]mkvmerge demuxer\f[].
12290
12291
12292 .SS ugoira.mkvmerge-metadata
12293 .IP "Type:" 6
12294 \f[I]bool\f[]
12295
12296 .IP "Default:" 9
12297 \f[I]true\f[]
12298
12299 .IP "Description:" 4
12300 Let \f[I]mkvmerge\f[] write \f[I]BPS\f[], \f[I]DURATION\f[], \f[I]NUMBER_OF_BYTES\f[],
12301 and \f[I]NUMBER_OF_FRAMES\f[] metadata tags.
12302
12303 .IP "Implementation Detail:" 4
12304 Disabling this option passes
12305 \f[I]--disable-track-statistics-tags\f[] to \f[I]mkvmerge\f[]
12306
12307
12308 .SS ugoira.mkvmerge-mtime
12309 .IP "Type:" 6
12310 \f[I]bool\f[]
12311
12312 .IP "Default:" 9
12313 \f[I]false\f[]
12314
12315 .IP "Description:" 4
12316 Set the date segment information field
12317 of files processed with \f[I]mkvmerge\f[].
12318
12319 .IP "Note::" 4
12320 Requires \f[I]mkvmerge\f[] version 95.0 or higher
12321
12322
12323 .SS ugoira.mkvmerge-output
12324 .IP "Type:" 6
12325 \f[I]bool\f[]
12326
12327 .IP "Default:" 9
12328 \f[I]false\f[]
12329
12330 .IP "Description:" 4
12331 Enable \f[I]mkvmerge\f[] output.
12332
12333
12334 .SS ugoira.ffmpeg-output
12335 .IP "Type:" 6
12336 .br
12337 * \f[I]bool\f[]
12338 .br
12339 * \f[I]string\f[]
12340
12341 .IP "Default:" 9
12342 \f[I]"error"\f[]
12343
12344 .IP "Description:" 4
12345 Controls \f[I]ffmpeg\f[] output.
12346
12347 \f[I]true\f[]
12348 Enable \f[I]ffmpeg\f[] output
12349 \f[I]false\f[]
12350 Disable all \f[I]ffmpeg\f[] output
12351 any \f[I]string\f[]
12352 Pass \f[I]-hide_banner\f[] and \f[I]-loglevel\f[]
12353 with this value as argument to \f[I]ffmpeg\f[]
12354
12355
12356 .SS ugoira.ffmpeg-twopass
12357 .IP "Type:" 6
12358 \f[I]bool\f[]
12359
12360 .IP "Default:" 9
12361 \f[I]false\f[]
12362
12363 .IP "Description:" 4
12364 Enable Two-Pass encoding.
12365
12366
12367 .SS ugoira.framerate
12368 .IP "Type:" 6
12369 \f[I]string\f[]
12370
12371 .IP "Default:" 9
12372 \f[I]"auto"\f[]
12373
12374 .IP "Description:" 4
12375 Controls the frame rate argument (\f[I]-r\f[]) for \f[I]ffmpeg\f[]
12376
12377 \f[I]"auto"\f[]
12378 Automatically assign a fitting frame rate
12379 based on delays between frames.
12380 \f[I]"uniform"\f[]
12381 Like \f[I]auto\f[], but assign an explicit frame rate
12382 only to Ugoira with uniform frame delays.
12383 any other \f[I]string\f[]
12384 Use this value as argument for \f[I]-r\f[].
12385 \f[I]null\f[] or an empty \f[I]string\f[]
12386 Don't set an explicit frame rate.
12387
12388
12389 .SS ugoira.keep-files
12390 .IP "Type:" 6
12391 \f[I]bool\f[]
12392
12393 .IP "Default:" 9
12394 \f[I]false\f[]
12395
12396 .IP "Description:" 4
12397 Keep ZIP archives after conversion.
12398
12399
12400 .SS ugoira.libx264-prevent-odd
12401 .IP "Type:" 6
12402 \f[I]bool\f[]
12403
12404 .IP "Default:" 9
12405 \f[I]true\f[]
12406
12407 .IP "Description:" 4
12408 Prevent \f[I]"width/height not divisible by 2"\f[] errors
12409 when using \f[I]libx264\f[] or \f[I]libx265\f[] encoders
12410 by applying a simple cropping filter. See this \f[I]Stack Overflow
12411 thread\f[]
12412 for more information.
12413
12414 This option, when \f[I]libx264/5\f[] is used, automatically
12415 adds \f[I]["-vf", "crop=iw-mod(iw\\\\,2):ih-mod(ih\\\\,2)"]\f[]
12416 to the list of \f[I]ffmpeg\f[] command-line arguments
12417 to reduce an odd width/height by 1 pixel and make them even.
12418
12419
12420 .SS ugoira.metadata
12421 .IP "Type:" 6
12422 .br
12423 * \f[I]bool\f[]
12424 .br
12425 * \f[I]string\f[]
12426
12427 .IP "Default:" 9
12428 \f[I]true\f[]
12429
12430 .IP "Description:" 4
12431 When using \f[I]"mode": "archive"\f[], save Ugoira frame delay data as
12432 \f[I]animation.json\f[] within the archive file.
12433
12434 If this is a \f[I]string\f[],
12435 use it as alternate filename for frame delay files.
12436
12437
12438 .SS ugoira.mtime
12439 .IP "Type:" 6
12440 \f[I]bool\f[]
12441
12442 .IP "Default:" 9
12443 \f[I]true\f[]
12444
12445 .IP "Description:" 4
12446 Set modification times of generated ugoira animations.
12447
12448
12449 .SS ugoira.repeat-last-frame
12450 .IP "Type:" 6
12451 \f[I]bool\f[]
12452
12453 .IP "Default:" 9
12454 \f[I]true\f[]
12455
12456 .IP "Description:" 4
12457 Allow repeating the last frame when necessary
12458 to prevent it from only being displayed for a very short amount of time.
12459
12460
12461 .SS ugoira.skip
12462 .IP "Type:" 6
12463 \f[I]bool\f[]
12464
12465 .IP "Default:" 9
12466 \f[I]true\f[]
12467
12468 .IP "Description:" 4
12469 Do not convert frames if target file already exists.
12470
12471
12472 .SS zip.compression
12473 .IP "Type:" 6
12474 \f[I]string\f[]
12475
12476 .IP "Default:" 9
12477 \f[I]"store"\f[]
12478
12479 .IP "Description:" 4
12480 Compression method to use when writing the archive.
12481
12482 .IP "Supported Values:" 4
12483 .br
12484 * \f[I]"store"\f[]
12485 .br
12486 * \f[I]"zip"\f[]
12487 .br
12488 * \f[I]"bzip2"\f[]
12489 .br
12490 * \f[I]"lzma"\f[]
12491
12492
12493 .SS zip.extension
12494 .IP "Type:" 6
12495 \f[I]string\f[]
12496
12497 .IP "Default:" 9
12498 \f[I]"zip"\f[]
12499
12500 .IP "Description:" 4
12501 Filename extension for the created ZIP archive.
12502
12503
12504 .SS zip.files
12505 .IP "Type:" 6
12506 \f[I]list\f[] of \f[I]Path\f[]
12507
12508 .IP "Example:" 4
12509 ["info.json"]
12510
12511 .IP "Description:" 4
12512 List of extra files to be added to a ZIP archive.
12513
12514 .IP "Note:" 4
12515 Relative paths are relative to the current
12516 \f[I]download directory\f[].
12517
12518
12519 .SS zip.keep-files
12520 .IP "Type:" 6
12521 \f[I]bool\f[]
12522
12523 .IP "Default:" 9
12524 \f[I]false\f[]
12525
12526 .IP "Description:" 4
12527 Keep the actual files after writing them to a ZIP archive.
12528
12529
12530 .SS zip.mode
12531 .IP "Type:" 6
12532 \f[I]string\f[]
12533
12534 .IP "Default:" 9
12535 \f[I]"default"\f[]
12536
12537 .IP "Description:" 4
12538 \f[I]"default"\f[]
12539 Write the central directory file header
12540 once after everything is done or an exception is raised.
12541
12542 \f[I]"safe"\f[]
12543 Update the central directory file header
12544 each time a file is stored in a ZIP archive.
12545
12546 This greatly reduces the chance a ZIP archive gets corrupted in
12547 case the Python interpreter gets shut down unexpectedly
12548 (power outage, SIGKILL) but is also a lot slower.
12549
12550
12551 .SH MISCELLANEOUS OPTIONS
12552 .SS extractor.modules
12553 .IP "Type:" 6
12554 \f[I]list\f[] of \f[I]strings\f[]
12555
12556 .IP "Default:" 9
12557 The \f[I]modules\f[] list in
12558 \f[I]extractor/__init__.py\f[]
12559
12560 .IP "Example:" 4
12561 ["reddit", "danbooru", "mangadex"]
12562
12563 .IP "Description:" 4
12564 List of internal modules to load when searching for a suitable
12565 extractor class. Useful to reduce startup time and memory usage.
12566
12567
12568 .SS extractor.module-sources
12569 .IP "Type:" 6
12570 .br
12571 * \f[I]list\f[] of \f[I]Path\f[] instances
12572 .br
12573 * \f[I]list\f[] of \f[I]object\f[]
12574
12575 .IP "Example:" 4
12576 .. code:: json
12577
12578 ["~/.config/gallery-dl/modules", null]
12579
12580 .. code:: json
12581
12582 [
12583 {
12584 "from": "~/.config/gallery-dl/modules",
12585 "import": ["custom_module1", "custom_module2"]
12586 },
12587 null
12588 ]
12589
12590
12591 .IP "Description:" 4
12592 List of sources to load (external) extractor modules from.
12593
12594 The following elements are supported:
12595
12596 \f[I]Path\f[]
12597 A path to a directory containing custom extractor modules.
12598 .br
12599 All files in this directory with a \f[I].py\f[] filename extension
12600 .br
12601 will be \f[I]imported\f[]
12602 and searched for extractors, i.e. classes with a \f[I]pattern\f[] attribute.
12603 \f[I]object\f[]
12604 An object describing module
12605 \f[I]imports\f[]
12606 in a specific directory.
12607
12608 The following keys are required:
12609
12610 \f[I]from\f[]
12611 A \f[I]Path\f[] to the directory the modules are located in.
12612 .br
12613 This directory will be available on the module search path (\f[I]sys.path\f[]) during import.
12614 .br
12615 \f[I]ìmport\f[]
12616 A \f[I]list\f[] of \f[I]strings\f[] of filenames to import.
12617 .br
12618 The names must be given without \f[I].py\f[] extension.
12619 .br
12620 \f[I]null\f[]
12621 Internal extractors defined in
12622 \f[I]extractor/__init__.py\f[]
12623 or by \f[I]extractor.modules\f[].
12624
12625
12626 .SS extractor.category-map
12627 .IP "Type:" 6
12628 .br
12629 * \f[I]object\f[] (category → category)
12630 .br
12631 * \f[I]string\f[]
12632
12633 .IP "Example:" 4
12634 .. code:: json
12635
12636 {
12637 "danbooru": "booru",
12638 "gelbooru": "booru"
12639 }
12640
12641 .IP "Description:" 4
12642 A JSON object mapping category names to their replacements.
12643
12644 .IP "Special Values:" 4
12645 .br
12646 * \f[I]"compat"\f[]
12647 .. code:: json
12648
12649 {
12650 "coomer" : "coomerparty",
12651 "kemono" : "kemonoparty",
12652 "turbo" : "saint",
12653 "schalenetwork": "koharu",
12654 "naver-chzzk" : "chzzk",
12655 "naver-blog" : "naver",
12656 "naver-webtoon": "naverwebtoon",
12657 "pixiv-novel" : "pixiv",
12658 "pixiv-novel:novel" : ["pixiv", "novel"],
12659 "pixiv-novel:user" : ["pixiv", "novel-user"],
12660 "pixiv-novel:series" : ["pixiv", "novel-series"],
12661 "pixiv-novel:bookmark": ["pixiv", "novel-bookmark"]
12662 }
12663
12664
12665 .SS extractor.config-map
12666 .IP "Type:" 6
12667 .br
12668 * \f[I]object\f[] (src-category → dest-category)
12669 .br
12670 * \f[I]list\f[] of [src-category, dest-category] pairs
12671
12672 .IP "Default:" 9
12673 .. code:: json
12674
12675 {
12676 "coomerparty" : "coomer",
12677 "kemonoparty" : "kemono",
12678 "giantessbooru": "sizebooru",
12679 "koharu" : "schalenetwork",
12680 "chzzk" : "naver-chzzk",
12681 "naver" : "naver-blog",
12682 "naverwebtoon" : "naver-webtoon",
12683 "pixiv" : "pixiv-novel",
12684 "saint" : "turbo"
12685 }
12686
12687 .IP "Description:" 4
12688 Duplicate the configuration settings of extractor categories
12689 to other names.
12690
12691 For example, a \f[I]"naver": "naver-blog"\f[] key-value pair will make all
12692 \f[I]naver\f[] config settings available for \f[I]naver-blog\f[] extractors as well.
12693
12694
12695 .SS jinja.environment
12696 .IP "Type:" 6
12697 \f[I]object\f[] (name → value)
12698
12699 .IP "Example:" 4
12700 .. code:: json
12701
12702 {
12703 "variable_start_string": "(((",
12704 "variable_end_string" : ")))",
12705 "keep_trailing_newline": true
12706 }
12707
12708 .IP "Description:" 4
12709 Initialization parameters for the \f[I]jinja\f[]
12710 \f[I]Environment\f[]
12711 object.
12712
12713
12714 .SS jinja.policies
12715 .IP "Type:" 6
12716 \f[I]object\f[] (name → value)
12717
12718 .IP "Example:" 4
12719 .. code:: json
12720
12721 {
12722 "urlize.rel": "nofollow noopener",
12723 "ext.i18n.trimmed": true
12724 }
12725
12726 .IP "Description:" 4
12727 \f[I]jinja\f[]
12728 \f[I]Policies\f[]
12729
12730
12731 .SS jinja.filters
12732 .IP "Type:" 6
12733 \f[I]Module\f[]
12734
12735 .IP "Description:" 4
12736 A Python \f[I]Module\f[] containing custom \f[I]jinja\f[]
12737 \f[I]filters\f[]
12738
12739
12740 .SS jinja.tests
12741 .IP "Type:" 6
12742 \f[I]Module\f[]
12743
12744 .IP "Description:" 4
12745 A Python \f[I]Module\f[] containing custom \f[I]jinja\f[]
12746 \f[I]tests\f[]
12747
12748
12749 .SS globals
12750 .IP "Type:" 6
12751 \f[I]Module\f[]
12752
12753 .IP "Description:" 4
12754 A Python \f[I]Module\f[] whose namespace,
12755 in addition to the \f[I]GLOBALS\f[] dict in
12756 \f[I]util.py\f[],
12757 is used as \f[I]globals parameter\f[] for compiled Expressions_.
12758
12759
12760 .SS cache.file
12761 .IP "Type:" 6
12762 \f[I]Path\f[]
12763
12764 .IP "Default:" 9
12765 .br
12766 * (\f[I]%APPDATA%\f[] or \f[I]"~"\f[]) + \f[I]"/gallery-dl/cache.sqlite3"\f[] on Windows
12767 .br
12768 * (\f[I]$XDG_CACHE_HOME\f[] or \f[I]"~/.cache"\f[]) + \f[I]"/gallery-dl/cache.sqlite3"\f[] on all other platforms
12769
12770 .IP "Description:" 4
12771 Path of the SQLite3 database used to cache login sessions,
12772 cookies and API tokens across gallery-dl invocations.
12773
12774 Set this option to \f[I]":memory:"\f[], \f[I]null\f[], or an invalid path
12775 to disable creating a file for this cache.
12776
12777
12778 .SS environment
12779 .IP "Type:" 6
12780 .br
12781 * \f[I]object\f[] (name → value)
12782 .br
12783 * \f[I]list\f[] of [name, value] pairs
12784
12785 .IP "Example:" 4
12786 .. code:: json
12787
12788 {
12789 "_config" : "~/.config/gallery-dl",
12790 "_cookies": "$_config/cookies"
12791 }
12792
12793 .. code:: json
12794
12795 [
12796 ["_config" , "~/.config/gallery-dl"],
12797 ["_cookies", "$_config/cookies"]
12798 ]
12799
12800 .IP "Description:" 4
12801 Additional environment variable values
12802 that get set during program initialization.
12803
12804 .IP "Note:" 4
12805 These can then be used as replacements in \f[I]Path\f[] values.
12806
12807
12808 .SS environment-expand
12809 .IP "Type:" 6
12810 \f[I]bool\f[]
12811
12812 .IP "Default:" 9
12813 \f[I]true\f[]
12814
12815 .IP "Description:" 4
12816 Expand environment variables and tildes ~ in \f[I]environment\f[] values.
12817
12818
12819 .SS filters-environment
12820 .IP "Type:" 6
12821 .br
12822 * \f[I]bool\f[]
12823 .br
12824 * \f[I]string\f[]
12825
12826 .IP "Default:" 9
12827 \f[I]true\f[]
12828
12829 .IP "Description:" 4
12830 Evaluate \f[I]Expressions\f[] in a special environment
12831 preventing them from raising fatal exceptions.
12832
12833 \f[I]true\f[] \f[I] \f[I]"tryexcept"\f[]
12834 Wrap expressions in a try/except block;
12835 Evaluate expressions raising an exception as \f[I]false\f[]
12836 \f[I]false\f[] \f[] \f[I]"raw"\f[]
12837 Do not wrap expressions in a special environment
12838 \f[I]"defaultdict"\f[]
12839 Prevent exceptions when accessing undefined variables
12840 by using a \f[I]defaultdict\f[]
12841
12842
12843 .SS format-operator-dot
12844 .IP "Type:" 6
12845 \f[I]bool\f[]
12846
12847 .IP "Default:" 9
12848 \f[I]true\f[]
12849
12850 .IP "Description:" 4
12851 In standard \f[I]Format Strings\f[], allow the dot operator \f[I].\f[]
12852 to function as a general access operator
12853 in addition to regular attribute access.
12854
12855 .br
12856 * \f[I]obj.attribute\f[]
12857 .br
12858 * \f[I]dict.fieldname\f[]
12859 .br
12860 * \f[I]list.123\f[]
12861
12862
12863 .SS format-separator
12864 .IP "Type:" 6
12865 \f[I]string\f[]
12866
12867 .IP "Default:" 9
12868 \f[I]"/"\f[]
12869
12870 .IP "Description:" 4
12871 Character(s) used as argument separator in \f[I]Format String\f[]
12872 \f[I]format specifiers\f[].
12873
12874 For example, setting this option to \f[I]"#"\f[] would allow a replacement
12875 operation to be \f[I]Rold#new#\f[] instead of the default \f[I]Rold/new/\f[]
12876
12877
12878 .SS input-files
12879 .IP "Type:" 6
12880 \f[I]list\f[] of \f[I]Path\f[]
12881
12882 .IP "Example:" 4
12883 ["~/urls.txt", "$HOME/input"]
12884
12885 .IP "Description:" 4
12886 Additional input files.
12887
12888
12889 .SS follow-symlinks
12890 .IP "Type:" 6
12891 \f[I]bool\f[]
12892
12893 .IP "Default:" 9
12894 \f[I]false\f[]
12895
12896 .IP "Description:" 4
12897 When updating the contents of
12898
12899 .br
12900 * \f[I]--cookies\f[]
12901 .br
12902 * \f[I]--input-file-comment\f[]
12903 .br
12904 * \f[I]--input-file-delete\f[]
12905
12906 files, follow symlinks and update their targets.
12907
12908 Otherwise, symlinks are replaced with regular files.
12909
12910
12911 .SS signals-ignore
12912 .IP "Type:" 6
12913 \f[I]list\f[] of \f[I]strings\f[]
12914
12915 .IP "Example:" 4
12916 ["SIGTTOU", "SIGTTIN", "SIGTERM"]
12917
12918 .IP "Description:" 4
12919 The list of signal names to ignore, i.e. set
12920 \f[I]SIG_IGN\f[]
12921 as signal handler for.
12922
12923
12924 .SS signals-actions
12925 .IP "Type:" 6
12926 \f[I]object\f[] (signal → \f[I]Action(s)\f[])
12927
12928 .IP "Example:" 4
12929 .. code:: json
12930
12931 {
12932 "SIGINT" : "flag download = stop",
12933 "SIGUSR1": [
12934 "print Received SIGUSR1",
12935 "exec notify.sh",
12936 "exit 127"
12937 ]
12938 }
12939
12940 .IP "Description:" 4
12941 \f[I]Action(s)\f[] to perform when a
12942 \f[I]signal\f[]
12943 is received.
12944
12945
12946 .SS subconfigs
12947 .IP "Type:" 6
12948 \f[I]list\f[] of \f[I]Path\f[]
12949
12950 .IP "Example:" 4
12951 ["~/cfg-twitter.json", "~/cfg-reddit.json"]
12952
12953 .IP "Description:" 4
12954 Additional configuration files to load.
12955
12956
12957 .SS warnings
12958 .IP "Type:" 6
12959 \f[I]string\f[]
12960
12961 .IP "Default:" 9
12962 \f[I]"default"\f[]
12963
12964 .IP "Description:" 4
12965 The \f[I]Warnings Filter action\f[]
12966 used for (urllib3) warnings.
12967
12968
12969 .SS server.host
12970 .IP "Type:" 6
12971 \f[I]string\f[]
12972
12973 .IP "Default:" 9
12974 \f[I]"127.0.0.1"\f[]
12975
12976 .IP "Description:" 4
12977 Host to bind the server/socket to.
12978
12979
12980 .SS server.port
12981 .IP "Type:" 6
12982 \f[I]int\f[]
12983
12984 .IP "Default:" 9
12985 \f[I]64696\f[]
12986
12987 .IP "Description:" 4
12988 Port to bind the server/socket to.
12989
12990
12991 .SS server.key
12992 .IP "Type:" 6
12993 \f[I]string\f[]
12994
12995 .IP "Default:" 9
12996 \f[I]"gallery_dl"\f[]
12997
12998 .IP "Description:" 4
12999 A string that is added to the front of each request to differentiate and
13000 avoid random requests sent to the listener from the gallery_dl specific ones.
13001
13002
13003 .SS server.enabled
13004 .IP "Type:" 6
13005 \f[I]bool\f[]
13006
13007 .IP "Default:" 9
13008 \f[I]false\f[]
13009
13010 .IP "Description:" 4
13011 Send input URLs to a gallery-dl server queue.
13012
13013
13014 .SS server.timeout
13015 .IP "Type:" 6
13016 \f[I]int\f[]
13017
13018 .IP "Default:" 9
13019 \f[I]10\f[]
13020
13021 .IP "Description:" 4
13022 Sets maximum timeout before queue ends and turns off the server if
13023 queue is empty. If set to -1, then the server will run forever.
13024
13025
13026 .SH API TOKENS & IDS
13027 .SS extractor.deviantart.client-id & .client-secret
13028 .IP "Type:" 6
13029 \f[I]string\f[]
13030
13031 .IP "How To:" 4
13032 .br
13033 * login and visit DeviantArt's
13034 \f[I]Applications & Keys\f[]
13035 section
13036 .br
13037 * click "Register Application"
13038 .br
13039 * scroll to "OAuth2 Redirect URI Whitelist (Required)"
13040 and enter "https://mikf.github.io/gallery-dl/oauth-redirect.html"
13041 .br
13042 * scroll to the bottom and agree to the API License Agreement.
13043 Submission Policy, and Terms of Service.
13044 .br
13045 * click "Save"
13046 .br
13047 * copy \f[I]client_id\f[] and \f[I]client_secret\f[] of your new
13048 application and put them in your configuration file
13049 as \f[I]"client-id"\f[] and \f[I]"client-secret"\f[]
13050 .br
13051 * clear your \f[I]cache\f[] to delete any remaining
13052 \f[I]access-token\f[] entries. (\f[I]gallery-dl --clear-cache deviantart\f[])
13053 .br
13054 * get a new \f[I]refresh-token\f[] for the
13055 new \f[I]client-id\f[] (\f[I]gallery-dl oauth:deviantart\f[])
13056
13057
13058 .SS extractor.flickr.api-key & .api-secret
13059 .IP "Type:" 6
13060 \f[I]string\f[]
13061
13062 .IP "How To:" 4
13063 .br
13064 * login and \f[I]Create an App\f[]
13065 in Flickr's \f[I]App Garden\f[]
13066 .br
13067 * click "APPLY FOR A NON-COMMERCIAL KEY"
13068 .br
13069 * fill out the form with a random name and description
13070 and click "SUBMIT"
13071 .br
13072 * copy \f[I]Key\f[] and \f[I]Secret\f[] and put them in your configuration file
13073 as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[]
13074
13075
13076 .SS extractor.mangadex.client-id & .client-secret
13077 .IP "Type:" 6
13078 \f[I]string\f[]
13079
13080 .IP "How To:" 4
13081 .br
13082 * login and go to your \f[I]User Settings\f[]
13083 .br
13084 * open the "API Clients" section
13085 .br
13086 * click "\f[I]+ Create\f[]"
13087 .br
13088 * choose a name
13089 .br
13090 * click "\f[I]✔️ Create\f[]"
13091 .br
13092 * wait for approval / reload the page
13093 .br
13094 * copy the value after "AUTOAPPROVED ACTIVE" in the form "personal-client-..."
13095 and put it in your configuration file as \f[I]"client-id"\f[]
13096 .br
13097 * click "\f[I]Get Secret\f[]", then "\f[I]Copy Secret\f[]",
13098 and paste it into your configuration file as \f[I]"client-secret"\f[]
13099
13100
13101 .SS extractor.reddit.client-id & .user-agent-oauth
13102 .IP "Type:" 6
13103 \f[I]string\f[]
13104
13105 .IP "How To:" 4
13106 .br
13107 * login and visit the \f[I]apps\f[]
13108 section of your account's preferences
13109 .br
13110 * click the "are you a developer? create an app..." button
13111 .br
13112 * fill out the form:
13113
13114 .br
13115 * choose a name
13116 .br
13117 * select "installed app"
13118 .br
13119 * set "redirect uri" to http://localhost:6414/
13120 .br
13121 * solve the "I'm not a robot" challenge if needed
13122 .br
13123 * click "create app"
13124
13125 .br
13126 * copy the client id (third line, under your application's name and
13127 "installed app") and put it in your configuration file
13128 as \f[I]"client-id"\f[]
13129 .br
13130 * use "\f[I]Python:<application name>:v1.0 (by /u/<username>)\f[]" as
13131 \f[I]user-agent-oauth\f[] and replace \f[I]<application name>\f[] and \f[I]<username>\f[]
13132 accordingly (see Reddit's
13133 \f[I]API access rules\f[])
13134 .br
13135 * clear your \f[I]cache\f[] to delete any remaining
13136 \f[I]access-token\f[] entries. (\f[I]gallery-dl --clear-cache reddit\f[])
13137 .br
13138 * get a \f[I]refresh-token\f[] for the
13139 new \f[I]client-id\f[] (\f[I]gallery-dl oauth:reddit\f[])
13140
13141
13142 .SS extractor.smugmug.api-key & .api-secret
13143 .IP "Type:" 6
13144 \f[I]string\f[]
13145
13146 .IP "How To:" 4
13147 .br
13148 * login and \f[I]Apply for an API Key\f[]
13149 .br
13150 * fill out the form:
13151
13152 .br
13153 * choose a random name and description
13154 .br
13155 * set "Type" to "Application"
13156 .br
13157 * set "Platform" to "All"
13158 .br
13159 * set "Use" to "Non-Commercial"
13160 .br
13161 * tick the two checkboxes at the bottom
13162 .br
13163 * click "Apply"
13164
13165 .br
13166 * copy \f[I]API Key\f[] and \f[I]API Secret\f[]
13167 and put them in your configuration file
13168 as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[]
13169
13170
13171 .SS extractor.tumblr.api-key & .api-secret
13172 .IP "Type:" 6
13173 \f[I]string\f[]
13174
13175 .IP "How To:" 4
13176 .br
13177 * login and visit Tumblr's
13178 \f[I]Applications\f[] section
13179 .br
13180 * click "Register application"
13181 .br
13182 * fill out the form:
13183
13184 .br
13185 * choose a random name and description
13186 .br
13187 * set "Application Website" to https://example.org/
13188 .br
13189 * set "Default callback URL" to https://example.org/
13190 .br
13191 * solve the "I'm not a robot" challenge
13192 .br
13193 * click "Register"
13194
13195 .br
13196 * click "Show secret key" (below "OAuth Consumer Key")
13197 .br
13198 * copy your \f[I]OAuth Consumer Key\f[] and \f[I]Secret Key\f[]
13199 and put them in your configuration file
13200 as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[]
13201
13202
13203 .SH CUSTOM TYPES
13204 .SS Date
13205 .IP "Type:" 6
13206 .br
13207 * \f[I]string\f[]
13208 .br
13209 * \f[I]integer\f[]
13210
13211 .IP "Example:" 4
13212 .br
13213 * "2019-01-01"
13214 .br
13215 * "2019-01-01 03:00:00"
13216 .br
13217 * "2019-03-08T12:30:00Z"
13218 .br
13219 * 1546297200
13220
13221 .IP "Description:" 4
13222 A \f[I]Date\f[] value represents a specific point in time.
13223
13224 .br
13225 * If given as \f[I]string\f[], it is parsed according to \f[I]ISO 8601\f[].
13226 .br
13227 * If given as \f[I]integer\f[], it is interpreted as UTC timestamp.
13228
13229
13230 .SS Duration
13231 .IP "Type:" 6
13232 .br
13233 * \f[I]float\f[]
13234 .br
13235 * \f[I]list\f[] with 2 \f[I]floats\f[]
13236 .br
13237 * \f[I]string\f[]
13238
13239 .IP "Example:" 4
13240 .br
13241 * 2.85
13242 .br
13243 * [1.5, 3.0]
13244 .br
13245 * "2.85", "1.5-3.0"
13246
13247 .IP "Description:" 4
13248 A \f[I]Duration\f[] represents a span of time in seconds.
13249
13250 .br
13251 * If given as a single \f[I]float\f[], it will be used as that exact value.
13252 .br
13253 * If given as a \f[I]list\f[] with 2 floating-point numbers \f[I]a\f[] & \f[I]b\f[] ,
13254 it will be randomly chosen with uniform distribution such that \f[I]a <= N <= b\f[].
13255 (see \f[I]random.uniform()\f[])
13256 .br
13257 * If given as a \f[I]string\f[], it can either represent a single \f[I]float\f[]
13258 value (\f[I]"2.85"\f[]) or a range (\f[I]"1.5-3.0"\f[]).
13259
13260
13261 .SS Duration+
13262 .IP "Type:" 6
13263 .br
13264 * \f[I]Duration\f[]
13265 .br
13266 * \f[I]string\f[]
13267
13268 .IP "Example:" 4
13269 .br
13270 * "1.5-3.0"
13271 .br
13272 * "lin=5"
13273 .br
13274 * "lin:20=30-60"
13275 .br
13276 * "exp:1.8=40"
13277
13278 .IP "Description:" 4
13279 A \f[I]Duration\f[] value.
13280
13281 When given as \f[I]string\f[], it can optionally be prefixed with
13282 \f[I]lin[:START[:MAX]]=\f[] for linear or
13283 \f[I]exp[:BASE[:START[:MAX]]]=\f[] for exponential growth.
13284
13285
13286 .SS Module
13287 .IP "Type:" 6
13288 .br
13289 * \f[I]string\f[]
13290 .br
13291 * \f[I]Path\f[]
13292
13293 .IP "Example:" 4
13294 .br
13295 * "gdl_utils"
13296 .br
13297 * "~/.local/share/gdl/"
13298 .br
13299 * "~/.local/share/gdl_utils.py"
13300
13301 .IP "Description:" 4
13302 A Python
13303 \f[I]Module\f[]
13304
13305 This can be one of
13306
13307 .br
13308 * the name of an
13309 \f[I]importable\f[]
13310 Python module
13311 .br
13312 * the \f[I]Path\f[] to a Python
13313 \f[I]package\f[]
13314 .br
13315 * the \f[I]Path\f[] to a .py file
13316
13317 See
13318 \f[I]Python/Modules\f[]
13319 for details.
13320
13321
13322 .SS Path
13323 .IP "Type:" 6
13324 \f[I]string\f[]
13325
13326 .IP "Example:" 4
13327 .br
13328 * "file.ext"
13329 .br
13330 * "~/path/to/file.ext"
13331 .br
13332 * "$HOME/path/to/file.ext"
13333 .br
13334 * "C:\\\\path\\\\to\\\\file.ext"
13335
13336 .IP "Description:" 4
13337 A \f[I]Path\f[] is a \f[I]string\f[] representing the location
13338 of a file or directory.
13339
13340 Simple \f[I]tilde expansion\f[]
13341 and \f[I]environment variable expansion\f[]
13342 is supported.
13343
13344 .IP "Note:" 4
13345 In Windows environments,
13346 both backslashes \f[I]\\\f[] as well as forward slashes \f[I]/\f[]
13347 can be used as path separators.
13348
13349 However, since backslashes are JSON's escape character,
13350 they themselves must be escaped as \f[I]\\\\\f[].
13351
13352 For example, a path like \f[I]C:\\path\\to\\file.ext\f[] has to be specified as
13353
13354 .br
13355 * \f[I]"C:\\\\path\\\\to\\\\file.ext"\f[] when using backslashes
13356 .br
13357 * \f[I]"C:/path/to/file.ext"\f[] when using forward slashes
13358
13359 in a JSON file.
13360
13361
13362 .SS Path+
13363 .IP "Type:" 6
13364 .br
13365 * \f[I]Path\f[]
13366 .br
13367 * \f[I]list\f[] of \f[I]Format Strings\f[]
13368
13369 .IP "Example:" 4
13370 .br
13371 * "file.ext"
13372 .br
13373 * [":b", "{category}", "{user}.sqlite3"]
13374 .br
13375 * [":~", "gdl", "{category}", "{user}.sqlite3"]
13376 .br
13377 * [":$HOME", "gdl", "{category}", "{user}.sqlite3"]
13378 .br
13379 * ["/opt", "archives", "{category}", "{user}.sqlite3"]
13380 .br
13381 * ["C:", "archives", "{category}", "{user}.sqlite3"]
13382 .br
13383 * ["\\\\\\\\server\\\\archives", "{category}", "{user}.sqlite3"]
13384
13385 .IP "Description:" 4
13386 A \f[I]Path\f[] that supports
13387 \f[I]path-restricted\f[]
13388 \f[I]Format String\f[] expansion
13389 when given as a \f[I]list\f[] of \f[I]string\f[] values.
13390
13391 Use a string starting with \f[I]:\f[] as first list element
13392 to prefix the path with one of the following:
13393
13394 \f[I]":"\f[] \f[I] \f[I]":b"\f[] \f[] \f[I]":base"\f[]
13395 \f[I]base-directory\f[]
13396 \f[I]":d"\f[] \f[I] \f[I]":dir"\f[]
13397 \f[I]base-directory\f[] +
13398 \f[I]directory\f[]
13399 \f[I]":~"\f[] \f[] \f[I]":~USER"\f[]
13400 home directory
13401 (\f[I]os.path.expanduser\f[])
13402 \f[I]":$ENV"\f[] (\f[I]$\f[] + environment variable name)
13403 value of environment variable
13404
13405 Use \f[I]<drive-letter>:\f[] or \f[I]\\\\\f[] on Windows
13406 or \f[I]/\f[] on other platforms
13407 as starting characters of the first list element
13408 to interpret this as an absolute path.
13409
13410 Otherwise it is interpreted as a path
13411 relative to the current working directory.
13412
13413
13414 .SS Logging Configuration
13415 .IP "Type:" 6
13416 \f[I]object\f[]
13417
13418 .IP "Example:" 4
13419 .. code:: json
13420
13421 {
13422 "format" : "{asctime} {name}: {message}",
13423 "format-date": "%H:%M:%S",
13424 "path" : "~/log.txt",
13425 "encoding" : "ascii",
13426 "defer" : true
13427 }
13428
13429 .. code:: json
13430
13431 {
13432 "level" : "debug",
13433 "format": {
13434 "debug" : "debug: {message}",
13435 "info" : "[{name}] {message}",
13436 "warning": "Warning: {message}",
13437 "error" : "ERROR: {message}"
13438 }
13439 }
13440
13441
13442 .IP "Description:" 4
13443 Extended logging output configuration.
13444
13445 .br
13446 * format
13447 .br
13448 * General \f[I]Format String\f[] for logging messages
13449 or an \f[I]object\f[] with \f[I]Format Strings\f[] for each loglevel.
13450
13451 In addition to the default
13452 \f[I]LogRecord attributes\f[],
13453 it is also possible to access the current
13454 \f[I]extractor\f[],
13455 \f[I]job\f[],
13456 \f[I]path\f[],
13457 and keywords objects and their attributes, for example
13458 \f[I]"{extractor.url}"\f[], \f[I]"{path.filename}"\f[], \f[I]"{keywords.title}"\f[]
13459 .br
13460 * Default:
13461 \f[I]"[{name}][{levelname}] {message}"\f[] for
13462 \f[I]logfile\f[],
13463 \f[I]"{message}"\f[] for
13464 \f[I]unsupportedfile\f[] and
13465 \f[I]errorfile\f[]
13466 .br
13467 * format-date
13468 .br
13469 * Format string for \f[I]{asctime}\f[] fields in logging messages
13470 (see \f[I]strftime() directives\f[])
13471 .br
13472 * Default: \f[I]"%Y-%m-%d %H:%M:%S"\f[]
13473 .br
13474 * level
13475 .br
13476 * Minimum logging message level
13477 (one of \f[I]"debug"\f[], \f[I]"info"\f[], \f[I]"warning"\f[], \f[I]"error"\f[], \f[I]"exception"\f[])
13478 .br
13479 * Default: \f[I]"info"\f[]
13480 .br
13481 * path
13482 .br
13483 * \f[I]Path\f[] to the output file
13484 .br
13485 * mode
13486 .br
13487 * Mode in which the file is opened;
13488 use \f[I]"w"\f[] to truncate or \f[I]"a"\f[] to append
13489 (see \f[I]open()\f[])
13490 .br
13491 * Default:
13492 \f[I]"w"\f[] for
13493 \f[I]logfile\f[] and
13494 \f[I]unsupportedfile\f[],
13495 \f[I]"a"\f[] for
13496 \f[I]errorfile\f[]
13497 .br
13498 * encoding
13499 .br
13500 * File encoding
13501 .br
13502 * Default: \f[I]"utf-8"\f[]
13503 .br
13504 * defer
13505 .br
13506 * Defer file opening/creation until writing the first logging message
13507 .br
13508 * Default:
13509 \f[I]false\f[] for
13510 \f[I]logfile\f[],
13511 \f[I]true\f[] for
13512 \f[I]unsupportedfile\f[] and
13513 \f[I]errorfile\f[]
13514
13515
13516 .IP "Note:" 4
13517 path, mode, encoding, and defer
13518 are only applied when configuring logging output to a file.
13519 (See \f[I]logging.FileHandler\f[])
13520
13521
13522 .SS Postprocessor Configuration
13523 .IP "Type:" 6
13524 \f[I]object\f[]
13525
13526 .IP "Example:" 4
13527 .. code:: json
13528
13529 { "name": "mtime" }
13530
13531 .. code:: json
13532
13533 {
13534 "name" : "metadata/print@prepare",
13535 "format": "{id}: {date}"
13536 }
13537
13538 .. code:: json
13539
13540 {
13541 "name" : "zip",
13542 "compression": "store",
13543 "extension" : "cbz",
13544 "filter" : "extension not in ('zip', 'rar')",
13545 "whitelist" : ["mangadex", "exhentai", "nhentai"]
13546 }
13547
13548 .IP "Description:" 4
13549 An \f[I]object\f[] containing a \f[I]"name"\f[] attribute specifying the
13550 post-processor type, as well as any of its \f[I]options\f[].
13551
13552 .br
13553 * It is possible to set a \f[I]"filter"\f[] \f[I]Condition\f[] similar to
13554 \f[I]file-filter\f[]
13555 to only run a post-processor conditionally.
13556
13557 .br
13558 * It is possible set a \f[I]"whitelist"\f[] or \f[I]"blacklist"\f[] to
13559 only enable or disable a post-processor for the specified
13560 extractor categories.
13561
13562 .br
13563 * It is possible to specify a post-processor's \f[I]mode\f[] & \f[I]event\f[]
13564 as part of its \f[I]name\f[] by adding \f[I]/MODE\f[] & \f[I]@EVENT\f[].
13565 For example
13566
13567 .br
13568 * \f[I]"name": "metadata/jsonl@post"\f[]
13569 .br
13570 * \f[I]"name": "ugoira/archive"\f[]
13571 .br
13572 * \f[I]"name": "exec@error"\f[]
13573
13574 .br
13575 * It is possible to inherit options from a post-processor preset defined
13576 in the global \f[I]postprocessor\f[] block by using \f[I]"type": "NAME"\f[].
13577 For example
13578
13579 .. code:: json
13580
13581 {
13582 "extractor": {
13583 "postprocessors": {
13584 "#": "inherit from 'jl' preset",
13585 "type": "jl",
13586 "filename": "meta.jsonl"
13587 }
13588 },
13589
13590 "postprocessor": {
13591 "jl": {
13592 "name": "metadata/jsonl",
13593 "open": "a"
13594 }
13595 }
13596 }
13597
13598 .IP "Available Post-Processor Types:" 4
13599 \f[I]actions\f[]
13600 Perform \f[I]Action(s)\f[]
13601 \f[I]classify\f[]
13602 Categorize files by filename extension
13603 \f[I]compare\f[]
13604 Compare versions of the same file and replace/enumerate them on mismatch
13605 .br
13606 (requires \f[I]downloader.*.part\f[] = \f[I]true\f[] and \f[I]extractor.*.skip\f[] = \f[I]false\f[])
13607 .br
13608 \f[I]directory\f[]
13609 Reevaluate \f[I]directory\f[] \f[I]Format Strings\f[]
13610 \f[I]exec\f[]
13611 Execute external commands
13612 \f[I]hash\f[]
13613 Compute file hash digests
13614 \f[I]metadata\f[]
13615 Write metadata to separate files
13616 \f[I]mtime\f[]
13617 Set file modification time according to its metadata
13618 \f[I]python\f[]
13619 Call Python functions
13620 \f[I]rename\f[]
13621 Rename previously downloaded files
13622 \f[I]ugoira\f[]
13623 Convert Pixiv Ugoira to WebM using \f[I]ffmpeg\f[]
13624 \f[I]zip\f[]
13625 Store files in a ZIP archive
13626
13627
13628 .SS Action
13629 .IP "Type:" 6
13630 \f[I]string\f[]
13631
13632 .IP "Example:" 4
13633 .br
13634 * "exit"
13635 .br
13636 * "print Hello World"
13637 .br
13638 * "raise AbortExtraction an error occured"
13639 .br
13640 * "flag file = terminate"
13641 .br
13642 * "keyword title Hello World"
13643 .br
13644 * ["print Exiting", "exit 1"]
13645
13646 .IP "Description:" 4
13647 An \f[I]Action\f[] is parsed as Action Type
13648 followed by (optional) arguments:
13649 \f[I]<type> <arg1> <arg2> …\f[]
13650
13651 It is possible to specify more than one \f[I]action\f[]
13652 by providing them as a \f[I]list\f[]: \f[I]["<action1>", "<action2>", …]\f[]
13653
13654 Supported Action Types:
13655
13656 \f[I]status\f[]:
13657 Modify job exit status.
13658 .br
13659 Expected syntax is \f[I]<operator> <value>\f[] (e.g. \f[I]= 100\f[]).
13660 .br
13661
13662 Supported operators are
13663 \f[I]=\f[] (assignment),
13664 \f[I]&\f[] (bitwise AND),
13665 \f[I]|\f[] (bitwise OR),
13666 \f[I]^\f[] (bitwise XOR).
13667 \f[I]level\f[]:
13668 Modify severity level of the current logging message.
13669 .br
13670 Can be one of \f[I]debug\f[], \f[I]info\f[], \f[I]warning\f[], \f[I]error\f[] or an integer value.
13671 .br
13672 Use \f[I]0\f[] to ignore a message (\f[I]level = 0\f[]).
13673 .br
13674 \f[I]print\f[]:
13675 Write argument to stdout.
13676 \f[I]exec\f[]:
13677 Run a shell command.
13678 \f[I]abort\f[]:
13679 Stop the current extractor run.
13680 \f[I]terminate\f[]:
13681 Stop the current extractor run, including parent extractors.
13682 \f[I]restart\f[]:
13683 Restart the current extractor run.
13684 \f[I]raise\f[]:
13685 Raise an exception.
13686
13687 This can be an exception defined in
13688 \f[I]exception.py\f[]
13689 or a
13690 \f[I]built-in exception\f[]
13691 (e.g. \f[I]ZeroDivisionError\f[])
13692 \f[I]flag\f[]:
13693 Set a \f[I]flag\f[].
13694
13695 Expected syntax is \f[I]<flag>[ = <value>]\f[] (e.g. \f[I]post = stop\f[])
13696 .br
13697 \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[]
13698 .br
13699 \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[])
13700 .br
13701 \f[I]keyword\f[]:
13702 Set a \f[I]keyword\f[] value
13703 \f[I]wait\f[]:
13704 Sleep for a given \f[I]Duration\f[] or
13705 .br
13706 wait until Enter is pressed when no argument was given.
13707 .br
13708 \f[I]exit\f[]:
13709 Exit the program with the given argument as exit status.
13710
13711
13712 .SS Expression
13713 .IP "Type:" 6
13714 \f[I]string\f[]
13715
13716 .IP "Example:" 4
13717 .br
13718 * "1 + 2 + 3"
13719 .br
13720 * "str(id) + '_' + title"
13721 .br
13722 * "' - '.join(tags[:3]) if tags else 'no tags'"
13723
13724 .IP "Description:" 4
13725 A Python \f[I]Expression\f[] is a combination of
13726 values, variables, operators, and function calls
13727 that evaluate to a single value.
13728
13729 .IP "Reference:" 4
13730 .br
13731 * https://docs.python.org/3/reference/expressions.html
13732
13733
13734 .SS Condition
13735 .IP "Type:" 6
13736 .br
13737 * \f[I]Expression\f[]
13738 .br
13739 * \f[I]list\f[] of \f[I]Expressions\f[]
13740
13741 .IP "Example:" 4
13742 .br
13743 * "not is_watching"
13744 .br
13745 * "locals().get('optional')"
13746 .br
13747 * "date >= datetime(2025, 7, 1) or abort()"
13748 .br
13749 * ["width > 800", "0.9 < width/height < 1.1"]
13750
13751 .IP "Description:" 4
13752 A \f[I]Condition\f[] is an \f[I]Expression\f[]
13753 whose result is evaluated as a \f[I]type-bool\f[] value.
13754
13755
13756 .SS Format String
13757 .IP "Type:" 6
13758 \f[I]string\f[]
13759
13760 .IP "Example:" 4
13761 .br
13762 * "foo"
13763 .br
13764 * "{username}"
13765 .br
13766 * "{title} ({id}).{extension}"
13767 .br
13768 * "\\fF {title.title()} ({num:>0{len(str(count))}} / {count}).{extension}"
13769
13770 .IP "Description:" 4
13771 A \f[I]Format String\f[] allows creating dynamic text
13772 by embedding metadata values directly into replacement fields
13773 marked by curly braces \f[I]{...}\f[].
13774
13775 .IP "Reference:" 4
13776 .br
13777 * \f[I]docs/formatting\f[]
13778 .br
13779 * https://docs.python.org/3/library/string.html#formatstrings
13780 .br
13781 * https://docs.python.org/3/library/string.html#formatspec
13782
13783
13784
13785 .SH BUGS
13786 https://codeberg.org/mikf/gallery-dl/issues
13787 https://github.com/mikf/gallery-dl/issues
13788
13789 .SH AUTHORS
13790 Mike Fährmann <[email protected]>
13791 .br
13792 and https://github.com/mikf/gallery-dl/graphs/contributors
13793
13794 .SH "SEE ALSO"
13795 .BR gallery-dl (1)