Debian Codegraph @

data/man/gallery-dl.conf.5

raw
1 .TH "GALLERY-DL.CONF" "5" "2026-09-19" "1.32.13" "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.ratelimit
9052 .IP "Type:" 6
9053 \f[I]string\f[]
9054
9055 .IP "Default:" 9
9056 \f[I]"wait"\f[]
9057
9058 .IP "Description:" 4
9059 Selects how to handle exceeding the API rate limit.
9060
9061 \f[I]"abort"\f[]
9062 Raise an error and stop extraction
9063 \f[I]"abort:N"\f[]
9064 Raise an error and stop extraction
9065 after waiting \f[I]N\f[] times until rate limit reset
9066 \f[I]"wait"\f[]
9067 Wait until rate limit reset
9068 \f[I]"wait:N"\f[]
9069 Wait for \f[I]N\f[] seconds
9070
9071
9072 .SS extractor.twitter.locked
9073 .IP "Type:" 6
9074 \f[I]string\f[]
9075
9076 .IP "Default:" 9
9077 \f[I]"abort"\f[]
9078
9079 .IP "Description:" 4
9080 Selects how to handle "account is temporarily locked" errors.
9081
9082 \f[I]"abort"\f[]
9083 Raise an error and stop extraction
9084 \f[I]"wait"\f[]
9085 Wait until the account is unlocked and retry
9086
9087
9088 .SS extractor.twitter.replies
9089 .IP "Type:" 6
9090 \f[I]bool\f[]
9091
9092 .IP "Default:" 9
9093 \f[I]true\f[]
9094
9095 .IP "Description:" 4
9096 Fetch media from replies to other Tweets.
9097
9098 If this value is \f[I]"self"\f[], only consider replies where
9099 reply and original Tweet are from the same user.
9100
9101 .IP "Note:" 4
9102 Twitter will automatically expand conversations if you
9103 use the \f[I]/with_replies\f[] timeline while logged in. For example,
9104 media from Tweets which the user replied to will also be downloaded.
9105
9106 It is possible to exclude unwanted Tweets using \f[I]file-filter
9107 <extractor.*.file-filter_>\f[].
9108
9109
9110 .SS extractor.twitter.retries-api
9111 .IP "Type:" 6
9112 \f[I]integer\f[]
9113
9114 .IP "Default:" 9
9115 \f[I]9\f[]
9116
9117 .IP "Description:" 4
9118 Maximum number of retries
9119 for API requests when encountering server \f[I]errors\f[],
9120 or \f[I]-1\f[] for infinite retries.
9121
9122
9123 .SS extractor.twitter.retweets
9124 .IP "Type:" 6
9125 \f[I]bool\f[]
9126
9127 .IP "Default:" 9
9128 \f[I]false\f[]
9129
9130 .IP "Description:" 4
9131 Fetch media from Retweets.
9132
9133 If this value is \f[I]"original"\f[], metadata for these files
9134 will be taken from the original Tweets, not the Retweets.
9135
9136
9137 .SS extractor.twitter.search-limit
9138 .IP "Type:" 6
9139 .br
9140 * \f[I]integer\f[]
9141 .br
9142 * \f[I]list\f[] of \f[I]integers\f[]
9143
9144 .IP "Default:" 9
9145 \f[I]20\f[]
9146
9147 .IP "Example:" 4
9148 [50, 20, 10, 5, 2]
9149
9150 .IP "Description:" 4
9151 Number of requested results per search query.
9152
9153 When given as a \f[I]list\f[],
9154 start with the first element as \f[I]count\f[] parameter
9155 and switch to the next element when
9156 \f[I]search-stop\f[]
9157 is reached.
9158
9159
9160 .SS extractor.twitter.search-pagination
9161 .IP "Type:" 6
9162 \f[I]string\f[]
9163
9164 .IP "Default:" 9
9165 \f[I]"max_id"\f[]
9166
9167 .IP "Description:" 4
9168 Selects how to paginate over search results.
9169
9170 \f[I]"cursor"\f[]
9171 Use \f[I]cursor\f[] values provided by the API
9172 \f[I]"max_id"\f[] \f[I] \f[I]"maxid"\f[] \f[] \f[I]"id"\f[]
9173 Update the \f[I]max_id\f[] search query parameter
9174 to the Tweet ID value of the last retrieved Tweet.
9175 \f[I]"until"\f[] \f[I] \f[I]"date"\f[] \f[] \f[I]"datetime"\f[] | \f[I]"dt"\f[]
9176 Update the \f[I]until\f[] search query parameter
9177 to the date value of the last retrieved Tweet.
9178
9179
9180 .SS extractor.twitter.search-results
9181 .IP "Type:" 6
9182 \f[I]string\f[]
9183
9184 .IP "Default:" 9
9185 \f[I]"latest"\f[]
9186
9187 .IP "Description:" 4
9188 Determines the target of search results.
9189
9190 .IP "Supported Values:" 4
9191 .br
9192 * \f[I]"top"\f[]
9193 .br
9194 * \f[I]"media"\f[]
9195 .br
9196 * \f[I]"latest"\f[] | \f[I]"live"\f[]
9197
9198
9199 .SS extractor.twitter.search-stop
9200 .IP "Type:" 6
9201 \f[I]integer\f[]
9202
9203 .IP "Default:" 9
9204 \f[I]3\f[]
9205
9206 .IP "Description:" 4
9207 Number of empty search result batches
9208 to accept before stopping.
9209
9210
9211 .SS extractor.twitter.showmore
9212 .IP "Type:" 6
9213 \f[I]bool\f[]
9214
9215 .IP "Default:" 9
9216 \f[I]true\f[]
9217
9218 .IP "Description:" 4
9219 Expand \f[I]Show more\f[] / \f[I]Show probable spam\f[] stubs.
9220
9221
9222 .SS extractor.twitter.showreplies
9223 .IP "Type:" 6
9224 \f[I]bool\f[]
9225
9226 .IP "Default:" 9
9227 \f[I]true\f[]
9228
9229 .IP "Description:" 4
9230 Expand \f[I]Show replies\f[] stubs.
9231
9232
9233 .SS extractor.twitter.timeline.strategy
9234 .IP "Type:" 6
9235 \f[I]string\f[]
9236
9237 .IP "Default:" 9
9238 \f[I]"auto"\f[]
9239
9240 .IP "Description:" 4
9241 Controls the strategy / tweet source used for timeline URLs
9242 (\f[I]https://twitter.com/USER/timeline\f[]).
9243
9244 \f[I]"tweets"\f[]
9245 \f[I]/tweets\f[] timeline + search
9246 \f[I]"media"\f[]
9247 \f[I]/media\f[] timeline + search
9248 \f[I]"with_replies"\f[]
9249 \f[I]/with_replies\f[] timeline + search
9250 \f[I]"auto"\f[]
9251 \f[I]"tweets"\f[] or \f[I]"media"\f[], depending on \f[I]retweets\f[] and \f[I]text-tweets\f[] settings
9252
9253
9254 .SS extractor.twitter.text-tweets
9255 .IP "Type:" 6
9256 \f[I]bool\f[]
9257
9258 .IP "Default:" 9
9259 \f[I]false\f[]
9260
9261 .IP "Description:" 4
9262 Also emit metadata for text-only Tweets without media content.
9263
9264 This only has an effect with a \f[I]metadata\f[] (or \f[I]exec\f[]) post processor
9265 with \f[I]"event": "post"\f[]
9266 and appropriate \f[I]filename\f[].
9267
9268
9269 .SS extractor.twitter.twitpic
9270 .IP "Type:" 6
9271 \f[I]bool\f[]
9272
9273 .IP "Default:" 9
9274 \f[I]false\f[]
9275
9276 .IP "Description:" 4
9277 Extract \f[I]TwitPic\f[] embeds.
9278
9279
9280 .SS extractor.twitter.unique
9281 .IP "Type:" 6
9282 \f[I]bool\f[]
9283
9284 .IP "Default:" 9
9285 \f[I]true\f[]
9286
9287 .IP "Description:" 4
9288 Ignore previously seen Tweets.
9289
9290
9291 .SS extractor.twitter.users
9292 .IP "Type:" 6
9293 \f[I]string\f[]
9294
9295 .IP "Default:" 9
9296 \f[I]"user"\f[]
9297
9298 .IP "Example:" 4
9299 "https://twitter.com/search?q=from:{core[screen_name]}"
9300
9301 .IP "Description:" 4
9302 Basic format string for user URLs generated from
9303 .br
9304 \f[I]following\f[] and \f[I]list-members\f[] queries,
9305 whose replacement field values come from Twitter \f[I]user\f[] objects
9306 .br
9307 (\f[I]Example\f[])
9308
9309 .IP "Special Values:" 4
9310 \f[I]"user"\f[]
9311 \f[I]https://twitter.com/i/user/{rest_id}\f[]
9312 \f[I]"timeline"\f[]
9313 \f[I]https://twitter.com/id:{rest_id}/timeline\f[]
9314 \f[I]"tweets"\f[]
9315 \f[I]https://twitter.com/id:{rest_id}/tweets\f[]
9316 \f[I]"media"\f[]
9317 \f[I]https://twitter.com/id:{rest_id}/media\f[]
9318
9319 .IP "Note:" 4
9320 To allow gallery-dl to follow custom URL formats, set the \f[I]blacklist\f[]
9321 for \f[I]twitter\f[] to a non-default value, e.g. an empty string \f[I]""\f[].
9322
9323
9324 .SS extractor.twitter.videos
9325 .IP "Type:" 6
9326 .br
9327 * \f[I]bool\f[]
9328 .br
9329 * \f[I]string\f[]
9330
9331 .IP "Default:" 9
9332 \f[I]true\f[]
9333
9334 .IP "Description:" 4
9335 Control video download behavior.
9336
9337 \f[I]true\f[]
9338 Download videos
9339 \f[I]"ytdl"\f[]
9340 Download videos using \f[I]ytdl\f[]
9341 \f[I]false\f[]
9342 Skip video Tweets
9343
9344
9345 .SS extractor.unsplash.format
9346 .IP "Type:" 6
9347 \f[I]string\f[]
9348
9349 .IP "Default:" 9
9350 \f[I]"raw"\f[]
9351
9352 .IP "Description:" 4
9353 Name of the image format to download.
9354
9355 .IP "Available Formats:" 4
9356 .br
9357 * \f[I]"raw"\f[]
9358 .br
9359 * \f[I]"full"\f[]
9360 .br
9361 * \f[I]"regular"\f[]
9362 .br
9363 * \f[I]"small"\f[]
9364 .br
9365 * \f[I]"thumb"\f[]
9366
9367
9368 .SS extractor.vipergirls.domain
9369 .IP "Type:" 6
9370 \f[I]string\f[]
9371
9372 .IP "Default:" 9
9373 \f[I]"viper.click"\f[]
9374
9375 .IP "Description:" 4
9376 Specifies the domain used by \f[I]vipergirls\f[] extractors.
9377
9378 For example \f[I]"viper.click"\f[] if the main domain is blocked or to bypass Cloudflare,
9379
9380
9381 .SS extractor.vipergirls.like
9382 .IP "Type:" 6
9383 \f[I]bool\f[]
9384
9385 .IP "Default:" 9
9386 \f[I]false\f[]
9387
9388 .IP "Description:" 4
9389 Automatically like posts after downloading their images.
9390
9391 .IP "Note:" 4
9392 Requires \f[I]login\f[]
9393 or \f[I]cookies\f[]
9394
9395
9396 .SS extractor.vipergirls.order-posts
9397 .IP "Type:" 6
9398 \f[I]string\f[]
9399
9400 .IP "Default:" 9
9401 \f[I]"desc"\f[]
9402
9403 .IP "Description:" 4
9404 Controls the order in which
9405 posts of a \f[I]thread\f[] are processed.
9406
9407 \f[I]"asc"\f[]
9408 Ascending order (oldest first)
9409 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
9410 Descending order (newest first)
9411
9412
9413 .SS extractor.vk.domain
9414 .IP "Type:" 6
9415 \f[I]string\f[]
9416
9417 .IP "Default:" 9
9418 \f[I]"auto"\f[]
9419
9420 .IP "Description:" 4
9421 Specifies the domain used by \f[I]cyberdrop\f[] regardless of input URL.
9422
9423 Setting this option to \f[I]"auto"\f[]
9424 uses the same domain as a given input URL.
9425
9426
9427 .SS extractor.vk.offset
9428 .IP "Type:" 6
9429 \f[I]integer\f[]
9430
9431 .IP "Default:" 9
9432 \f[I]0\f[]
9433
9434 .IP "Description:" 4
9435 Custom \f[I]offset\f[] starting value when paginating over image results.
9436
9437
9438 .SS extractor.vsco.include
9439 .IP "Type:" 6
9440 .br
9441 * \f[I]string\f[]
9442 .br
9443 * \f[I]list\f[] of \f[I]strings\f[]
9444
9445 .IP "Default:" 9
9446 \f[I]"gallery"\f[]
9447
9448 .IP "Example:" 4
9449 .br
9450 * "avatar,collection"
9451 .br
9452 * ["avatar", "collection"]
9453
9454 .IP "Description:" 4
9455 A (comma-separated) list of subcategories to include
9456 when processing a user profile.
9457
9458 .IP "Supported Values:" 4
9459 .br
9460 * \f[I]avatar\f[]
9461 .br
9462 * \f[I]gallery\f[]
9463 .br
9464 * \f[I]spaces\f[]
9465 .br
9466 * \f[I]collection\f[]
9467
9468 .IP "Note:" 4
9469 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
9470
9471
9472 .SS extractor.vsco.videos
9473 .IP "Type:" 6
9474 \f[I]bool\f[]
9475
9476 .IP "Default:" 9
9477 \f[I]true\f[]
9478
9479 .IP "Description:" 4
9480 Download video files.
9481
9482
9483 .SS extractor.wallhaven.api-key
9484 .IP "Type:" 6
9485 \f[I]string\f[]
9486
9487 .IP "Default:" 9
9488 \f[I]null\f[]
9489
9490 .IP "Description:" 4
9491 Your \f[I]Wallhaven API Key\f[],
9492 to use your account's browsing settings and default filters when searching.
9493
9494 See https://wallhaven.cc/help/api for more information.
9495
9496
9497 .SS extractor.wallhaven.include
9498 .IP "Type:" 6
9499 .br
9500 * \f[I]string\f[]
9501 .br
9502 * \f[I]list\f[] of \f[I]strings\f[]
9503
9504 .IP "Default:" 9
9505 \f[I]"uploads"\f[]
9506
9507 .IP "Example:" 4
9508 .br
9509 * "uploads,collections"
9510 .br
9511 * ["uploads", "collections"]
9512
9513 .IP "Description:" 4
9514 A (comma-separated) list of subcategories to include
9515 when processing a user profile.
9516
9517 .IP "Supported Values:" 4
9518 .br
9519 * \f[I]uploads\f[]
9520 .br
9521 * \f[I]collections\f[]
9522
9523 .IP "Note:" 4
9524 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
9525
9526
9527 .SS extractor.wallhaven.metadata
9528 .IP "Type:" 6
9529 \f[I]bool\f[]
9530
9531 .IP "Default:" 9
9532 \f[I]false\f[]
9533
9534 .IP "Description:" 4
9535 Extract additional metadata (tags, uploader)
9536
9537 .IP "Note:" 4
9538 This requires 1 additional HTTP request per post.
9539
9540
9541 .SS extractor.weasyl.api-key
9542 .IP "Type:" 6
9543 \f[I]string\f[]
9544
9545 .IP "Default:" 9
9546 \f[I]null\f[]
9547
9548 .IP "Description:" 4
9549 Your \f[I]Weasyl API Key\f[],
9550 to use your account's browsing settings and filters.
9551
9552
9553 .SS extractor.weasyl.metadata
9554 .IP "Type:" 6
9555 \f[I]bool\f[]
9556
9557 .IP "Default:" 9
9558 \f[I]false\f[]
9559
9560 .IP "Description:" 4
9561 Fetch extra submission metadata during gallery downloads.
9562 .br
9563 (\f[I]comments\f[], \f[I]description\f[], \f[I]favorites\f[], \f[I]folder_name\f[],
9564 .br
9565 \f[I]tags\f[], \f[I]views\f[])
9566
9567 .IP "Note:" 4
9568 This requires 1 additional HTTP request per submission.
9569
9570
9571 .SS extractor.webtoons.bgm
9572 .IP "Type:" 6
9573 .br
9574 * \f[I]bool\f[]
9575 .br
9576 * \f[I]string\f[]
9577
9578 .IP "Default:" 9
9579 \f[I]true\f[]
9580
9581 .IP "Example:" 4
9582 "aac"
9583
9584 .IP "Description:" 4
9585 Download an episode's background music if available.
9586
9587 If this is a \f[I]string\f[], remux the downloaded background music file
9588 into the given format.
9589
9590 .IP "Note:" 4
9591 Requires \f[I]ytdl\f[] for downloads
9592 and \f[I]ffmpeg\f[] for remuxing
9593
9594
9595 .SS extractor.webtoons.quality
9596 .IP "Type:" 6
9597 .br
9598 * \f[I]integer\f[]
9599 .br
9600 * \f[I]string\f[]
9601 .br
9602 * \f[I]object\f[] (ext → type)
9603
9604 .IP "Default:" 9
9605 \f[I]"original"\f[]
9606
9607 .IP "Example:" 4
9608 .br
9609 * 90
9610 .br
9611 * "q50"
9612 .br
9613 * {"jpg": "q80", "jpeg": "q80", "png": false}
9614
9615 .IP "Description:" 4
9616 Controls the quality of downloaded files by modifying URLs' \f[I]type\f[] parameter.
9617
9618 \f[I]"original"\f[]
9619 Download minimally compressed versions of JPG files
9620 any \f[I]integer\f[]
9621 Use \f[I]"q<VALUE>"\f[] as \f[I]type\f[] parameter for JPEG files
9622 any \f[I]string\f[]
9623 Use this value as \f[I]type\f[] parameter for JPEG files
9624 any \f[I]object\f[]
9625 Use the given values as \f[I]type\f[] parameter for URLs with the specified extensions
9626 .br
9627 - Set a value to \f[I]false\f[] to completely remove these extension's \f[I]type\f[] parameter
9628 .br
9629 - Omit an extension to leave its URLs unchanged
9630 .br
9631
9632
9633 .SS extractor.webtoons.banners
9634 .IP "Type:" 6
9635 \f[I]bool\f[]
9636
9637 .IP "Default:" 9
9638 \f[I]false\f[]
9639
9640 .IP "Description:" 4
9641 Download the active comic's \f[I]banner\f[].
9642
9643
9644 .SS extractor.webtoons.thumbnails
9645 .IP "Type:" 6
9646 \f[I]bool\f[]
9647
9648 .IP "Default:" 9
9649 \f[I]false\f[]
9650
9651 .IP "Description:" 4
9652 Download the active episode's \f[I]thumbnail\f[].
9653
9654 Useful for creating CBZ archives with actual source thumbnails.
9655
9656
9657 .SS extractor.weibo.gifs
9658 .IP "Type:" 6
9659 .br
9660 * \f[I]bool\f[]
9661 .br
9662 * \f[I]string\f[]
9663
9664 .IP "Default:" 9
9665 \f[I]true\f[]
9666
9667 .IP "Description:" 4
9668 Download \f[I]gif\f[] files.
9669
9670 Set this to \f[I]"video"\f[] to download GIFs as video files.
9671
9672
9673 .SS extractor.weibo.include
9674 .IP "Type:" 6
9675 .br
9676 * \f[I]string\f[]
9677 .br
9678 * \f[I]list\f[] of \f[I]strings\f[]
9679
9680 .IP "Default:" 9
9681 \f[I]"feed"\f[]
9682
9683 .IP "Description:" 4
9684 A (comma-separated) list of subcategories to include
9685 when processing a user profile.
9686
9687 .IP "Supported Values:" 4
9688 .br
9689 * \f[I]home\f[]
9690 .br
9691 * \f[I]feed\f[]
9692 .br
9693 * \f[I]videos\f[]
9694 .br
9695 * \f[I]newvideo\f[]
9696 .br
9697 * \f[I]article\f[]
9698 .br
9699 * \f[I]album\f[]
9700 .br
9701 * \f[I]subalbums\f[]
9702
9703 .IP "Note:" 4
9704 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
9705
9706
9707 .SS extractor.weibo.likes
9708 .IP "Type:" 6
9709 \f[I]bool\f[]
9710
9711 .IP "Default:" 9
9712 \f[I]false\f[]
9713
9714 .IP "Description:" 4
9715 Download from \f[I]like\f[] (\f[I]赞过\f[]) posts.
9716
9717
9718 .SS extractor.weibo.livephoto
9719 .IP "Type:" 6
9720 .br
9721 * \f[I]bool\f[]
9722 .br
9723 * \f[I]string\f[]
9724
9725 .IP "Default:" 9
9726 \f[I]true\f[]
9727
9728 .IP "Description:" 4
9729 Download \f[I]livephoto\f[] files.
9730
9731 \f[I]true\f[]
9732 Download image & video files
9733 \f[I]false\f[]
9734 Download images only
9735 \f[I]"video"\f[]
9736 Download videos only
9737
9738
9739 .SS extractor.weibo.movies
9740 .IP "Type:" 6
9741 \f[I]bool\f[]
9742
9743 .IP "Default:" 9
9744 \f[I]false\f[]
9745
9746 .IP "Description:" 4
9747 Download \f[I]movie\f[] videos.
9748
9749
9750 .SS extractor.weibo.retweets
9751 .IP "Type:" 6
9752 \f[I]bool\f[]
9753
9754 .IP "Default:" 9
9755 \f[I]false\f[]
9756
9757 .IP "Description:" 4
9758 Fetch media from retweeted posts.
9759
9760 If this value is \f[I]"original"\f[], metadata for these files
9761 will be taken from the original posts, not the retweeted posts.
9762
9763
9764 .SS extractor.weibo.text
9765 .IP "Type:" 6
9766 \f[I]bool\f[]
9767
9768 .IP "Default:" 9
9769 \f[I]false\f[]
9770
9771 .IP "Description:" 4
9772 Extract full \f[I]text\f[] & \f[I]text_raw\f[] metadata
9773 for statuses with truncated \f[I]text\f[].
9774
9775
9776 .SS extractor.weibo.videos
9777 .IP "Type:" 6
9778 \f[I]bool\f[]
9779
9780 .IP "Default:" 9
9781 \f[I]true\f[]
9782
9783 .IP "Description:" 4
9784 Download video files.
9785
9786
9787 .SS extractor.weibo.album.subalbums
9788 .IP "Type:" 6
9789 \f[I]bool\f[]
9790
9791 .IP "Default:" 9
9792 \f[I]false\f[]
9793
9794 .IP "Description:" 4
9795 Extract subalbum media.
9796
9797
9798 .SS extractor.wikimedia.format
9799 .IP "Type:" 6
9800 \f[I]string\f[]
9801
9802 .IP "Default:" 9
9803 \f[I]fandom\f[] | \f[I]wikigg\f[]
9804 \f[I]"original"\f[]
9805 otherwise
9806 \f[I]""\f[]
9807
9808 .IP "Description:" 4
9809 Sets the format query parameter value
9810 added to all download URLs.
9811
9812
9813 .SS extractor.wikimedia.image-revisions
9814 .IP "Type:" 6
9815 \f[I]integer\f[]
9816
9817 .IP "Default:" 9
9818 \f[I]1\f[]
9819
9820 .IP "Description:" 4
9821 Number of revisions to return for a single image.
9822
9823 The dafault value of 1 only returns the latest revision.
9824
9825 The value must be between 1 and 500.
9826
9827 .IP "Note:" 4
9828 The API sometimes returns image revisions on article pages even when this option is
9829 set to 1. However, setting it to a higher value may reduce the number of API requests.
9830
9831
9832 .SS extractor.wikimedia.limit
9833 .IP "Type:" 6
9834 \f[I]integer\f[]
9835
9836 .IP "Default:" 9
9837 \f[I]50\f[]
9838
9839 .IP "Description:" 4
9840 Number of results to return in a single API query.
9841
9842 The value must be between 10 and 500.
9843
9844
9845 .SS extractor.wikimedia.subcategories
9846 .IP "Type:" 6
9847 \f[I]bool\f[]
9848
9849 .IP "Default:" 9
9850 \f[I]true\f[]
9851
9852 .IP "Description:" 4
9853 For \f[I]Category:\f[] pages, recursively descent into subcategories.
9854
9855
9856 .SS extractor.[xenforo].attachments
9857 .IP "Type:" 6
9858 \f[I]bool\f[]
9859
9860 .IP "Default:" 9
9861 \f[I]true\f[]
9862
9863 .IP "Description:" 4
9864 Extract forum post attachments.
9865
9866
9867 .SS extractor.[xenforo].embeds
9868 .IP "Type:" 6
9869 \f[I]bool\f[]
9870
9871 .IP "Default:" 9
9872 \f[I]true\f[]
9873
9874 .IP "Description:" 4
9875 Extract URLs of forum post embeds.
9876
9877
9878 .SS extractor.[xenforo].metadata
9879 .IP "Type:" 6
9880 \f[I]bool\f[]
9881
9882 .IP "Default:" 9
9883 \f[I]false\f[]
9884
9885 .IP "Description:" 4
9886 Extract detailed metadata for media files.
9887
9888 .IP "Note:" 4
9889 This requires 1 additional HTTP request per file.
9890
9891
9892 .SS extractor.[xenforo].order-posts
9893 .IP "Type:" 6
9894 \f[I]string\f[]
9895
9896 .IP "Default:" 9
9897 \f[I]thread\f[]
9898 \f[I]"desc"\f[]
9899 otherwise
9900 \f[I]"asc"\f[]
9901
9902 .IP "Description:" 4
9903 Controls the order in which
9904 posts of a \f[I]thread\f[] or media files are processed.
9905
9906 \f[I]"asc"\f[]
9907 Ascending order (oldest first)
9908 \f[I]"desc"\f[] \f[I] \f[I]"reverse"\f[]
9909 Descending order (newest first)
9910 \f[I]"reaction"\f[] \f[] \f[I]"score"\f[]
9911 Reaction Score order (\f[I]threads\f[] only)
9912
9913
9914 .SS extractor.[xenforo].quoted
9915 .IP "Type:" 6
9916 \f[I]bool\f[]
9917
9918 .IP "Default:" 9
9919 \f[I]false\f[]
9920
9921 .IP "Description:" 4
9922 Extract files from quoted content.
9923
9924
9925 .SS extractor.xfolio.fullsize
9926 .IP "Type:" 6
9927 \f[I]bool\f[]
9928
9929 .IP "Default:" 9
9930 \f[I]true\f[]
9931
9932 .IP "Description:" 4
9933 Download posts' files as Full Size Download ZIP container
9934 if available and purchased.
9935
9936
9937 .SS extractor.ytdl.cmdline-args
9938 .IP "Type:" 6
9939 .br
9940 * \f[I]string\f[]
9941 .br
9942 * \f[I]list\f[] of \f[I]strings\f[]
9943
9944 .IP "Example:" 4
9945 .br
9946 * "--quiet --write-sub --merge-output-format mkv"
9947 .br
9948 * ["--quiet", "--write-sub", "--merge-output-format", "mkv"]
9949
9950 .IP "Description:" 4
9951 Additional \f[I]ytdl\f[] options specified as command-line arguments.
9952
9953 See
9954 \f[I]yt-dlp options\f[]
9955 /
9956 \f[I]youtube-dl options\f[]
9957
9958
9959 .SS extractor.ytdl.config-file
9960 .IP "Type:" 6
9961 \f[I]Path\f[]
9962
9963 .IP "Example:" 4
9964 "~/.config/yt-dlp/config"
9965
9966 .IP "Description:" 4
9967 Location of a \f[I]ytdl\f[] configuration file to load options from.
9968
9969
9970 .SS extractor.ytdl.deprecations
9971 .IP "Type:" 6
9972 ´´bool´´
9973
9974 .IP "Default:" 9
9975 \f[I]false\f[]
9976
9977 .IP "Description:" 4
9978 Allow \f[I]ytdl\f[] to warn about deprecated options and features.
9979
9980
9981 .SS extractor.ytdl.enabled
9982 .IP "Type:" 6
9983 \f[I]bool\f[]
9984
9985 .IP "Default:" 9
9986 \f[I]false\f[]
9987
9988 .IP "Description:" 4
9989 Process URLs otherwise unsupported by gallery-dl with \f[I]ytdl\f[].
9990
9991
9992 .SS extractor.ytdl.format
9993 .IP "Type:" 6
9994 \f[I]string\f[]
9995
9996 .IP "Default:" 9
9997 Default of the \f[I]ytdl\f[] \f[I]module\f[] used.
9998 .br
9999 (\f[I]"bestvideo*+bestaudio/best"\f[] for \f[I]yt_dlp\f[],
10000 .br
10001 \f[I]"bestvideo+bestaudio/best"\f[] for \f[I]youtube_dl\f[])
10002
10003 .IP "Description:" 4
10004 \f[I]ytdl\f[] format selection string.
10005
10006 See
10007 \f[I]yt-dlp format selection\f[]
10008 /
10009 \f[I]youtube-dl format selection\f[]
10010
10011
10012 .SS extractor.ytdl.generic
10013 .IP "Type:" 6
10014 .br
10015 * \f[I]bool\f[]
10016 .br
10017 * \f[I]string\f[]
10018
10019 .IP "Default:" 9
10020 \f[I]true\f[]
10021
10022 .IP "Description:" 4
10023 Enables the use of \f[I]ytdl's\f[] \f[I]Generic\f[] extractor.
10024
10025 Set this option to \f[I]"force"\f[] for the same effect as
10026 \f[I]--force-generic-extractor\f[].
10027
10028
10029 .SS extractor.ytdl.generic-category
10030 .IP "Type:" 6
10031 \f[I]bool\f[]
10032
10033 .IP "Default:" 9
10034 \f[I]true\f[]
10035
10036 .IP "Description:" 4
10037 When using \f[I]ytdl's\f[] \f[I]Generic\f[] extractor,
10038 change category to \f[I]"ytdl-generic"\f[] and
10039 set subcategory to the input URL's domain.
10040
10041
10042 .SS extractor.ytdl.logging
10043 .IP "Type:" 6
10044 \f[I]bool\f[]
10045
10046 .IP "Default:" 9
10047 \f[I]true\f[]
10048
10049 .IP "Description:" 4
10050 Route \f[I]ytdl's\f[] output through gallery-dl's logging system.
10051 Otherwise it will be written directly to stdout/stderr.
10052
10053 .IP "Note:" 4
10054 Set \f[I]quiet\f[] and \f[I]no_warnings\f[] in
10055 \f[I]extractor.ytdl.raw-options\f[] to \f[I]true\f[] to suppress all output.
10056
10057
10058 .SS extractor.ytdl.module
10059 .IP "Type:" 6
10060 \f[I]Module\f[]
10061
10062 .IP "Default:" 9
10063 \f[I]null\f[]
10064
10065 .IP "Example:" 4
10066 .br
10067 * "yt-dlp"
10068 .br
10069 * "/home/user/.local/lib/python3.13/site-packages/youtube_dl"
10070
10071 .IP "Description:" 4
10072 The \f[I]ytdl\f[] \f[I]Module\f[] to import.
10073
10074 Setting this to \f[I]null\f[] will try to import \f[I]"yt_dlp"\f[]
10075 followed by \f[I]"youtube_dl"\f[] as fallback.
10076
10077
10078 .SS extractor.ytdl.raw-options
10079 .IP "Type:" 6
10080 \f[I]object\f[] (name → value)
10081
10082 .IP "Example:" 4
10083 .. code:: json
10084
10085 {
10086 "quiet": true,
10087 "writesubtitles": true,
10088 "merge_output_format": "mkv"
10089 }
10090
10091 .IP "Description:" 4
10092 Additional options passed directly to the \f[I]YoutubeDL\f[] constructor.
10093
10094 Available options can be found in
10095 \f[I]yt-dlp's docstrings\f[]
10096 /
10097 \f[I]youtube-dl's docstrings\f[]
10098
10099
10100 .SS extractor.zerochan.extensions
10101 .IP "Type:" 6
10102 .br
10103 * \f[I]string\f[]
10104 .br
10105 * \f[I]list\f[] of \f[I]strings\f[]
10106
10107 .IP "Default:" 9
10108 \f[I]["jpg", "png", "webp", "gif"]\f[]
10109
10110 .IP "Example:" 4
10111 .br
10112 * "gif"
10113 .br
10114 * ["webp", "gif", "jpg"}
10115
10116 .IP "Description:" 4
10117 List of filename extensions to try when dynamically building download URLs
10118 (\f[I]"pagination": "api"\f[] +
10119 \f[I]"metadata": false\f[])
10120
10121
10122 .SS extractor.zerochan.metadata
10123 .IP "Type:" 6
10124 \f[I]bool\f[]
10125
10126 .IP "Default:" 9
10127 \f[I]false\f[]
10128
10129 .IP "Description:" 4
10130 Extract additional metadata (date, md5, tags, ...)
10131
10132 .IP "Note:" 4
10133 This requires 1-2 additional HTTP requests per post.
10134
10135
10136 .SS extractor.zerochan.pagination
10137 .IP "Type:" 6
10138 \f[I]string\f[]
10139
10140 .IP "Default:" 9
10141 \f[I]"api"\f[]
10142
10143 .IP "Description:" 4
10144 Controls how to paginate over tag search results.
10145
10146 \f[I]"api"\f[]
10147 Use the \f[I]JSON API\f[]
10148 (no \f[I]extension\f[] metadata)
10149 \f[I]"html"\f[]
10150 Parse HTML pages
10151 (limited to 100 pages * 24 posts)
10152
10153
10154 .SS extractor.zerochan.redirects
10155 .IP "Type:" 6
10156 \f[I]bool\f[]
10157
10158 .IP "Default:" 9
10159 \f[I]false\f[]
10160
10161 .IP "Description:" 4
10162 Automatically follow tag redirects.
10163
10164
10165 .SS extractor.[booru].tags
10166 .IP "Type:" 6
10167 \f[I]bool\f[]
10168
10169 .IP "Default:" 9
10170 \f[I]false\f[]
10171
10172 .IP "Description:" 4
10173 Group \f[I]tags\f[] by type and
10174 provide them as \f[I]tags_<type>\f[] metadata fields,
10175 for example \f[I]tags_artist\f[] or \f[I]tags_character\f[].
10176
10177 .IP "Note:" 4
10178 This requires 1 additional HTTP request per post.
10179
10180
10181 .SS extractor.[booru].notes
10182 .IP "Type:" 6
10183 \f[I]bool\f[]
10184
10185 .IP "Default:" 9
10186 \f[I]false\f[]
10187
10188 .IP "Description:" 4
10189 Extract overlay notes (position and text).
10190
10191 .IP "Note:" 4
10192 This requires 1 additional HTTP request per post.
10193
10194
10195 .SS extractor.[booru].url
10196 .IP "Type:" 6
10197 .br
10198 * \f[I]string\f[]
10199 .br
10200 * \f[I]list\f[] of \f[I]strings\f[]
10201
10202 .IP "Default:" 9
10203 \f[I]"file_url"\f[]
10204
10205 .IP "Example:" 4
10206 .br
10207 * "preview_url"
10208 .br
10209 * ["sample_url", "preview_url", "file_url"]
10210
10211 .IP "Description:" 4
10212 Alternate field name to retrieve download URLs from.
10213
10214 When multiple names are given, download the first available one.
10215
10216
10217 .SS extractor.[manga-extractor].chapter-reverse
10218 .IP "Type:" 6
10219 \f[I]bool\f[]
10220
10221 .IP "Default:" 9
10222 \f[I]false\f[]
10223
10224 .IP "Description:" 4
10225 Reverse the order of chapter URLs extracted from manga pages.
10226
10227 \f[I]true\f[]
10228 Start with the latest chapter
10229 \f[I]false\f[]
10230 Start with the first chapter
10231
10232
10233 .SS extractor.[manga-extractor].page-reverse
10234 .IP "Type:" 6
10235 \f[I]bool\f[]
10236
10237 .IP "Default:" 9
10238 \f[I]false\f[]
10239
10240 .IP "Description:" 4
10241 Download manga chapter pages in reverse order.
10242
10243
10244 .SH DOWNLOADER OPTIONS
10245 .SS downloader.*.enabled
10246 .IP "Type:" 6
10247 \f[I]bool\f[]
10248
10249 .IP "Default:" 9
10250 \f[I]true\f[]
10251
10252 .IP "Description:" 4
10253 Enable/Disable this downloader module.
10254
10255
10256 .SS downloader.*.filesize-min & .filesize-max
10257 .IP "Type:" 6
10258 \f[I]string\f[]
10259
10260 .IP "Default:" 9
10261 \f[I]null\f[]
10262
10263 .IP "Example:" 4
10264 "32000", "500k", "2.5M"
10265
10266 .IP "Description:" 4
10267 Minimum/Maximum allowed file size in bytes.
10268 Any file smaller/larger than this limit will not be downloaded.
10269
10270 Possible values are valid integer or floating-point numbers
10271 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[].
10272 These suffixes are case-insensitive.
10273
10274
10275 .SS downloader.*.mtime
10276 .IP "Type:" 6
10277 \f[I]bool\f[]
10278
10279 .IP "Default:" 9
10280 \f[I]true\f[]
10281
10282 .IP "Description:" 4
10283 Use \f[I]Last-Modified\f[] HTTP response headers
10284 to set file modification times.
10285
10286
10287 .SS downloader.*.part
10288 .IP "Type:" 6
10289 \f[I]bool\f[]
10290
10291 .IP "Default:" 9
10292 \f[I]true\f[]
10293
10294 .IP "Description:" 4
10295 Controls the use of \f[I].part\f[] files during file downloads.
10296
10297 \f[I]true\f[]
10298 Write downloaded data into \f[I].part\f[] files and rename
10299 them upon download completion. This mode additionally supports
10300 resuming incomplete downloads.
10301 \f[I]false\f[]
10302 Do not use \f[I].part\f[] files and write data directly
10303 into the actual output files.
10304
10305
10306 .SS downloader.*.part-directory
10307 .IP "Type:" 6
10308 .br
10309 * \f[I]Path\f[]
10310 .br
10311 * \f[I]object\f[] (\f[I]Condition\f[] → \f[I]Path\f[])
10312
10313 .IP "Default:" 9
10314 \f[I]null\f[]
10315
10316 .IP "Example:" 4
10317 .. code:: json
10318
10319 "/tmp/.gdl"
10320
10321 .. code:: json
10322
10323 {
10324 "size > 100000": "~/.gdl/part",
10325 "duration" : "/tmp/.gdl/video",
10326 }
10327
10328
10329 .IP "Description:" 4
10330 Alternate location(s) for \f[I].part\f[] files.
10331
10332 .IP "Note:" 4
10333 If this value is \f[I]null\f[] or no \f[I]Conditions\f[] apply,
10334 \f[I].part\f[] files are stored alongside the actual output files.
10335
10336 For a single \f[I]Path\f[], missing directories will be created as needed
10337
10338
10339 .SS downloader.*.progress
10340 .IP "Type:" 6
10341 \f[I]float\f[]
10342
10343 .IP "Default:" 9
10344 \f[I]3.0\f[]
10345
10346 .IP "Description:" 4
10347 Number of seconds until a download progress indicator
10348 for the current download is displayed.
10349
10350 Set this option to \f[I]null\f[] to disable this indicator.
10351
10352
10353 .SS downloader.*.rate
10354 .IP "Type:" 6
10355 .br
10356 * \f[I]string\f[]
10357 .br
10358 * \f[I]list\f[] with 2 \f[I]strings\f[]
10359
10360 .IP "Default:" 9
10361 \f[I]null\f[]
10362
10363 .IP "Example:" 4
10364 .br
10365 * "32000"
10366 .br
10367 * "500k"
10368 .br
10369 * "1M - 2.5M"
10370 .br
10371 * ["1M", "2.5M"]
10372
10373 .IP "Description:" 4
10374 Maximum download rate in bytes per second.
10375
10376 Possible values are valid integer or floating-point numbers
10377 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[].
10378 These suffixes are case-insensitive.
10379
10380 If given as a range, the maximum download rate
10381 will be randomly chosen before each download.
10382 (see \f[I]random.randint()\f[])
10383
10384
10385 .SS downloader.*.retries
10386 .IP "Type:" 6
10387 \f[I]integer\f[]
10388
10389 .IP "Default:" 9
10390 \f[I]extractor.*.retries\f[]
10391
10392 .IP "Description:" 4
10393 Maximum number of retries during file downloads,
10394 or \f[I]-1\f[] for infinite retries.
10395
10396
10397 .SS downloader.*.timeout
10398 .IP "Type:" 6
10399 \f[I]float\f[]
10400
10401 .IP "Default:" 9
10402 \f[I]extractor.*.timeout\f[]
10403
10404 .IP "Description:" 4
10405 Connection timeout during file downloads.
10406
10407
10408 .SS downloader.*.verify
10409 .IP "Type:" 6
10410 .br
10411 * \f[I]bool\f[]
10412 .br
10413 * \f[I]string\f[]
10414
10415 .IP "Default:" 9
10416 \f[I]extractor.*.verify\f[]
10417
10418 .IP "Description:" 4
10419 Certificate validation during file downloads.
10420
10421
10422 .SS downloader.*.proxy
10423 .IP "Type:" 6
10424 .br
10425 * \f[I]string\f[]
10426 .br
10427 * \f[I]object\f[] (scheme → proxy)
10428
10429 .IP "Default:" 9
10430 \f[I]extractor.*.proxy\f[]
10431
10432 .IP "Description:" 4
10433 Proxy server used for file downloads.
10434
10435 Disable the use of a proxy for file downloads
10436 by explicitly setting this option to \f[I]null\f[].
10437
10438
10439 .SS downloader.http.adjust-extensions
10440 .IP "Type:" 6
10441 \f[I]bool\f[]
10442
10443 .IP "Default:" 9
10444 \f[I]true\f[]
10445
10446 .IP "Description:" 4
10447 Check file headers of downloaded files
10448 and adjust their filename extensions if they do not match.
10449
10450 For example, this will change the filename extension (\f[I]{extension}\f[])
10451 of a file called \f[I]example.png\f[] from \f[I]png\f[] to \f[I]jpg\f[] when said file
10452 contains JPEG/JFIF data.
10453
10454
10455 .SS downloader.http.consume-content
10456 .IP "Type:" 6
10457 \f[I]bool\f[]
10458
10459 .IP "Default:" 9
10460 \f[I]false\f[]
10461
10462 .IP "Description:" 4
10463 Controls the behavior when an HTTP response is considered
10464 unsuccessful
10465
10466 If the value is \f[I]true\f[], consume the response body. This
10467 avoids closing the connection and therefore improves connection
10468 reuse.
10469
10470 If the value is \f[I]false\f[], immediately close the connection
10471 without reading the response. This can be useful if the server
10472 is known to send large bodies for error responses.
10473
10474
10475 .SS downloader.http.chunk-size
10476 .IP "Type:" 6
10477 .br
10478 * \f[I]integer\f[]
10479 .br
10480 * \f[I]string\f[]
10481
10482 .IP "Default:" 9
10483 \f[I]32768\f[]
10484
10485 .IP "Example:" 4
10486 "50k", "0.8M"
10487
10488 .IP "Description:" 4
10489 Number of bytes per downloaded chunk.
10490
10491 Possible values are integer numbers
10492 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[].
10493 These suffixes are case-insensitive.
10494
10495
10496 .SS downloader.http.headers
10497 .IP "Type:" 6
10498 \f[I]object\f[] (name → value)
10499
10500 .IP "Example:" 4
10501 {"Accept": "image/webp,*/*", "Referer": "https://example.org/"}
10502
10503 .IP "Description:" 4
10504 Additional HTTP headers to send when downloading files,
10505
10506
10507 .SS downloader.http.retry-codes
10508 .IP "Type:" 6
10509 \f[I]list\f[] of \f[I]integers\f[]
10510
10511 .IP "Default:" 9
10512 \f[I]extractor.*.retry-codes\f[]
10513
10514 .IP "Description:" 4
10515 Additional \f[I]HTTP response status codes\f[]
10516 to retry a download on.
10517
10518 Codes \f[I]200\f[], \f[I]206\f[], and \f[I]416\f[] (when resuming a \f[I]partial\f[]
10519 download) will never be retried and always count as success,
10520 regardless of this option.
10521
10522 \f[I]5xx\f[] codes (server error responses) will always be retried,
10523 regardless of this option.
10524
10525
10526 .SS downloader.http.sleep-429
10527 .IP "Type:" 6
10528 \f[I]Duration\f[]
10529
10530 .IP "Default:" 9
10531 \f[I]extractor.*.sleep-429\f[]
10532
10533 .IP "Description:" 4
10534 Number of seconds to sleep when receiving a 429 Too Many Requests
10535 response before \f[I]retrying\f[] the request.
10536
10537 .IP "Note:" 4
10538 Requires
10539 \f[I]retry-codes\f[]
10540 to include \f[I]429\f[].
10541
10542
10543 .SS downloader.http.validate
10544 .IP "Type:" 6
10545 \f[I]bool\f[]
10546
10547 .IP "Default:" 9
10548 \f[I]true\f[]
10549
10550 .IP "Description:" 4
10551 Check for invalid responses.
10552
10553 Fail a download when a file does not pass
10554 instead of downloading a potentially broken file.
10555
10556
10557 .SS downloader.http.validate-html
10558 .IP "Type:" 6
10559 \f[I]bool\f[]
10560
10561 .IP "Default:" 9
10562 \f[I]true\f[]
10563
10564 .IP "Description:" 4
10565 Check for unexpected HTML responses.
10566
10567 Fail file downloads with a \f[I]text/html\f[]
10568 \f[I]Content-Type header\f[]
10569 when expecting a media file instead.
10570
10571
10572 .SS downloader.ytdl.cmdline-args
10573 .IP "Type:" 6
10574 .br
10575 * \f[I]string\f[]
10576 .br
10577 * \f[I]list\f[] of \f[I]strings\f[]
10578
10579 .IP "Example:" 4
10580 .br
10581 * "--quiet --write-sub --merge-output-format mkv"
10582 .br
10583 * ["--quiet", "--write-sub", "--merge-output-format", "mkv"]
10584
10585 .IP "Description:" 4
10586 Additional \f[I]ytdl\f[] options specified as command-line arguments.
10587
10588 See
10589 \f[I]yt-dlp options\f[]
10590 /
10591 \f[I]youtube-dl options\f[]
10592
10593
10594 .SS downloader.ytdl.config-file
10595 .IP "Type:" 6
10596 \f[I]Path\f[]
10597
10598 .IP "Example:" 4
10599 "~/.config/yt-dlp/config"
10600
10601 .IP "Description:" 4
10602 Location of a \f[I]ytdl\f[] configuration file to load options from.
10603
10604
10605 .SS downloader.ytdl.deprecations
10606 .IP "Type:" 6
10607 ´´bool´´
10608
10609 .IP "Default:" 9
10610 \f[I]false\f[]
10611
10612 .IP "Description:" 4
10613 Allow \f[I]ytdl\f[] to warn about deprecated options and features.
10614
10615
10616 .SS downloader.ytdl.format
10617 .IP "Type:" 6
10618 \f[I]string\f[]
10619
10620 .IP "Default:" 9
10621 Default of the \f[I]ytdl\f[] \f[I]module\f[] used.
10622 .br
10623 (\f[I]"bestvideo*+bestaudio/best"\f[] for \f[I]yt_dlp\f[],
10624 .br
10625 \f[I]"bestvideo+bestaudio/best"\f[] for \f[I]youtube_dl\f[])
10626
10627 .IP "Description:" 4
10628 \f[I]ytdl\f[] format selection string.
10629
10630 See
10631 \f[I]yt-dlp format selection\f[]
10632 /
10633 \f[I]youtube-dl format selection\f[]
10634
10635
10636 .SS downloader.ytdl.forward-cookies
10637 .IP "Type:" 6
10638 \f[I]bool\f[]
10639
10640 .IP "Default:" 9
10641 \f[I]true\f[]
10642
10643 .IP "Description:" 4
10644 Forward gallery-dl's cookies to \f[I]ytdl\f[].
10645
10646
10647 .SS downloader.ytdl.logging
10648 .IP "Type:" 6
10649 \f[I]bool\f[]
10650
10651 .IP "Default:" 9
10652 \f[I]true\f[]
10653
10654 .IP "Description:" 4
10655 Route \f[I]ytdl's\f[] output through gallery-dl's logging system.
10656 Otherwise it will be written directly to stdout/stderr.
10657
10658 .IP "Note:" 4
10659 Set \f[I]quiet\f[] and \f[I]no_warnings\f[] in
10660 \f[I]downloader.ytdl.raw-options\f[] to \f[I]true\f[] to suppress all output.
10661
10662
10663 .SS downloader.ytdl.module
10664 .IP "Type:" 6
10665 \f[I]Module\f[]
10666
10667 .IP "Default:" 9
10668 \f[I]null\f[]
10669
10670 .IP "Example:" 4
10671 .br
10672 * "yt-dlp"
10673 .br
10674 * "/home/user/.local/lib/python3.13/site-packages/youtube_dl"
10675
10676 .IP "Description:" 4
10677 The \f[I]ytdl\f[] \f[I]Module\f[] to import.
10678
10679 Setting this to \f[I]null\f[] will try to import \f[I]"yt_dlp"\f[]
10680 followed by \f[I]"youtube_dl"\f[] as fallback.
10681
10682
10683 .SS downloader.ytdl.outtmpl
10684 .IP "Type:" 6
10685 \f[I]string\f[]
10686
10687 .IP "Default:" 9
10688 \f[I]null\f[]
10689
10690 .IP "Description:" 4
10691 The Output Template
10692 used to generate filenames for files downloaded with \f[I]ytdl\f[].
10693
10694 See
10695 \f[I]yt-dlp output template\f[]
10696 /
10697 \f[I]youtube-dl output template\f[].
10698
10699 .IP "Special Values:" 4
10700 \f[I]null\f[]
10701 generate filenames with \f[I]extractor.*.filename\f[]
10702 \f[I]"default"\f[]
10703 use \f[I]ytdl's\f[] default, currently
10704 \f[I]"%(title)s [%(id)s].%(ext)s"\f[] for \f[I]yt-dlp\f[] /
10705 \f[I]"%(title)s-%(id)s.%(ext)s"\f[] for \f[I]youtube-dl\f[]
10706
10707 .IP "Note:" 4
10708 An output template other than \f[I]null\f[] might
10709 cause unexpected results in combination with certain options
10710 (e.g. \f[I]"skip": "enumerate"\f[])
10711
10712
10713 .SS downloader.ytdl.raw-options
10714 .IP "Type:" 6
10715 \f[I]object\f[] (name → value)
10716
10717 .IP "Example:" 4
10718 .. code:: json
10719
10720 {
10721 "quiet": true,
10722 "writesubtitles": true,
10723 "merge_output_format": "mkv"
10724 }
10725
10726
10727 .IP "Description:" 4
10728 Additional options passed directly to the \f[I]YoutubeDL\f[] constructor.
10729
10730 Available options can be found in
10731 \f[I]yt-dlp's docstrings\f[]
10732 /
10733 \f[I]youtube-dl's docstrings\f[]
10734
10735
10736 .SH OUTPUT OPTIONS
10737 .SS output.mode
10738 .IP "Type:" 6
10739 .br
10740 * \f[I]string\f[]
10741 .br
10742 * \f[I]object\f[] (key → format string)
10743
10744 .IP "Default:" 9
10745 \f[I]"auto"\f[]
10746
10747 .IP "Description:" 4
10748 Controls the output string format and status indicators.
10749
10750 \f[I]"null"\f[]
10751 No output
10752 \f[I]"pipe"\f[]
10753 Suitable for piping to other processes or files
10754 \f[I]"terminal"\f[]
10755 Suitable for the standard Windows console
10756 \f[I]"color"\f[]
10757 Suitable for terminals that understand ANSI escape codes and colors
10758 \f[I]"auto"\f[]
10759 \f[I]"pipe"\f[] if not on a TTY,
10760 \f[I]"terminal"\f[] on Windows with \f[I]output.ansi\f[] disabled,
10761 \f[I]"color"\f[] otherwise.
10762
10763 It is possible to use custom output format strings
10764 .br
10765 by setting this option to an \f[I]object\f[] and specifying
10766 \f[I]start\f[], \f[I]success\f[], \f[I]skip\f[], \f[I]progress\f[], and \f[I]progress-total\f[].
10767 .br
10768
10769 For example, the following will replicate the same output as \f[I]mode: color\f[]:
10770
10771 .. code:: json
10772
10773 {
10774 "start" : "{}",
10775 "success": "\\r\\u001b[1;32m{}\\u001b[0m\\n",
10776 "skip" : "\\u001b[2m{}\\u001b[0m\\n",
10777 "progress" : "\\r{0:>7}B {1:>7}B/s ",
10778 "progress-total": "\\r{3:>3}% {0:>7}B {1:>7}B/s "
10779 }
10780
10781 \f[I]start\f[], \f[I]success\f[], and \f[I]skip\f[] are used to output the current
10782 filename, where \f[I]{}\f[] or \f[I]{0}\f[] is replaced with said filename.
10783 If a given format string contains printable characters other than that,
10784 their number needs to be specified as \f[I][<number>, <format string>]\f[]
10785 to get the correct results for \f[I]output.shorten\f[]. For example
10786
10787 .. code:: json
10788
10789 "start" : [12, "Downloading {}"]
10790
10791 \f[I]progress\f[] and \f[I]progress-total\f[] are used when displaying the
10792 .br
10793 \f[I]download progress indicator\f[],
10794 \f[I]progress\f[] when the total number of bytes to download is unknown,
10795 .br
10796 \f[I]progress-total\f[] otherwise.
10797
10798 For these format strings
10799
10800 .br
10801 * \f[I]{0}\f[] is number of bytes downloaded
10802 .br
10803 * \f[I]{1}\f[] is number of downloaded bytes per second
10804 .br
10805 * \f[I]{2}\f[] is total number of bytes
10806 .br
10807 * \f[I]{3}\f[] is percent of bytes downloaded to total bytes
10808
10809
10810 .SS output.stdout & .stdin & .stderr
10811 .IP "Type:" 6
10812 .br
10813 * \f[I]string\f[]
10814 .br
10815 * \f[I]object\f[]
10816
10817 .IP "Example:" 4
10818 .. code:: json
10819
10820 "utf-8"
10821
10822 .. code:: json
10823
10824 {
10825 "encoding": "utf-8",
10826 "errors": "replace",
10827 "line_buffering": true
10828 }
10829
10830
10831 .IP "Description:" 4
10832 \f[I]Reconfigure\f[]
10833 a \f[I]standard stream\f[].
10834
10835 Possible options are
10836
10837 .br
10838 * \f[I]encoding\f[]
10839 .br
10840 * \f[I]errors\f[]
10841 .br
10842 * \f[I]newline\f[]
10843 .br
10844 * \f[I]line_buffering\f[]
10845 .br
10846 * \f[I]write_through\f[]
10847
10848 When this option is specified as a simple \f[I]string\f[],
10849 it is interpreted as \f[I]{"encoding": "<string-value>", "errors": "replace"}\f[]
10850
10851 .IP "Note:" 4
10852 \f[I]errors\f[] always defaults to \f[I]"replace"\f[]
10853
10854
10855 .SS output.shorten
10856 .IP "Type:" 6
10857 \f[I]bool\f[]
10858
10859 .IP "Default:" 9
10860 \f[I]true\f[]
10861
10862 .IP "Description:" 4
10863 Controls whether the output strings should be shortened to fit
10864 on one console line.
10865
10866 Set this option to \f[I]"eaw"\f[] (East Asian Width)
10867 to display the correct result for east-asian characters
10868 with a display width greater than 1.
10869
10870
10871 .SS output.colors
10872 .IP "Type:" 6
10873 .br
10874 * \f[I]bool\f[]
10875 .br
10876 * \f[I]object\f[] (key → ANSI color)
10877
10878 .IP "Default:" 9
10879 .. code:: json
10880
10881 {
10882 "success": "1;32",
10883 "skip" : "2",
10884 "debug" : "0;37",
10885 "info" : "1;37",
10886 "warning": "1;33",
10887 "error" : "1;31"
10888 }
10889
10890
10891 .IP "Description:" 4
10892 Controls the
10893 \f[I]ANSI colors\f[]
10894 used for various outputs.
10895
10896 \f[I]true\f[]
10897 Use default ANSI colors.
10898 \f[I]false\f[]
10899 Disable ANSI colors.
10900 \f[I]object\f[]
10901 Use custom ANSI colors.
10902
10903 Keys for \f[I]mode: color\f[]
10904
10905 .br
10906 * \f[I]success\f[]: successfully downloaded files
10907 .br
10908 * \f[I]skip\f[]: skipped files
10909
10910 Keys for Logging Messages
10911
10912 .br
10913 * \f[I]debug\f[]: debug logging messages
10914 .br
10915 * \f[I]info\f[]: info logging messages
10916 .br
10917 * \f[I]warning\f[]: warning logging messages
10918 .br
10919 * \f[I]error\f[]: error logging messages
10920
10921
10922 .SS output.ansi
10923 .IP "Type:" 6
10924 \f[I]bool\f[]
10925
10926 .IP "Default:" 9
10927 \f[I]true\f[]
10928
10929 .IP "Description:" 4
10930 On Windows, enable ANSI escape sequences and colored output
10931 .br
10932 by setting the \f[I]ENABLE_VIRTUAL_TERMINAL_PROCESSING\f[] flag for stdout and stderr.
10933 .br
10934
10935 .IP "Note:" 4
10936 To disable colored output, set \f[I]output.colors\f[] to \f[I]false\f[].
10937
10938
10939 .SS output.skip
10940 .IP "Type:" 6
10941 \f[I]bool\f[]
10942
10943 .IP "Default:" 9
10944 \f[I]true\f[]
10945
10946 .IP "Description:" 4
10947 Show skipped file downloads.
10948
10949
10950 .SS output.fallback
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 Include fallback URLs in the output of \f[I]-g/--get-urls\f[].
10959
10960
10961 .SS output.jsonl
10962 .IP "Type:" 6
10963 \f[I]bool\f[]
10964
10965 .IP "Default:" 9
10966 \f[I]false\f[]
10967
10968 .IP "Description:" 4
10969 Output \f[I]-j/--dump-json\f[] & \f[I]-J/--resolve-json\f[]
10970 data in \f[I]JSON Lines\f[] format.
10971
10972
10973 .SS output.private
10974 .IP "Type:" 6
10975 \f[I]bool\f[]
10976
10977 .IP "Default:" 9
10978 \f[I]false\f[]
10979
10980 .IP "Description:" 4
10981 Include private fields,
10982 i.e. fields whose name starts with an underscore,
10983 in the output of \f[I]-K/--list-keywords\f[] and \f[I]-j/--dump-json\f[].
10984
10985
10986 .SS output.progress
10987 .IP "Type:" 6
10988 .br
10989 * \f[I]bool\f[]
10990 .br
10991 * \f[I]string\f[]
10992
10993 .IP "Default:" 9
10994 \f[I]true\f[]
10995
10996 .IP "Description:" 4
10997 Controls the progress indicator when *gallery-dl* is run with
10998 multiple URLs as arguments.
10999
11000 \f[I]true\f[]
11001 Show the default progress indicator
11002 (\f[I]"[{current}/{total}] {url}"\f[])
11003 \f[I]false\f[]
11004 Do not show any progress indicator
11005 Any \f[I]string\f[]
11006 Show the progress indicator using this
11007 as a custom \f[I]format string\f[]. Possible replacement keys are
11008 \f[I]current\f[], \f[I]total\f[] and \f[I]url\f[].
11009
11010
11011 .SS output.log
11012 .IP "Type:" 6
11013 .br
11014 * \f[I]Format String\f[]
11015 .br
11016 * \f[I]Logging Configuration\f[]
11017
11018 .IP "Default:" 9
11019 \f[I]"[{name}][{levelname}] {message}"\f[]
11020
11021 .IP "Description:" 4
11022 Configuration for logging output to stderr.
11023
11024
11025 .SS output.logfile
11026 .IP "Type:" 6
11027 .br
11028 * \f[I]Path\f[]
11029 .br
11030 * \f[I]Logging Configuration\f[]
11031
11032 .IP "Description:" 4
11033 File to write logging output to.
11034
11035
11036 .SS output.unsupportedfile
11037 .IP "Type:" 6
11038 .br
11039 * \f[I]Path\f[]
11040 .br
11041 * \f[I]Logging Configuration\f[]
11042
11043 .IP "Description:" 4
11044 File to write external URLs unsupported by *gallery-dl* to.
11045
11046
11047 .SS output.errorfile
11048 .IP "Type:" 6
11049 .br
11050 * \f[I]Path\f[]
11051 .br
11052 * \f[I]Logging Configuration\f[]
11053
11054 .IP "Description:" 4
11055 File to write input URLs which returned an error to.
11056
11057 When combined with
11058 \f[I]-I\f[]/\f[I]--input-file-comment\f[] or
11059 \f[I]-x\f[]/\f[I]--input-file-delete\f[],
11060 this option will cause *all* input URLs from these files
11061 to be commented/deleted after processing them
11062 and not just successful ones.
11063
11064
11065 .SS output.num-to-str
11066 .IP "Type:" 6
11067 \f[I]bool\f[]
11068
11069 .IP "Default:" 9
11070 \f[I]false\f[]
11071
11072 .IP "Description:" 4
11073 Convert numeric values (\f[I]integer\f[] or \f[I]float\f[]) to \f[I]string\f[]
11074 before outputting them as JSON.
11075
11076
11077 .SH POSTPROCESSOR OPTIONS
11078 .SS actions.action
11079 .IP "Type:" 6
11080 \f[I]Action(s)\f[]
11081
11082 .IP "Description:" 4
11083 The \f[I]Action(s)\f[] to perform.
11084
11085 .IP "Note:" 4
11086 This option can also be set as \f[I]mode\f[],
11087 making it possible to use \f[I]"name": "actions/<action>@<event>"\f[]
11088
11089
11090 .SS actions.event
11091 .IP "Type:" 6
11092 .br
11093 * \f[I]string\f[]
11094 .br
11095 * \f[I]list\f[] of \f[I]strings\f[]
11096
11097 .IP "Default:" 9
11098 \f[I]"prepare"\f[]
11099
11100 .IP "Description:" 4
11101 The event(s) for which \f[I]actions.action\f[] is triggered.
11102
11103 See \f[I]metadata.event\f[] for a list of available events.
11104
11105
11106 .SS classify.mapping
11107 .IP "Type:" 6
11108 \f[I]object\f[] (directory → extensions)
11109
11110 .IP "Default:" 9
11111 .. code:: json
11112
11113 {
11114 "Pictures" : ["jpg", "jpeg", "png", "gif", "bmp", "svg", "webp",
11115 "avif", "heic", "heif", "ico", "psd"],
11116 "Video" : ["flv", "ogv", "avi", "mp4", "mpg", "mpeg", "3gp", "mkv",
11117 "webm", "vob", "wmv", "m4v", "mov"],
11118 "Music" : ["mp3", "aac", "flac", "ogg", "wma", "m4a", "wav"],
11119 "Archives" : ["zip", "rar", "7z", "tar", "gz", "bz2"],
11120 "Documents": ["txt", "pdf"]
11121 }
11122
11123
11124 .IP "Description:" 4
11125 A mapping from directory names to filename extensions that should
11126 be stored in them.
11127
11128 Files with an extension not listed will be ignored and stored
11129 in their default location.
11130
11131
11132 .SS compare.action
11133 .IP "Type:" 6
11134 \f[I]string\f[]
11135
11136 .IP "Default:" 9
11137 \f[I]"replace"\f[]
11138
11139 .IP "Description:" 4
11140 The action to take when files do **not** compare as equal.
11141
11142 \f[I]"replace"\f[]
11143 Replace/Overwrite the old version with the new one
11144 \f[I]"enumerate"\f[]
11145 Add an enumeration index to the filename of the new
11146 version like \f[I]skip = "enumerate"\f[]
11147
11148
11149 .SS compare.equal
11150 .IP "Type:" 6
11151 \f[I]string\f[]
11152
11153 .IP "Default:" 9
11154 \f[I]"null"\f[]
11155
11156 .IP "Description:" 4
11157 The action to take when files do compare as equal.
11158
11159 \f[I]"abort:N"\f[]
11160 Stop the current extractor run
11161 after \f[I]N\f[] consecutive files compared as equal.
11162 \f[I]"terminate:N"\f[]
11163 Stop the current extractor run,
11164 including parent extractors,
11165 after \f[I]N\f[] consecutive files compared as equal.
11166 \f[I]"exit:N"\f[]
11167 Exit the program
11168 after \f[I]N\f[] consecutive files compared as equal.
11169
11170
11171 .SS compare.shallow
11172 .IP "Type:" 6
11173 \f[I]bool\f[]
11174
11175 .IP "Default:" 9
11176 \f[I]false\f[]
11177
11178 .IP "Description:" 4
11179 Only compare file sizes. Do not read and compare their content.
11180
11181
11182 .SS directory.event
11183 .IP "Type:" 6
11184 .br
11185 * \f[I]string\f[]
11186 .br
11187 * \f[I]list\f[] of \f[I]strings\f[]
11188
11189 .IP "Default:" 9
11190 \f[I]"prepare"\f[]
11191
11192 .IP "Description:" 4
11193 The event(s) for which \f[I]directory\f[] \f[I]Format Strings\f[] are (re)evaluated.
11194
11195 See \f[I]metadata.event\f[] for a list of available events.
11196
11197
11198 .SS exec.archive
11199 .IP "Type:" 6
11200 .br
11201 * \f[I]string\f[]
11202 .br
11203 * \f[I]Path\f[]
11204
11205 .IP "Description:" 4
11206 Database to store IDs of executed commands in,
11207 similar to \f[I]extractor.*.archive\f[].
11208
11209 The following archive options are also supported:
11210
11211 .br
11212 * \f[I]archive-format\f[]
11213 .br
11214 * \f[I]archive-prefix\f[]
11215 .br
11216 * \f[I]archive-pragma\f[]
11217 .br
11218 * \f[I]archive-reuse \f[]
11219 .br
11220 * \f[I]archive-table \f[]
11221
11222
11223 .SS exec.async
11224 .IP "Type:" 6
11225 \f[I]bool\f[]
11226
11227 .IP "Default:" 9
11228 \f[I]false\f[]
11229
11230 .IP "Description:" 4
11231 Controls whether to wait for a subprocess to finish
11232 or to let it run asynchronously.
11233
11234
11235 .SS exec.command
11236 .IP "Type:" 6
11237 .br
11238 * \f[I]string\f[]
11239 .br
11240 * \f[I]list\f[] of \f[I]strings\f[]
11241
11242 .IP "Example:" 4
11243 .br
11244 * "convert {} {}.png && rm {}"
11245 .br
11246 * ["echo", "{user[account]}", "{id}"]
11247
11248 .IP "Description:" 4
11249 The command to run.
11250
11251 .br
11252 * If this is a \f[I]string\f[], it will be executed using the system's
11253 shell, e.g. \f[I]/bin/sh\f[]. Any \f[I]{}\f[] will be replaced
11254 with the full path of a file or target directory, depending on
11255 \f[I]exec.event\f[]
11256
11257 .br
11258 * If this is a \f[I]list\f[], the first element specifies the program
11259 name and any further elements its arguments.
11260
11261 Each element of this list is evaluated as a \f[I]Format String\f[] using
11262 the files' metadata as well as
11263 \f[I]{_path}\f[], \f[I]{_temppath}\f[], \f[I]{_directory}\f[], and \f[I]{_filename}\f[].
11264
11265
11266 .SS exec.commands
11267 .IP "Type:" 6
11268 \f[I]list\f[] of \f[I]commands\f[]
11269
11270 .IP "Example:" 4
11271 .. code:: json
11272
11273 [
11274 ["echo", "{user[account]}", "{id}"]
11275 ["magick", "convert" "{_path}", "\\fF {_path.rpartition('.')[0]}.png"],
11276 "rm {}",
11277 ]
11278
11279 .IP "Description:" 4
11280 Multiple \f[I]commands\f[] to run in succession.
11281
11282 All \f[I]commands\f[] after the first returning with a non-zero
11283 exit status will not be run.
11284
11285
11286 .SS exec.event
11287 .IP "Type:" 6
11288 .br
11289 * \f[I]string\f[]
11290 .br
11291 * \f[I]list\f[] of \f[I]strings\f[]
11292
11293 .IP "Default:" 9
11294 \f[I]"after"\f[]
11295
11296 .IP "Description:" 4
11297 The event(s) for which \f[I]exec.command\f[] is run.
11298
11299 See \f[I]metadata.event\f[] for a list of available events.
11300
11301
11302 .SS exec.output
11303 .IP "Type:" 6
11304 \f[I]boolean\f[]
11305
11306 .IP "Default:" 9
11307 \f[I]true\f[]
11308
11309 .IP "Description:" 4
11310 Show output of spawned subprocesses.
11311
11312
11313 .SS exec.session
11314 .IP "Type:" 6
11315 \f[I]bool\f[]
11316
11317 .IP "Default:" 9
11318 \f[I]false\f[]
11319
11320 .IP "Description:" 4
11321 Start subprocesses in a new session.
11322
11323 On Windows, this means passing
11324 \f[I]CREATE_NEW_PROCESS_GROUP\f[]
11325 as a \f[I]creationflags\f[] argument to
11326 \f[I]subprocess.Popen\f[]
11327
11328 On POSIX systems, this means enabling the
11329 \f[I]start_new_session\f[] argument of
11330 \f[I]subprocess.Popen\f[]
11331 to have it call \f[I]setsid()\f[].
11332
11333
11334 .SS exec.verbose
11335 .IP "Type:" 6
11336 \f[I]bool\f[]
11337
11338 .IP "Default:" 9
11339 \f[I]true\f[]
11340
11341 .IP "Description:" 4
11342 Include \f[I]command\f[]
11343 arguments in logging messages.
11344
11345
11346 .SS exec.success
11347 .IP "Type:" 6
11348 \f[I]Action(s)\f[]
11349
11350 .IP "Description:" 4
11351 Run these \f[I]Action(s)\f[] when \f[I]command\f[]
11352 succeeds and returns with exit status 0.
11353
11354
11355 .SS exec.error
11356 .IP "Type:" 6
11357 \f[I]Action(s)\f[]
11358
11359 .IP "Description:" 4
11360 Run these \f[I]Action(s)\f[] when \f[I]command\f[]
11361 fails and returns with a non-zero exit status.
11362
11363
11364 .SS hash.chunk-size
11365 .IP "Type:" 6
11366 \f[I]integer\f[]
11367
11368 .IP "Default:" 9
11369 \f[I]32768\f[]
11370
11371 .IP "Description:" 4
11372 Number of bytes read per chunk during file hash computation.
11373
11374
11375 .SS hash.event
11376 .IP "Type:" 6
11377 .br
11378 * \f[I]string\f[]
11379 .br
11380 * \f[I]list\f[] of \f[I]strings\f[]
11381
11382 .IP "Default:" 9
11383 \f[I]"file"\f[]
11384
11385 .IP "Description:" 4
11386 The event(s) for which \f[I]file hashes\f[] are computed.
11387
11388 See \f[I]metadata.event\f[] for a list of available events.
11389
11390
11391 .SS hash.filename
11392 .IP "Type:" 6
11393 .br
11394 * \f[I]bool\f[]
11395
11396 .IP "Default:" 9
11397 \f[I]false\f[]
11398
11399 .IP "Description:" 4
11400 Rebuild \f[I]filenames\f[] after computing
11401 \f[I]hash digests\f[] and adding them to the metadata dict.
11402
11403
11404 .SS hash.hashes
11405 .IP "Type:" 6
11406 .br
11407 * \f[I]string\f[]
11408 .br
11409 * \f[I]object\f[] (field name → hash algorithm)
11410
11411 .IP "Default:" 9
11412 \f[I]"md5,sha1"\f[]
11413
11414 .IP "Example:" 4
11415 .. code:: json
11416
11417 "sha256:hash_sha,sha3_512:hash_sha3"
11418
11419 .. code:: json
11420
11421 {
11422 "hash_sha" : "sha256",
11423 "hash_sha3": "sha3_512"
11424 }
11425
11426
11427 .IP "Description:" 4
11428 Hash digests to compute.
11429
11430 For a list of available hash algorithms, run
11431
11432 .. code::
11433
11434 python -c "import hashlib; print('\\n'.join(hashlib.algorithms_available))"
11435
11436 or see \f[I]python/hashlib\f[].
11437
11438 .br
11439 * If this is a \f[I]string\f[],
11440 it is parsed as a a comma-separated list of algorthm-fieldname pairs:
11441
11442 .. code::
11443
11444 [<hash algorithm> ":"] <field name> ["," ...]
11445
11446 When \f[I]<hash algorithm>\f[] is omitted,
11447 \f[I]<field name>\f[] is used as algorithm name.
11448
11449 .br
11450 * If this is an \f[I]object\f[],
11451 it is a \f[I]<field name>\f[] to \f[I]<algorithm name>\f[] mapping
11452 for hash digests to compute.
11453
11454 .IP "Note:" 4
11455 This option can also be set as \f[I]mode\f[],
11456 making it possible to use \f[I]"name": "hash/<fieldname>@<event>"\f[]
11457
11458
11459 .SS metadata.mode
11460 .IP "Type:" 6
11461 \f[I]string\f[]
11462
11463 .IP "Default:" 9
11464 \f[I]"json"\f[]
11465
11466 .IP "Description:" 4
11467 Selects how to process metadata.
11468
11469 \f[I]"json"\f[]
11470 Write metadata using \f[I]json.dump()\f[]
11471 \f[I]"jsonl"\f[]
11472 Write metadata in \f[I]JSON Lines\f[] format
11473 \f[I]"tags"\f[]
11474 Write \f[I]tags\f[] separated by newlines
11475 \f[I]"print"\f[]
11476 Write the result of applying
11477 \f[I]content-format\f[]
11478 to \f[I]stdout\f[]
11479 \f[I]"custom"\f[]
11480 Write the result of applying
11481 \f[I]content-format\f[]
11482 to \f[I]a file\f[]
11483 \f[I]"modify"\f[]
11484 Add or modify metadata entries
11485 \f[I]"delete"\f[]
11486 Remove metadata entries
11487
11488
11489 .SS metadata.filename
11490 .IP "Type:" 6
11491 \f[I]Format String\f[]
11492
11493 .IP "Default:" 9
11494 \f[I]null\f[]
11495
11496 .IP "Example:" 4
11497 "{id}.data.json"
11498
11499 .IP "Description:" 4
11500 A \f[I]Format String\f[] to generate filenames for metadata files.
11501 (see \f[I]extractor.filename\f[])
11502
11503 Using \f[I]"-"\f[] as filename will write all output to \f[I]stdout\f[].
11504
11505 If this option is set, \f[I]metadata.extension\f[] and
11506 \f[I]metadata.extension-format\f[] will be ignored.
11507
11508
11509 .SS metadata.directory
11510 .IP "Type:" 6
11511 .br
11512 * \f[I]string\f[]
11513 .br
11514 * \f[I]list\f[] of \f[I]strings\f[]
11515
11516 .IP "Default:" 9
11517 \f[I]"."\f[]
11518
11519 .IP "Example:" 4
11520 .br
11521 * "metadata"
11522 .br
11523 * ["..", "metadata", "\\fF {id // 500 * 500}"]
11524
11525 .IP "Description:" 4
11526 Directory where metadata files are stored in
11527 relative to \f[I]metadata.base-directory\f[].
11528
11529
11530 .SS metadata.base-directory
11531 .IP "Type:" 6
11532 .br
11533 * \f[I]bool\f[]
11534 .br
11535 * \f[I]Path\f[]
11536
11537 .IP "Default:" 9
11538 \f[I]false\f[]
11539
11540 .IP "Description:" 4
11541 Selects the relative location for metadata files.
11542
11543 \f[I]false\f[]
11544 Current target location for file downloads (\f[I]base-directory\f[] + directory_)
11545 \f[I]true\f[]
11546 Current \f[I]base-directory\f[] location
11547 any \f[I]Path\f[]
11548 Custom location
11549
11550
11551 .SS metadata.extension
11552 .IP "Type:" 6
11553 \f[I]string\f[]
11554
11555 .IP "Default:" 9
11556 \f[I]"json"\f[] or \f[I]"txt"\f[]
11557
11558 .IP "Description:" 4
11559 Filename extension for metadata files that will be appended to the
11560 original file names.
11561
11562
11563 .SS metadata.extension-format
11564 .IP "Type:" 6
11565 \f[I]Format String\f[]
11566
11567 .IP "Example:" 4
11568 .br
11569 * "{extension}.json"
11570 .br
11571 * "json"
11572
11573 .IP "Description:" 4
11574 Custom \f[I]Format String\f[] to generate filename extensions
11575 for metadata files, which will replace the original filename extension.
11576
11577 .IP "Note:" 4
11578 When this option is set, \f[I]metadata.extension\f[] is ignored.
11579
11580
11581 .SS metadata.metadata-path
11582 .IP "Type:" 6
11583 \f[I]string\f[]
11584
11585 .IP "Example:" 4
11586 "_meta_path"
11587
11588 .IP "Description:" 4
11589 Insert the path of generated files
11590 into metadata dictionaries as the given name.
11591
11592
11593 .SS metadata.event
11594 .IP "Type:" 6
11595 .br
11596 * \f[I]string\f[]
11597 .br
11598 * \f[I]list\f[] of \f[I]strings\f[]
11599
11600 .IP "Default:" 9
11601 \f[I]"file"\f[]
11602
11603 .IP "Example:" 4
11604 .br
11605 * "prepare,file,after"
11606 .br
11607 * ["prepare-after", "skip"]
11608
11609 .IP "Description:" 4
11610 The event(s) for which metadata gets written to a file.
11611
11612 Available events are:
11613
11614 \f[I]init\f[]
11615 After post processor initialization
11616 and before the first file download
11617 \f[I]finalize\f[]
11618 On extractor shutdown, e.g. after all files were downloaded
11619 \f[I]finalize-success\f[]
11620 On extractor shutdown when no error occurred
11621 \f[I]finalize-error\f[]
11622 On extractor shutdown when at least one error occurred
11623 \f[I]prepare\f[]
11624 Before a file download
11625 \f[I]prepare-after\f[]
11626 Before a file download,
11627 but after building and checking file paths
11628 \f[I]file\f[]
11629 When completing a file download,
11630 but before it gets moved to its target location
11631 \f[I]after\f[]
11632 After a file got moved to its target location
11633 \f[I]skip\f[]
11634 When skipping a file download
11635 \f[I]error\f[]
11636 After a file download failed
11637 \f[I]post\f[]
11638 When starting to download all files of a post,
11639 e.g. a Tweet on Twitter or a post on Patreon.
11640 \f[I]post-after\f[]
11641 After downloading all files of a post
11642 \f[I]child\f[]
11643 When spawning a new child extractor
11644 \f[I]child-after\f[]
11645 After a child extractor ran
11646
11647
11648 .SS metadata.include
11649 .IP "Type:" 6
11650 \f[I]list\f[] of \f[I]strings\f[]
11651
11652 .IP "Example:" 4
11653 ["id", "width", "height", "description"]
11654
11655 .IP "Description:" 4
11656 Include only the given top-level keys when writing JSON data.
11657
11658 .IP "Note:" 4
11659 Missing or undefined fields will be silently ignored.
11660
11661
11662 .SS metadata.exclude
11663 .IP "Type:" 6
11664 \f[I]list\f[] of \f[I]strings\f[]
11665
11666 .IP "Example:" 4
11667 ["blocked", "watching", "status"]
11668
11669 .IP "Description:" 4
11670 Exclude all given keys from written JSON data.
11671
11672 .IP "Note:" 4
11673 Cannot be used with \f[I]metadata.include\f[].
11674
11675
11676 .SS metadata.fields
11677 .IP "Type:" 6
11678 .br
11679 * \f[I]list\f[] of \f[I]strings\f[]
11680 .br
11681 * \f[I]object\f[] (field name → \f[I]Format String\f[])
11682
11683 .IP "Example:" 4
11684 .. code:: json
11685
11686 ["blocked", "watching", "status[creator][name]"]
11687
11688 .. code:: json
11689
11690 {
11691 "blocked" : "***",
11692 "watching" : "\\fE 'yes' if watching else 'no'",
11693 "status[username]": "{status[creator][name]!l}"
11694 }
11695
11696
11697 .IP "Description:" 4
11698 \f[I]"mode": "delete"\f[]
11699 A list of metadata field names to remove.
11700 \f[I]"mode": "modify"\f[]
11701 An object with metadata field names mapping to a \f[I]Format String\f[]
11702 whose result is assigned to that field name.
11703
11704 .IP "Note::" 4
11705 Unlike standard \f[I]Format Strings\f[], replacement fields here
11706 preserve the original type of their value
11707 instead of automatically converting it to \f[I]type-str\f[].
11708
11709
11710 .SS metadata.content-format
11711 .IP "Type:" 6
11712 .br
11713 * \f[I]Format String\f[]
11714 .br
11715 * \f[I]list\f[] of \f[I]Format Strings\f[]
11716
11717 .IP "Example:" 4
11718 .br
11719 * "tags:\\n\\n{tags:J\\n}\\n"
11720 .br
11721 * ["tags:", "", "{tags:J\\n}"]
11722
11723 .IP "Description:" 4
11724 Custom \f[I]Format String(s)\f[] to build the content of metadata files with.
11725
11726 .IP "Note:" 4
11727 Only applies to \f[I]"mode": "custom"\f[].
11728
11729
11730 .SS metadata.ascii
11731 .IP "Type:" 6
11732 \f[I]bool\f[]
11733
11734 .IP "Default:" 9
11735 \f[I]false\f[]
11736
11737 .IP "Description:" 4
11738 Escape all non-ASCII characters.
11739
11740 See the \f[I]ensure_ascii\f[] argument of \f[I]json.dump()\f[] for further details.
11741
11742 .IP "Note:" 4
11743 Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[].
11744
11745
11746 .SS metadata.indent
11747 .IP "Type:" 6
11748 .br
11749 * \f[I]integer\f[]
11750 .br
11751 * \f[I]string\f[]
11752
11753 .IP "Default:" 9
11754 \f[I]4\f[]
11755
11756 .IP "Description:" 4
11757 Indentation level of JSON output.
11758
11759 See the \f[I]indent\f[] argument of \f[I]json.dump()\f[] for further details.
11760
11761 .IP "Note:" 4
11762 Only applies to \f[I]"mode": "json"\f[].
11763
11764
11765 .SS metadata.separators
11766 .IP "Type:" 6
11767 \f[I]list\f[] with two \f[I]string\f[] elements
11768
11769 .IP "Default:" 9
11770 \f[I][", ", ": "]\f[]
11771
11772 .IP "Description:" 4
11773 \f[I]<item separator>\f[] - \f[I]<key separator>\f[] pair
11774 to separate JSON keys and values with.
11775
11776 See the \f[I]separators\f[] argument of \f[I]json.dump()\f[] for further details.
11777
11778 .IP "Note:" 4
11779 Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[].
11780
11781
11782 .SS metadata.sort
11783 .IP "Type:" 6
11784 \f[I]bool\f[]
11785
11786 .IP "Default:" 9
11787 \f[I]false\f[]
11788
11789 .IP "Description:" 4
11790 Sort output by key.
11791
11792 See the \f[I]sort_keys\f[] argument of \f[I]json.dump()\f[] for further details.
11793
11794 .IP "Note:" 4
11795 Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[].
11796
11797
11798 .SS metadata.empty
11799 .IP "Type:" 6
11800 \f[I]bool\f[]
11801
11802 .IP "Default:" 9
11803 \f[I]false\f[]
11804
11805 .IP "Description:" 4
11806 Write empty
11807 JSON / \f[I]tags\f[] / \f[I]content-format\f[]
11808 data and create empty files.
11809
11810
11811 .SS metadata.open
11812 .IP "Type:" 6
11813 \f[I]string\f[]
11814
11815 .IP "Default:" 9
11816 \f[I]"w"\f[]
11817
11818 .IP "Description:" 4
11819 The \f[I]mode\f[] in which metadata files get opened.
11820
11821 For example,
11822 use \f[I]"a"\f[] to append to a file's content
11823 or \f[I]"w"\f[] to truncate it.
11824
11825 See the \f[I]mode\f[] argument of \f[I]open()\f[] for further details.
11826
11827
11828 .SS metadata.encoding
11829 .IP "Type:" 6
11830 \f[I]string\f[]
11831
11832 .IP "Default:" 9
11833 \f[I]"utf-8"\f[]
11834
11835 .IP "Description:" 4
11836 Name of the encoding used to encode a file's content.
11837
11838 See the \f[I]encoding\f[] argument of \f[I]open()\f[] for further details.
11839
11840
11841 .SS metadata.newline
11842 .IP "Type:" 6
11843 \f[I]string\f[]
11844
11845 .IP "Default:" 9
11846 \f[I]null\f[]
11847
11848 .IP "Description:" 4
11849 The newline sequence used in metadata files.
11850
11851 If \f[I]null\f[], any \f[I]\\n\f[] characters
11852 written are translated to the system default line separator.
11853
11854 See the \f[I]newline\f[] argument of \f[I]open()\f[] for further details.
11855
11856 .IP "Supported Values:" 4
11857 \f[I]null\f[]
11858 Any \f[I]\\n\f[] characters
11859 written are translated to the system default line separator.
11860 \f[I]""\f[] \f[I] \f[I]"\\n"\f[]
11861 Don't replace newline characters.
11862 \f[I]"\\r"\f[] \f[] \f[I]"\\r\\n"\f[]
11863 Replace newline characters with the given sequence.
11864
11865
11866 .SS metadata.private
11867 .IP "Type:" 6
11868 \f[I]bool\f[]
11869
11870 .IP "Default:" 9
11871 \f[I]false\f[]
11872
11873 .IP "Description:" 4
11874 Include private fields,
11875 i.e. fields whose name starts with an underscore.
11876
11877
11878 .SS metadata.skip
11879 .IP "Type:" 6
11880 \f[I]bool\f[]
11881
11882 .IP "Default:" 9
11883 \f[I]false\f[]
11884
11885 .IP "Description:" 4
11886 Do not overwrite already existing files.
11887
11888
11889 .SS metadata.archive
11890 .IP "Type:" 6
11891 .br
11892 * \f[I]string\f[]
11893 .br
11894 * \f[I]Path\f[]
11895
11896 .IP "Description:" 4
11897 Database to store IDs of generated metadata files in,
11898 similar to \f[I]extractor.*.archive\f[].
11899
11900 The following archive options are also supported:
11901
11902 .br
11903 * \f[I]archive-format\f[]
11904 .br
11905 * \f[I]archive-prefix\f[]
11906 .br
11907 * \f[I]archive-pragma\f[]
11908 .br
11909 * \f[I]archive-reuse \f[]
11910 .br
11911 * \f[I]archive-table \f[]
11912
11913
11914 .SS metadata.mtime
11915 .IP "Type:" 6
11916 \f[I]bool\f[]
11917
11918 .IP "Default:" 9
11919 \f[I]false\f[]
11920
11921 .IP "Description:" 4
11922 Set modification times of generated metadata files
11923 according to the accompanying downloaded file.
11924
11925 Enabling this option will only have an effect
11926 *if* there is actual \f[I]mtime\f[] metadata available, that is
11927
11928 .br
11929 * after a file download (\f[I]"event": "file"\f[] (default), \f[I]"event": "after"\f[])
11930 .br
11931 * when running *after* an \f[I]mtime\f[] post processes for the same \f[I]event\f[]
11932
11933 For example, a \f[I]metadata\f[] post processor for \f[I]"event": "post"\f[] will
11934 *not* be able to set its file's modification time unless an \f[I]mtime\f[]
11935 post processor with \f[I]"event": "post"\f[] runs *before* it.
11936
11937
11938 .SS mtime.event
11939 .IP "Type:" 6
11940 .br
11941 * \f[I]string\f[]
11942 .br
11943 * \f[I]list\f[] of \f[I]strings\f[]
11944
11945 .IP "Default:" 9
11946 \f[I]"post-after"\f[]
11947 \f[I]"target": "directory"\f[]
11948 \f[I]"file"\f[]
11949 otherwise
11950
11951 .IP "Description:" 4
11952 The event(s) for which \f[I]mtime.key\f[] or \f[I]mtime.value\f[] get evaluated.
11953
11954 See \f[I]metadata.event\f[] for a list of available events.
11955
11956
11957 .SS mtime.target
11958 .IP "Type:" 6
11959 \f[I]string\f[]
11960
11961 .IP "Default:" 9
11962 \f[I]"file"\f[]
11963
11964 .IP "Description:" 4
11965 The target to which \f[I]mtime.key\f[] or \f[I]mtime.value\f[] is applied to.
11966
11967 Supported values are \f[I]"file"\f[] and \f[I]"directory"\f[].
11968
11969
11970 .SS mtime.key
11971 .IP "Type:" 6
11972 \f[I]string\f[]
11973
11974 .IP "Default:" 9
11975 \f[I]"date"\f[]
11976
11977 .IP "Description:" 4
11978 Name of the metadata field whose value should be used.
11979
11980 This value must be either a Unix timestamp or a
11981 \f[I]type-datetime\f[] object.
11982
11983 .IP "Note:" 4
11984 This option is ignored if \f[I]mtime.value\f[] is set.
11985
11986
11987 .SS mtime.value
11988 .IP "Type:" 6
11989 \f[I]Format String\f[]
11990
11991 .IP "Default:" 9
11992 \f[I]null\f[]
11993
11994 .IP "Example:" 4
11995 .br
11996 * "{status[date]}"
11997 .br
11998 * "{content[0:6]:R22/2022/D%Y%m%d/}"
11999
12000 .IP "Description:" 4
12001 The \f[I]Format String\f[] whose value should be used.
12002
12003 The resulting value must be either a Unix timestamp or a
12004 \f[I]type-datetime\f[] object.
12005
12006 .IP "Note::" 4
12007 Unlike standard \f[I]Format Strings\f[], replacement fields here
12008 preserve the original type of their value
12009 instead of automatically converting it to \f[I]type-str\f[].
12010
12011
12012 .SS python.archive
12013 .IP "Type:" 6
12014 .br
12015 * \f[I]string\f[]
12016 .br
12017 * \f[I]Path\f[]
12018
12019 .IP "Description:" 4
12020 Database to store IDs of called Python functions in,
12021 similar to \f[I]extractor.*.archive\f[].
12022
12023 The following archive options are also supported:
12024
12025 .br
12026 * \f[I]archive-format\f[]
12027 .br
12028 * \f[I]archive-prefix\f[]
12029 .br
12030 * \f[I]archive-pragma\f[]
12031 .br
12032 * \f[I]archive-reuse \f[]
12033 .br
12034 * \f[I]archive-table \f[]
12035
12036
12037 .SS python.event
12038 .IP "Type:" 6
12039 .br
12040 * \f[I]string\f[]
12041 .br
12042 * \f[I]list\f[] of \f[I]strings\f[]
12043
12044 .IP "Default:" 9
12045 \f[I]"file"\f[]
12046
12047 .IP "Description:" 4
12048 The event(s) for which \f[I]python.function\f[] gets called.
12049
12050 See \f[I]metadata.event\f[] for a list of available events.
12051
12052
12053 .SS python.expression
12054 .IP "Type:" 6
12055 \f[I]Expression\f[]
12056
12057 .IP "Example:" 4
12058 .br
12059 * "print('Foo Bar')"
12060 .br
12061 * "terminate()"
12062
12063 .IP "Description:" 4
12064 A Python \f[I]Expression\f[] to
12065 \f[I]evaluate\f[].
12066
12067 .IP "Note:" 4
12068 Only used with \f[I]"mode": "eval"\f[]
12069
12070
12071 .SS python.function
12072 .IP "Type:" 6
12073 \f[I]string\f[]
12074
12075 .IP "Example:" 4
12076 .br
12077 * "my_module:generate_text"
12078 .br
12079 * "~/.local/share/gdl_utils.py:resize"
12080
12081 .IP "Description:" 4
12082 The Python function to call.
12083
12084 This function is specified as \f[I]<module>:<function name>\f[], where
12085 .br
12086 \f[I]<module>\f[] is a \f[I]Module\f[] and
12087 .br
12088 \f[I]<function name>\f[] is the name of the function in that module.
12089
12090 It gets called with the current metadata dict as argument.
12091
12092
12093 .SS python.mode
12094 .IP "Type:" 6
12095 \f[I]string\f[]
12096
12097 .IP "Default:" 9
12098 \f[I]"function"\f[]
12099
12100 .IP "Description:" 4
12101 Selects what Python code to run.
12102
12103 \f[I]"eval"\f[]
12104 Evaluate an
12105 \f[I]expression\f[]
12106 \f[I]function"\f[]
12107 Call a
12108 \f[I]function\f[]
12109
12110
12111 .SS rename.from
12112 .IP "Type:" 6
12113 \f[I]Format String\f[]
12114
12115 .IP "Description:" 4
12116 The \f[I]Format String\f[] for filenames to rename.
12117
12118 When no value is given, \f[I]extractor.*.filename\f[] is used.
12119
12120
12121 .SS rename.to
12122 .IP "Type:" 6
12123 \f[I]Format String\f[]
12124
12125 .IP "Description:" 4
12126 The \f[I]Format String\f[] for target filenames.
12127
12128 When no value is given, \f[I]extractor.*.filename\f[] is used.
12129
12130
12131 .SS rename.skip
12132 .IP "Type:" 6
12133 \f[I]bool\f[]
12134
12135 .IP "Default:" 9
12136 \f[I]true\f[]
12137
12138 .IP "Description:" 4
12139 Do not rename a file when another file with the target name already exists.
12140
12141
12142 .SS ugoira.extension
12143 .IP "Type:" 6
12144 \f[I]string\f[]
12145
12146 .IP "Default:" 9
12147 \f[I]"webm"\f[]
12148
12149 .IP "Description:" 4
12150 Filename extension for the resulting video files.
12151
12152
12153 .SS ugoira.ffmpeg-args
12154 .IP "Type:" 6
12155 \f[I]list\f[] of \f[I]strings\f[]
12156
12157 .IP "Default:" 9
12158 \f[I]null\f[]
12159
12160 .IP "Example:" 4
12161 ["-c:v", "libvpx-vp9", "-an", "-b:v", "2M"]
12162
12163 .IP "Description:" 4
12164 Additional \f[I]ffmpeg\f[] command-line arguments.
12165
12166
12167 .SS ugoira.mode
12168 .IP "Type:" 6
12169 \f[I]string\f[]
12170
12171 .IP "Default:" 9
12172 \f[I]"auto"\f[]
12173
12174 .IP "Description:" 4
12175 \f[I]ffmpeg\f[] demuxer to read and process input files with.
12176
12177 .IP "Supported Values:" 4
12178 \f[I]"auto"\f[]
12179 use \f[I]mkvmerge\f[] if available, fall back to \f[I]concat\f[] otherwise
12180 \f[I]"concat"\f[]
12181 https://ffmpeg.org/ffmpeg-formats.html#concat-1
12182 .br
12183 Inaccurate frame timecodes for non-uniform frame delays
12184 .br
12185 \f[I]"image2"\f[]
12186 https://ffmpeg.org/ffmpeg-formats.html#image2-1
12187 .br
12188 Accurate timecodes, requires nanosecond file timestamps, i.e. no Windows or macOS)
12189 .br
12190 \f[I]"mkvmerge"\f[]
12191 Accurate timecodes, only WebM or MKV, requires \f[I]mkvmerge\f[])
12192 \f[I]"archive"\f[]
12193 Store "original" frames in a \f[I].zip\f[] archive
12194
12195
12196 .SS ugoira.ffmpeg-location
12197 .IP "Type:" 6
12198 \f[I]Path\f[]
12199
12200 .IP "Default:" 9
12201 \f[I]"ffmpeg"\f[]
12202
12203 .IP "Description:" 4
12204 Location of the \f[I]ffmpeg\f[] (or \f[I]avconv\f[]) executable to use.
12205
12206
12207 .SS ugoira.mkvmerge-args
12208 .IP "Type:" 6
12209 \f[I]list\f[] of \f[I]strings\f[]
12210
12211 .IP "Default:" 9
12212 \f[I]null\f[]
12213
12214 .IP "Example:" 4
12215 ["--no-date", "--disable-lacing"]
12216
12217 .IP "Description:" 4
12218 Additional \f[I]mkvmerge\f[] command-line arguments.
12219
12220
12221 .SS ugoira.mkvmerge-location
12222 .IP "Type:" 6
12223 \f[I]Path\f[]
12224
12225 .IP "Default:" 9
12226 \f[I]"mkvmerge"\f[]
12227
12228 .IP "Description:" 4
12229 Location of the \f[I]mkvmerge\f[] executable for use with the
12230 \f[I]mkvmerge demuxer\f[].
12231
12232
12233 .SS ugoira.mkvmerge-metadata
12234 .IP "Type:" 6
12235 \f[I]bool\f[]
12236
12237 .IP "Default:" 9
12238 \f[I]true\f[]
12239
12240 .IP "Description:" 4
12241 Let \f[I]mkvmerge\f[] write \f[I]BPS\f[], \f[I]DURATION\f[], \f[I]NUMBER_OF_BYTES\f[],
12242 and \f[I]NUMBER_OF_FRAMES\f[] metadata tags.
12243
12244 .IP "Implementation Detail:" 4
12245 Disabling this option passes
12246 \f[I]--disable-track-statistics-tags\f[] to \f[I]mkvmerge\f[]
12247
12248
12249 .SS ugoira.mkvmerge-mtime
12250 .IP "Type:" 6
12251 \f[I]bool\f[]
12252
12253 .IP "Default:" 9
12254 \f[I]false\f[]
12255
12256 .IP "Description:" 4
12257 Set the date segment information field
12258 of files processed with \f[I]mkvmerge\f[].
12259
12260 .IP "Note::" 4
12261 Requires \f[I]mkvmerge\f[] version 95.0 or higher
12262
12263
12264 .SS ugoira.mkvmerge-output
12265 .IP "Type:" 6
12266 \f[I]bool\f[]
12267
12268 .IP "Default:" 9
12269 \f[I]false\f[]
12270
12271 .IP "Description:" 4
12272 Enable \f[I]mkvmerge\f[] output.
12273
12274
12275 .SS ugoira.ffmpeg-output
12276 .IP "Type:" 6
12277 .br
12278 * \f[I]bool\f[]
12279 .br
12280 * \f[I]string\f[]
12281
12282 .IP "Default:" 9
12283 \f[I]"error"\f[]
12284
12285 .IP "Description:" 4
12286 Controls \f[I]ffmpeg\f[] output.
12287
12288 \f[I]true\f[]
12289 Enable \f[I]ffmpeg\f[] output
12290 \f[I]false\f[]
12291 Disable all \f[I]ffmpeg\f[] output
12292 any \f[I]string\f[]
12293 Pass \f[I]-hide_banner\f[] and \f[I]-loglevel\f[]
12294 with this value as argument to \f[I]ffmpeg\f[]
12295
12296
12297 .SS ugoira.ffmpeg-twopass
12298 .IP "Type:" 6
12299 \f[I]bool\f[]
12300
12301 .IP "Default:" 9
12302 \f[I]false\f[]
12303
12304 .IP "Description:" 4
12305 Enable Two-Pass encoding.
12306
12307
12308 .SS ugoira.framerate
12309 .IP "Type:" 6
12310 \f[I]string\f[]
12311
12312 .IP "Default:" 9
12313 \f[I]"auto"\f[]
12314
12315 .IP "Description:" 4
12316 Controls the frame rate argument (\f[I]-r\f[]) for \f[I]ffmpeg\f[]
12317
12318 \f[I]"auto"\f[]
12319 Automatically assign a fitting frame rate
12320 based on delays between frames.
12321 \f[I]"uniform"\f[]
12322 Like \f[I]auto\f[], but assign an explicit frame rate
12323 only to Ugoira with uniform frame delays.
12324 any other \f[I]string\f[]
12325 Use this value as argument for \f[I]-r\f[].
12326 \f[I]null\f[] or an empty \f[I]string\f[]
12327 Don't set an explicit frame rate.
12328
12329
12330 .SS ugoira.keep-files
12331 .IP "Type:" 6
12332 \f[I]bool\f[]
12333
12334 .IP "Default:" 9
12335 \f[I]false\f[]
12336
12337 .IP "Description:" 4
12338 Keep ZIP archives after conversion.
12339
12340
12341 .SS ugoira.libx264-prevent-odd
12342 .IP "Type:" 6
12343 \f[I]bool\f[]
12344
12345 .IP "Default:" 9
12346 \f[I]true\f[]
12347
12348 .IP "Description:" 4
12349 Prevent \f[I]"width/height not divisible by 2"\f[] errors
12350 when using \f[I]libx264\f[] or \f[I]libx265\f[] encoders
12351 by applying a simple cropping filter. See this \f[I]Stack Overflow
12352 thread\f[]
12353 for more information.
12354
12355 This option, when \f[I]libx264/5\f[] is used, automatically
12356 adds \f[I]["-vf", "crop=iw-mod(iw\\\\,2):ih-mod(ih\\\\,2)"]\f[]
12357 to the list of \f[I]ffmpeg\f[] command-line arguments
12358 to reduce an odd width/height by 1 pixel and make them even.
12359
12360
12361 .SS ugoira.metadata
12362 .IP "Type:" 6
12363 .br
12364 * \f[I]bool\f[]
12365 .br
12366 * \f[I]string\f[]
12367
12368 .IP "Default:" 9
12369 \f[I]true\f[]
12370
12371 .IP "Description:" 4
12372 When using \f[I]"mode": "archive"\f[], save Ugoira frame delay data as
12373 \f[I]animation.json\f[] within the archive file.
12374
12375 If this is a \f[I]string\f[],
12376 use it as alternate filename for frame delay files.
12377
12378
12379 .SS ugoira.mtime
12380 .IP "Type:" 6
12381 \f[I]bool\f[]
12382
12383 .IP "Default:" 9
12384 \f[I]true\f[]
12385
12386 .IP "Description:" 4
12387 Set modification times of generated ugoira animations.
12388
12389
12390 .SS ugoira.repeat-last-frame
12391 .IP "Type:" 6
12392 \f[I]bool\f[]
12393
12394 .IP "Default:" 9
12395 \f[I]true\f[]
12396
12397 .IP "Description:" 4
12398 Allow repeating the last frame when necessary
12399 to prevent it from only being displayed for a very short amount of time.
12400
12401
12402 .SS ugoira.skip
12403 .IP "Type:" 6
12404 \f[I]bool\f[]
12405
12406 .IP "Default:" 9
12407 \f[I]true\f[]
12408
12409 .IP "Description:" 4
12410 Do not convert frames if target file already exists.
12411
12412
12413 .SS zip.compression
12414 .IP "Type:" 6
12415 \f[I]string\f[]
12416
12417 .IP "Default:" 9
12418 \f[I]"store"\f[]
12419
12420 .IP "Description:" 4
12421 Compression method to use when writing the archive.
12422
12423 .IP "Supported Values:" 4
12424 .br
12425 * \f[I]"store"\f[]
12426 .br
12427 * \f[I]"zip"\f[]
12428 .br
12429 * \f[I]"bzip2"\f[]
12430 .br
12431 * \f[I]"lzma"\f[]
12432
12433
12434 .SS zip.extension
12435 .IP "Type:" 6
12436 \f[I]string\f[]
12437
12438 .IP "Default:" 9
12439 \f[I]"zip"\f[]
12440
12441 .IP "Description:" 4
12442 Filename extension for the created ZIP archive.
12443
12444
12445 .SS zip.files
12446 .IP "Type:" 6
12447 \f[I]list\f[] of \f[I]Path\f[]
12448
12449 .IP "Example:" 4
12450 ["info.json"]
12451
12452 .IP "Description:" 4
12453 List of extra files to be added to a ZIP archive.
12454
12455 .IP "Note:" 4
12456 Relative paths are relative to the current
12457 \f[I]download directory\f[].
12458
12459
12460 .SS zip.keep-files
12461 .IP "Type:" 6
12462 \f[I]bool\f[]
12463
12464 .IP "Default:" 9
12465 \f[I]false\f[]
12466
12467 .IP "Description:" 4
12468 Keep the actual files after writing them to a ZIP archive.
12469
12470
12471 .SS zip.mode
12472 .IP "Type:" 6
12473 \f[I]string\f[]
12474
12475 .IP "Default:" 9
12476 \f[I]"default"\f[]
12477
12478 .IP "Description:" 4
12479 \f[I]"default"\f[]
12480 Write the central directory file header
12481 once after everything is done or an exception is raised.
12482
12483 \f[I]"safe"\f[]
12484 Update the central directory file header
12485 each time a file is stored in a ZIP archive.
12486
12487 This greatly reduces the chance a ZIP archive gets corrupted in
12488 case the Python interpreter gets shut down unexpectedly
12489 (power outage, SIGKILL) but is also a lot slower.
12490
12491
12492 .SH MISCELLANEOUS OPTIONS
12493 .SS extractor.modules
12494 .IP "Type:" 6
12495 \f[I]list\f[] of \f[I]strings\f[]
12496
12497 .IP "Default:" 9
12498 The \f[I]modules\f[] list in
12499 \f[I]extractor/__init__.py\f[]
12500
12501 .IP "Example:" 4
12502 ["reddit", "danbooru", "mangadex"]
12503
12504 .IP "Description:" 4
12505 List of internal modules to load when searching for a suitable
12506 extractor class. Useful to reduce startup time and memory usage.
12507
12508
12509 .SS extractor.module-sources
12510 .IP "Type:" 6
12511 .br
12512 * \f[I]list\f[] of \f[I]Path\f[] instances
12513 .br
12514 * \f[I]list\f[] of \f[I]object\f[]
12515
12516 .IP "Example:" 4
12517 .. code:: json
12518
12519 ["~/.config/gallery-dl/modules", null]
12520
12521 .. code:: json
12522
12523 [
12524 {
12525 "from": "~/.config/gallery-dl/modules",
12526 "import": ["custom_module1", "custom_module2"]
12527 },
12528 null
12529 ]
12530
12531
12532 .IP "Description:" 4
12533 List of sources to load (external) extractor modules from.
12534
12535 The following elements are supported:
12536
12537 \f[I]Path\f[]
12538 A path to a directory containing custom extractor modules.
12539 .br
12540 All files in this directory with a \f[I].py\f[] filename extension
12541 .br
12542 will be \f[I]imported\f[]
12543 and searched for extractors, i.e. classes with a \f[I]pattern\f[] attribute.
12544 \f[I]object\f[]
12545 An object describing module
12546 \f[I]imports\f[]
12547 in a specific directory.
12548
12549 The following keys are required:
12550
12551 \f[I]from\f[]
12552 A \f[I]Path\f[] to the directory the modules are located in.
12553 .br
12554 This directory will be available on the module search path (\f[I]sys.path\f[]) during import.
12555 .br
12556 \f[I]ìmport\f[]
12557 A \f[I]list\f[] of \f[I]strings\f[] of filenames to import.
12558 .br
12559 The names must be given without \f[I].py\f[] extension.
12560 .br
12561 \f[I]null\f[]
12562 Internal extractors defined in
12563 \f[I]extractor/__init__.py\f[]
12564 or by \f[I]extractor.modules\f[].
12565
12566
12567 .SS extractor.category-map
12568 .IP "Type:" 6
12569 .br
12570 * \f[I]object\f[] (category → category)
12571 .br
12572 * \f[I]string\f[]
12573
12574 .IP "Example:" 4
12575 .. code:: json
12576
12577 {
12578 "danbooru": "booru",
12579 "gelbooru": "booru"
12580 }
12581
12582 .IP "Description:" 4
12583 A JSON object mapping category names to their replacements.
12584
12585 .IP "Special Values:" 4
12586 .br
12587 * \f[I]"compat"\f[]
12588 .. code:: json
12589
12590 {
12591 "coomer" : "coomerparty",
12592 "kemono" : "kemonoparty",
12593 "turbo" : "saint",
12594 "schalenetwork": "koharu",
12595 "naver-chzzk" : "chzzk",
12596 "naver-blog" : "naver",
12597 "naver-webtoon": "naverwebtoon",
12598 "pixiv-novel" : "pixiv",
12599 "pixiv-novel:novel" : ["pixiv", "novel"],
12600 "pixiv-novel:user" : ["pixiv", "novel-user"],
12601 "pixiv-novel:series" : ["pixiv", "novel-series"],
12602 "pixiv-novel:bookmark": ["pixiv", "novel-bookmark"]
12603 }
12604
12605
12606 .SS extractor.config-map
12607 .IP "Type:" 6
12608 .br
12609 * \f[I]object\f[] (src-category → dest-category)
12610 .br
12611 * \f[I]list\f[] of [src-category, dest-category] pairs
12612
12613 .IP "Default:" 9
12614 .. code:: json
12615
12616 {
12617 "coomerparty" : "coomer",
12618 "kemonoparty" : "kemono",
12619 "giantessbooru": "sizebooru",
12620 "koharu" : "schalenetwork",
12621 "chzzk" : "naver-chzzk",
12622 "naver" : "naver-blog",
12623 "naverwebtoon" : "naver-webtoon",
12624 "pixiv" : "pixiv-novel",
12625 "saint" : "turbo"
12626 }
12627
12628 .IP "Description:" 4
12629 Duplicate the configuration settings of extractor categories
12630 to other names.
12631
12632 For example, a \f[I]"naver": "naver-blog"\f[] key-value pair will make all
12633 \f[I]naver\f[] config settings available for \f[I]naver-blog\f[] extractors as well.
12634
12635
12636 .SS jinja.environment
12637 .IP "Type:" 6
12638 \f[I]object\f[] (name → value)
12639
12640 .IP "Example:" 4
12641 .. code:: json
12642
12643 {
12644 "variable_start_string": "(((",
12645 "variable_end_string" : ")))",
12646 "keep_trailing_newline": true
12647 }
12648
12649 .IP "Description:" 4
12650 Initialization parameters for the \f[I]jinja\f[]
12651 \f[I]Environment\f[]
12652 object.
12653
12654
12655 .SS jinja.policies
12656 .IP "Type:" 6
12657 \f[I]object\f[] (name → value)
12658
12659 .IP "Example:" 4
12660 .. code:: json
12661
12662 {
12663 "urlize.rel": "nofollow noopener",
12664 "ext.i18n.trimmed": true
12665 }
12666
12667 .IP "Description:" 4
12668 \f[I]jinja\f[]
12669 \f[I]Policies\f[]
12670
12671
12672 .SS jinja.filters
12673 .IP "Type:" 6
12674 \f[I]Module\f[]
12675
12676 .IP "Description:" 4
12677 A Python \f[I]Module\f[] containing custom \f[I]jinja\f[]
12678 \f[I]filters\f[]
12679
12680
12681 .SS jinja.tests
12682 .IP "Type:" 6
12683 \f[I]Module\f[]
12684
12685 .IP "Description:" 4
12686 A Python \f[I]Module\f[] containing custom \f[I]jinja\f[]
12687 \f[I]tests\f[]
12688
12689
12690 .SS globals
12691 .IP "Type:" 6
12692 \f[I]Module\f[]
12693
12694 .IP "Description:" 4
12695 A Python \f[I]Module\f[] whose namespace,
12696 in addition to the \f[I]GLOBALS\f[] dict in
12697 \f[I]util.py\f[],
12698 is used as \f[I]globals parameter\f[] for compiled Expressions_.
12699
12700
12701 .SS cache.file
12702 .IP "Type:" 6
12703 \f[I]Path\f[]
12704
12705 .IP "Default:" 9
12706 .br
12707 * (\f[I]%APPDATA%\f[] or \f[I]"~"\f[]) + \f[I]"/gallery-dl/cache.sqlite3"\f[] on Windows
12708 .br
12709 * (\f[I]$XDG_CACHE_HOME\f[] or \f[I]"~/.cache"\f[]) + \f[I]"/gallery-dl/cache.sqlite3"\f[] on all other platforms
12710
12711 .IP "Description:" 4
12712 Path of the SQLite3 database used to cache login sessions,
12713 cookies and API tokens across gallery-dl invocations.
12714
12715 Set this option to \f[I]":memory:"\f[], \f[I]null\f[], or an invalid path
12716 to disable creating a file for this cache.
12717
12718
12719 .SS environment
12720 .IP "Type:" 6
12721 .br
12722 * \f[I]object\f[] (name → value)
12723 .br
12724 * \f[I]list\f[] of [name, value] pairs
12725
12726 .IP "Example:" 4
12727 .. code:: json
12728
12729 {
12730 "_config" : "~/.config/gallery-dl",
12731 "_cookies": "$_config/cookies"
12732 }
12733
12734 .. code:: json
12735
12736 [
12737 ["_config" , "~/.config/gallery-dl"],
12738 ["_cookies", "$_config/cookies"]
12739 ]
12740
12741 .IP "Description:" 4
12742 Additional environment variable values
12743 that get set during program initialization.
12744
12745 .IP "Note:" 4
12746 These can then be used as replacements in \f[I]Path\f[] values.
12747
12748
12749 .SS environment-expand
12750 .IP "Type:" 6
12751 \f[I]bool\f[]
12752
12753 .IP "Default:" 9
12754 \f[I]true\f[]
12755
12756 .IP "Description:" 4
12757 Expand environment variables and tildes ~ in \f[I]environment\f[] values.
12758
12759
12760 .SS filters-environment
12761 .IP "Type:" 6
12762 .br
12763 * \f[I]bool\f[]
12764 .br
12765 * \f[I]string\f[]
12766
12767 .IP "Default:" 9
12768 \f[I]true\f[]
12769
12770 .IP "Description:" 4
12771 Evaluate \f[I]Expressions\f[] in a special environment
12772 preventing them from raising fatal exceptions.
12773
12774 \f[I]true\f[] \f[I] \f[I]"tryexcept"\f[]
12775 Wrap expressions in a try/except block;
12776 Evaluate expressions raising an exception as \f[I]false\f[]
12777 \f[I]false\f[] \f[] \f[I]"raw"\f[]
12778 Do not wrap expressions in a special environment
12779 \f[I]"defaultdict"\f[]
12780 Prevent exceptions when accessing undefined variables
12781 by using a \f[I]defaultdict\f[]
12782
12783
12784 .SS format-operator-dot
12785 .IP "Type:" 6
12786 \f[I]bool\f[]
12787
12788 .IP "Default:" 9
12789 \f[I]true\f[]
12790
12791 .IP "Description:" 4
12792 In standard \f[I]Format Strings\f[], allow the dot operator \f[I].\f[]
12793 to function as a general access operator
12794 in addition to regular attribute access.
12795
12796 .br
12797 * \f[I]obj.attribute\f[]
12798 .br
12799 * \f[I]dict.fieldname\f[]
12800 .br
12801 * \f[I]list.123\f[]
12802
12803
12804 .SS format-separator
12805 .IP "Type:" 6
12806 \f[I]string\f[]
12807
12808 .IP "Default:" 9
12809 \f[I]"/"\f[]
12810
12811 .IP "Description:" 4
12812 Character(s) used as argument separator in \f[I]Format String\f[]
12813 \f[I]format specifiers\f[].
12814
12815 For example, setting this option to \f[I]"#"\f[] would allow a replacement
12816 operation to be \f[I]Rold#new#\f[] instead of the default \f[I]Rold/new/\f[]
12817
12818
12819 .SS input-files
12820 .IP "Type:" 6
12821 \f[I]list\f[] of \f[I]Path\f[]
12822
12823 .IP "Example:" 4
12824 ["~/urls.txt", "$HOME/input"]
12825
12826 .IP "Description:" 4
12827 Additional input files.
12828
12829
12830 .SS signals-ignore
12831 .IP "Type:" 6
12832 \f[I]list\f[] of \f[I]strings\f[]
12833
12834 .IP "Example:" 4
12835 ["SIGTTOU", "SIGTTIN", "SIGTERM"]
12836
12837 .IP "Description:" 4
12838 The list of signal names to ignore, i.e. set
12839 \f[I]SIG_IGN\f[]
12840 as signal handler for.
12841
12842
12843 .SS signals-actions
12844 .IP "Type:" 6
12845 \f[I]object\f[] (signal → \f[I]Action(s)\f[])
12846
12847 .IP "Example:" 4
12848 .. code:: json
12849
12850 {
12851 "SIGINT" : "flag download = stop",
12852 "SIGUSR1": [
12853 "print Received SIGUSR1",
12854 "exec notify.sh",
12855 "exit 127"
12856 ]
12857 }
12858
12859 .IP "Description:" 4
12860 \f[I]Action(s)\f[] to perform when a
12861 \f[I]signal\f[]
12862 is received.
12863
12864
12865 .SS subconfigs
12866 .IP "Type:" 6
12867 \f[I]list\f[] of \f[I]Path\f[]
12868
12869 .IP "Example:" 4
12870 ["~/cfg-twitter.json", "~/cfg-reddit.json"]
12871
12872 .IP "Description:" 4
12873 Additional configuration files to load.
12874
12875
12876 .SS warnings
12877 .IP "Type:" 6
12878 \f[I]string\f[]
12879
12880 .IP "Default:" 9
12881 \f[I]"default"\f[]
12882
12883 .IP "Description:" 4
12884 The \f[I]Warnings Filter action\f[]
12885 used for (urllib3) warnings.
12886
12887
12888 .SS server.host
12889 .IP "Type:" 6
12890 \f[I]string\f[]
12891
12892 .IP "Default:" 9
12893 \f[I]"127.0.0.1"\f[]
12894
12895 .IP "Description:" 4
12896 Host to bind the server/socket to.
12897
12898
12899 .SS server.port
12900 .IP "Type:" 6
12901 \f[I]int\f[]
12902
12903 .IP "Default:" 9
12904 \f[I]64696\f[]
12905
12906 .IP "Description:" 4
12907 Port to bind the server/socket to.
12908
12909
12910 .SS server.key
12911 .IP "Type:" 6
12912 \f[I]string\f[]
12913
12914 .IP "Default:" 9
12915 \f[I]"gallery_dl"\f[]
12916
12917 .IP "Description:" 4
12918 A string that is added to the front of each request to differentiate and
12919 avoid random requests sent to the listener from the gallery_dl specific ones.
12920
12921
12922 .SS server.enabled
12923 .IP "Type:" 6
12924 \f[I]bool\f[]
12925
12926 .IP "Default:" 9
12927 \f[I]false\f[]
12928
12929 .IP "Description:" 4
12930 Send input URLs to a gallery-dl server queue.
12931
12932
12933 .SS server.timeout
12934 .IP "Type:" 6
12935 \f[I]int\f[]
12936
12937 .IP "Default:" 9
12938 \f[I]10\f[]
12939
12940 .IP "Description:" 4
12941 Sets maximum timeout before queue ends and turns off the server if
12942 queue is empty. If set to -1, then the server will run forever.
12943
12944
12945 .SH API TOKENS & IDS
12946 .SS extractor.deviantart.client-id & .client-secret
12947 .IP "Type:" 6
12948 \f[I]string\f[]
12949
12950 .IP "How To:" 4
12951 .br
12952 * login and visit DeviantArt's
12953 \f[I]Applications & Keys\f[]
12954 section
12955 .br
12956 * click "Register Application"
12957 .br
12958 * scroll to "OAuth2 Redirect URI Whitelist (Required)"
12959 and enter "https://mikf.github.io/gallery-dl/oauth-redirect.html"
12960 .br
12961 * scroll to the bottom and agree to the API License Agreement.
12962 Submission Policy, and Terms of Service.
12963 .br
12964 * click "Save"
12965 .br
12966 * copy \f[I]client_id\f[] and \f[I]client_secret\f[] of your new
12967 application and put them in your configuration file
12968 as \f[I]"client-id"\f[] and \f[I]"client-secret"\f[]
12969 .br
12970 * clear your \f[I]cache\f[] to delete any remaining
12971 \f[I]access-token\f[] entries. (\f[I]gallery-dl --clear-cache deviantart\f[])
12972 .br
12973 * get a new \f[I]refresh-token\f[] for the
12974 new \f[I]client-id\f[] (\f[I]gallery-dl oauth:deviantart\f[])
12975
12976
12977 .SS extractor.flickr.api-key & .api-secret
12978 .IP "Type:" 6
12979 \f[I]string\f[]
12980
12981 .IP "How To:" 4
12982 .br
12983 * login and \f[I]Create an App\f[]
12984 in Flickr's \f[I]App Garden\f[]
12985 .br
12986 * click "APPLY FOR A NON-COMMERCIAL KEY"
12987 .br
12988 * fill out the form with a random name and description
12989 and click "SUBMIT"
12990 .br
12991 * copy \f[I]Key\f[] and \f[I]Secret\f[] and put them in your configuration file
12992 as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[]
12993
12994
12995 .SS extractor.mangadex.client-id & .client-secret
12996 .IP "Type:" 6
12997 \f[I]string\f[]
12998
12999 .IP "How To:" 4
13000 .br
13001 * login and go to your \f[I]User Settings\f[]
13002 .br
13003 * open the "API Clients" section
13004 .br
13005 * click "\f[I]+ Create\f[]"
13006 .br
13007 * choose a name
13008 .br
13009 * click "\f[I]✔️ Create\f[]"
13010 .br
13011 * wait for approval / reload the page
13012 .br
13013 * copy the value after "AUTOAPPROVED ACTIVE" in the form "personal-client-..."
13014 and put it in your configuration file as \f[I]"client-id"\f[]
13015 .br
13016 * click "\f[I]Get Secret\f[]", then "\f[I]Copy Secret\f[]",
13017 and paste it into your configuration file as \f[I]"client-secret"\f[]
13018
13019
13020 .SS extractor.reddit.client-id & .user-agent-oauth
13021 .IP "Type:" 6
13022 \f[I]string\f[]
13023
13024 .IP "How To:" 4
13025 .br
13026 * login and visit the \f[I]apps\f[]
13027 section of your account's preferences
13028 .br
13029 * click the "are you a developer? create an app..." button
13030 .br
13031 * fill out the form:
13032
13033 .br
13034 * choose a name
13035 .br
13036 * select "installed app"
13037 .br
13038 * set "redirect uri" to http://localhost:6414/
13039 .br
13040 * solve the "I'm not a robot" challenge if needed
13041 .br
13042 * click "create app"
13043
13044 .br
13045 * copy the client id (third line, under your application's name and
13046 "installed app") and put it in your configuration file
13047 as \f[I]"client-id"\f[]
13048 .br
13049 * use "\f[I]Python:<application name>:v1.0 (by /u/<username>)\f[]" as
13050 \f[I]user-agent-oauth\f[] and replace \f[I]<application name>\f[] and \f[I]<username>\f[]
13051 accordingly (see Reddit's
13052 \f[I]API access rules\f[])
13053 .br
13054 * clear your \f[I]cache\f[] to delete any remaining
13055 \f[I]access-token\f[] entries. (\f[I]gallery-dl --clear-cache reddit\f[])
13056 .br
13057 * get a \f[I]refresh-token\f[] for the
13058 new \f[I]client-id\f[] (\f[I]gallery-dl oauth:reddit\f[])
13059
13060
13061 .SS extractor.smugmug.api-key & .api-secret
13062 .IP "Type:" 6
13063 \f[I]string\f[]
13064
13065 .IP "How To:" 4
13066 .br
13067 * login and \f[I]Apply for an API Key\f[]
13068 .br
13069 * fill out the form:
13070
13071 .br
13072 * choose a random name and description
13073 .br
13074 * set "Type" to "Application"
13075 .br
13076 * set "Platform" to "All"
13077 .br
13078 * set "Use" to "Non-Commercial"
13079 .br
13080 * tick the two checkboxes at the bottom
13081 .br
13082 * click "Apply"
13083
13084 .br
13085 * copy \f[I]API Key\f[] and \f[I]API Secret\f[]
13086 and put them in your configuration file
13087 as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[]
13088
13089
13090 .SS extractor.tumblr.api-key & .api-secret
13091 .IP "Type:" 6
13092 \f[I]string\f[]
13093
13094 .IP "How To:" 4
13095 .br
13096 * login and visit Tumblr's
13097 \f[I]Applications\f[] section
13098 .br
13099 * click "Register application"
13100 .br
13101 * fill out the form:
13102
13103 .br
13104 * choose a random name and description
13105 .br
13106 * set "Application Website" to https://example.org/
13107 .br
13108 * set "Default callback URL" to https://example.org/
13109 .br
13110 * solve the "I'm not a robot" challenge
13111 .br
13112 * click "Register"
13113
13114 .br
13115 * click "Show secret key" (below "OAuth Consumer Key")
13116 .br
13117 * copy your \f[I]OAuth Consumer Key\f[] and \f[I]Secret Key\f[]
13118 and put them in your configuration file
13119 as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[]
13120
13121
13122 .SH CUSTOM TYPES
13123 .SS Date
13124 .IP "Type:" 6
13125 .br
13126 * \f[I]string\f[]
13127 .br
13128 * \f[I]integer\f[]
13129
13130 .IP "Example:" 4
13131 .br
13132 * "2019-01-01"
13133 .br
13134 * "2019-01-01 03:00:00"
13135 .br
13136 * "2019-03-08T12:30:00Z"
13137 .br
13138 * 1546297200
13139
13140 .IP "Description:" 4
13141 A \f[I]Date\f[] value represents a specific point in time.
13142
13143 .br
13144 * If given as \f[I]string\f[], it is parsed according to \f[I]ISO 8601\f[].
13145 .br
13146 * If given as \f[I]integer\f[], it is interpreted as UTC timestamp.
13147
13148
13149 .SS Duration
13150 .IP "Type:" 6
13151 .br
13152 * \f[I]float\f[]
13153 .br
13154 * \f[I]list\f[] with 2 \f[I]floats\f[]
13155 .br
13156 * \f[I]string\f[]
13157
13158 .IP "Example:" 4
13159 .br
13160 * 2.85
13161 .br
13162 * [1.5, 3.0]
13163 .br
13164 * "2.85", "1.5-3.0"
13165
13166 .IP "Description:" 4
13167 A \f[I]Duration\f[] represents a span of time in seconds.
13168
13169 .br
13170 * If given as a single \f[I]float\f[], it will be used as that exact value.
13171 .br
13172 * If given as a \f[I]list\f[] with 2 floating-point numbers \f[I]a\f[] & \f[I]b\f[] ,
13173 it will be randomly chosen with uniform distribution such that \f[I]a <= N <= b\f[].
13174 (see \f[I]random.uniform()\f[])
13175 .br
13176 * If given as a \f[I]string\f[], it can either represent a single \f[I]float\f[]
13177 value (\f[I]"2.85"\f[]) or a range (\f[I]"1.5-3.0"\f[]).
13178
13179
13180 .SS Duration+
13181 .IP "Type:" 6
13182 .br
13183 * \f[I]Duration\f[]
13184 .br
13185 * \f[I]string\f[]
13186
13187 .IP "Example:" 4
13188 .br
13189 * "1.5-3.0"
13190 .br
13191 * "lin=5"
13192 .br
13193 * "lin:20=30-60"
13194 .br
13195 * "exp:1.8=40"
13196
13197 .IP "Description:" 4
13198 A \f[I]Duration\f[] value.
13199
13200 When given as \f[I]string\f[], it can optionally be prefixed with
13201 \f[I]lin[:START[:MAX]]=\f[] for linear or
13202 \f[I]exp[:BASE[:START[:MAX]]]=\f[] for exponential growth.
13203
13204
13205 .SS Module
13206 .IP "Type:" 6
13207 .br
13208 * \f[I]string\f[]
13209 .br
13210 * \f[I]Path\f[]
13211
13212 .IP "Example:" 4
13213 .br
13214 * "gdl_utils"
13215 .br
13216 * "~/.local/share/gdl/"
13217 .br
13218 * "~/.local/share/gdl_utils.py"
13219
13220 .IP "Description:" 4
13221 A Python
13222 \f[I]Module\f[]
13223
13224 This can be one of
13225
13226 .br
13227 * the name of an
13228 \f[I]importable\f[]
13229 Python module
13230 .br
13231 * the \f[I]Path\f[] to a Python
13232 \f[I]package\f[]
13233 .br
13234 * the \f[I]Path\f[] to a .py file
13235
13236 See
13237 \f[I]Python/Modules\f[]
13238 for details.
13239
13240
13241 .SS Path
13242 .IP "Type:" 6
13243 \f[I]string\f[]
13244
13245 .IP "Example:" 4
13246 .br
13247 * "file.ext"
13248 .br
13249 * "~/path/to/file.ext"
13250 .br
13251 * "$HOME/path/to/file.ext"
13252 .br
13253 * "C:\\\\path\\\\to\\\\file.ext"
13254
13255 .IP "Description:" 4
13256 A \f[I]Path\f[] is a \f[I]string\f[] representing the location
13257 of a file or directory.
13258
13259 Simple \f[I]tilde expansion\f[]
13260 and \f[I]environment variable expansion\f[]
13261 is supported.
13262
13263 .IP "Note:" 4
13264 In Windows environments,
13265 both backslashes \f[I]\\\f[] as well as forward slashes \f[I]/\f[]
13266 can be used as path separators.
13267
13268 However, since backslashes are JSON's escape character,
13269 they themselves must be escaped as \f[I]\\\\\f[].
13270
13271 For example, a path like \f[I]C:\\path\\to\\file.ext\f[] has to be specified as
13272
13273 .br
13274 * \f[I]"C:\\\\path\\\\to\\\\file.ext"\f[] when using backslashes
13275 .br
13276 * \f[I]"C:/path/to/file.ext"\f[] when using forward slashes
13277
13278 in a JSON file.
13279
13280
13281 .SS Path+
13282 .IP "Type:" 6
13283 .br
13284 * \f[I]Path\f[]
13285 .br
13286 * \f[I]list\f[] of \f[I]Format Strings\f[]
13287
13288 .IP "Example:" 4
13289 .br
13290 * "file.ext"
13291 .br
13292 * [":b", "{category}", "{user}.sqlite3"]
13293 .br
13294 * [":~", "gdl", "{category}", "{user}.sqlite3"]
13295 .br
13296 * [":$HOME", "gdl", "{category}", "{user}.sqlite3"]
13297 .br
13298 * ["/opt", "archives", "{category}", "{user}.sqlite3"]
13299 .br
13300 * ["C:", "archives", "{category}", "{user}.sqlite3"]
13301 .br
13302 * ["\\\\\\\\server\\\\archives", "{category}", "{user}.sqlite3"]
13303
13304 .IP "Description:" 4
13305 A \f[I]Path\f[] that supports
13306 \f[I]path-restricted\f[]
13307 \f[I]Format String\f[] expansion
13308 when given as a \f[I]list\f[] of \f[I]string\f[] values.
13309
13310 Use a string starting with \f[I]:\f[] as first list element
13311 to prefix the path with one of the following:
13312
13313 \f[I]":"\f[] \f[I] \f[I]":b"\f[] \f[] \f[I]":base"\f[]
13314 \f[I]base-directory\f[]
13315 \f[I]":d"\f[] \f[I] \f[I]":dir"\f[]
13316 \f[I]base-directory\f[] +
13317 \f[I]directory\f[]
13318 \f[I]":~"\f[] \f[] \f[I]":~USER"\f[]
13319 home directory
13320 (\f[I]os.path.expanduser\f[])
13321 \f[I]":$ENV"\f[] (\f[I]$\f[] + environment variable name)
13322 value of environment variable
13323
13324 Use \f[I]<drive-letter>:\f[] or \f[I]\\\\\f[] on Windows
13325 or \f[I]/\f[] on other platforms
13326 as starting characters of the first list element
13327 to interpret this as an absolute path.
13328
13329 Otherwise it is interpreted as a path
13330 relative to the current working directory.
13331
13332
13333 .SS Logging Configuration
13334 .IP "Type:" 6
13335 \f[I]object\f[]
13336
13337 .IP "Example:" 4
13338 .. code:: json
13339
13340 {
13341 "format" : "{asctime} {name}: {message}",
13342 "format-date": "%H:%M:%S",
13343 "path" : "~/log.txt",
13344 "encoding" : "ascii",
13345 "defer" : true
13346 }
13347
13348 .. code:: json
13349
13350 {
13351 "level" : "debug",
13352 "format": {
13353 "debug" : "debug: {message}",
13354 "info" : "[{name}] {message}",
13355 "warning": "Warning: {message}",
13356 "error" : "ERROR: {message}"
13357 }
13358 }
13359
13360
13361 .IP "Description:" 4
13362 Extended logging output configuration.
13363
13364 .br
13365 * format
13366 .br
13367 * General \f[I]Format String\f[] for logging messages
13368 or an \f[I]object\f[] with \f[I]Format Strings\f[] for each loglevel.
13369
13370 In addition to the default
13371 \f[I]LogRecord attributes\f[],
13372 it is also possible to access the current
13373 \f[I]extractor\f[],
13374 \f[I]job\f[],
13375 \f[I]path\f[],
13376 and keywords objects and their attributes, for example
13377 \f[I]"{extractor.url}"\f[], \f[I]"{path.filename}"\f[], \f[I]"{keywords.title}"\f[]
13378 .br
13379 * Default:
13380 \f[I]"[{name}][{levelname}] {message}"\f[] for
13381 \f[I]logfile\f[],
13382 \f[I]"{message}"\f[] for
13383 \f[I]unsupportedfile\f[] and
13384 \f[I]errorfile\f[]
13385 .br
13386 * format-date
13387 .br
13388 * Format string for \f[I]{asctime}\f[] fields in logging messages
13389 (see \f[I]strftime() directives\f[])
13390 .br
13391 * Default: \f[I]"%Y-%m-%d %H:%M:%S"\f[]
13392 .br
13393 * level
13394 .br
13395 * Minimum logging message level
13396 (one of \f[I]"debug"\f[], \f[I]"info"\f[], \f[I]"warning"\f[], \f[I]"error"\f[], \f[I]"exception"\f[])
13397 .br
13398 * Default: \f[I]"info"\f[]
13399 .br
13400 * path
13401 .br
13402 * \f[I]Path\f[] to the output file
13403 .br
13404 * mode
13405 .br
13406 * Mode in which the file is opened;
13407 use \f[I]"w"\f[] to truncate or \f[I]"a"\f[] to append
13408 (see \f[I]open()\f[])
13409 .br
13410 * Default:
13411 \f[I]"w"\f[] for
13412 \f[I]logfile\f[] and
13413 \f[I]unsupportedfile\f[],
13414 \f[I]"a"\f[] for
13415 \f[I]errorfile\f[]
13416 .br
13417 * encoding
13418 .br
13419 * File encoding
13420 .br
13421 * Default: \f[I]"utf-8"\f[]
13422 .br
13423 * defer
13424 .br
13425 * Defer file opening/creation until writing the first logging message
13426 .br
13427 * Default:
13428 \f[I]false\f[] for
13429 \f[I]logfile\f[],
13430 \f[I]true\f[] for
13431 \f[I]unsupportedfile\f[] and
13432 \f[I]errorfile\f[]
13433
13434
13435 .IP "Note:" 4
13436 path, mode, encoding, and defer
13437 are only applied when configuring logging output to a file.
13438 (See \f[I]logging.FileHandler\f[])
13439
13440
13441 .SS Postprocessor Configuration
13442 .IP "Type:" 6
13443 \f[I]object\f[]
13444
13445 .IP "Example:" 4
13446 .. code:: json
13447
13448 { "name": "mtime" }
13449
13450 .. code:: json
13451
13452 {
13453 "name" : "metadata/print@prepare",
13454 "format": "{id}: {date}"
13455 }
13456
13457 .. code:: json
13458
13459 {
13460 "name" : "zip",
13461 "compression": "store",
13462 "extension" : "cbz",
13463 "filter" : "extension not in ('zip', 'rar')",
13464 "whitelist" : ["mangadex", "exhentai", "nhentai"]
13465 }
13466
13467 .IP "Description:" 4
13468 An \f[I]object\f[] containing a \f[I]"name"\f[] attribute specifying the
13469 post-processor type, as well as any of its \f[I]options\f[].
13470
13471 .br
13472 * It is possible to set a \f[I]"filter"\f[] \f[I]Condition\f[] similar to
13473 \f[I]file-filter\f[]
13474 to only run a post-processor conditionally.
13475
13476 .br
13477 * It is possible set a \f[I]"whitelist"\f[] or \f[I]"blacklist"\f[] to
13478 only enable or disable a post-processor for the specified
13479 extractor categories.
13480
13481 .br
13482 * It is possible to specify a post-processor's \f[I]mode\f[] & \f[I]event\f[]
13483 as part of its \f[I]name\f[] by adding \f[I]/MODE\f[] & \f[I]@EVENT\f[].
13484 For example
13485
13486 .br
13487 * \f[I]"name": "metadata/jsonl@post"\f[]
13488 .br
13489 * \f[I]"name": "ugoira/archive"\f[]
13490 .br
13491 * \f[I]"name": "exec@error"\f[]
13492
13493 .br
13494 * It is possible to inherit options from a post-processor preset defined
13495 in the global \f[I]postprocessor\f[] block by using \f[I]"type": "NAME"\f[].
13496 For example
13497
13498 .. code:: json
13499
13500 {
13501 "extractor": {
13502 "postprocessors": {
13503 "#": "inherit from 'jl' preset",
13504 "type": "jl",
13505 "filename": "meta.jsonl"
13506 }
13507 },
13508
13509 "postprocessor": {
13510 "jl": {
13511 "name": "metadata/jsonl",
13512 "open": "a"
13513 }
13514 }
13515 }
13516
13517 .IP "Available Post-Processor Types:" 4
13518 \f[I]actions\f[]
13519 Perform \f[I]Action(s)\f[]
13520 \f[I]classify\f[]
13521 Categorize files by filename extension
13522 \f[I]compare\f[]
13523 Compare versions of the same file and replace/enumerate them on mismatch
13524 .br
13525 (requires \f[I]downloader.*.part\f[] = \f[I]true\f[] and \f[I]extractor.*.skip\f[] = \f[I]false\f[])
13526 .br
13527 \f[I]directory\f[]
13528 Reevaluate \f[I]directory\f[] \f[I]Format Strings\f[]
13529 \f[I]exec\f[]
13530 Execute external commands
13531 \f[I]hash\f[]
13532 Compute file hash digests
13533 \f[I]metadata\f[]
13534 Write metadata to separate files
13535 \f[I]mtime\f[]
13536 Set file modification time according to its metadata
13537 \f[I]python\f[]
13538 Call Python functions
13539 \f[I]rename\f[]
13540 Rename previously downloaded files
13541 \f[I]ugoira\f[]
13542 Convert Pixiv Ugoira to WebM using \f[I]ffmpeg\f[]
13543 \f[I]zip\f[]
13544 Store files in a ZIP archive
13545
13546
13547 .SS Action
13548 .IP "Type:" 6
13549 \f[I]string\f[]
13550
13551 .IP "Example:" 4
13552 .br
13553 * "exit"
13554 .br
13555 * "print Hello World"
13556 .br
13557 * "raise AbortExtraction an error occured"
13558 .br
13559 * "flag file = terminate"
13560 .br
13561 * "keyword title Hello World"
13562 .br
13563 * ["print Exiting", "exit 1"]
13564
13565 .IP "Description:" 4
13566 An \f[I]Action\f[] is parsed as Action Type
13567 followed by (optional) arguments:
13568 \f[I]<type> <arg1> <arg2> …\f[]
13569
13570 It is possible to specify more than one \f[I]action\f[]
13571 by providing them as a \f[I]list\f[]: \f[I]["<action1>", "<action2>", …]\f[]
13572
13573 Supported Action Types:
13574
13575 \f[I]status\f[]:
13576 Modify job exit status.
13577 .br
13578 Expected syntax is \f[I]<operator> <value>\f[] (e.g. \f[I]= 100\f[]).
13579 .br
13580
13581 Supported operators are
13582 \f[I]=\f[] (assignment),
13583 \f[I]&\f[] (bitwise AND),
13584 \f[I]|\f[] (bitwise OR),
13585 \f[I]^\f[] (bitwise XOR).
13586 \f[I]level\f[]:
13587 Modify severity level of the current logging message.
13588 .br
13589 Can be one of \f[I]debug\f[], \f[I]info\f[], \f[I]warning\f[], \f[I]error\f[] or an integer value.
13590 .br
13591 Use \f[I]0\f[] to ignore a message (\f[I]level = 0\f[]).
13592 .br
13593 \f[I]print\f[]:
13594 Write argument to stdout.
13595 \f[I]exec\f[]:
13596 Run a shell command.
13597 \f[I]abort\f[]:
13598 Stop the current extractor run.
13599 \f[I]terminate\f[]:
13600 Stop the current extractor run, including parent extractors.
13601 \f[I]restart\f[]:
13602 Restart the current extractor run.
13603 \f[I]raise\f[]:
13604 Raise an exception.
13605
13606 This can be an exception defined in
13607 \f[I]exception.py\f[]
13608 or a
13609 \f[I]built-in exception\f[]
13610 (e.g. \f[I]ZeroDivisionError\f[])
13611 \f[I]flag\f[]:
13612 Set a \f[I]flag\f[].
13613
13614 Expected syntax is \f[I]<flag>[ = <value>]\f[] (e.g. \f[I]post = stop\f[])
13615 .br
13616 \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[]
13617 .br
13618 \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[])
13619 .br
13620 \f[I]keyword\f[]:
13621 Set a \f[I]keyword\f[] value
13622 \f[I]wait\f[]:
13623 Sleep for a given \f[I]Duration\f[] or
13624 .br
13625 wait until Enter is pressed when no argument was given.
13626 .br
13627 \f[I]exit\f[]:
13628 Exit the program with the given argument as exit status.
13629
13630
13631 .SS Expression
13632 .IP "Type:" 6
13633 \f[I]string\f[]
13634
13635 .IP "Example:" 4
13636 .br
13637 * "1 + 2 + 3"
13638 .br
13639 * "str(id) + '_' + title"
13640 .br
13641 * "' - '.join(tags[:3]) if tags else 'no tags'"
13642
13643 .IP "Description:" 4
13644 A Python \f[I]Expression\f[] is a combination of
13645 values, variables, operators, and function calls
13646 that evaluate to a single value.
13647
13648 .IP "Reference:" 4
13649 .br
13650 * https://docs.python.org/3/reference/expressions.html
13651
13652
13653 .SS Condition
13654 .IP "Type:" 6
13655 .br
13656 * \f[I]Expression\f[]
13657 .br
13658 * \f[I]list\f[] of \f[I]Expressions\f[]
13659
13660 .IP "Example:" 4
13661 .br
13662 * "not is_watching"
13663 .br
13664 * "locals().get('optional')"
13665 .br
13666 * "date >= datetime(2025, 7, 1) or abort()"
13667 .br
13668 * ["width > 800", "0.9 < width/height < 1.1"]
13669
13670 .IP "Description:" 4
13671 A \f[I]Condition\f[] is an \f[I]Expression\f[]
13672 whose result is evaluated as a \f[I]type-bool\f[] value.
13673
13674
13675 .SS Format String
13676 .IP "Type:" 6
13677 \f[I]string\f[]
13678
13679 .IP "Example:" 4
13680 .br
13681 * "foo"
13682 .br
13683 * "{username}"
13684 .br
13685 * "{title} ({id}).{extension}"
13686 .br
13687 * "\\fF {title.title()} ({num:>0{len(str(count))}} / {count}).{extension}"
13688
13689 .IP "Description:" 4
13690 A \f[I]Format String\f[] allows creating dynamic text
13691 by embedding metadata values directly into replacement fields
13692 marked by curly braces \f[I]{...}\f[].
13693
13694 .IP "Reference:" 4
13695 .br
13696 * \f[I]docs/formatting\f[]
13697 .br
13698 * https://docs.python.org/3/library/string.html#formatstrings
13699 .br
13700 * https://docs.python.org/3/library/string.html#formatspec
13701
13702
13703
13704 .SH BUGS
13705 https://codeberg.org/mikf/gallery-dl/issues
13706 https://github.com/mikf/gallery-dl/issues
13707
13708 .SH AUTHORS
13709 Mike Fährmann <[email protected]>
13710 .br
13711 and https://github.com/mikf/gallery-dl/graphs/contributors
13712
13713 .SH "SEE ALSO"
13714 .BR gallery-dl (1)