Debian Codegraph @

data/man/gallery-dl.conf.5

raw
1 .TH "GALLERY-DL.CONF" "5" "2026-09-12" "1.32.12" "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-convert
477 .IP "Type:" 6
478 \f[I]Conversion(s)\f[]
479
480 .IP "Example:" 4
481 .br
482 * "g"
483 .br
484 * "Wl"
485
486 .IP "Description:" 4
487 \f[I]Conversion(s)\f[] to apply to each path segment after
488 \f[I]path-restrict\f[]
489 replacements.
490
491
492 .SS extractor.*.path-extended
493 .IP "Type:" 6
494 \f[I]bool\f[]
495
496 .IP "Default:" 9
497 \f[I]true\f[]
498
499 .IP "Description:" 4
500 On Windows, use \f[I]extended-length paths\f[]
501 prefixed with \f[I]\\\\?\\\f[] to work around the 260 characters path length limit.
502
503
504 .SS extractor.*.extension-map
505 .IP "Type:" 6
506 \f[I]object\f[] (extension → replacement)
507
508 .IP "Default:" 9
509 .. code:: json
510
511 {
512 "jpeg": "jpg",
513 "jpe" : "jpg",
514 "jfif": "jpg",
515 "jif" : "jpg",
516 "jfi" : "jpg",
517 "html": "htm"
518 }
519
520 .IP "Description:" 4
521 A JSON \f[I]object\f[] mapping filename extensions to their replacements.
522
523
524 .SS extractor.*.skip
525 .IP "Type:" 6
526 .br
527 * \f[I]bool\f[]
528 .br
529 * \f[I]string\f[]
530
531 .IP "Default:" 9
532 \f[I]true\f[]
533
534 .IP "Example:" 4
535 .br
536 * "abort:5"
537 .br
538 * "abort:5:2"
539 .br
540 * "abort:5:manga"
541 .br
542 * "terminate:3"
543
544 .IP "Description:" 4
545 Controls the behavior when downloading files that have been
546 downloaded before, i.e. a file with the same filename already
547 exists or its ID is in a \f[I]download archive\f[].
548
549 \f[I]true\f[]
550 Skip downloads
551 \f[I]false\f[]
552 Overwrite already existing files
553
554 \f[I]"abort"\f[]
555 Stop the current extractor
556 \f[I]"abort:N"\f[]
557 Skip downloads and
558 stop the current extractor after \f[I]N\f[] consecutive skips
559 \f[I]"abort:N:L"\f[]
560 Skip downloads and
561 .br
562 stop the current extractor after \f[I]N\f[] consecutive skips
563 Ascend \f[I]L\f[] levels in the extractor hierarchy
564 .br
565 \f[I]"abort:N:SC"\f[]
566 Skip downloads and
567 .br
568 stop the current extractor after \f[I]N\f[] consecutive skips
569 Ascend to an extractor with subcategory \f[I]SC\f[] in the extractor hierarchy
570 .br
571
572 \f[I]"terminate"\f[]
573 Stop the current extractor, including parent extractors
574 \f[I]"terminate:N"\f[]
575 Skip downloads and
576 stop the current extractor, including parent extractors,
577 after \f[I]N\f[] consecutive skips
578
579 \f[I]"exit"\f[]
580 Exit the program altogether
581 \f[I]"exit:N"\f[]
582 Skip downloads and
583 exit the program after \f[I]N\f[] consecutive skips
584
585 \f[I]"enumerate"\f[]
586 Add an enumeration index to the beginning of the
587 filename extension (\f[I]file.1.ext\f[], \f[I]file.2.ext\f[], etc.)
588
589
590 .SS extractor.*.skip-filter
591 .IP "Type:" 6
592 \f[I]Condition\f[]
593
594 .IP "Description:" 4
595 Python \f[I]Expression\f[] controlling which skipped files to count towards
596 \f[I]"abort"\f[] / \f[I]"terminate"\f[] / \f[I]"exit"\f[].
597
598
599 .SS extractor.*.sleep
600 .IP "Type:" 6
601 \f[I]Duration\f[]
602
603 .IP "Default:" 9
604 \f[I]5.0\f[]
605 \f[I]animepictures\f[]
606 \f[I]0\f[]
607 otherwise
608
609 .IP "Description:" 4
610 Number of seconds to sleep before each download.
611
612
613 .SS extractor.*.sleep-skip
614 .IP "Type:" 6
615 \f[I]Duration\f[]
616
617 .IP "Default:" 9
618 \f[I]0\f[]
619
620 .IP "Description:" 4
621 Number of seconds to sleep after
622 \f[I]skipping\f[]
623 a file download.
624
625
626 .SS extractor.*.sleep-extractor
627 .IP "Type:" 6
628 \f[I]Duration\f[]
629
630 .IP "Default:" 9
631 \f[I]0\f[]
632
633 .IP "Description:" 4
634 Number of seconds to sleep before handling an input URL,
635 i.e. before starting a new extractor.
636
637
638 .SS extractor.*.sleep-retries
639 .IP "Type:" 6
640 \f[I]Duration+\f[]
641
642 .IP "Default:" 9
643 \f[I]"lin=1"\f[]
644
645 .IP "Example:" 4
646 .br
647 * "30-50"
648 .br
649 * "exp=40"
650 .br
651 * "lin:20=30-60"
652
653 .IP "Description:" 4
654 Number of seconds to sleep before
655 \f[I]retrying\f[]
656 an HTTP request.
657
658 If this is a \f[I]string\f[], its \f[I]Duration\f[] value can be prefixed with
659 \f[I]lin[:START[:MAX]]\f[] for linear or
660 \f[I]exp[:BASE[:START[:MAX]]]\f[] for exponential growth.
661
662 .IP "Note:" 4
663 \f[I]lin\f[] and \f[I]exp\f[] can be any starting characters of
664 .br
665 \f[I]linear\f[] and \f[I]exponential\f[].
666 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[].
667 .br
668
669
670 .SS extractor.*.sleep-429
671 .IP "Type:" 6
672 \f[I]Duration+\f[]
673
674 .IP "Default:" 9
675 \f[I]60\f[]
676
677 .IP "Example:" 4
678 .br
679 * "30-50"
680 .br
681 * "e=40"
682 .br
683 * "linear:20=30-60"
684
685 .IP "Description:" 4
686 Number of seconds to sleep when receiving a
687 \f[I]429 Too Many Requests\f[]
688 response before \f[I]retrying\f[] the request.
689
690 If this is a \f[I]string\f[], its \f[I]Duration\f[] value can be prefixed with
691 \f[I]lin[:START[:MAX]]\f[] for linear or
692 \f[I]exp[:BASE[:START[:MAX]]]\f[] for exponential backoff.
693
694
695 .SS extractor.*.sleep-request
696 .IP "Type:" 6
697 \f[I]Duration\f[]
698
699 .IP "Default:" 9
700 \f[I]"0.5-1.5"\f[]
701 \f[I]ao3\f[] \f[I]
702 \f[I]arcalive\f[] \f[]
703 \f[I]artfight\f[] \f[I]
704 \f[I]booth\f[] \f[]
705 \f[I]civitai\f[] \f[I]
706 \f[I][Danbooru]\f[] \f[]
707 \f[I][E621]\f[] \f[I]
708 \f[I][foolfuuka]:search\f[] \f[]
709 \f[I]hdoujin\f[] \f[I]
710 \f[I]itaku\f[] \f[]
711 \f[I][manganelo]\f[] \f[I]
712 \f[I]newgrounds\f[] \f[]
713 \f[I][nitter]\f[] \f[I]
714 \f[I][philomena]\f[] \f[]
715 \f[I]pixiv-novel\f[] \f[I]
716 \f[I]plurk\f[] \f[]
717 \f[I]poipiku\f[] \f[I]
718 \f[I]pornpics\f[] \f[]
719 \f[I]schalenetwork\f[] \f[I]
720 \f[I]scrolller\f[] \f[]
721 \f[I]sizebooru\f[] \f[I]
722 \f[I]sofurry\f[] \f[]
723 \f[I]soundgasm\f[] \f[I]
724 \f[I]thehentaiworld\f[] \f[]
725 \f[I]urlgalleries\f[] \f[I]
726 \f[I]vk\f[] \f[]
727 \f[I]webtoons\f[] \f[I]
728 \f[I]weebcentral\f[] \f[]
729 \f[I]xfolio\f[] \f[I]
730 \f[I]zerochan\f[]
731 \f[I]"1.0"\f[]
732 \f[I]animepictures\f[] \f[]
733 \f[I]furaffinity\f[] \f[I]
734 \f[I]pawchive\f[] \f[]
735 \f[I]rule34\f[]
736 \f[I]"1.0-2.0"\f[]
737 \f[I]flickr\f[] \f[I]
738 \f[I]pexels\f[] \f[]
739 \f[I]weibo\f[] \f[I]
740 \f[I][wikimedia]\f[]
741 \f[I]"1.4"\f[]
742 \f[I]wallhaven\f[]
743 \f[I]"2.0-4.0"\f[]
744 \f[I]behance\f[] \f[]
745 \f[I]imagefap\f[] \f[I]
746 \f[I][Nijie]\f[]
747 \f[I]"3.0-6.0"\f[]
748 \f[I]bilibili\f[] \f[]
749 \f[I]exhentai\f[] |
750 \f[I][reactor]\f[]
751 \f[I]"6.0-6.1"\f[]
752 \f[I]twibooru\f[]
753 \f[I]"6.0-12.0"\f[]
754 \f[I]instagram\f[]
755 \f[I]0\f[]
756 otherwise
757
758 .IP "Description:" 4
759 Minimal time interval in seconds between each HTTP request
760 during data extraction.
761
762
763 .SS extractor.*.username & .password
764 .IP "Type:" 6
765 \f[I]string\f[]
766
767 .IP "Default:" 9
768 \f[I]null\f[]
769
770 .IP "Description:" 4
771 The username and password to use when attempting to log in to
772 another site.
773
774 This is supported for
775
776 .br
777 * \f[I]aibooru\f[] (\f[I]*\f[])
778 .br
779 * \f[I]ao3\f[]
780 .br
781 * \f[I]aryion\f[]
782 .br
783 * \f[I]atfbooru\f[] (\f[I]*\f[])
784 .br
785 * \f[I]bluesky\f[]
786 .br
787 * \f[I]booruvar\f[] (\f[I]*\f[])
788 .br
789 * \f[I]coomer\f[]
790 .br
791 * \f[I]danbooru\f[] (\f[I]*\f[])
792 .br
793 * \f[I]deviantart\f[]
794 .br
795 * \f[I]e621\f[] (\f[I]*\f[])
796 .br
797 * \f[I]e6ai\f[] (\f[I]*\f[])
798 .br
799 * \f[I]e926\f[] (\f[I]*\f[])
800 .br
801 * \f[I]exhentai\f[]
802 .br
803 * \f[I]girlswithmuscle\f[]
804 .br
805 * \f[I]horne\f[] (\f[I]R\f[])
806 .br
807 * \f[I]idolcomplex\f[]
808 .br
809 * \f[I]imgbb\f[]
810 .br
811 * \f[I]inkbunny\f[]
812 .br
813 * \f[I]iwara\f[]
814 .br
815 * \f[I]kemono\f[]
816 .br
817 * \f[I]madokami\f[] (\f[I]R\f[])
818 .br
819 * \f[I]mangadex\f[]
820 .br
821 * \f[I]mangoxo\f[]
822 .br
823 * \f[I]newgrounds\f[]
824 .br
825 * \f[I]nijie\f[] (\f[I]R\f[])
826 .br
827 * \f[I]nudostarforum\f[]
828 .br
829 * \f[I]pawchive\f[]
830 .br
831 * \f[I]pillowfort\f[]
832 .br
833 * \f[I]poipiku\f[]
834 .br
835 * \f[I]rule34world\f[]
836 .br
837 * \f[I]rule34xyz\f[]
838 .br
839 * \f[I]sankaku\f[]
840 .br
841 * \f[I]scrolller\f[]
842 .br
843 * \f[I]seiga\f[]
844 .br
845 * \f[I]simpcity\f[]
846 .br
847 * \f[I]subscribestar\f[]
848 .br
849 * \f[I]tapas\f[]
850 .br
851 * \f[I]vipergirls\f[]
852 .br
853 * \f[I]zerochan\f[]
854
855 These values can also be specified via the
856 \f[I]-u/--username\f[] and \f[I]-p/--password\f[] command-line options or
857 by using a \f[I].netrc\f[] file. (see Authentication_)
858
859
860 .IP "Note:" 4
861 Leave the \f[I]password\f[] value empty or undefined
862 to be prompted for a password when performing a login
863 (see \f[I]getpass()\f[]).
864
865 .. _pw-apikey:
866
867 (*) The \f[I]password\f[] value for these sites should be
868 the API key found in your user profile, not the actual account password.
869
870 .. _pw-required:
871
872 (R) Login with username & password or
873 supplying authenticated
874 \f[I]cookies\f[]
875 is *required*
876
877
878 .SS extractor.*.init
879 .IP "Type:" 6
880 .br
881 * \f[I]bool\f[]
882 .br
883 * \f[I]string\f[]
884
885 .IP "Default:" 9
886 \f[I]false\f[]
887
888 .IP "Description:" 4
889 Controls when to initialize extractor internals.
890 .br
891 (
892 .br
893 \f[I]postprocessors\f[],
894 \f[I]archives\f[],
895 path-* options, etc
896 )
897
898 \f[I]true\f[]
899 Initialize everything immediately upon extractor start
900 \f[I]false\f[] | \f[I]"lazy"\f[]
901 Initialize data structures when processing the first \f[I]post\f[]
902 or not at all when an extractor never yields a \f[I]post\f[].
903
904
905 .SS extractor.*.input
906 .IP "Type:" 6
907 \f[I]bool\f[]
908
909 .IP "Default:" 9
910 \f[I]true\f[] if stdin is attached to a terminal,
911 \f[I]false\f[] otherwise
912
913 .IP "Description:" 4
914 Allow prompting the user for interactive input.
915
916
917 .SS extractor.*.netrc
918 .IP "Type:" 6
919 \f[I]bool\f[]
920
921 .IP "Default:" 9
922 \f[I]false\f[]
923
924 .IP "Description:" 4
925 Enable the use of \f[I].netrc\f[] authentication data.
926
927
928 .SS extractor.*.cookies
929 .IP "Type:" 6
930 .br
931 * \f[I]Path\f[]
932 .br
933 * \f[I]object\f[] (name → value)
934 .br
935 * \f[I]list\f[]
936
937 .IP "Description:" 4
938 Source to read additional cookies from. This can be
939
940 .br
941 * The \f[I]Path\f[] to a Mozilla/Netscape format cookies.txt file
942
943 .. code:: json
944
945 "~/.local/share/cookies-instagram-com.txt"
946
947 .br
948 * An \f[I]object\f[] specifying cookies as name-value pairs
949
950 .. code:: json
951
952 {
953 "cookie-name": "cookie-value",
954 "sessionid" : "14313336321%3AsabDFvuASDnlpb%3A31",
955 "isAdult" : "1"
956 }
957
958 .br
959 * A \f[I]list\f[] with up to 5 entries specifying a browser profile.
960
961 .br
962 * The first entry is the browser name
963 .br
964 * The optional second entry is a profile name or an absolute path to a profile directory
965 .br
966 * The optional third entry is the keyring to retrieve passwords for decrypting cookies from
967 .br
968 * The optional fourth entry is a (Firefox) container name (\f[I]"none"\f[] for only cookies with no container (default))
969 .br
970 * The optional fifth entry is the domain to extract cookies for. Prefix it with a dot \f[I].\f[] to include cookies for subdomains.
971
972 .. code:: json
973
974 ["firefox"]
975 ["firefox", null, null, "Personal"]
976 ["chromium", "Private", "kwallet", null, ".twitter.com"]
977
978
979 .SS extractor.*.cookies-select
980 .IP "Type:" 6
981 \f[I]string\f[]
982
983 .IP "Default:" 9
984 \f[I]null\f[]
985
986 .IP "Description:" 4
987 Interpret \f[I]extractor.cookies\f[]
988 as a list of cookie sources and select one of them for each extractor run.
989
990 .. code:: json
991
992 [
993 "~/.local/share/cookies-instagram-com-1.txt",
994 "~/.local/share/cookies-instagram-com-2.txt",
995 "~/.local/share/cookies-instagram-com-3.txt",
996 ["firefox", null, null, "c1", ".instagram-com"],
997 ]
998
999
1000 .IP "Supported Values:" 4
1001 \f[I]"random"\f[]
1002 Select cookies \f[I]randomly\f[].
1003 \f[I]"rotate"\f[]
1004 Select cookies in sequence. Start over from the beginning after reaching the end of the list.
1005
1006
1007 .SS extractor.*.cookies-update
1008 .IP "Type:" 6
1009 .br
1010 * \f[I]bool\f[]
1011 .br
1012 * \f[I]Path\f[]
1013
1014 .IP "Default:" 9
1015 \f[I]true\f[]
1016
1017 .IP "Description:" 4
1018 Export session cookies in cookies.txt format.
1019
1020 .br
1021 * If this is a \f[I]Path\f[], write cookies to the given file path.
1022
1023 .br
1024 * If this is \f[I]true\f[] and \f[I]extractor.*.cookies\f[] specifies the \f[I]Path\f[]
1025 of a valid cookies.txt file, update its contents.
1026
1027
1028 .SS extractor.*.proxy
1029 .IP "Type:" 6
1030 .br
1031 * \f[I]string\f[]
1032 .br
1033 * \f[I]object\f[] (scheme → proxy)
1034
1035 .IP "Example:" 4
1036 .. code:: json
1037
1038 "http://10.10.1.10:3128"
1039
1040 .. code:: json
1041
1042 {
1043 "http" : "http://10.10.1.10:3128",
1044 "https": "http://10.10.1.10:1080",
1045 "http://10.20.1.128": "http://10.10.1.10:5323"
1046 }
1047
1048
1049 .IP "Description:" 4
1050 Proxy (or proxies) to be used for remote connections.
1051
1052 .br
1053 * If this is a \f[I]string\f[], it is the proxy URL for all
1054 outgoing requests.
1055 .br
1056 * If this is an \f[I]object\f[], it is a scheme-to-proxy mapping to
1057 specify different proxy URLs for each scheme.
1058 It is also possible to set a proxy for a specific host by using
1059 \f[I]scheme://host\f[] as key.
1060 See \f[I]Requests' proxy documentation\f[] for more details.
1061
1062 .IP "Note:" 4
1063 If a proxy URL does not include a scheme, \f[I]http://\f[] is assumed.
1064
1065
1066 .SS extractor.*.proxy-env
1067 .IP "Type:" 6
1068 \f[I]bool\f[]
1069
1070 .IP "Default:" 9
1071 \f[I]true\f[]
1072
1073 .IP "Description:" 4
1074 Collect proxy configuration information from environment variables
1075 (\f[I]HTTP_PROXY\f[], \f[I]HTTPS_PROXY\f[], \f[I]NO_PROXY\f[])
1076 and Windows Registry settings.
1077
1078
1079 .SS extractor.*.source-address
1080 .IP "Type:" 6
1081 .br
1082 * \f[I]string\f[]
1083 .br
1084 * \f[I]list\f[] with 1 \f[I]string\f[] and 1 \f[I]integer\f[] as elements
1085
1086 .IP "Example:" 4
1087 .br
1088 * "192.168.178.20"
1089 .br
1090 * ["192.168.178.20", 8080]
1091
1092 .IP "Description:" 4
1093 Client-side IP address to bind to.
1094
1095 Can be either a simple \f[I]string\f[] with just the local IP address
1096 .br
1097 or a \f[I]list\f[] with IP and explicit port number as elements.
1098 .br
1099
1100
1101 .SS extractor.*.user-agent
1102 .IP "Type:" 6
1103 \f[I]string\f[]
1104
1105 .IP "Default:" 9
1106 \f[I]"gallery-dl/VERSION"\f[]
1107 .br
1108 * \f[I][Danbooru]\f[]
1109 .br
1110 * \f[I]mangadex\f[]
1111 .br
1112 * \f[I][nitter]\f[]
1113 .br
1114 * \f[I]pawchive\f[]
1115 .br
1116 * \f[I]weasyl\f[]
1117 .br
1118 * \f[I][wikimedia]\f[]
1119 .br
1120 * \f[I]zerochan\f[]
1121 \f[I]"gallery-dl/VERSION (by mikf)"\f[]
1122 .br
1123 * \f[I][E621]\f[]
1124 \f[I]"net.umanle.arca.android.playstore/0.9.75"\f[]
1125 .br
1126 * \f[I]arcalive\f[]
1127 \f[I]"Patreon/126.9.0.15 (Android; Android 14; Scale/2.10)"\f[]
1128 .br
1129 * \f[I]patreon\f[]
1130 \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[]
1131 .br
1132 * \f[I]instagram\f[]
1133 \f[I]"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:LATEST) Gecko/20100101 Firefox/LATEST"\f[]
1134 .br
1135 * otherwise
1136
1137 .IP "Example:" 4
1138 .br
1139 * "curl/8.14.1"
1140 .br
1141 * "browser"
1142 .br
1143 * "+chrome"
1144 .br
1145 * "@/opt/ChromeBrowser/bin/chrome"
1146
1147 .IP "Description:" 4
1148 User-Agent header value used for HTTP requests.
1149
1150 Setting this value to \f[I]"browser"\f[] will try to automatically detect
1151 and use the \f[I]User-Agent\f[] header of the system's default browser.
1152
1153 Starting this value with a \f[I]+\f[]
1154 .br
1155 will use the latest \f[I]User-Agent\f[] header of this preset target,
1156 e.g. \f[I]"+ff"\f[].
1157 (Supported values:
1158 .br
1159 \f[I]firefox\f[] \f[I] \f[I]ff\f[] \f[]
1160 \f[I]chrome\f[] \f[I] \f[I]cr\f[] \f[]
1161 \f[I]gallery-dl\f[] \f[I] \f[I]gdl\f[] \f[]
1162 \f[I]google-bot\f[] | \f[I]bot\f[]
1163 )
1164
1165 Starting this value with an \f[I]@\f[]
1166 .br
1167 will try to automatically detect and use the \f[I]User-Agent\f[] header
1168 of this installed browser,
1169 e.g. \f[I]"@C:/Program Files/Zen Browser/zen-browser.exe"\f[].
1170 .br
1171
1172
1173 .SS extractor.*.browser
1174 .IP "Type:" 6
1175 \f[I]string\f[]
1176
1177 .IP "Default:" 9
1178 \f[I]"firefox"\f[]
1179 \f[I]artstation\f[] \f[I]
1180 \f[I]behance\f[] \f[]
1181 \f[I]fanbox\f[] \f[I]
1182 \f[I]simplyhentai\f[] \f[]
1183 \f[I]twitter\f[] \f[I]
1184 \f[I]vsco\f[]
1185 \f[I]"chrome"\f[]
1186 \f[I]comicartfans\f[] \f[]
1187 \f[I]instagram\f[]
1188 \f[I]null\f[]
1189 otherwise
1190
1191 .IP "Example:" 4
1192 .br
1193 * "firefox"
1194 .br
1195 * "firefox/128"
1196 .br
1197 * "chrome:macos"
1198 .br
1199 * "chrome/138:macos"
1200
1201 .IP "Description:" 4
1202 Try to emulate a real browser (\f[I]firefox\f[] or \f[I]chrome\f[])
1203 .br
1204 by using its HTTP headers and TLS ciphers for HTTP requests
1205 .br
1206 by setting specialized defaults for
1207
1208 .br
1209 * \f[I]user-agent\f[]
1210 .br
1211 * \f[I]headers\f[]
1212 .br
1213 * \f[I]ciphers\f[]
1214
1215 Supported browsers:
1216
1217 .br
1218 * \f[I]firefox\f[]
1219 .br
1220 * \f[I]firefox/153\f[]
1221 .br
1222 * \f[I]firefox/140\f[]
1223 .br
1224 * \f[I]firefox/128\f[]
1225 .br
1226 * \f[I]chrome\f[]
1227 .br
1228 * \f[I]chrome/150\f[]
1229 .br
1230 * \f[I]chrome/138\f[]
1231 .br
1232 * \f[I]chrome/111\f[]
1233
1234 The operating system used in the \f[I]User-Agent\f[] header can be
1235 specified after a colon \f[I]:\f[] (\f[I]windows\f[], \f[I]linux\f[], \f[I]macos\f[]),
1236 for example \f[I]chrome:windows\f[].
1237
1238 .IP "Note:" 4
1239 Any value *not* matching a supported browser
1240 will fall back to \f[I]"firefox"\f[].
1241
1242 \f[I]requests\f[] and \f[I]urllib3\f[] only support HTTP/1.1, while a real
1243 browser would use HTTP/2 and HTTP/3.
1244
1245
1246 .SS extractor.*.referer
1247 .IP "Type:" 6
1248 .br
1249 * \f[I]bool\f[]
1250 .br
1251 * \f[I]string\f[]
1252
1253 .IP "Default:" 9
1254 \f[I]false\f[]
1255 \f[I]4archive\f[] \f[I]
1256 \f[I]4chanarchives\f[] \f[]
1257 \f[I]archivedmoe\f[] \f[I]
1258 \f[I]arena\f[] \f[]
1259 \f[I]nsfwalbum\f[] \f[I]
1260 \f[I]pholder\f[] \f[]
1261 \f[I]tumblrgallery\f[]
1262 \f[I]true\f[]
1263 otherwise
1264
1265 .IP "Description:" 4
1266 Send \f[I]Referer\f[]
1267 headers with all outgoing HTTP requests.
1268
1269 If this is a \f[I]string\f[], send it as Referer
1270 instead of the extractor's \f[I]root\f[] domain.
1271
1272
1273 .SS extractor.*.geo-bypass
1274 .IP "Type:" 6
1275 .br
1276 * \f[I]string\f[]
1277 .br
1278 * \f[I]list\f[] of \f[I]string\f[]
1279
1280 .IP "Default:" 9
1281 \f[I]"auto"\f[]
1282
1283 .IP "Example:" 4
1284 .br
1285 * "JP"
1286 .br
1287 * "105.48.0.0/12"
1288 .br
1289 * "JP,CN,105.48.0.0/12"
1290 .br
1291 * ["JP", "CN", "105.48.0.0/12"]
1292
1293 .IP "Description:" 4
1294 Use a random IP as fake
1295 \f[I]X-Forwarded-For\f[]
1296 header to try bypassing geographic restrictions.
1297
1298 Can be either
1299 .br
1300 \f[I]ISO 3166-2\f[]
1301 country codes
1302 or IP blocks in CIDR notation.
1303 .br
1304
1305
1306 .SS extractor.*.headers
1307 .IP "Type:" 6
1308 .br
1309 * \f[I]"string"\f[]
1310 .br
1311 * \f[I]object\f[] (name → value)
1312
1313 .IP "Default:" 9
1314 .. code:: json
1315
1316 {
1317 "User-Agent" : "<extractor.*.user-agent>",
1318 "Accept" : "*/*",
1319 "Accept-Language": "en-US,en;q=0.5",
1320 "Accept-Encoding": "gzip, deflate",
1321 "Referer" : "<extractor.*.referer>"
1322 }
1323
1324
1325 .IP "Description:" 4
1326 Additional \f[I]HTTP headers\f[]
1327 to be sent with each HTTP request,
1328
1329 To disable sending a header, set its value to \f[I]null\f[].
1330
1331 Set this option to \f[I]"firefox"\f[] or \f[I]"chrome"\f[]
1332 to use these browser's default headers.
1333
1334
1335 .SS extractor.*.ciphers
1336 .IP "Type:" 6
1337 .br
1338 * \f[I]string\f[]
1339 .br
1340 * \f[I]list\f[] of \f[I]strings\f[]
1341
1342 .IP "Example:" 4
1343 .br
1344 * "firefox"
1345 .br
1346 * .. code:: json
1347
1348 ["ECDHE-ECDSA-AES128-GCM-SHA256",
1349 "ECDHE-RSA-AES128-GCM-SHA256",
1350 "ECDHE-ECDSA-CHACHA20-POLY1305",
1351 "ECDHE-RSA-CHACHA20-POLY1305"]
1352
1353
1354 .IP "Description:" 4
1355 List of TLS/SSL cipher suites in
1356 \f[I]OpenSSL cipher list format\f[]
1357 to be passed to
1358 \f[I]ssl.SSLContext.set_ciphers()\f[]
1359
1360 Set this option to \f[I]"firefox"\f[] or \f[I]"chrome"\f[]
1361 to use these browser's default ciphers.
1362
1363
1364 .SS extractor.*.tls12
1365 .IP "Type:" 6
1366 \f[I]bool\f[]
1367
1368 .IP "Default:" 9
1369 \f[I]false\f[]
1370 \f[I]artfight\f[] \f[I]
1371 \f[I]artstation\f[] \f[]
1372 \f[I]behance\f[]
1373 \f[I]true\f[]
1374 otherwise
1375
1376 .IP "Description:" 4
1377 Allow selecting TLS 1.2 cipher suites.
1378
1379 Can be disabled to alter TLS fingerprints
1380 and potentially bypass Cloudflare blocks.
1381
1382
1383 .SS extractor.*.keywords
1384 .IP "Type:" 6
1385 \f[I]object\f[] (name → value)
1386
1387 .IP "Example:" 4
1388 {"type": "Pixel Art", "type_id": 123}
1389
1390 .IP "Description:" 4
1391 Additional name-value pairs to be added to each metadata dictionary.
1392
1393
1394 .SS extractor.*.keywords-default
1395 .IP "Type:" 6
1396 any
1397
1398 .IP "Default:" 9
1399 \f[I]"None"\f[]
1400
1401 .IP "Description:" 4
1402 Default value used for missing or undefined keyword names in a
1403 \f[I]Format String\f[].
1404
1405
1406 .SS extractor.*.keywords-eval
1407 .IP "Type:" 6
1408 \f[I]bool\f[]
1409
1410 .IP "Default:" 9
1411 \f[I]false\f[]
1412
1413 .IP "Description:" 4
1414 Evaluate each
1415 \f[I]keywords\f[]
1416 and
1417 \f[I]keywords-global\f[]
1418 \f[I]string\f[] value as a \f[I]Format String\f[].
1419
1420
1421 .SS extractor.*.keywords-global
1422 .IP "Type:" 6
1423 \f[I]object\f[] (name → value)
1424
1425 .IP "Example:" 4
1426 {"type": "Original", "type_id": 1, "type_category": "meta"}
1427
1428 .IP "Description:" 4
1429 Global name-value pairs to be added to each metadata dictionary.
1430
1431 .IP "Note:" 4
1432 Keywords defined here will be overwritten by keywords from
1433 \f[I]extractor.keywords\f[]
1434 with the same name.
1435
1436
1437 .SS extractor.*.metadata-url
1438 .IP "Type:" 6
1439 \f[I]string\f[]
1440
1441 .IP "Default:" 9
1442 \f[I]"_url"\f[]
1443
1444 .IP "Description:" 4
1445 Insert a file's download URL into its metadata dictionary as the given name.
1446
1447 For example, setting this option to \f[I]"gdl_file_url"\f[] will cause a new
1448 metadata field with name \f[I]gdl_file_url\f[] to appear, which contains the
1449 current file's download URL.
1450 This can then be used in \f[I]filenames\f[],
1451 with a \f[I]metadata\f[] post processor, etc.
1452
1453
1454 .SS extractor.*.metadata-path
1455 .IP "Type:" 6
1456 \f[I]string\f[]
1457
1458 .IP "Default:" 9
1459 \f[I]"_path"\f[]
1460
1461 .IP "Description:" 4
1462 Insert a reference to the current
1463 \f[I]PathFormat\f[]
1464 data structure into metadata dictionaries as the given name.
1465
1466 For example, setting this option to \f[I]"gdl_path"\f[] would make it possible
1467 to access the current file's filename as \f[I]"{gdl_path.filename}"\f[].
1468
1469
1470 .SS extractor.*.metadata-extractor
1471 .IP "Type:" 6
1472 \f[I]string\f[]
1473
1474 .IP "Default:" 9
1475 \f[I]"_extr"\f[]
1476
1477 .IP "Description:" 4
1478 Insert a reference to the current
1479 \f[I]Extractor\f[]
1480 object into metadata dictionaries as the given name.
1481
1482
1483 .SS extractor.*.metadata-http
1484 .IP "Type:" 6
1485 \f[I]string\f[]
1486
1487 .IP "Default:" 9
1488 \f[I]null\f[]
1489
1490 .IP "Description:" 4
1491 Insert an \f[I]object\f[] containing a file's HTTP headers and
1492 \f[I]filename\f[], \f[I]extension\f[], and \f[I]date\f[] parsed from them
1493 into metadata dictionaries as the given name.
1494
1495 For example, setting this option to \f[I]"gdl_http"\f[] would make it possible
1496 to access the current file's \f[I]Last-Modified\f[] header as \f[I]"{gdl_http[Last-Modified]}"\f[]
1497 and its parsed form as \f[I]"{gdl_http[date]}"\f[].
1498
1499
1500 .SS extractor.*.metadata-version
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 gallery-dl's version info into
1509 metadata dictionaries as the given name.
1510
1511 The content of the object is as follows:
1512
1513 .. code:: json
1514
1515 {
1516 "version" : "string",
1517 "is_executable" : "bool",
1518 "current_git_head": "string or null"
1519 }
1520
1521
1522 .SS extractor.*.category-transfer
1523 .IP "Type:" 6
1524 \f[I]bool\f[]
1525
1526 .IP "Default:" 9
1527 Extractor-specific
1528
1529 .IP "Description:" 4
1530 Transfer an extractor's (sub)category values to all child
1531 extractors spawned by it, to let them inherit their parent's
1532 config options.
1533
1534
1535 .SS extractor.*.blacklist & .whitelist
1536 .IP "Type:" 6
1537 \f[I]list\f[] of \f[I]strings\f[]
1538
1539 .IP "Default:" 9
1540 \f[I]["oauth", "recursive", "test"]\f[] + current extractor category
1541
1542 .IP "Example:" 4
1543 ["imgur", "redgifs:user", "*:image"]
1544
1545 .IP "Description:" 4
1546 A list of extractor identifiers to ignore (or allow)
1547 when spawning child extractors for unknown URLs,
1548 e.g. from \f[I]reddit\f[] or \f[I]plurk\f[].
1549
1550 Each identifier can be
1551
1552 .br
1553 * A category or basecategory name (\f[I]"imgur"\f[], \f[I]"mastodon"\f[])
1554 .br
1555 * | A (base)category-subcategory pair, where both names are separated by a colon (\f[I]"redgifs:user"\f[]).
1556 Both names can be a * or left empty, matching all possible names (\f[I]"*:image"\f[], \f[I]":user"\f[]).
1557 .br
1558
1559 .IP "Note:" 4
1560 Any \f[I]blacklist\f[] setting will automatically include
1561 \f[I]"oauth"\f[], \f[I]"recursive"\f[], and \f[I]"test"\f[].
1562
1563
1564 .SS extractor.*.tags-blacklist & .tags-whitelist
1565 .IP "Type:" 6
1566 .br
1567 * \f[I]Path\f[]
1568 .br
1569 * \f[I]string\f[]
1570 .br
1571 * \f[I]list\f[] of \f[I]strings\f[]
1572
1573 .IP "Example:" 4
1574 .br
1575 * "/path/to/file.txt"
1576 .br
1577 * "1girl,long_hair, highres,commentary_request"
1578 .br
1579 * "1girl long_hair, highres -commentary_request"
1580 .br
1581 * ["1girl", "long_hair", "highres", "commentary_request"]
1582 .br
1583 * ["1girl long_hair", "highres -commentary_request"]
1584
1585 .IP "Description:" 4
1586 A list of tags to exclude/include for processed posts.
1587
1588 Posts containing a blacklisted tag or *not* containing any whitelisted tag,
1589 .br
1590 including all of their files,
1591 will be ignored and not processed any further.
1592 .br
1593
1594 \f[I]Danbooru Blacklist Rules\f[]
1595 are supported.
1596
1597 This can be
1598
1599 .br
1600 * The \f[I]Path\f[] of a plaintext file
1601 containing black-/whitelisted tag names separated by newlines
1602 .br
1603 * A \f[I]string\f[] with tag names separated by commas (\f[I]"tag1,tag2 tag3,tag4"\f[])
1604 .br
1605 * A \f[I]list\f[] of \f[I]string\f[] tag names (\f[I]["tag1", "tag2 tag3", "tag4"]\f[])
1606
1607 Lines starting with \f[I]#\f[] followed by a space
1608 .br
1609 will be ignored and can be used for comments.
1610 For example
1611 \f[I]# this is a comment\f[]
1612 .br
1613
1614 Using \f[I]"/import"\f[] as value will import and apply
1615 your account's blacklisted tags list. This is supported for
1616
1617 .br
1618 * \f[I][Danbooru]\f[] & \f[I][E621]\f[] instances
1619 (requires \f[I]username & api-key\f[])
1620 .br
1621 * \f[I]sankaku\f[]
1622 (requires \f[I]username & password\f[])
1623 .br
1624 * \f[I]gelbooru\f[] & \f[I][gelbooru_v02]\f[] instances
1625 (requires authenticated \f[I]cookies\f[])
1626
1627
1628 .SS extractor.*.archive
1629 .IP "Type:" 6
1630 .br
1631 * \f[I]string\f[]
1632 .br
1633 * \f[I]Path+\f[]
1634
1635 .IP "Default:" 9
1636 \f[I]null\f[]
1637
1638 .IP "Example:" 4
1639 .br
1640 * "$HOME/.archives/gdl.sqlite3"
1641 .br
1642 * [":~", ".archives", "{category}.sqlite3"]
1643 .br
1644 * "postgresql://user:pass@host/database"
1645
1646 .IP "Description:" 4
1647 File to store IDs of downloaded files in. Downloads of files
1648 already recorded in this archive file will be
1649 \f[I]skipped\f[].
1650
1651 The resulting archive file is not a plain text file but an SQLite3
1652 database, as either lookup operations are significantly faster or
1653 memory requirements are significantly lower when the
1654 amount of stored IDs gets reasonably large.
1655
1656 If this value is a
1657 \f[I]PostgreSQL Connection URI\f[],
1658 the archive will use this PostgreSQL database as backend
1659 (requires \f[I]Psycopg\f[]).
1660
1661 .IP "Note:" 4
1662 Archive files that do not already exist get generated automatically.
1663
1664 To use replacement fields in a path,
1665 .br
1666 specify it as a list of strings (see \f[I]Path+\f[])
1667 (for example \f[I][":~", ".archives", "{category}.sqlite3"]\f[])
1668 .br
1669
1670
1671 .SS extractor.*.archive-event
1672 .IP "Type:" 6
1673 + \f[I]string\f[]
1674 + \f[I]list\f[] of \f[I]strings\f[]
1675
1676 .IP "Default:" 9
1677 \f[I]"file"\f[]
1678
1679 .IP "Example:" 4
1680 .br
1681 * "after,skip"
1682 .br
1683 * ["after", "skip"]
1684
1685 .IP "Description:" 4
1686 \f[I]Event(s)\f[]
1687 for which IDs get written to an
1688 \f[I]archive\f[].
1689
1690 .IP "Available Events:" 4
1691 .br
1692 * \f[I]file\f[]
1693 .br
1694 * \f[I]after\f[]
1695 .br
1696 * \f[I]skip\f[]
1697
1698
1699 .SS extractor.*.archive-format
1700 .IP "Type:" 6
1701 \f[I]Format String\f[]
1702
1703 .IP "Example:" 4
1704 "{id}_{offset}"
1705
1706 .IP "Description:" 4
1707 An alternative \f[I]Format String\f[] to build archive IDs with.
1708
1709
1710 .SS extractor.*.archive-mode
1711 .IP "Type:" 6
1712 \f[I]string\f[]
1713
1714 .IP "Default:" 9
1715 \f[I]"file"\f[]
1716
1717 .IP "Description:" 4
1718 Controls when to write \f[I]archive IDs\f[]
1719 to the archive database.
1720
1721 \f[I]"file"\f[]
1722 Write IDs immediately
1723 after completing or skipping a file download.
1724 \f[I]"memory"\f[]
1725 Keep IDs in memory
1726 and only write them after successful job completion.
1727
1728
1729 .SS extractor.*.archive-prefix
1730 .IP "Type:" 6
1731 \f[I]Format String\f[]
1732
1733 .IP "Default:" 9
1734 .br
1735 * \f[I]""\f[] when \f[I]archive-table\f[] is set
1736 .br
1737 * \f[I]"{category}"\f[] otherwise
1738
1739 .IP "Description:" 4
1740 Prefix for archive IDs.
1741
1742
1743 .SS extractor.*.archive-pragma
1744 .IP "Type:" 6
1745 \f[I]list\f[] of \f[I]strings\f[]
1746
1747 .IP "Example:" 4
1748 ["journal_mode=WAL", "synchronous=NORMAL"]
1749
1750 .IP "Description:" 4
1751 A list of SQLite \f[I]PRAGMA\f[] statements to run during archive initialization.
1752
1753 See \f[I]<https://www.sqlite.org/pragma.html#toc>\f[]
1754 for available \f[I]PRAGMA\f[] statements and further details.
1755
1756
1757 .SS extractor.*.archive-table
1758 .IP "Type:" 6
1759 \f[I]Format String\f[]
1760
1761 .IP "Default:" 9
1762 \f[I]"archive"\f[]
1763
1764 .IP "Example:" 4
1765 "{category}"
1766
1767 .IP "Description:" 4
1768 \f[I]Format String\f[] selecting the archive database table name.
1769
1770
1771 .SS extractor.*.actions
1772 .IP "Type:" 6
1773 .br
1774 * \f[I]object\f[] (pattern → \f[I]Action(s)\f[])
1775 .br
1776 * \f[I]list\f[] of [pattern, \f[I]Action(s)\f[]] pairs
1777
1778 .IP "Example:" 4
1779 .. code:: json
1780
1781 {
1782 "info:Logging in as .+" : "level = debug",
1783 "warning:(?i)unable to .+": "exit 127",
1784 "error" : [
1785 "status \f[I]= 1",
1786 "exec notify.sh 'gdl error'",
1787 "abort"
1788 ]
1789 }
1790
1791 .. code:: json
1792
1793 [
1794 ["info:Logging in as .+" , "level = debug"],
1795 ["warning:(?i)unable to .+", "exit 127" ],
1796 ["error" , [
1797 "status \f[]= 1",
1798 "exec notify.sh 'gdl error'",
1799 "abort"
1800 ]]
1801 ]
1802
1803
1804 .IP "Description:" 4
1805 Perform an \f[I]Action\f[] when logging a message matched by \f[I]pattern\f[].
1806
1807 \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)
1808 followed by an optional
1809 \f[I]Python Regular Expression\f[]
1810 separated by a colon:
1811 \f[I]<level>:<re>\f[]
1812
1813 Using \f[I]*\f[] as level or leaving it empty
1814 matches logging messages of all levels:
1815 \f[I]*:<re>\f[] or \f[I]:<re>\f[]
1816
1817
1818 .SS extractor.*.postprocessors
1819 .IP "Type:" 6
1820 .br
1821 * \f[I]Postprocessor Configuration\f[] object
1822 .br
1823 * \f[I]list\f[] of \f[I]Postprocessor Configuration\f[] objects
1824
1825 .IP "Example:" 4
1826 .. code:: json
1827
1828 [
1829 {
1830 "name": "zip" ,
1831 "compression": "store"
1832 },
1833 {
1834 "name": "exec",
1835 "command": ["/home/foobar/script", "{category}", "{image_id}"]
1836 }
1837 ]
1838
1839
1840 .IP "Description:" 4
1841 A list of \f[I]post processors\f[]
1842 to be applied to each downloaded file in the specified order.
1843
1844 Unlike other options, a \f[I]postprocessors\f[] setting at a deeper level
1845 .br
1846 does not override any \f[I]postprocessors\f[] setting at a lower level.
1847 Instead, all post processors from all applicable \f[I]postprocessors\f[]
1848 .br
1849 settings get combined into a single list.
1850
1851 For example
1852
1853 .br
1854 * an \f[I]mtime\f[] post processor at \f[I]extractor.postprocessors\f[],
1855 .br
1856 * a \f[I]zip\f[] post processor at \f[I]extractor.pixiv.postprocessors\f[],
1857 .br
1858 * and using \f[I]--exec\f[]
1859
1860 will run all three post processors - \f[I]mtime\f[], \f[I]zip\f[], \f[I]exec\f[] -
1861 for each downloaded \f[I]pixiv\f[] file.
1862
1863
1864 .SS extractor.*.postprocessor-options
1865 .IP "Type:" 6
1866 \f[I]object\f[] (name → value)
1867
1868 .IP "Example:" 4
1869 .. code:: json
1870
1871 {
1872 "archive": null,
1873 "keep-files": true
1874 }
1875
1876
1877 .IP "Description:" 4
1878 Additional \f[I]Postprocessor Options\f[] that get added to each individual
1879 \f[I]post processor object\f[]
1880 before initializing it and evaluating filters.
1881
1882
1883 .SS extractor.*.retries
1884 .IP "Type:" 6
1885 \f[I]integer\f[]
1886
1887 .IP "Default:" 9
1888 \f[I]4\f[]
1889
1890 .IP "Description:" 4
1891 Maximum number of times a failed HTTP request is retried before
1892 giving up, or \f[I]-1\f[] for infinite retries.
1893
1894
1895 .SS extractor.*.retry-codes
1896 .IP "Type:" 6
1897 \f[I]list\f[] of \f[I]integers\f[]
1898
1899 .IP "Example:" 4
1900 [404, 429, 430]
1901
1902 .IP "Description:" 4
1903 Additional \f[I]HTTP response status codes\f[]
1904 to retry an HTTP request on.
1905
1906 \f[I]2xx\f[] codes (success responses) and
1907 \f[I]3xx\f[] codes (redirection messages)
1908 will never be retried and always count as success,
1909 regardless of this option.
1910
1911 \f[I]5xx\f[] codes (server error responses) will always be retried,
1912 regardless of this option.
1913
1914
1915 .SS extractor.*.timeout
1916 .IP "Type:" 6
1917 \f[I]float\f[]
1918
1919 .IP "Default:" 9
1920 \f[I]30.0\f[]
1921
1922 .IP "Description:" 4
1923 Amount of time (in seconds) to wait for a successful connection
1924 and response from a remote server.
1925
1926 This value gets internally used as the \f[I]timeout\f[] parameter for the
1927 \f[I]requests.request()\f[] method.
1928
1929
1930 .SS extractor.*.verify
1931 .IP "Type:" 6
1932 .br
1933 * \f[I]bool\f[]
1934 .br
1935 * \f[I]string\f[]
1936
1937 .IP "Default:" 9
1938 \f[I]true\f[]
1939
1940 .IP "Description:" 4
1941 Controls whether to verify SSL/TLS certificates for HTTPS requests.
1942
1943 If this is a \f[I]string\f[], it must be the path to a CA bundle to use
1944 instead of the default certificates.
1945
1946 This value gets internally used as the \f[I]verify\f[] parameter for the
1947 \f[I]requests.request()\f[] method.
1948
1949
1950 .SS extractor.*.truststore
1951 .IP "Type:" 6
1952 \f[I]bool\f[]
1953
1954 .IP "Default:" 9
1955 \f[I]false\f[]
1956
1957 .IP "Description:" 4
1958 Use a
1959 .br
1960 \f[I]truststore\f[]
1961 \f[I]SSLContext\f[] for verifying SSL/TLS certificates
1962 to make use of your system's native certificate stores
1963 .br
1964 instead of relying on
1965 \f[I]certifi\f[]
1966 certificates.
1967
1968
1969 .SS extractor.*.download
1970 .IP "Type:" 6
1971 \f[I]bool\f[]
1972
1973 .IP "Default:" 9
1974 \f[I]true\f[]
1975
1976 .IP "Description:" 4
1977 Controls whether to download media files.
1978
1979 Setting this to \f[I]false\f[] won't download any files, but all other
1980 functions (\f[I]postprocessors\f[], \f[I]download archive\f[], etc.)
1981 will be executed as normal.
1982
1983
1984 .SS extractor.*.fallback
1985 .IP "Type:" 6
1986 \f[I]bool\f[]
1987
1988 .IP "Default:" 9
1989 \f[I]true\f[]
1990
1991 .IP "Description:" 4
1992 Use fallback download URLs when a download fails.
1993
1994
1995 .SS extractor.*.file-range
1996 .IP "Type:" 6
1997 .br
1998 * \f[I]string\f[]
1999 .br
2000 * \f[I]list\f[] of \f[I]strings\f[]
2001
2002 .IP "Example:" 4
2003 .br
2004 * "10-20"
2005 .br
2006 * "-5, 10, 30-50, 100-"
2007 .br
2008 * "10:21, 30:51:2, :5, 100:"
2009 .br
2010 * ["-5", "10", "30-50", "100-"]
2011
2012 .IP "Description:" 4
2013 Index range(s) selecting which files to download.
2014
2015 These can be specified as
2016
2017 .br
2018 * index: \f[I]3\f[] (file number 3)
2019 .br
2020 * range: \f[I]2-4\f[] (files 2, 3, and 4)
2021 .br
2022 * \f[I]slice\f[]: \f[I]3:8:2\f[] (files 3, 5, and 7)
2023
2024 Arguments for range and slice notation are optional
2025 .br
2026 and will default to begin (\f[I]1\f[]) or end (\f[I]sys.maxsize\f[]) if omitted.
2027 For example \f[I]5-\f[], \f[I]5:\f[], and \f[I]5::\f[] all mean "Start at file number 5".
2028 .br
2029
2030 .IP "Note:" 4
2031 The index of the first file is \f[I]1\f[].
2032
2033
2034 .SS extractor.*.post-range
2035 .IP "Type:" 6
2036 \f[I]string\f[]
2037
2038 .IP "Description:" 4
2039 Like \f[I]file-range\f[],
2040 but for posts.
2041
2042
2043 .SS extractor.*.child-range
2044 .IP "Type:" 6
2045 \f[I]string\f[]
2046
2047 .IP "Description:" 4
2048 Like \f[I]file-range\f[],
2049 but for child extractors handling manga chapters, external URLs, etc.
2050
2051
2052 .SS extractor.*.file-filter
2053 .IP "Type:" 6
2054 .br
2055 * \f[I]Condition\f[]
2056 .br
2057 * \f[I]list\f[] of \f[I]Conditions\f[]
2058
2059 .IP "Example:" 4
2060 .br
2061 * "re.search(r'foo(bar)+', description)"
2062 .br
2063 * ["width >= 1200", "width/height > 1.2"]
2064
2065 .IP "Description:" 4
2066 Python \f[I]Expression\f[] controlling which files to download.
2067
2068 A file only gets downloaded when *all* of the given \f[I]Expressions\f[] evaluate to \f[I]True\f[].
2069
2070 Available values are the filename-specific ones listed by \f[I]-K\f[] or \f[I]-j\f[].
2071
2072
2073 .SS extractor.*.post-filter
2074 .IP "Type:" 6
2075 .br
2076 * \f[I]Condition\f[]
2077 .br
2078 * \f[I]list\f[] of \f[I]Conditions\f[]
2079
2080 .IP "Example:" 4
2081 .br
2082 * "post['id'] > 12345"
2083 .br
2084 * ["date >= datetime(2025, 5, 1)", "print(post_id)"]
2085
2086 .IP "Description:" 4
2087 Like \f[I]file-filter\f[],
2088 but for posts.
2089
2090 Available values are the directory-specific ones listed by \f[I]-K\f[] or \f[I]-j\f[].
2091
2092
2093 .SS extractor.*.child-filter
2094 .IP "Type:" 6
2095 .br
2096 * \f[I]Condition\f[]
2097 .br
2098 * \f[I]list\f[] of \f[I]Conditions\f[]
2099
2100 .IP "Example:" 4
2101 .br
2102 * "lang == 'en'"
2103 .br
2104 * ["language == 'French'", "10 <= chapter < 20"]
2105
2106 .IP "Description:" 4
2107 Like \f[I]file-filter\f[],
2108 but for child extractors handling manga chapters, external URLs, etc.
2109
2110
2111 .SS extractor.*.file-unique
2112 .IP "Type:" 6
2113 \f[I]bool\f[]
2114
2115 .IP "Default:" 9
2116 \f[I]false\f[]
2117
2118 .IP "Description:" 4
2119 Ignore file URLs that have been encountered before during the
2120 current extractor run.
2121
2122
2123 .SS extractor.*.child-unique
2124 .IP "Type:" 6
2125 \f[I]bool\f[]
2126
2127 .IP "Default:" 9
2128 \f[I]false\f[]
2129
2130 .IP "Description:" 4
2131 Like \f[I]file-unique\f[],
2132 but applies to delegated URLs like manga chapters, etc.
2133
2134
2135 .SS extractor.*.date-before
2136 .IP "Type:" 6
2137 \f[I]Date\f[]
2138
2139 .IP "Default:" 9
2140 \f[I]null\f[]
2141
2142 .IP "Example:" 4
2143 .br
2144 * "2025-10-31"
2145 .br
2146 * "2026-01-09 15:30:00"
2147 .br
2148 * "2026-01-09T15:30:00Z"
2149 .br
2150 * 1767972600
2151
2152 .IP "Description:" 4
2153 Process only posts created before this \f[I]Date\f[].
2154
2155 Accepted values are \f[I]ISO 8601\f[] dates and Unix timestamps.
2156
2157
2158 .SS extractor.*.date-after
2159 .IP "Type:" 6
2160 \f[I]Date\f[]
2161
2162 .IP "Default:" 9
2163 \f[I]null\f[]
2164
2165 .IP "Description:" 4
2166 Process only posts created after this \f[I]Date\f[].
2167 .br
2168 Stop extraction when encountering
2169 .br
2170 a post created before or equal to this \f[I]Date\f[].
2171
2172 Accepted values are \f[I]ISO 8601\f[] dates and Unix timestamps.
2173
2174
2175 .SS extractor.*.write-pages
2176 .IP "Type:" 6
2177 .br
2178 * \f[I]bool\f[]
2179 .br
2180 * \f[I]string\f[]
2181
2182 .IP "Default:" 9
2183 \f[I]false\f[]
2184
2185 .IP "Description:" 4
2186 During data extraction,
2187 write received HTTP request data
2188 to enumerated files in the current working directory.
2189
2190 .IP "Special Values:" 4
2191 \f[I]"all"\f[]
2192 Include HTTP request and response headers.
2193 .br
2194 Hide \f[I]Authorization\f[], \f[I]Cookie\f[], and \f[I]Set-Cookie\f[] values.
2195 .br
2196 \f[I]"ALL"\f[]
2197 Include all HTTP request and response headers.
2198
2199
2200 .SH EXTRACTOR-SPECIFIC OPTIONS
2201 .SS extractor.ao3.formats
2202 .IP "Type:" 6
2203 .br
2204 * \f[I]string\f[]
2205 .br
2206 * \f[I]list\f[] of \f[I]strings\f[]
2207
2208 .IP "Default:" 9
2209 \f[I]"pdf"\f[]
2210
2211 .IP "Example:" 4
2212 .br
2213 * "azw3,epub,mobi,pdf,html"
2214 .br
2215 * ["azw3", "epub", "mobi", "pdf", "html"]
2216
2217 .IP "Description:" 4
2218 Format(s) to download.
2219
2220
2221 .SS extractor.arcalive.emoticons
2222 .IP "Type:" 6
2223 \f[I]bool\f[]
2224
2225 .IP "Default:" 9
2226 \f[I]false\f[]
2227
2228 .IP "Description:" 4
2229 Download emoticon images.
2230
2231
2232 .SS extractor.arcalive.gifs
2233 .IP "Type:" 6
2234 .br
2235 * \f[I]bool\f[]
2236 .br
2237 * \f[I]string\f[]
2238
2239 .IP "Default:" 9
2240 \f[I]true\f[]
2241
2242 .IP "Description:" 4
2243 Try to download \f[I].gif\f[] versions of \f[I].mp4\f[] videos.
2244
2245 \f[I]true\f[] | \f[I]"fallback\f[]
2246 Use the \f[I].gif\f[] version as primary URL
2247 and provide the \f[I].mp4\f[] one as
2248 \f[I]fallback\f[].
2249 \f[I]"check"\f[]
2250 Check whether a \f[I].gif\f[] version is available
2251 by sending an extra HEAD request.
2252 \f[I]false\f[]
2253 Always download the \f[I].mp4\f[] version.
2254
2255
2256 .SS extractor.artfight.include
2257 .IP "Type:" 6
2258 .br
2259 * \f[I]string\f[]
2260 .br
2261 * \f[I]list\f[] of \f[I]strings\f[]
2262
2263 .IP "Default:" 9
2264 .br
2265 * \f[I]["characters", "attacks", "defenses"]\f[]
2266
2267 .IP "Description:" 4
2268 A (comma-separated) list of subcategories to include
2269 when processing a user profile.
2270
2271 .IP "Supported Values:" 4
2272 .br
2273 * \f[I]characters\f[]
2274 .br
2275 * \f[I]attacks\f[]
2276 .br
2277 * \f[I]defenses\f[]
2278
2279 .IP "Note:" 4
2280 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
2281
2282
2283 .SS extractor.artstation.external
2284 .IP "Type:" 6
2285 \f[I]bool\f[]
2286
2287 .IP "Default:" 9
2288 \f[I]false\f[]
2289
2290 .IP "Description:" 4
2291 Try to follow external URLs of embedded players.
2292
2293
2294 .SS extractor.artstation.max-posts
2295 .IP "Type:" 6
2296 \f[I]integer\f[]
2297
2298 .IP "Default:" 9
2299 \f[I]null\f[]
2300
2301 .IP "Description:" 4
2302 Limit the number of posts/projects to download.
2303
2304
2305 .SS extractor.artstation.mviews
2306 .IP "Type:" 6
2307 \f[I]bool\f[]
2308
2309 .IP "Default:" 9
2310 \f[I]true\f[]
2311
2312 .IP "Description:" 4
2313 Download \f[I].mview\f[] files.
2314
2315
2316 .SS extractor.artstation.previews
2317 .IP "Type:" 6
2318 \f[I]bool\f[]
2319
2320 .IP "Default:" 9
2321 \f[I]false\f[]
2322
2323 .IP "Description:" 4
2324 Download embed previews.
2325
2326
2327 .SS extractor.artstation.videos
2328 .IP "Type:" 6
2329 \f[I]bool\f[]
2330
2331 .IP "Default:" 9
2332 \f[I]true\f[]
2333
2334 .IP "Description:" 4
2335 Download video clips.
2336
2337
2338 .SS extractor.artstation.search.pro-first
2339 .IP "Type:" 6
2340 \f[I]bool\f[]
2341
2342 .IP "Default:" 9
2343 \f[I]true\f[]
2344
2345 .IP "Description:" 4
2346 Enable the "Show Studio and Pro member artwork first" checkbox
2347 when retrieving search results.
2348
2349
2350 .SS extractor.aryion.recursive
2351 .IP "Type:" 6
2352 \f[I]bool\f[]
2353
2354 .IP "Default:" 9
2355 \f[I]true\f[]
2356
2357 .IP "Description:" 4
2358 Controls the post extraction strategy.
2359
2360 \f[I]true\f[]
2361 Start on users' main gallery pages and
2362 recursively descend into subfolders
2363 \f[I]false\f[]
2364 Get posts from "Latest Updates" pages
2365
2366
2367 .SS extractor.bbc.width
2368 .IP "Type:" 6
2369 \f[I]integer\f[]
2370
2371 .IP "Default:" 9
2372 \f[I]1920\f[]
2373
2374 .IP "Description:" 4
2375 Specifies the requested image width.
2376
2377 This value must be divisble by 16 and gets rounded down otherwise.
2378 The maximum possible value appears to be \f[I]1920\f[].
2379
2380
2381 .SS extractor.behance.modules
2382 .IP "Type:" 6
2383 \f[I]list\f[] of \f[I]strings\f[]
2384
2385 .IP "Default:" 9
2386 \f[I]["image", "video", "mediacollection", "embed"]\f[]
2387
2388 .IP "Description:" 4
2389 Selects which gallery modules to download from.
2390
2391 .IP "Supported Types:" 4
2392 .br
2393 * \f[I]"image"\f[]
2394 .br
2395 * \f[I]"video"\f[]
2396 .br
2397 * \f[I]"mediacollection"\f[]
2398 .br
2399 * \f[I]"embed"\f[]
2400 .br
2401 * \f[I]"text"\f[]
2402
2403
2404 .SS extractor.bellazon.order-posts
2405 .IP "Type:" 6
2406 \f[I]string\f[]
2407
2408 .IP "Default:" 9
2409 \f[I]"desc"\f[]
2410
2411 .IP "Description:" 4
2412 Controls the order in which
2413 posts of a \f[I]thread\f[] are processed.
2414
2415 \f[I]"asc"\f[]
2416 Ascending order (oldest first)
2417 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
2418 Descending order (newest first)
2419
2420
2421 .SS extractor.bellazon.quoted
2422 .IP "Type:" 6
2423 \f[I]bool\f[]
2424
2425 .IP "Default:" 9
2426 \f[I]false\f[]
2427
2428 .IP "Description:" 4
2429 Extract files from quoted content.
2430
2431
2432 .SS extractor.bilibili.livephoto
2433 .IP "Type:" 6
2434 \f[I]bool\f[]
2435
2436 .IP "Default:" 9
2437 \f[I]true\f[]
2438
2439 .IP "Description:" 4
2440 Download \f[I]livephoto\f[] files.
2441
2442
2443 .SS extractor.[blogger].api-key
2444 .IP "Type:" 6
2445 \f[I]string\f[]
2446
2447 .IP "Description:" 4
2448 Custom Blogger API key.
2449
2450 https://developers.google.com/blogger/docs/3.0/using#APIKey
2451
2452
2453 .SS extractor.[blogger].videos
2454 .IP "Type:" 6
2455 \f[I]bool\f[]
2456
2457 .IP "Default:" 9
2458 \f[I]true\f[]
2459
2460 .IP "Description:" 4
2461 Download embedded videos hosted on https://www.blogger.com/
2462
2463
2464 .SS extractor.bluesky.api-server
2465 .IP "Type:" 6
2466 \f[I]string\f[]
2467
2468 .IP "Default:" 9
2469 \f[I]"https://bsky.social"\f[] if a
2470 .br
2471 \f[I]username\f[]
2472 is provided
2473 \f[I]"https://api.bsky.app"\f[] otherwise
2474 .br
2475
2476 .IP "Description:" 4
2477 Server address for API requests.
2478
2479 Can be used when self-hosting a
2480 \f[I]PDS\f[]
2481
2482
2483 .SS extractor.bluesky.include
2484 .IP "Type:" 6
2485 .br
2486 * \f[I]string\f[]
2487 .br
2488 * \f[I]list\f[] of \f[I]strings\f[]
2489
2490 .IP "Default:" 9
2491 .br
2492 * \f[I]"posts"\f[] if
2493 \f[I]reposts\f[] or
2494 \f[I]quoted\f[] is enabled
2495 .br
2496 * \f[I]"media"\f[] otherwise
2497
2498 .IP "Example:" 4
2499 .br
2500 * "avatar,background,posts"
2501 .br
2502 * ["avatar", "background", "posts"]
2503
2504 .IP "Description:" 4
2505 A (comma-separated) list of subcategories to include
2506 when processing a user profile.
2507
2508 .IP "Supported Values:" 4
2509 .br
2510 * \f[I]info\f[]
2511 .br
2512 * \f[I]avatar\f[]
2513 .br
2514 * \f[I]background\f[]
2515 .br
2516 * \f[I]posts\f[]
2517 .br
2518 * \f[I]replies\f[]
2519 .br
2520 * \f[I]media\f[]
2521 .br
2522 * \f[I]video\f[]
2523 .br
2524 * \f[I]likes\f[]
2525
2526 .IP "Note:" 4
2527 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
2528
2529
2530 .SS extractor.bluesky.likes.endpoint
2531 .IP "Type:" 6
2532 \f[I]string\f[]
2533
2534 .IP "Default:" 9
2535 \f[I]"listRecords"\f[]
2536
2537 .IP "Description:" 4
2538 API endpoint to use for retrieving liked posts.
2539
2540 \f[I]"listRecords"\f[]
2541 Use the results from
2542 .br
2543 \f[I]com.atproto.repo.listRecords\f[]
2544 Requires no login and alows accessing likes of all users,
2545 .br
2546 but uses one request to
2547 \f[I]getPostThread\f[]
2548 per post,
2549 \f[I]"getActorLikes"\f[]
2550 Use the results from
2551 .br
2552 \f[I]app.bsky.feed.getActorLikes\f[]
2553 Requires login and only allows accessing your own likes.
2554 .br
2555
2556
2557 .SS extractor.bluesky.metadata
2558 .IP "Type:" 6
2559 .br
2560 * \f[I]bool\f[]
2561 .br
2562 * \f[I]string\f[]
2563 .br
2564 * \f[I]list\f[] of \f[I]strings\f[]
2565
2566 .IP "Default:" 9
2567 \f[I]false\f[]
2568
2569 .IP "Example:" 4
2570 .br
2571 * "facets,user"
2572 .br
2573 * ["facets", "user"]
2574
2575 .IP "Description:" 4
2576 Extract additional metadata.
2577
2578 \f[I]facets\f[]
2579 \f[I]hashtags\f[], \f[I]mentions\f[], \f[I]uris\f[]
2580 \f[I]user\f[]
2581 Detailed \f[I]user\f[] metadata for the user referenced in the input URL.
2582 .br
2583 (\f[I]app.bsky.actor.getProfile\f[])
2584 .br
2585
2586
2587 .SS extractor.bluesky.likes.depth
2588 .IP "Type:" 6
2589 \f[I]integer\f[]
2590
2591 .IP "Default:" 9
2592 \f[I]0\f[]
2593
2594 .IP "Description:" 4
2595 Sets the maximum depth of returned reply posts.
2596
2597 (See the \f[I]depth\f[] parameter of \f[I]app.bsky.feed.getPostThread\f[])
2598
2599
2600 .SS extractor.bluesky.quoted
2601 .IP "Type:" 6
2602 \f[I]bool\f[]
2603
2604 .IP "Default:" 9
2605 \f[I]false\f[]
2606
2607 .IP "Description:" 4
2608 Fetch media from quoted posts.
2609
2610
2611 .SS extractor.bluesky.reposts
2612 .IP "Type:" 6
2613 \f[I]bool\f[]
2614
2615 .IP "Default:" 9
2616 \f[I]false\f[]
2617
2618 .IP "Description:" 4
2619 Process reposts.
2620
2621
2622 .SS extractor.bluesky.videos
2623 .IP "Type:" 6
2624 \f[I]bool\f[]
2625
2626 .IP "Default:" 9
2627 \f[I]true\f[]
2628
2629 .IP "Description:" 4
2630 Download videos.
2631
2632
2633 .SS extractor.boosty.allowed
2634 .IP "Type:" 6
2635 \f[I]bool\f[]
2636
2637 .IP "Default:" 9
2638 \f[I]true\f[]
2639
2640 .IP "Description:" 4
2641 Request only available posts.
2642
2643
2644 .SS extractor.boosty.bought
2645 .IP "Type:" 6
2646 \f[I]bool\f[]
2647
2648 .IP "Default:" 9
2649 \f[I]false\f[]
2650
2651 .IP "Description:" 4
2652 Request only purchased posts for \f[I]feed\f[] results.
2653
2654
2655 .SS extractor.boosty.metadata
2656 .IP "Type:" 6
2657 \f[I]bool\f[]
2658
2659 .IP "Default:" 9
2660 \f[I]false\f[]
2661
2662 .IP "Description:" 4
2663 Provide detailed \f[I]user\f[] metadata.
2664
2665
2666 .SS extractor.boosty.videos
2667 .IP "Type:" 6
2668 .br
2669 * \f[I]bool\f[]
2670 .br
2671 * \f[I]list\f[] of \f[I]strings\f[]
2672
2673 .IP "Default:" 9
2674 \f[I]true\f[]
2675
2676 .IP "Example:" 4
2677 ["full_hd", "high", "medium"]
2678
2679 .IP "Description:" 4
2680 Download videos.
2681
2682 If this is a \f[I]list\f[], it selects which format to try to download.
2683
2684 .IP "Possible Formats:" 4
2685 .br
2686 * \f[I]ultra_hd\f[] (2160p)
2687 .br
2688 * \f[I]quad_hd\f[] (1440p)
2689 .br
2690 * \f[I]full_hd\f[] (1080p)
2691 .br
2692 * \f[I]high\f[] (720p)
2693 .br
2694 * \f[I]medium\f[] (480p)
2695 .br
2696 * \f[I]low\f[] (360p)
2697 .br
2698 * \f[I]lowest\f[] (240p)
2699 .br
2700 * \f[I]tiny\f[] (144p)
2701
2702
2703 .SS extractor.booth.strategy
2704 .IP "Type:" 6
2705 \f[I]string\f[]
2706
2707 .IP "Default:" 9
2708 \f[I]"webpage"\f[]
2709
2710 .IP "Description:" 4
2711 Selects how to handle and extract file URLs.
2712
2713 \f[I]"webpage"\f[]
2714 Retrieve the full HTML page
2715 and extract file URLs from it
2716 \f[I]"fallback"\f[]
2717 Use \f[I]fallback\f[] URLs
2718 to guess each file's correct filename extension
2719
2720
2721 .SS extractor.bunkr.endpoint
2722 .IP "Type:" 6
2723 \f[I]string\f[]
2724
2725 .IP "Default:" 9
2726 \f[I]"/api/_001_v2"\f[]
2727
2728 .IP "Description:" 4
2729 API endpoint for retrieving file URLs.
2730
2731
2732 .SS extractor.bunkr.tlds
2733 .IP "Type:" 6
2734 \f[I]bool\f[]
2735
2736 .IP "Default:" 9
2737 \f[I]false\f[]
2738
2739 .IP "Description:" 4
2740 Controls which \f[I]bunkr\f[] TLDs to accept.
2741
2742 \f[I]true\f[]
2743 Match URLs with *all* possible TLDs (e.g. \f[I]bunkr.xyz\f[] or \f[I]bunkrrr.duck\f[])
2744 \f[I]false\f[]
2745 Match only URLs with known TLDs
2746
2747
2748 .SS extractor.[chevereto].password
2749 .IP "Type:" 6
2750 .br
2751 * \f[I]string\f[]
2752 .br
2753 * \f[I]list\f[] of \f[I]strings\f[]
2754
2755 .IP "Default:" 9
2756 \f[I]null\f[]
2757
2758 .IP "Example:" 4
2759 .br
2760 * pw1,pw2,foobar
2761 .br
2762 * ["pw1", "pw2", "foobar"]
2763
2764 .IP "Description:" 4
2765 Password value(s) used to access protected albums.
2766
2767
2768 .SS extractor.cien.files
2769 .IP "Type:" 6
2770 \f[I]list\f[] of \f[I]strings\f[]
2771
2772 .IP "Default:" 9
2773 \f[I]["image", "video", "download", "gallery"]\f[]
2774
2775 .IP "Description:" 4
2776 Determines the type and order of files to download.
2777
2778 .IP "Available Types:" 4
2779 .br
2780 * \f[I]image\f[]
2781 .br
2782 * \f[I]video\f[]
2783 .br
2784 * \f[I]cover\f[]
2785 .br
2786 * \f[I]download\f[]
2787 .br
2788 * \f[I]gallery\f[]
2789
2790
2791 .SS extractor.civitai.api
2792 .IP "Type:" 6
2793 \f[I]string\f[]
2794
2795 .IP "Default:" 9
2796 \f[I]"trpc"\f[]
2797
2798 .IP "Description:" 4
2799 Selects which API endpoints to use.
2800
2801 \f[I]"rest"\f[]
2802 \f[I]Public REST API\f[]
2803 \f[I]"trpc"\f[]
2804 Internal tRPC API
2805
2806
2807 .SS extractor.civitai.api-key
2808 .IP "Type:" 6
2809 \f[I]string\f[]
2810
2811 .IP "Description:" 4
2812 The API Key value generated in your
2813 \f[I]User Account Settings\f[]
2814 to make authorized API requests.
2815
2816 See \f[I]API/Authorization\f[]
2817 for details.
2818
2819
2820 .SS extractor.civitai.files
2821 .IP "Type:" 6
2822 \f[I]list\f[] of \f[I]strings\f[]
2823
2824 .IP "Default:" 9
2825 \f[I]["image"]\f[]
2826
2827 .IP "Description:" 4
2828 Determines the type and order of files to download when processing models.
2829
2830 .IP "Available Types:" 4
2831 .br
2832 * \f[I]model\f[]
2833 .br
2834 * \f[I]image\f[]
2835 .br
2836 * \f[I]gallery\f[]
2837
2838
2839 .SS extractor.civitai.include
2840 .IP "Type:" 6
2841 .br
2842 * \f[I]string\f[]
2843 .br
2844 * \f[I]list\f[] of \f[I]strings\f[]
2845
2846 .IP "Default:" 9
2847 \f[I]["user-images", "user-videos"]\f[]
2848
2849 .IP "Description:" 4
2850 A (comma-separated) list of subcategories to include
2851 when processing a user profile.
2852
2853 .IP "Supported Values:" 4
2854 .br
2855 * \f[I]user-models\f[]
2856 .br
2857 * \f[I]user-posts\f[]
2858 .br
2859 * \f[I]user-images\f[]
2860 .br
2861 * \f[I]user-videos\f[]
2862 .br
2863 * \f[I]user-collections\f[]
2864
2865 .IP "Note:" 4
2866 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
2867
2868 To get a more complete set of metadata
2869 like \f[I]model['name']\f[] and \f[I]post['title']\f[],
2870 include \f[I]user-models\f[] and \f[I]user-posts\f[]
2871 as well as the default \f[I]user-images\f[] and \f[I]user-videos\f[]:
2872
2873 \f[I]["user-models", "user-posts", "user-images", "user-videos"]\f[]
2874
2875
2876 .SS extractor.civitai.metadata
2877 .IP "Type:" 6
2878 .br
2879 * \f[I]bool\f[]
2880 .br
2881 * \f[I]string\f[]
2882 .br
2883 * \f[I]list\f[] of \f[I]strings\f[]
2884
2885 .IP "Default:" 9
2886 \f[I]false\f[]
2887
2888 .IP "Example:" 4
2889 .br
2890 * "generation,tags,post,version"
2891 .br
2892 * ["version", "generation"]
2893
2894 .IP "Description:" 4
2895 Extract additional metadata.
2896
2897 .IP "Supported Values:" 4
2898 .br
2899 * \f[I]generation\f[]
2900 .br
2901 * \f[I]post\f[]
2902 .br
2903 * \f[I]tags\f[]
2904 .br
2905 * \f[I]version\f[]
2906
2907 .IP "Note:" 4
2908 This requires 1 additional API request
2909 for each selected value per image or video.
2910
2911
2912 .SS extractor.civitai.nsfw
2913 .IP "Type:" 6
2914 .br
2915 * \f[I]bool\f[]
2916 .br
2917 * \f[I]string\f[] (\f[I]"api": "rest"\f[])
2918 .br
2919 * \f[I]integer\f[] (\f[I]"api": "trpc"\f[])
2920
2921 .IP "Default:" 9
2922 \f[I]true\f[]
2923
2924 .IP "Description:" 4
2925 Download NSFW-rated images.
2926
2927 .br
2928 * For \f[I]"api": "rest"\f[], this can be one of
2929 \f[I]"None"\f[], \f[I]"Soft"\f[], \f[I]"Mature"\f[], \f[I]"X"\f[]
2930 to set the highest returned mature content flag.
2931
2932 .br
2933 * For \f[I]"api": "trpc"\f[], this can be an \f[I]integer\f[]
2934 whose bits select the returned mature content flags.
2935
2936 For example, \f[I]28\f[] (\f[I]4\f[I]8\f[]16\f[]) would return only
2937 \f[I]R\f[], \f[I]X\f[], and \f[I]XXX\f[] rated images,
2938 while \f[I]3\f[] (\f[I]1|2\f[]) would return only
2939 \f[I]None\f[] and \f[I]Soft\f[] rated images,
2940
2941 .IP "Note:" 4
2942 Requires
2943 \f[I]api-key\f[]
2944 or authenticated
2945 \f[I]cookies\f[]
2946 to allow NSFW content.
2947
2948
2949 .SS extractor.civitai.period
2950 .IP "Type:" 6
2951 \f[I]string\f[]
2952
2953 .IP "Default:" 9
2954 \f[I]"AllTime"\f[]
2955
2956 .IP "Description:" 4
2957 Sets the \f[I]period\f[] parameter
2958 when paginating over results.
2959
2960 .IP "Supported Values:" 4
2961 .br
2962 * \f[I]"AllTime"\f[]
2963 .br
2964 * \f[I]"Year"\f[]
2965 .br
2966 * \f[I]"Month"\f[]
2967 .br
2968 * \f[I]"Week"\f[]
2969 .br
2970 * \f[I]"Day"\f[]
2971
2972
2973 .SS extractor.civitai.sort
2974 .IP "Type:" 6
2975 \f[I]string\f[]
2976
2977 .IP "Default:" 9
2978 \f[I]"Newest"\f[]
2979
2980 .IP "Description:" 4
2981 Sets the \f[I]sort\f[] parameter
2982 when paginating over results.
2983
2984 .IP "Supported Values:" 4
2985 .br
2986 * \f[I]"Newest"\f[]
2987 .br
2988 * \f[I]"Oldest"\f[]
2989 .br
2990 * \f[I]"Most Reactions"\f[]
2991 .br
2992 * \f[I]"Most Comments"\f[]
2993 .br
2994 * \f[I]"Most Collected"\f[]
2995
2996 .IP "Special Values:" 4
2997 \f[I]"asc"\f[]
2998 Ascending order (\f[I]"Oldest"\f[])
2999 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
3000 Descending order (\f[I]"Newest"\f[])
3001
3002
3003 .SS extractor.civitai.quality
3004 .IP "Type:" 6
3005 .br
3006 * \f[I]string\f[]
3007 .br
3008 * \f[I]list\f[] of \f[I]strings\f[]
3009
3010 .IP "Default:" 9
3011 \f[I]"original=true"\f[]
3012
3013 .IP "Example:" 4
3014 .br
3015 * "width=1280,quality=90"
3016 .br
3017 * ["width=1280", "quality=90"]
3018
3019 .IP "Description:" 4
3020 A (comma-separated) list of image quality options
3021 to pass with every image URL.
3022
3023 Known available options include \f[I]original\f[], \f[I]quality\f[], \f[I]width\f[]
3024
3025 .IP "Note:" 4
3026 Set this option to an arbitrary letter, e.g., \f[I]"w"\f[],
3027 to download images in JPEG format at their original resolution.
3028
3029
3030 .SS extractor.civitai.quality-videos
3031 .IP "Type:" 6
3032 .br
3033 * \f[I]string\f[]
3034 .br
3035 * \f[I]list\f[] of \f[I]strings\f[]
3036
3037 .IP "Default:" 9
3038 \f[I]"original"\f[]
3039
3040 .IP "Example:" 4
3041 .br
3042 * "+transcode=true,quality=100"
3043 .br
3044 * ["+", "transcode=true", "quality=100"]
3045
3046 .IP "Description:" 4
3047 A (comma-separated) list of video quality options
3048 to pass with every video URL.
3049
3050 Known available options include \f[I]original\f[], \f[I]quality\f[], \f[I]transcode\f[]
3051
3052 Use \f[I]+\f[] as first character to add the given options to the
3053 \f[I]quality\f[] ones.
3054
3055
3056 .SS extractor.civitai.quality-fallback
3057 .IP "Type:" 6
3058 \f[I]string\f[]
3059
3060 .IP "Default:" 9
3061 \f[I]"transcode=true,original=true,quality=100"\f[]
3062
3063 .IP "Description:" 4
3064 Video quality options to pass with video fallback URLs.
3065
3066
3067 .SS extractor.civitai.search-images.token
3068 .IP "Type:" 6
3069 \f[I]string\f[]
3070
3071 .IP "Default:" 9
3072 \f[I]"8c46eb2508e21db1e9828a97968d91ab1ca1caa5f70a00e88a2ba1e286603b61"\f[]
3073
3074 .IP "Description:" 4
3075 \f[I]Authorization\f[] header value used for /multi-search queries.
3076
3077
3078 .SS extractor.coomer.files
3079 .IP "Type:" 6
3080 \f[I]list\f[] of \f[I]strings\f[]
3081
3082 .IP "Default:" 9
3083 \f[I]["file", "attachments", "inline"]\f[]
3084
3085 .IP "Description:" 4
3086 Determines the type and order of files to be downloaded.
3087
3088 .IP "Available Types:" 4
3089 .br
3090 * \f[I]file\f[]
3091 .br
3092 * \f[I]attachments\f[]
3093 .br
3094 * \f[I]inline\f[]
3095
3096
3097 .SS extractor.clonr.zip
3098 .IP "Type:" 6
3099 \f[I]bool\f[]
3100
3101 .IP "Default:" 9
3102 \f[I]false\f[]
3103
3104 .IP "Description:" 4
3105 Download folder content as a single ZIP archive instead of individual files.
3106
3107
3108 .SS extractor.cosmos.format
3109 .IP "Type:" 6
3110 .br
3111 * \f[I]string\f[]
3112
3113 .IP "Default:" 9
3114 \f[I]"jpeg"\f[]
3115
3116 .IP "Example:" 4
3117 "avif"
3118
3119 .IP "Description:" 4
3120 Selects file type of downloaded images.
3121
3122
3123 .SS extractor.cyberdrop.domain
3124 .IP "Type:" 6
3125 \f[I]string\f[]
3126
3127 .IP "Default:" 9
3128 \f[I]null\f[]
3129
3130 .IP "Example:" 4
3131 "cyberdrop.to"
3132
3133 .IP "Description:" 4
3134 Specifies the domain used by \f[I]cyberdrop\f[] regardless of input URL.
3135
3136 Setting this option to \f[I]"auto"\f[]
3137 uses the same domain as a given input URL.
3138
3139
3140 .SS extractor.cyberfile.password
3141 .IP "Type:" 6
3142 \f[I]string\f[]
3143
3144 .IP "Default:" 9
3145 \f[I]""\f[]
3146
3147 .IP "Description:" 4
3148 Password value used to access protected files and folders.
3149
3150 Leave this value empty or undefined
3151 to be interactively prompted for a password when needed
3152 (see \f[I]getpass()\f[]).
3153
3154
3155 .SS extractor.cyberfile.recursive
3156 .IP "Type:" 6
3157 \f[I]bool\f[]
3158
3159 .IP "Default:" 9
3160 \f[I]true\f[]
3161
3162 .IP "Description:" 4
3163 Recursively download files from subfolders.
3164
3165
3166 .SS extractor.[Danbooru].external
3167 .IP "Type:" 6
3168 \f[I]bool\f[]
3169
3170 .IP "Default:" 9
3171 \f[I]false\f[]
3172
3173 .IP "Description:" 4
3174 For unavailable or restricted posts,
3175 follow the \f[I]source\f[] and download from there if possible.
3176
3177
3178 .SS extractor.[Danbooru].favgroup.order-posts
3179 .IP "Type:" 6
3180 \f[I]string\f[]
3181
3182 .IP "Default:" 9
3183 \f[I]"pool"\f[]
3184
3185 .IP "Description:" 4
3186 Controls the order in which \f[I]pool\f[]/\f[I]favgroup\f[] posts are returned.
3187
3188 \f[I]"pool"\f[] \f[I] \f[I]"pool_asc"\f[] \f[] \f[I]"asc"\f[] \f[I] \f[I]"asc_pool"\f[]
3189 Pool order
3190 \f[I]"pool_desc"\f[] \f[] \f[I]"desc_pool"\f[] \f[I] \f[I]"desc"\f[]
3191 Reverse Pool order
3192 \f[I]"id"\f[] \f[] \f[I]"id_desc"\f[] \f[I] \f[I]"desc_id"\f[]
3193 Descending Post ID order
3194 \f[I]"id_asc"\f[] \f[] \f[I]"asc_id"\f[]
3195 Ascending Post ID order
3196
3197
3198 .SS extractor.[Danbooru].ugoira
3199 .IP "Type:" 6
3200 \f[I]bool\f[]
3201
3202 .IP "Default:" 9
3203 \f[I]false\f[]
3204
3205 .IP "Description:" 4
3206 Controls the download target for Ugoira posts.
3207
3208 \f[I]true\f[]
3209 ZIP archives
3210 \f[I]false\f[]
3211 Converted video files
3212
3213
3214 .SS extractor.[Danbooru].metadata
3215 .IP "Type:" 6
3216 .br
3217 * \f[I]bool\f[]
3218 .br
3219 * \f[I]string\f[]
3220 .br
3221 * \f[I]list\f[] of \f[I]strings\f[]
3222
3223 .IP "Default:" 9
3224 \f[I]false\f[]
3225
3226 .IP "Example:" 4
3227 .br
3228 * "replacements,comments,ai_tags"
3229 .br
3230 * ["replacements", "comments", "ai_tags"]
3231
3232 .IP "Description:" 4
3233 Extract additional metadata
3234 (notes, artist commentary, parent, children, uploader)
3235
3236 It is possible to specify a custom list of metadata includes.
3237 See \f[I]available_includes\f[]
3238 for possible field names. \f[I]aibooru\f[] also supports \f[I]ai_metadata\f[].
3239
3240 .IP "Note:" 4
3241 This requires 1 additional HTTP request per 200-post batch.
3242
3243
3244 .SS extractor.[Danbooru].threshold
3245 .IP "Type:" 6
3246 .br
3247 * \f[I]string\f[]
3248 .br
3249 * \f[I]integer\f[]
3250
3251 .IP "Default:" 9
3252 \f[I]"auto"\f[]
3253
3254 .IP "Description:" 4
3255 Stop paginating over API results if the length of a batch of returned
3256 posts is less than the specified number. Defaults to the per-page limit
3257 of the current instance, which is 200.
3258
3259 .IP "Note:" 4
3260 Changing this setting is normally not necessary. When the value is
3261 greater than the per-page limit, gallery-dl will stop after the first
3262 batch. The value cannot be less than 1.
3263
3264
3265 .SS extractor.dankefuerslesen.zip
3266 .IP "Type:" 6
3267 \f[I]bool\f[]
3268
3269 .IP "Default:" 9
3270 \f[I]false\f[]
3271
3272 .IP "Description:" 4
3273 Download each chapter as a single ZIP archive instead of individual images.
3274
3275
3276 .SS extractor.deviantart.auto-watch
3277 .IP "Type:" 6
3278 \f[I]bool\f[]
3279
3280 .IP "Default:" 9
3281 \f[I]false\f[]
3282
3283 .IP "Description:" 4
3284 Automatically watch users when encountering "Watchers-Only Deviations"
3285 (requires a \f[I]refresh-token\f[]).
3286
3287
3288 .SS extractor.deviantart.auto-unwatch
3289 .IP "Type:" 6
3290 \f[I]bool\f[]
3291
3292 .IP "Default:" 9
3293 \f[I]false\f[]
3294
3295 .IP "Description:" 4
3296 After watching a user through \f[I]auto-watch\f[],
3297 unwatch that user at the end of the current extractor run.
3298
3299
3300 .SS extractor.deviantart.comments
3301 .IP "Type:" 6
3302 \f[I]bool\f[]
3303
3304 .IP "Default:" 9
3305 \f[I]false\f[]
3306
3307 .IP "Description:" 4
3308 Extract \f[I]comments\f[] metadata.
3309
3310
3311 .SS extractor.deviantart.comments-avatars
3312 .IP "Type:" 6
3313 \f[I]bool\f[]
3314
3315 .IP "Default:" 9
3316 \f[I]false\f[]
3317
3318 .IP "Description:" 4
3319 Download the avatar of each commenting user.
3320
3321 .IP "Note:" 4
3322 Enabling this option also enables deviantart.comments_.
3323
3324
3325 .SS extractor.deviantart.extra
3326 .IP "Type:" 6
3327 \f[I]bool\f[]
3328
3329 .IP "Default:" 9
3330 \f[I]false\f[]
3331
3332 .IP "Description:" 4
3333 Download extra Sta.sh resources from
3334 description texts and journals.
3335
3336 .IP "Note:" 4
3337 Enabling this option also enables deviantart.metadata_.
3338
3339
3340 .SS extractor.deviantart.flat
3341 .IP "Type:" 6
3342 \f[I]bool\f[]
3343
3344 .IP "Default:" 9
3345 \f[I]true\f[]
3346
3347 .IP "Description:" 4
3348 Select the directory structure created by the Gallery- and
3349 Favorite-Extractors.
3350
3351 \f[I]true\f[]
3352 Use a flat directory structure.
3353 \f[I]false\f[]
3354 Collect a list of all gallery \f[I]folders\f[] or
3355 favorites \f[I]collections\f[] and transfer any further work to other
3356 extractors (\f[I]folder\f[] or \f[I]collection\f[]), which will then
3357 create individual subdirectories for each of them.
3358
3359 .IP "Note:" 4
3360 Going through all gallery folders won't
3361 fetch deviations not contained in any folder.
3362
3363
3364 .SS extractor.deviantart.folders
3365 .IP "Type:" 6
3366 \f[I]bool\f[]
3367
3368 .IP "Default:" 9
3369 \f[I]false\f[]
3370
3371 .IP "Description:" 4
3372 Provide a \f[I]folders\f[] metadata field that contains the names of all
3373 folders a deviation is present in.
3374
3375 .IP "Note:" 4
3376 Gathering this information requires a lot of API calls.
3377 Use with caution.
3378
3379
3380 .SS extractor.deviantart.group
3381 .IP "Type:" 6
3382 .br
3383 * \f[I]bool\f[]
3384 .br
3385 * \f[I]string\f[]
3386
3387 .IP "Default:" 9
3388 \f[I]true\f[]
3389
3390 .IP "Description:" 4
3391 Check whether the profile name in a given URL
3392 belongs to a group or a regular user.
3393
3394 When disabled, assume every given profile name
3395 belongs to a regular user.
3396
3397 .IP "Special Values:" 4
3398 \f[I]"skip"\f[]
3399 Skip groups
3400
3401
3402 .SS extractor.deviantart.include
3403 .IP "Type:" 6
3404 .br
3405 * \f[I]string\f[]
3406 .br
3407 * \f[I]list\f[] of \f[I]strings\f[]
3408
3409 .IP "Default:" 9
3410 \f[I]"gallery"\f[]
3411
3412 .IP "Example:" 4
3413 .br
3414 * "favorite,journal,scraps"
3415 .br
3416 * ["favorite", "journal", "scraps"]
3417
3418 .IP "Description:" 4
3419 A (comma-separated) list of subcategories to include
3420 when processing a user profile.
3421
3422 .IP "Supported Values:" 4
3423 .br
3424 * \f[I]avatar\f[]
3425 .br
3426 * \f[I]background\f[]
3427 .br
3428 * \f[I]gallery\f[]
3429 .br
3430 * \f[I]scraps\f[]
3431 .br
3432 * \f[I]journal\f[]
3433 .br
3434 * \f[I]favorite\f[]
3435 .br
3436 * \f[I]status\f[]
3437
3438 .IP "Note:" 4
3439 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
3440
3441
3442 .SS extractor.deviantart.intermediary
3443 .IP "Type:" 6
3444 \f[I]bool\f[]
3445
3446 .IP "Default:" 9
3447 \f[I]true\f[]
3448
3449 .IP "Description:" 4
3450 For older non-downloadable images,
3451 download a higher-quality \f[I]/intermediary/\f[] version.
3452
3453
3454 .SS extractor.deviantart.journals
3455 .IP "Type:" 6
3456 \f[I]string\f[]
3457
3458 .IP "Default:" 9
3459 \f[I]"html"\f[]
3460
3461 .IP "Description:" 4
3462 Selects the output format for textual content. This includes journals,
3463 literature and status updates.
3464
3465 \f[I]"html"\f[]
3466 HTML with (roughly) the same layout as on DeviantArt.
3467 \f[I]"text"\f[]
3468 Plain text with image references and HTML tags removed.
3469 \f[I]"none"\f[]
3470 Don't download textual content.
3471
3472
3473 .SS extractor.deviantart.mature
3474 .IP "Type:" 6
3475 \f[I]bool\f[]
3476
3477 .IP "Default:" 9
3478 \f[I]true\f[]
3479
3480 .IP "Description:" 4
3481 Enable mature content.
3482
3483 This option simply sets the \f[I]mature_content\f[] parameter for API
3484 calls to either \f[I]"true"\f[] or \f[I]"false"\f[] and does not do any other
3485 form of content filtering.
3486
3487
3488 .SS extractor.deviantart.metadata
3489 .IP "Type:" 6
3490 .br
3491 * \f[I]bool\f[]
3492 .br
3493 * \f[I]string\f[]
3494 .br
3495 * \f[I]list\f[] of \f[I]strings\f[]
3496
3497 .IP "Default:" 9
3498 \f[I]false\f[]
3499
3500 .IP "Example:" 4
3501 .br
3502 * "stats,submission"
3503 .br
3504 * ["camera", "stats", "submission"]
3505
3506 .IP "Description:" 4
3507 Extract additional metadata for deviation objects.
3508
3509 Provides
3510 \f[I]description\f[], \f[I]tags\f[], \f[I]license\f[], and \f[I]is_watching\f[]
3511 fields when enabled.
3512
3513 It is possible to request extended metadata by specifying a list of
3514
3515 \f[I]camera\f[]
3516 EXIF information if available
3517 \f[I]stats\f[]
3518 Deviation statistics
3519 \f[I]submission\f[]
3520 Submission information
3521 \f[I]collection\f[]
3522 Favourited folder information (requires a \f[I]refresh token\f[])
3523 \f[I]gallery\f[]
3524 Gallery folder information (requires a \f[I]refresh token\f[])
3525
3526 .IP "Note:" 4
3527 Set this option to \f[I]"all"\f[] to request all extended metadata categories.
3528
3529 See \f[I]/deviation/metadata\f[]
3530 for official documentation.
3531
3532
3533 .SS extractor.deviantart.original
3534 .IP "Type:" 6
3535 .br
3536 * \f[I]bool\f[]
3537 .br
3538 * \f[I]string\f[]
3539
3540 .IP "Default:" 9
3541 \f[I]false\f[]
3542
3543 .IP "Description:" 4
3544 Download original files if available.
3545
3546 Setting this option to \f[I]"images"\f[] only downloads original
3547 files if they are images and falls back to preview versions for
3548 everything else (archives, videos, etc.).
3549
3550 .IP "Note:" 4
3551 https://www.deviantart.com/team/status-update/An-adjustments-being-made-to-1307747979 ::
3552
3553 > The New Weekly Limits:
3554 > Non-Core & Core Basic: 10 downloads per week
3555 > Core+ and higher : 150 downloads per week
3556
3557
3558 .SS extractor.deviantart.pagination
3559 .IP "Type:" 6
3560 \f[I]string\f[]
3561
3562 .IP "Default:" 9
3563 \f[I]"api"\f[]
3564
3565 .IP "Description:" 4
3566 Controls when to stop paginating over API results.
3567
3568 \f[I]"api"\f[]
3569 Trust the API and stop when \f[I]has_more\f[] is \f[I]false\f[].
3570 \f[I]"manual"\f[]
3571 Disregard \f[I]has_more\f[] and only stop when a batch of results is empty.
3572
3573
3574 .SS extractor.deviantart.previews
3575 .IP "Type:" 6
3576 \f[I]bool\f[]
3577
3578 .IP "Default:" 9
3579 \f[I]false\f[]
3580
3581 .IP "Description:" 4
3582 For non-image files (archives, videos, etc.),
3583 also download the file's preview image.
3584
3585 Set this option to \f[I]"all"\f[] to download previews for all files.
3586
3587
3588 .SS extractor.deviantart.public
3589 .IP "Type:" 6
3590 \f[I]bool\f[]
3591
3592 .IP "Default:" 9
3593 \f[I]true\f[]
3594
3595 .IP "Description:" 4
3596 Use a public access token for API requests.
3597
3598 Disable this option to *force* using a private token for all requests
3599 when a \f[I]refresh token\f[] is provided.
3600
3601
3602 .SS extractor.deviantart.quality
3603 .IP "Type:" 6
3604 .br
3605 * \f[I]integer\f[]
3606 .br
3607 * \f[I]string\f[]
3608
3609 .IP "Default:" 9
3610 \f[I]100\f[]
3611
3612 .IP "Description:" 4
3613 JPEG quality level of images for which
3614 an original file download is not available.
3615
3616 Set this to \f[I]"png"\f[] to download a PNG version of these images instead.
3617
3618
3619 .SS extractor.deviantart.refresh-token
3620 .IP "Type:" 6
3621 \f[I]string\f[]
3622
3623 .IP "Default:" 9
3624 \f[I]null\f[]
3625
3626 .IP "Description:" 4
3627 The \f[I]refresh-token\f[] value you get from
3628 \f[I]linking your DeviantArt account to gallery-dl\f[].
3629
3630 Using a \f[I]refresh-token\f[] allows you to access private or otherwise
3631 not publicly available deviations.
3632
3633 .IP "Note:" 4
3634 The \f[I]refresh-token\f[] becomes invalid
3635 \f[I]after 3 months\f[]
3636 or whenever your \f[I]cache file\f[] is deleted or cleared.
3637
3638
3639 .SS extractor.deviantart.wait-min
3640 .IP "Type:" 6
3641 \f[I]integer\f[]
3642
3643 .IP "Default:" 9
3644 \f[I]0\f[]
3645
3646 .IP "Description:" 4
3647 Minimum wait time in seconds before API requests.
3648
3649
3650 .SS extractor.deviantart.avatar.formats
3651 .IP "Type:" 6
3652 \f[I]list\f[] of \f[I]strings\f[]
3653
3654 .IP "Example:" 4
3655 ["original.jpg", "big.jpg", "big.gif", ".png"]
3656
3657 .IP "Description:" 4
3658 Avatar URL formats to return.
3659
3660 Each format is parsed as \f[I]SIZE.EXT\f[].
3661 .br
3662 Leave \f[I]SIZE\f[] empty to download the regular, small avatar format.
3663 .br
3664
3665 .IP "Note:" 4
3666 Consider updating
3667 .br
3668 \f[I]archive-format\f[]
3669 for \f[I]avatar\f[] results to
3670 \f[I]"a_{_username}_{index}{title[6:]}.{extension}"\f[]
3671 .br
3672 or similar when using an
3673 .br
3674 \f[I]archive\f[]
3675 to be able to handle different formats.
3676
3677
3678 .SS extractor.deviantart.folder.subfolders
3679 .IP "Type:" 6
3680 \f[I]bool\f[]
3681
3682 .IP "Default:" 9
3683 \f[I]true\f[]
3684
3685 .IP "Description:" 4
3686 Also extract subfolder content.
3687
3688
3689 .SS extractor.discord.embeds
3690 .IP "Type:" 6
3691 \f[I]list\f[] of \f[I]strings\f[]
3692
3693 .IP "Default:" 9
3694 \f[I]["image", "gifv", "video"]\f[]
3695
3696 .IP "Description:" 4
3697 Selects which embed types to download from.
3698
3699 Supported embed types are
3700 \f[I]image\f[], \f[I]gifv\f[], \f[I]video\f[], \f[I]rich\f[], \f[I]article\f[], \f[I]link\f[].
3701
3702
3703 .SS extractor.discord.threads
3704 .IP "Type:" 6
3705 \f[I]bool\f[]
3706
3707 .IP "Default:" 9
3708 \f[I]true\f[]
3709
3710 .IP "Description:" 4
3711 Extract threads from Discord text channels.
3712
3713
3714 .SS extractor.discord.token
3715 .IP "Type:" 6
3716 \f[I]string\f[]
3717
3718 .IP "Description:" 4
3719 Discord Bot Token for API requests.
3720
3721 You can follow \f[I]this guide\f[] to get a token.
3722
3723
3724 .SS extractor.dynastyscans.anthology.metadata
3725 .IP "Type:" 6
3726 \f[I]bool\f[]
3727
3728 .IP "Default:" 9
3729 \f[I]false\f[]
3730
3731 .IP "Description:" 4
3732 Extract \f[I]alert\f[], \f[I]description\f[], and \f[I]status\f[] metadata
3733 from an anthology's HTML page.
3734
3735
3736 .SS extractor.[E621].metadata
3737 .IP "Type:" 6
3738 .br
3739 * \f[I]bool\f[]
3740 .br
3741 * \f[I]string\f[]
3742 .br
3743 * \f[I]list\f[] of \f[I]strings\f[]
3744
3745 .IP "Default:" 9
3746 \f[I]false\f[]
3747
3748 .IP "Example:" 4
3749 .br
3750 * "notes,pools"
3751 .br
3752 * ["notes", "pools"]
3753
3754 .IP "Description:" 4
3755 Extract additional metadata (notes, pool metadata) if available.
3756
3757 .IP "Note:" 4
3758 This requires 0-2 additional HTTP requests per post.
3759
3760
3761 .SS extractor.[E621].threshold
3762 .IP "Type:" 6
3763 .br
3764 * \f[I]string\f[]
3765 .br
3766 * \f[I]integer\f[]
3767
3768 .IP "Default:" 9
3769 \f[I]"auto"\f[]
3770
3771 .IP "Description:" 4
3772 Stop paginating over API results if the length of a batch of returned
3773 posts is less than the specified number. Defaults to the per-page limit
3774 of the current instance, which is 320.
3775
3776 .IP "Note:" 4
3777 Changing this setting is normally not necessary. When the value is
3778 greater than the per-page limit, gallery-dl will stop after the first
3779 batch. The value cannot be less than 1.
3780
3781
3782 .SS extractor.erome.user.reposts
3783 .IP "Type:" 6
3784 \f[I]bool\f[]
3785
3786 .IP "Default:" 9
3787 \f[I]false\f[]
3788
3789 .IP "Description:" 4
3790 Include reposts when extracting albums from a user profile.
3791
3792
3793 .SS extractor.exhentai.domain
3794 .IP "Type:" 6
3795 \f[I]string\f[]
3796
3797 .IP "Default:" 9
3798 \f[I]"auto"\f[]
3799
3800 .IP "Description:" 4
3801 \f[I]"auto"\f[]
3802 Use \f[I]e-hentai.org\f[] or \f[I]exhentai.org\f[]
3803 depending on the input URL
3804 \f[I]"e-hentai.org"\f[]
3805 Use \f[I]e-hentai.org\f[] for all URLs
3806 \f[I]"exhentai.org"\f[]
3807 Use \f[I]exhentai.org\f[] for all URLs
3808
3809
3810 .SS extractor.exhentai.fallback-retries
3811 .IP "Type:" 6
3812 \f[I]integer\f[]
3813
3814 .IP "Default:" 9
3815 \f[I]2\f[]
3816
3817 .IP "Description:" 4
3818 Number of times a failed image gets retried,
3819 or \f[I]-1\f[] for infinite retries.
3820
3821
3822 .SS extractor.exhentai.fav
3823 .IP "Type:" 6
3824 \f[I]string\f[]
3825
3826 .IP "Example:" 4
3827 "4"
3828
3829 .IP "Description:" 4
3830 After downloading a gallery,
3831 add it to your account's favorites as the given category number.
3832
3833 .IP "Note:" 4
3834 Set this to "favdel" to remove galleries from your favorites.
3835
3836 This will remove any Favorite Notes when applied
3837 to already favorited galleries.
3838
3839
3840 .SS extractor.exhentai.gp
3841 .IP "Type:" 6
3842 \f[I]string\f[]
3843
3844 .IP "Default:" 9
3845 \f[I]"resized"\f[]
3846
3847 .IP "Description:" 4
3848 Selects how to handle "you do not have enough GP" errors.
3849
3850 .br
3851 * "resized": Continue downloading \f[I]non-original\f[] images.
3852 .br
3853 * "stop": Stop the current extractor run.
3854 .br
3855 * "wait": Wait for user input before retrying the current image.
3856
3857
3858 .SS extractor.exhentai.limits
3859 .IP "Type:" 6
3860 \f[I]integer\f[]
3861
3862 .IP "Default:" 9
3863 \f[I]null\f[]
3864
3865 .IP "Description:" 4
3866 Set a custom image download limit and perform
3867 \f[I]limits-action\f[]
3868 when it gets exceeded.
3869
3870
3871 .SS extractor.exhentai.limits-action
3872 .IP "Type:" 6
3873 \f[I]string\f[]
3874
3875 .IP "Default:" 9
3876 \f[I]"stop"\f[]
3877
3878 .IP "Description:" 4
3879 Action to perform when the image limit is exceeded.
3880
3881 .br
3882 * "stop": Stop the current extractor run.
3883 .br
3884 * "wait": Wait for user input.
3885 .br
3886 * "reset": Spend GP to reset your account's image limits.
3887
3888
3889 .SS extractor.exhentai.metadata
3890 .IP "Type:" 6
3891 \f[I]bool\f[]
3892
3893 .IP "Default:" 9
3894 \f[I]false\f[]
3895
3896 .IP "Description:" 4
3897 Load extended gallery metadata from the
3898 \f[I]API\f[].
3899
3900 .br
3901 * Adds \f[I]archiver_key\f[], \f[I]posted\f[], and \f[I]torrents\f[]
3902 .br
3903 * Provides exact \f[I]date\f[] and \f[I]filesize\f[]
3904
3905
3906 .SS extractor.exhentai.original
3907 .IP "Type:" 6
3908 \f[I]bool\f[]
3909
3910 .IP "Default:" 9
3911 \f[I]true\f[]
3912
3913 .IP "Description:" 4
3914 Download full-sized original images if available.
3915
3916
3917 .SS extractor.exhentai.source
3918 .IP "Type:" 6
3919 \f[I]string\f[]
3920
3921 .IP "Default:" 9
3922 \f[I]"gallery"\f[]
3923
3924 .IP "Description:" 4
3925 Selects an alternative source to download files from.
3926
3927 \f[I]"hitomi"\f[]
3928 Download the corresponding gallery from \f[I]hitomi.la\f[]
3929 \f[I]"metadata"\f[]
3930 Load only a gallery's metadata from the
3931 \f[I]API\f[]
3932 \f[I]"torrent"\f[]
3933 Download a gallery's \f[I].torrent\f[] files
3934
3935
3936 .SS extractor.exhentai.tags
3937 .IP "Type:" 6
3938 \f[I]bool\f[]
3939
3940 .IP "Default:" 9
3941 \f[I]true\f[]
3942
3943 .IP "Description:" 4
3944 Group \f[I]tags\f[] by type and
3945 provide them as \f[I]tags_<type>\f[] metadata fields,
3946 for example \f[I]tags_artist\f[] or \f[I]tags_character\f[].
3947
3948
3949 .SS extractor.facebook.author-followups
3950 .IP "Type:" 6
3951 \f[I]bool\f[]
3952
3953 .IP "Default:" 9
3954 \f[I]false\f[]
3955
3956 .IP "description:" 4
3957 Extract comments that include photo attachments made by the author of the post.
3958
3959
3960 .SS extractor.facebook.fallback-retries
3961 .IP "Type:" 6
3962 \f[I]integer\f[]
3963
3964 .IP "Default:" 9
3965 \f[I]2\f[]
3966
3967 .IP "Description:" 4
3968 Number of times empty pages get retried,
3969 or \f[I]-1\f[] for infinite retries.
3970
3971
3972 .SS extractor.facebook.include
3973 .IP "Type:" 6
3974 .br
3975 * \f[I]string\f[]
3976 .br
3977 * \f[I]list\f[] of \f[I]strings\f[]
3978
3979 .IP "Default:" 9
3980 \f[I]"photos"\f[]
3981
3982 .IP "Example:" 4
3983 .br
3984 * "avatar,photos"
3985 .br
3986 * ["avatar", "photos"]
3987
3988 .IP "Description:" 4
3989 A (comma-separated) list of subcategories to include
3990 when processing a user profile.
3991
3992 .IP "Supported Values:" 4
3993 .br
3994 * \f[I]info\f[]
3995 .br
3996 * \f[I]avatar\f[]
3997 .br
3998 * \f[I]photos\f[]
3999 .br
4000 * \f[I]albums\f[]
4001
4002 .IP "Note:" 4
4003 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
4004
4005
4006 .SS extractor.facebook.loop
4007 .IP "Type:" 6
4008 \f[I]bool\f[]
4009
4010 .IP "Default:" 9
4011 \f[I]true\f[]
4012
4013 .IP "Description:" 4
4014 Continue when detecting a possible jump to a set's beginning.
4015
4016
4017 .SS extractor.facebook.videos
4018 .IP "Type:" 6
4019 .br
4020 * \f[I]bool\f[]
4021 .br
4022 * \f[I]string\f[]
4023
4024 .IP "Default:" 9
4025 \f[I]true\f[]
4026
4027 .IP "Description:" 4
4028 Control video download behavior.
4029
4030 \f[I]true\f[]
4031 Extract and download video & audio separately.
4032 \f[I]"ytdl"\f[]
4033 Let \f[I]ytdl\f[] handle video extraction and download, and merge video & audio streams.
4034 \f[I]false\f[]
4035 Ignore videos.
4036
4037
4038 .SS extractor.fanbox.comments
4039 .IP "Type:" 6
4040 \f[I]bool\f[]
4041
4042 .IP "Default:" 9
4043 \f[I]false\f[]
4044
4045 .IP "Description:" 4
4046 Extract \f[I]comments\f[] metadata.
4047
4048 .IP "Note:" 4
4049 This requires 1 or more additional API requests per post,
4050 depending on the number of comments.
4051
4052
4053 .SS extractor.fanbox.embeds
4054 .IP "Type:" 6
4055 .br
4056 * \f[I]bool\f[]
4057 .br
4058 * \f[I]string\f[]
4059
4060 .IP "Default:" 9
4061 \f[I]true\f[]
4062
4063 .IP "Description:" 4
4064 Control behavior on embedded content from external sites.
4065
4066 \f[I]true\f[]
4067 Extract embed URLs and download them if supported
4068 (videos are not downloaded).
4069 \f[I]"ytdl"\f[]
4070 Like \f[I]true\f[], but let \f[I]ytdl\f[] handle video
4071 extraction and download for YouTube, Vimeo, and SoundCloud embeds.
4072 \f[I]false\f[]
4073 Ignore embeds.
4074
4075
4076 .SS extractor.fanbox.fee-min
4077 .IP "Type:" 6
4078 \f[I]integer\f[]
4079
4080 .IP "Description:" 4
4081 Do not request API data or extract files from posts
4082 that require a fee (\f[I]feeRequired\f[]) less than the specified amount.
4083
4084
4085 .SS extractor.fanbox.fee-max
4086 .IP "Type:" 6
4087 \f[I]integer\f[]
4088
4089 .IP "Description:" 4
4090 Do not request API data or extract files from posts
4091 that require a fee (\f[I]feeRequired\f[]) greater than the specified amount.
4092
4093
4094 .SS extractor.fanbox.metadata
4095 .IP "Type:" 6
4096 .br
4097 * \f[I]bool\f[]
4098 .br
4099 * \f[I]string\f[]
4100 .br
4101 * \f[I]list\f[] of \f[I]strings\f[]
4102
4103 .IP "Default:" 9
4104 \f[I]false\f[]
4105
4106 .IP "Example:" 4
4107 .br
4108 * user,plan,comments
4109 .br
4110 * ["user", "plan", "comments"]
4111
4112 .IP "Description:" 4
4113 Extract \f[I]plan\f[] and extended \f[I]user\f[] metadata.
4114
4115 .IP "Supported Fields:" 4
4116 .br
4117 * \f[I]comments\f[]
4118 .br
4119 * \f[I]plan\f[]
4120 .br
4121 * \f[I]user\f[]
4122
4123 .IP "Note:" 4
4124 \f[I]comments\f[] can also be enabled via
4125 \f[I]fanbox.comments\f[]
4126
4127
4128 .SS extractor.fanbox.creator.offset
4129 .IP "Type:" 6
4130 \f[I]integer\f[]
4131
4132 .IP "Default:" 9
4133 \f[I]0\f[]
4134
4135 .IP "Description:" 4
4136 Custom \f[I]offset\f[] starting value when paginating over posts.
4137
4138
4139 .SS extractor.fansly.formats
4140 .IP "Type:" 6
4141 \f[I]list\f[] of \f[I]integers\f[]
4142
4143 .IP "Default:" 9
4144 \f[I]null\f[]
4145
4146 .IP "Example:" 4
4147 [1, 2, 3, 4, 302, 303]
4148
4149 .IP "Description:" 4
4150 List of file formats to consider during format selection.
4151
4152
4153 .SS extractor.fansly.previews
4154 .IP "Type:" 6
4155 \f[I]bool\f[]
4156
4157 .IP "Default:" 9
4158 \f[I]true\f[]
4159
4160 .IP "Description:" 4
4161 Download previews if no other format is available.
4162
4163
4164 .SS extractor.fansly.token
4165 .IP "Type:" 6
4166 \f[I]string\f[]
4167
4168 .IP "Example:" 4
4169 "kX7pL9qW3zT2rY8mB5nJ4vC6xF1tA0hD8uE2wG9yR3sQ7iZ4oM5jN6cP8lV0bK2tU9aL1eW"
4170
4171 .IP "Description:" 4
4172 \f[I]authorization\f[] header value
4173 used for requests to \f[I]https://apiv3.fansly.com/api\f[]
4174 to access locked content.
4175
4176
4177 .SS extractor.fantia.text
4178 .IP "Type:" 6
4179 \f[I]bool\f[]
4180
4181 .IP "Default:" 9
4182 \f[I]true\f[]
4183
4184 .IP "Description:" 4
4185 Download content of text-only posts.
4186
4187
4188 .SS extractor.filester.domain
4189 .IP "Type:" 6
4190 \f[I]string\f[]
4191
4192 .IP "Default:" 9
4193 \f[I]"filester.me"\f[]
4194
4195 .IP "Description:" 4
4196 Specifies the domain used by \f[I]filester\f[] extractors.
4197
4198 Setting this option to \f[I]"auto"\f[]
4199 uses the same domain as a given input URL.
4200
4201
4202 .SS extractor.flickr.access-token & .access-token-secret
4203 .IP "Type:" 6
4204 \f[I]string\f[]
4205
4206 .IP "Default:" 9
4207 \f[I]null\f[]
4208
4209 .IP "Description:" 4
4210 The \f[I]access_token\f[] and \f[I]access_token_secret\f[] values you get
4211 from \f[I]linking your Flickr account to gallery-dl\f[].
4212
4213
4214 .SS extractor.flickr.contexts
4215 .IP "Type:" 6
4216 \f[I]bool\f[]
4217
4218 .IP "Default:" 9
4219 \f[I]false\f[]
4220
4221 .IP "Description:" 4
4222 For each photo, return the albums and pools it belongs to
4223 as \f[I]set\f[] and \f[I]pool\f[] metadata.
4224
4225 .IP "Note:" 4
4226 This requires 1 additional API call per photo.
4227 See \f[I]flickr.photos.getAllContexts\f[] for details.
4228
4229
4230 .SS extractor.flickr.exif
4231 .IP "Type:" 6
4232 \f[I]bool\f[]
4233
4234 .IP "Default:" 9
4235 \f[I]false\f[]
4236
4237 .IP "Description:" 4
4238 For each photo, return its EXIF/TIFF/GPS tags
4239 as \f[I]exif\f[] and \f[I]camera\f[] metadata.
4240
4241 .IP "Note:" 4
4242 This requires 1 additional API call per photo.
4243 See \f[I]flickr.photos.getExif\f[] for details.
4244
4245
4246 .SS extractor.flickr.info
4247 .IP "Type:" 6
4248 \f[I]bool\f[]
4249
4250 .IP "Default:" 9
4251 \f[I]false\f[]
4252
4253 .IP "Description:" 4
4254 For each photo, retrieve its "full" metadata as provided by
4255 \f[I]flickr.photos.getInfo\f[]
4256
4257 .IP "Note:" 4
4258 This requires 1 additional API call per photo.
4259
4260
4261 .SS extractor.flickr.metadata
4262 .IP "Type:" 6
4263 .br
4264 * \f[I]bool\f[]
4265 .br
4266 * \f[I]string\f[]
4267 .br
4268 * \f[I]list\f[] of \f[I]strings\f[]
4269
4270 .IP "Default:" 9
4271 \f[I]false\f[]
4272
4273 .IP "Example:" 4
4274 .br
4275 * license,last_update,machine_tags
4276 .br
4277 * ["license", "last_update", "machine_tags"]
4278
4279 .IP "Description:" 4
4280 Extract additional metadata
4281 (license, date_taken, original_format, last_update, geo, machine_tags, o_dims)
4282
4283 It is possible to specify a custom list of metadata includes.
4284 See \f[I]the extras parameter\f[]
4285 in \f[I]Flickr's API docs\f[]
4286 for possible field names.
4287
4288
4289 .SS extractor.flickr.profile
4290 .IP "Type:" 6
4291 \f[I]bool\f[]
4292
4293 .IP "Default:" 9
4294 \f[I]false\f[]
4295
4296 .IP "Description:" 4
4297 Extract additional \f[I]user\f[] profile metadata.
4298
4299 .IP "Note:" 4
4300 This requires 1 additional API call per user profile.
4301 See \f[I]flickr.people.getInfo\f[] for details.
4302
4303
4304 .SS extractor.flickr.size-max
4305 .IP "Type:" 6
4306 .br
4307 * \f[I]integer\f[]
4308 .br
4309 * \f[I]string\f[]
4310
4311 .IP "Default:" 9
4312 \f[I]null\f[]
4313
4314 .IP "Description:" 4
4315 Sets the maximum allowed size for downloaded images.
4316
4317 .br
4318 * If this is an \f[I]integer\f[], it specifies the maximum image dimension
4319 (width and height) in pixels.
4320 .br
4321 * If this is a \f[I]string\f[], it should be one of Flickr's format specifiers
4322 (\f[I]"Original"\f[], \f[I]"Large"\f[], ... or \f[I]"o"\f[], \f[I]"k"\f[], \f[I]"h"\f[],
4323 \f[I]"l"\f[], ...) to use as an upper limit.
4324
4325
4326 .SS extractor.flickr.videos
4327 .IP "Type:" 6
4328 \f[I]bool\f[]
4329
4330 .IP "Default:" 9
4331 \f[I]true\f[]
4332
4333 .IP "Description:" 4
4334 Extract and download videos.
4335
4336
4337 .SS extractor.flickr.urls
4338 .IP "Type:" 6
4339 \f[I]string\f[]
4340
4341 .IP "Default:" 9
4342 \f[I]null\f[]
4343
4344 .IP "Description:" 4
4345 Transform image URLs.
4346
4347 \f[I]"download"\f[]
4348 Download URLs
4349 (e.g. \f[I]https://live.staticflickr.com/123/456789_abcdef_o_d.jpg\f[])
4350
4351
4352 .SS extractor.foriio.audio
4353 .IP "Type:" 6
4354 \f[I]bool\f[]
4355
4356 .IP "Default:" 9
4357 \f[I]true\f[]
4358
4359 .IP "Description:" 4
4360 Download embedded audio files using \f[I]ytdl\f[]
4361 in \f[I]sound\f[] works
4362
4363
4364 .SS extractor.foriio.external
4365 .IP "Type:" 6
4366 \f[I]bool\f[]
4367
4368 .IP "Default:" 9
4369 \f[I]true\f[]
4370
4371 .IP "Description:" 4
4372 Follow external URLs
4373 in \f[I]web_article\f[] works
4374
4375
4376 .SS extractor.foriio.user.posts
4377 .IP "Type:" 6
4378 .br
4379 * \f[I]string\f[]
4380 .br
4381 * \f[I]list\f[] of \f[I]strings\f[]
4382
4383 .IP "Default:" 9
4384 \f[I]null\f[]
4385
4386 .IP "Example:" 4
4387 .br
4388 * "image,video,sound"
4389 .br
4390 * ["web_article", "copy_writing"]
4391
4392 .IP "Description:" 4
4393 Only process works of the given types.
4394
4395
4396 .SS extractor.foriio.previews
4397 .IP "Type:" 6
4398 \f[I]bool\f[]
4399
4400 .IP "Default:" 9
4401 \f[I]false\f[]
4402
4403 .IP "Description:" 4
4404 Download preview images of embedded media.
4405
4406
4407 .SS extractor.foriio.videos
4408 .IP "Type:" 6
4409 \f[I]bool\f[]
4410
4411 .IP "Default:" 9
4412 \f[I]true\f[]
4413
4414 .IP "Description:" 4
4415 Download embedded (YouTube) videos using \f[I]ytdl\f[]
4416 in \f[I]video\f[] works
4417
4418
4419 .SS extractor.furaffinity.comments
4420 .IP "Type:" 6
4421 \f[I]string\f[]
4422
4423 .IP "Default:" 9
4424 \f[I]"text"\f[]
4425
4426 .IP "Description:" 4
4427 Controls the format of \f[I]text\f[] entries in \f[I]comments\f[] metadata fields.
4428
4429 \f[I]"text"\f[]
4430 Plain text with HTML tags removed
4431 \f[I]"html"\f[]
4432 Raw HTML content
4433
4434
4435 .SS extractor.furaffinity.descriptions
4436 .IP "Type:" 6
4437 \f[I]string\f[]
4438
4439 .IP "Default:" 9
4440 \f[I]"text"\f[]
4441
4442 .IP "Description:" 4
4443 Controls the format of \f[I]description\f[] metadata fields.
4444
4445 \f[I]"text"\f[]
4446 Plain text with HTML tags removed
4447 \f[I]"html"\f[]
4448 Raw HTML content
4449
4450
4451 .SS extractor.furaffinity.external
4452 .IP "Type:" 6
4453 \f[I]bool\f[]
4454
4455 .IP "Default:" 9
4456 \f[I]false\f[]
4457
4458 .IP "Description:" 4
4459 Follow external URLs linked in descriptions.
4460
4461
4462 .SS extractor.furaffinity.include
4463 .IP "Type:" 6
4464 .br
4465 * \f[I]string\f[]
4466 .br
4467 * \f[I]list\f[] of \f[I]strings\f[]
4468
4469 .IP "Default:" 9
4470 \f[I]"gallery"\f[]
4471
4472 .IP "Example:" 4
4473 .br
4474 * "scraps,favorite"
4475 .br
4476 * ["scraps", "favorite"]
4477
4478 .IP "Description:" 4
4479 A (comma-separated) list of subcategories to include
4480 when processing a user profile.
4481
4482 .IP "Supported Values:" 4
4483 .br
4484 * \f[I]gallery\f[]
4485 .br
4486 * \f[I]scraps\f[]
4487 .br
4488 * \f[I]favorite\f[]
4489 .br
4490 * \f[I]journals\f[]
4491
4492 .IP "Note:" 4
4493 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
4494
4495
4496 .SS extractor.furaffinity.layout
4497 .IP "Type:" 6
4498 \f[I]string\f[]
4499
4500 .IP "Default:" 9
4501 \f[I]"auto"\f[]
4502
4503 .IP "Description:" 4
4504 Selects which site layout to expect when parsing posts.
4505
4506 \f[I]"auto"\f[]
4507 Automatically differentiate between \f[I]"old"\f[] and \f[I]"new"\f[]
4508 \f[I]"old"\f[]
4509 Expect the *old* site layout
4510 \f[I]"new"\f[]
4511 Expect the *new* site layout
4512
4513
4514 .SS extractor.gelbooru.api-key & .user-id
4515 .IP "Type:" 6
4516 \f[I]string\f[]
4517
4518 .IP "Default:" 9
4519 \f[I]null\f[]
4520
4521 .IP "Description:" 4
4522 Values from the API Access Credentials section
4523 found at the bottom of your account's
4524 \f[I]Options\f[]
4525 page.
4526
4527
4528 .SS extractor.gelbooru.favorite.order-posts
4529 .IP "Type:" 6
4530 \f[I]string\f[]
4531
4532 .IP "Default:" 9
4533 \f[I]"desc"\f[]
4534
4535 .IP "Description:" 4
4536 Controls the order in which favorited posts are returned.
4537
4538 \f[I]"asc"\f[]
4539 Ascending favorite date order (oldest first)
4540 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
4541 Descending favorite date order (newest first)
4542
4543
4544 .SS extractor.generic.enabled
4545 .IP "Type:" 6
4546 \f[I]bool\f[]
4547
4548 .IP "Default:" 9
4549 \f[I]false\f[]
4550
4551 .IP "Description:" 4
4552 Match **all** URLs not otherwise supported by gallery-dl,
4553 even ones without a \f[I]generic:\f[] prefix.
4554
4555
4556 .SS extractor.gofile.api-token
4557 .IP "Type:" 6
4558 \f[I]string\f[]
4559
4560 .IP "Default:" 9
4561 \f[I]null\f[]
4562
4563 .IP "Description:" 4
4564 API token value found at the bottom of your \f[I]profile page\f[].
4565
4566 If not set, a temporary guest token will be used.
4567
4568
4569 .SS extractor.gofile.website-token
4570 .IP "Type:" 6
4571 \f[I]string\f[]
4572
4573 .IP "Description:" 4
4574 API token value used during API requests.
4575
4576 An invalid or not up-to-date value
4577 will result in \f[I]401 Unauthorized\f[] errors.
4578
4579 Keeping this option unset will use an extra HTTP request
4580 to attempt to fetch the current value used by gofile.
4581
4582
4583 .SS extractor.gofile.recursive
4584 .IP "Type:" 6
4585 \f[I]bool\f[]
4586
4587 .IP "Default:" 9
4588 \f[I]true\f[]
4589
4590 .IP "Description:" 4
4591 Recursively download files from subfolders.
4592
4593
4594 .SS extractor.gofile.salt
4595 .IP "Type:" 6
4596 \f[I]string\f[]
4597
4598 .IP "Description:" 4
4599 Alternate salt value used during website token generation.
4600
4601
4602 .SS extractor.hdoujin.cbz
4603 .IP "Type:" 6
4604 \f[I]bool\f[]
4605
4606 .IP "Default:" 9
4607 \f[I]false\f[]
4608
4609 .IP "Description:" 4
4610 Download each gallery as a single \f[I].cbz\f[] file.
4611
4612 .IP "Note:" 4
4613 Requires a
4614 \f[I]token\f[]
4615
4616
4617 .SS extractor.hdoujin.crt
4618 .IP "Type:" 6
4619 \f[I]string\f[]
4620
4621 .IP "Example:" 4
4622 .br
4623 * "0542daa9-352c-4fd5-a497-6c6d5cf07423"
4624 .br
4625 * "/12345/a1b2c3d4e5f6?crt=0542daa9-352c-4fd5-a497-6c6d5cf07423"
4626
4627 .IP "Description:" 4
4628 The \f[I]crt\f[] query parameter value
4629 sent when fetching gallery data.
4630
4631 To get this value:
4632
4633 .br
4634 * Open your browser's Developer Tools (F12)
4635 .br
4636 * Select Network → XHR
4637 .br
4638 * Open a gallery page
4639 .br
4640 * Select the last Network entry and copy its \f[I]crt\f[] value
4641
4642 .IP "Note:" 4
4643 You will also need your browser's
4644 \f[I]user-agent\f[]
4645
4646
4647 .SS extractor.hdoujin.format
4648 .IP "Type:" 6
4649 .br
4650 * \f[I]string\f[]
4651 .br
4652 * \f[I]list\f[] of \f[I]strings\f[]
4653
4654 .IP "Default:" 9
4655 \f[I]["0", "1600", "1280", "980", "780"]\f[]
4656
4657 .IP "Description:" 4
4658 Name(s) of the image format to download.
4659
4660 When more than one format is given, the first available one is selected.
4661
4662 Possible formats are
4663 .br
4664 \f[I]"780"\f[], \f[I]"980"\f[], \f[I]"1280"\f[], \f[I]"1600"\f[], \f[I]"0"\f[] (original)
4665 .br
4666
4667
4668 .SS extractor.hdoujin.tags
4669 .IP "Type:" 6
4670 \f[I]bool\f[]
4671
4672 .IP "Default:" 9
4673 \f[I]false\f[]
4674
4675 .IP "Description:" 4
4676 Group \f[I]tags\f[] by type and
4677 provide them as \f[I]tags_<type>\f[] metadata fields,
4678 for example \f[I]tags_artist\f[] or \f[I]tags_character\f[].
4679
4680
4681 .SS extractor.hdoujin.token
4682 .IP "Type:" 6
4683 \f[I]string\f[]
4684
4685 .IP "Example:" 4
4686 .br
4687 * "3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
4688 .br
4689 * "Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
4690 .br
4691 * "Authorization: Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
4692
4693 .IP "Description:" 4
4694 \f[I]Authorization\f[] header value
4695 used for requests to \f[I]https://api.hdoujin.org\f[]
4696 to access \f[I]favorite\f[] galleries
4697 or download
4698 \f[I].cbz\f[]
4699 archives.
4700
4701
4702 .SS extractor.hentaifoundry.descriptions
4703 .IP "Type:" 6
4704 \f[I]string\f[]
4705
4706 .IP "Default:" 9
4707 \f[I]"text"\f[]
4708
4709 .IP "Description:" 4
4710 Controls the format of \f[I]description\f[] metadata fields.
4711
4712 \f[I]"text"\f[]
4713 Plain text with HTML tags removed
4714 \f[I]"html"\f[]
4715 Raw HTML content
4716
4717
4718 .SS extractor.hentaifoundry.include
4719 .IP "Type:" 6
4720 .br
4721 * \f[I]string\f[]
4722 .br
4723 * \f[I]list\f[] of \f[I]strings\f[]
4724
4725 .IP "Default:" 9
4726 \f[I]"pictures"\f[]
4727
4728 .IP "Example:" 4
4729 .br
4730 * "scraps,stories"
4731 .br
4732 * ["scraps", "stories"]
4733
4734 .IP "Description:" 4
4735 A (comma-separated) list of subcategories to include
4736 when processing a user profile.
4737
4738 .IP "Supported Values:" 4
4739 .br
4740 * \f[I]pictures\f[]
4741 .br
4742 * \f[I]scraps\f[]
4743 .br
4744 * \f[I]stories\f[]
4745 .br
4746 * \f[I]favorite\f[]
4747
4748 .IP "Note:" 4
4749 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
4750
4751
4752 .SS extractor.hitomi.format
4753 .IP "Type:" 6
4754 \f[I]string\f[]
4755
4756 .IP "Default:" 9
4757 \f[I]"webp"\f[]
4758
4759 .IP "Description:" 4
4760 Selects which image format to download.
4761
4762 .IP "Available Formats:" 4
4763 .br
4764 * \f[I]"webp"\f[]
4765 .br
4766 * \f[I]"avif"\f[]
4767
4768
4769 .SS extractor.imagechest.access-token
4770 .IP "Type:" 6
4771 \f[I]string\f[]
4772
4773 .IP "Description:" 4
4774 Your personal Image Chest access token.
4775
4776 These tokens allow using the API instead of having to scrape HTML pages,
4777 providing more detailed metadata.
4778 (\f[I]date\f[], \f[I]description\f[], etc)
4779
4780 See https://imgchest.com/docs/api/1.0/general/authorization
4781 for instructions on how to generate such a token.
4782
4783
4784 .SS extractor.imgur.client-id
4785 .IP "Type:" 6
4786 \f[I]string\f[]
4787
4788 .IP "Description:" 4
4789 Custom Client ID value for API requests.
4790
4791
4792 .SS extractor.imgur.mp4
4793 .IP "Type:" 6
4794 .br
4795 * \f[I]bool\f[]
4796 .br
4797 * \f[I]string\f[]
4798
4799 .IP "Default:" 9
4800 \f[I]true\f[]
4801
4802 .IP "Description:" 4
4803 Controls whether to choose the GIF or MP4 version of an animation.
4804
4805 \f[I]true\f[]
4806 Follow Imgur's advice and choose MP4 if the
4807 \f[I]prefer_video\f[] flag in an image's metadata is set.
4808 \f[I]false\f[]
4809 Always choose GIF.
4810 \f[I]"always"\f[]
4811 Always choose MP4.
4812
4813
4814 .SS extractor.inkbunny.orderby
4815 .IP "Type:" 6
4816 \f[I]string\f[]
4817
4818 .IP "Default:" 9
4819 \f[I]"create_datetime"\f[]
4820
4821 .IP "Description:" 4
4822 Value of the \f[I]orderby\f[] parameter for submission searches.
4823
4824 (See \f[I]API#Search\f[]
4825 for details)
4826
4827
4828 .SS extractor.instagram.audio
4829 .IP "Type:" 6
4830 .br
4831 * \f[I]bool\f[]
4832 .br
4833 * \f[I]string\f[]
4834
4835 .IP "Default:" 9
4836 \f[I]false\f[]
4837
4838 .IP "Description:" 4
4839 Controls audio download behavior.
4840
4841 \f[I]true\f[] \f[I] \f[I]"dash"\f[] \f[] \f[I]"ytdl"\f[]
4842 Download audio from \f[I]dash_manifest\f[] data using \f[I]ytdl\f[] when available
4843 and a non-DASH format otherwise
4844 \f[I]"merged"\f[]
4845 Download non-DASH formats
4846 \f[I]false\f[]
4847 Do not download audio files
4848
4849
4850 .SS extractor.instagram.cursor
4851 .IP "Type:" 6
4852 .br
4853 * \f[I]bool\f[]
4854 .br
4855 * \f[I]string\f[]
4856
4857 .IP "Default:" 9
4858 \f[I]true\f[]
4859
4860 .IP "Example:" 4
4861 "3414259811154179155_25025320"
4862
4863 .IP "Description:" 4
4864 Controls from which position to start the extraction process from.
4865
4866 \f[I]true\f[]
4867 Start from the beginning.
4868 .br
4869 Log the most recent \f[I]cursor\f[] value when interrupted before reaching the end.
4870 .br
4871 \f[I]false\f[]
4872 Start from the beginning.
4873 any \f[I]string\f[]
4874 Start from the position defined by this value.
4875
4876
4877 .SS extractor.instagram.include
4878 .IP "Type:" 6
4879 .br
4880 * \f[I]string\f[]
4881 .br
4882 * \f[I]list\f[] of \f[I]strings\f[]
4883
4884 .IP "Default:" 9
4885 \f[I]"posts"\f[]
4886
4887 .IP "Example:" 4
4888 .br
4889 * "stories,highlights,posts"
4890 .br
4891 * ["stories", "highlights", "posts"]
4892
4893 .IP "Description:" 4
4894 A (comma-separated) list of subcategories to include
4895 when processing a user profile.
4896
4897 .IP "Supported Values:" 4
4898 .br
4899 * \f[I]posts\f[]
4900 .br
4901 * \f[I]reels\f[]
4902 .br
4903 * \f[I]tagged\f[]
4904 .br
4905 * \f[I]stories\f[]
4906 .br
4907 * \f[I]highlights\f[]
4908 .br
4909 * \f[I]info\f[]
4910 .br
4911 * \f[I]avatar\f[]
4912
4913 .IP "Note:" 4
4914 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
4915
4916
4917 .SS extractor.instagram.max-posts
4918 .IP "Type:" 6
4919 \f[I]integer\f[]
4920
4921 .IP "Default:" 9
4922 \f[I]null\f[]
4923
4924 .IP "Description:" 4
4925 Limit the number of posts to download.
4926
4927
4928 .SS extractor.instagram.metadata
4929 .IP "Type:" 6
4930 \f[I]bool\f[]
4931
4932 .IP "Default:" 9
4933 \f[I]false\f[]
4934
4935 .IP "Description:" 4
4936 Provide extended \f[I]user\f[] metadata even when referring to a user by ID,
4937 e.g. \f[I]instagram.com/id:12345678\f[].
4938
4939 .IP "Note:" 4
4940 This metadata is always available when referring to a user by name,
4941 e.g. \f[I]instagram.com/USERNAME\f[].
4942
4943
4944 .SS extractor.instagram.order-files
4945 .IP "Type:" 6
4946 \f[I]string\f[]
4947
4948 .IP "Default:" 9
4949 \f[I]"asc"\f[]
4950
4951 .IP "Description:" 4
4952 Controls the order in which files of each post are returned.
4953
4954 \f[I]"asc"\f[]
4955 Same order as displayed in a post
4956 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
4957 Reverse order as displayed in a post
4958
4959 .IP "Note:" 4
4960 This option does *not* affect \f[I]{num}\f[].
4961 To enumerate files in reverse order, use \f[I]count - num + 1\f[].
4962
4963
4964 .SS extractor.instagram.order-posts
4965 .IP "Type:" 6
4966 \f[I]string\f[]
4967
4968 .IP "Default:" 9
4969 \f[I]"asc"\f[]
4970
4971 .IP "Description:" 4
4972 Controls the order in which posts are returned.
4973
4974 \f[I]"asc"\f[]
4975 Same order as displayed
4976 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
4977 Reverse order as displayed
4978 \f[I]"id"\f[] or \f[I]"id_asc"\f[]
4979 Ascending order by ID
4980 \f[I]"id_desc"\f[]
4981 Descending order by ID
4982
4983 .IP "Note:" 4
4984 This option only affects \f[I]highlights\f[].
4985
4986
4987 .SS extractor.instagram.pinned
4988 .IP "Type:" 6
4989 \f[I]bool\f[]
4990
4991 .IP "Default:" 9
4992 \f[I]true\f[]
4993
4994 .IP "Description:" 4
4995 Process pinned posts.
4996
4997
4998 .SS extractor.instagram.previews
4999 .IP "Type:" 6
5000 .br
5001 * \f[I]bool\f[]
5002 .br
5003 * \f[I]string\f[]
5004 .br
5005 * \f[I]list\f[] of \f[I]strings\f[]
5006
5007 .IP "Default:" 9
5008 \f[I]false\f[]
5009
5010 .IP "Example:" 4
5011 .br
5012 * "video"
5013 .br
5014 * ["audio", "video"]
5015
5016 .IP "Description:" 4
5017 Download video previews and audio covers.
5018
5019
5020 .SS extractor.instagram.static-videos
5021 .IP "Type:" 6
5022 \f[I]bool\f[]
5023
5024 .IP "Default:" 9
5025 \f[I]true\f[]
5026
5027 .IP "Description:" 4
5028 Download static story/highlight "videos" generated from a photo.
5029
5030 Disabling this option downloads the photo version instead.
5031
5032
5033 .SS extractor.instagram.user-cache
5034 .IP "Type:" 6
5035 .br
5036 * \f[I]bool\f[]
5037 .br
5038 * \f[I]string\f[]
5039
5040 .IP "Default:" 9
5041 \f[I]"disk"\f[]
5042
5043 .IP "Description:" 4
5044 Selects how to cache user profile data.
5045
5046 \f[I]true\f[] \f[I] \f[I]"disk"\f[]
5047 Cache user data on disk
5048 \f[I]false\f[] \f[] \f[I]"memory"\f[]
5049 Cache user data in memory
5050
5051
5052 .SS extractor.instagram.user-strategy
5053 .IP "Type:" 6
5054 .br
5055 * \f[I]string\f[]
5056 .br
5057 * \f[I]list\f[] of \f[I]strings\f[]
5058
5059 .IP "Default:" 9
5060 \f[I]["search", "web"]\f[]
5061
5062 .IP "Example:" 4
5063 .br
5064 * "web,info,search"
5065 .br
5066 * ["web", "info", "search"]
5067
5068 .IP "Description:" 4
5069 Selects how to retrieve user IDs and profile data.
5070
5071 \f[I]"search"\f[] \f[I] \f[I]"topsearch"\f[]
5072 Use topsearch API results
5073 \f[I]"info"\f[] \f[] \f[I]"web_profile_info"\f[]
5074 Use web_profile_info API results
5075 .br
5076 (high liklyhood of \f[I]429 Too Many Requests\f[] errors)
5077 .br
5078 \f[I]"web"\f[] | \f[I]"webpage"\f[]
5079 Extract minimal user information from profile webpage
5080
5081
5082 .SS extractor.instagram.videos
5083 .IP "Type:" 6
5084 .br
5085 * \f[I]bool\f[]
5086 .br
5087 * \f[I]string\f[]
5088
5089 .IP "Default:" 9
5090 \f[I]true\f[]
5091
5092 .IP "Description:" 4
5093 Controls video download behavior.
5094
5095 \f[I]true\f[] \f[I] \f[I]"dash"\f[] \f[] \f[I]"ytdl"\f[]
5096 Download videos from \f[I]video_dash_manifest\f[] data using \f[I]ytdl\f[]
5097 \f[I]"merged"\f[]
5098 Download pre-merged video formats
5099 \f[I]false\f[]
5100 Do not download videos
5101
5102
5103 .SS extractor.instagram.warn-images
5104 .IP "Type:" 6
5105 .br
5106 * \f[I]bool\f[]
5107 .br
5108 * \f[I]string\f[]
5109
5110 .IP "Default:" 9
5111 \f[I]true\f[]
5112
5113 .IP "Description:" 4
5114 Show a warning when downloading images
5115 with a resolution smaller than the original.
5116
5117 \f[I]true\f[]
5118 Show a warning when at least one dimension
5119 is smaller than the reported original resolution
5120 \f[I]"all"\f[] | \f[I]"both"\f[]
5121 Show a warning only when both \f[I]width\f[] and \f[I]height\f[]
5122 are smaller than the reported original resolution
5123 \f[I]false\f[]
5124 Do not show a warning
5125
5126
5127 .SS extractor.instagram.warn-videos
5128 .IP "Type:" 6
5129 \f[I]bool\f[]
5130
5131 .IP "Default:" 9
5132 \f[I]true\f[]
5133
5134 .IP "Description:" 4
5135 Show a warning when downloading videos with a
5136 \f[I]User-Agent\f[]
5137 header causing potentially lowered video quality.
5138
5139
5140 .SS extractor.instagram.wd
5141 .IP "Type:" 6
5142 .br
5143 * \f[I]bool\f[]
5144 .br
5145 * \f[I]string\f[]
5146
5147 .IP "Default:" 9
5148 \f[I]false\f[]
5149
5150 .IP "Description:" 4
5151 Controls how to handle \f[I]wd\f[] cookies,
5152 .br
5153 which possibly limit the dimensions of returned photos.
5154 .br
5155
5156 \f[I]true\f[]
5157 Keep \f[I]wd\f[] cookie
5158 \f[I]false\f[]
5159 Unset/delete \f[I]wd\f[] cookie
5160 any \f[I]string\f[]
5161 Set \f[I]wd\f[] cookie to this value
5162
5163
5164 .SS extractor.instagram.stories.split
5165 .IP "Type:" 6
5166 .br
5167 * \f[I]bool\f[]
5168
5169 .IP "Default:" 9
5170 \f[I]false\f[]
5171
5172 .IP "Description:" 4
5173 Split \f[I]stories\f[] elements into separate posts.
5174
5175
5176 .SS extractor.itaku.include
5177 .IP "Type:" 6
5178 .br
5179 * \f[I]string\f[]
5180 .br
5181 * \f[I]list\f[] of \f[I]strings\f[]
5182
5183 .IP "Default:" 9
5184 \f[I]"gallery"\f[]
5185
5186 .IP "Example:" 4
5187 .br
5188 * "stars,gallery"
5189 .br
5190 * ["stars", "gallery"]
5191
5192 .IP "Description:" 4
5193 A (comma-separated) list of subcategories to include
5194 when processing a user profile.
5195
5196 .IP "Supported Values:" 4
5197 .br
5198 * \f[I]gallery\f[]
5199 .br
5200 * \f[I]posts\f[]
5201 .br
5202 * \f[I]followers\f[]
5203 .br
5204 * \f[I]following\f[]
5205 .br
5206 * \f[I]stars\f[]
5207
5208 .IP "Note:" 4
5209 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
5210
5211
5212 .SS extractor.itaku.order
5213 .IP "Type:" 6
5214 \f[I]string\f[]
5215
5216 .IP "Default:" 9
5217 \f[I]"desc"\f[]
5218
5219 .IP "Description:" 4
5220 Controls the order in which
5221 images/posts/users are returned.
5222
5223 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
5224 Ascending order (oldest first)
5225 \f[I]"desc"\f[]
5226 Descending order (newest first)
5227 any other \f[I]string\f[]
5228 Custom result order
5229
5230
5231 .SS extractor.itaku.videos
5232 .IP "Type:" 6
5233 \f[I]bool\f[]
5234
5235 .IP "Default:" 9
5236 \f[I]true\f[]
5237
5238 .IP "Description:" 4
5239 Download video files.
5240
5241
5242 .SS extractor.iwara.embeds
5243 .IP "Type:" 6
5244 \f[I]bool\f[]
5245
5246 .IP "Default:" 9
5247 \f[I]false\f[]
5248
5249 .IP "Description:" 4
5250 Downlload embedded external videos using \f[I]ytdl\f[].
5251
5252
5253 .SS extractor.iwara.format
5254 .IP "Type:" 6
5255 .br
5256 * \f[I]string\f[]
5257 .br
5258 * \f[I]list\f[] of \f[I]strings\f[]
5259
5260 .IP "Example:" 4
5261 .br
5262 * "Source"
5263 .br
5264 * "360,540,Source"
5265 .br
5266 * ["360", "540", "Source"]
5267
5268 .IP "Description:" 4
5269 Selects the preferred format for video downloads.
5270
5271 When more than one format is given, the first available one is selected.
5272
5273
5274 .SS extractor.iwara.include
5275 .IP "Type:" 6
5276 .br
5277 * \f[I]string\f[]
5278 .br
5279 * \f[I]list\f[] of \f[I]strings\f[]
5280
5281 .IP "Default:" 9
5282 \f[I]["user-images", "user-videos"]\f[]
5283
5284 .IP "Description:" 4
5285 A (comma-separated) list of subcategories to include
5286 when processing a user profile.
5287
5288 .IP "Supported Values:" 4
5289 .br
5290 * \f[I]user-images\f[]
5291 .br
5292 * \f[I]user-videos\f[]
5293 .br
5294 * \f[I]user-playlists\f[]
5295
5296 .IP "Note:" 4
5297 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
5298
5299
5300 .SS extractor.joyreactor.embeds
5301 .IP "Type:" 6
5302 \f[I]bool\f[]
5303
5304 .IP "Default:" 9
5305 \f[I]false\f[]
5306
5307 .IP "Description:" 4
5308 Downlload embedded external videos with \f[I]ytdl\f[].
5309
5310
5311 .SS extractor.joyreactor.formats
5312 .IP "Type:" 6
5313 .br
5314 * \f[I]string\f[]
5315 .br
5316 * \f[I]list\f[] of \f[I]strings\f[]
5317
5318 .IP "Default:" 9
5319 \f[I]["webm"]\f[]
5320
5321 .IP "Example:" 4
5322 "gif,mp4,webm"
5323
5324 .IP "Description:" 4
5325 A (comma-separated) list of video formats to download.
5326
5327 .IP "Supported Values:" 4
5328 .br
5329 * \f[I]webm\f[]
5330 .br
5331 * \f[I]mp4\f[]
5332 .br
5333 * \f[I]gif\f[]
5334
5335
5336 .SS extractor.joyreactor.metadata
5337 .IP "Type:" 6
5338 \f[I]bool\f[]
5339
5340 .IP "Default:" 9
5341 \f[I]false\f[]
5342
5343 .IP "Description:" 4
5344 Extract additional metadata.
5345
5346
5347 .SS extractor.joyreactor.videos
5348 .IP "Type:" 6
5349 \f[I]bool\f[]
5350
5351 .IP "Default:" 9
5352 \f[I]true\f[]
5353
5354 .IP "Description:" 4
5355 Download videos.
5356
5357
5358 .SS extractor.kemono.archives
5359 .IP "Type:" 6
5360 \f[I]bool\f[]
5361
5362 .IP "Default:" 9
5363 \f[I]false\f[]
5364
5365 .IP "Description:" 4
5366 Extract additional metadata for \f[I]archives\f[] files, including
5367 \f[I]file\f[], \f[I]file_list\f[], and \f[I]password\f[].
5368
5369 .IP "Note:" 4
5370 This requires 1 additional HTTP request per \f[I]archives\f[] file.
5371
5372
5373 .SS extractor.kemono.archives-format
5374 .IP "Type:" 6
5375 \f[I]string\f[]
5376
5377 .IP "Default:" 9
5378 \f[I]"list"\f[]
5379
5380 .IP "Description:" 4
5381 Determines the format/type of the
5382 \f[I]archives\f[]
5383 metadata field.
5384
5385 \f[I]"list"\f[] \f[I] \f[I]"array"\f[]
5386 Plain \f[I]list\f[] with archive files as elements
5387 \f[I]"dict"\f[] \f[] \f[I]"object"\f[]
5388 A \f[I]dict\f[] with each archive file's \f[I]hash\f[] as key.
5389
5390
5391 .SS extractor.kemono.comments
5392 .IP "Type:" 6
5393 \f[I]bool\f[]
5394
5395 .IP "Default:" 9
5396 \f[I]false\f[]
5397
5398 .IP "Description:" 4
5399 Extract \f[I]comments\f[] metadata.
5400
5401 .IP "Note:" 4
5402 This requires 1 additional HTTP request per post.
5403
5404
5405 .SS extractor.kemono.duplicates
5406 .IP "Type:" 6
5407 .br
5408 * \f[I]bool\f[]
5409 .br
5410 * \f[I]string\f[]
5411 .br
5412 * \f[I]list\f[] of \f[I]strings\f[]
5413
5414 .IP "Default:" 9
5415 \f[I]false\f[]
5416
5417 .IP "Example:" 4
5418 .br
5419 * "attachment,inline"
5420 .br
5421 * ["file", "attachment"]
5422
5423 .IP "Description:" 4
5424 Controls how to handle duplicate files in a post.
5425
5426 \f[I]true\f[]
5427 Download duplicates
5428 \f[I]false\f[]
5429 Ignore duplicates
5430 any \f[I]list\f[] or \f[I]string\f[]
5431 Download a duplicate file if its \f[I]type\f[] is in the given list
5432 .br
5433 Ignore it otherwise
5434 .br
5435
5436
5437 .SS extractor.kemono.dms
5438 .IP "Type:" 6
5439 \f[I]bool\f[]
5440
5441 .IP "Default:" 9
5442 \f[I]false\f[]
5443
5444 .IP "Description:" 4
5445 Extract a user's direct messages as \f[I]dms\f[] metadata.
5446
5447
5448 .SS extractor.kemono.announcements
5449 .IP "Type:" 6
5450 \f[I]bool\f[]
5451
5452 .IP "Default:" 9
5453 \f[I]false\f[]
5454
5455 .IP "Description:" 4
5456 Extract a user's announcements as \f[I]announcements\f[] metadata.
5457
5458
5459 .SS extractor.kemono.endpoint
5460 .IP "Type:" 6
5461 \f[I]string\f[]
5462
5463 .IP "Default:" 9
5464 \f[I]"posts"\f[]
5465
5466 .IP "Description:" 4
5467 API endpoint to use for retrieving creator posts.
5468
5469 \f[I]"posts"\f[] \f[I] \f[I]"legacy"\f[]
5470 Provides only limited metadata.
5471 \f[I]"posts+"\f[] \f[] \f[I]"legacy+"\f[]
5472 Provides full metadata,
5473 but requires an additional API request for each post.
5474
5475
5476 .SS extractor.kemono.favorites
5477 .IP "Type:" 6
5478 \f[I]string\f[]
5479
5480 .IP "Default:" 9
5481 \f[I]"artist"\f[]
5482
5483 .IP "Description:" 4
5484 Determines the type of favorites to be downloaded.
5485
5486 Available types are \f[I]artist\f[] and \f[I]post\f[].
5487
5488
5489 .SS extractor.kemono.files
5490 .IP "Type:" 6
5491 \f[I]list\f[] of \f[I]strings\f[]
5492
5493 .IP "Default:" 9
5494 \f[I]["attachments", "file", "inline"]\f[]
5495
5496 .IP "Description:" 4
5497 Determines the type and order of files to be downloaded.
5498
5499 .IP "Available Types:" 4
5500 .br
5501 * \f[I]file\f[]
5502 .br
5503 * \f[I]attachments\f[]
5504 .br
5505 * \f[I]inline\f[]
5506
5507
5508 .SS extractor.kemono.max-posts
5509 .IP "Type:" 6
5510 \f[I]integer\f[]
5511
5512 .IP "Default:" 9
5513 \f[I]null\f[]
5514
5515 .IP "Description:" 4
5516 Limit the number of posts to download.
5517
5518
5519 .SS extractor.kemono.metadata
5520 .IP "Type:" 6
5521 \f[I]bool\f[]
5522
5523 .IP "Default:" 9
5524 \f[I]true\f[]
5525
5526 .IP "Description:" 4
5527 Extract \f[I]username\f[] and \f[I]user_profile\f[] metadata.
5528
5529
5530 .SS extractor.kemono.original
5531 .IP "Type:" 6
5532 \f[I]bool\f[]
5533
5534 .IP "Default:" 9
5535 \f[I]false\f[]
5536
5537 .IP "Description:" 4
5538 Try to download original files.
5539
5540 Download thumbnails/previews if available when this option is disabled.
5541
5542
5543 .SS extractor.kemono.revisions
5544 .IP "Type:" 6
5545 .br
5546 * \f[I]bool\f[]
5547 .br
5548 * \f[I]string\f[]
5549
5550 .IP "Default:" 9
5551 \f[I]false\f[]
5552
5553 .IP "Description:" 4
5554 Extract post revisions.
5555
5556 Set this to \f[I]"unique"\f[] to filter out duplicate revisions.
5557
5558 .IP "Note:" 4
5559 This requires 1 additional HTTP request per post.
5560
5561
5562 .SS extractor.kemono.order-revisions
5563 .IP "Type:" 6
5564 \f[I]string\f[]
5565
5566 .IP "Default:" 9
5567 \f[I]"desc"\f[]
5568
5569 .IP "Description:" 4
5570 Controls the order in which
5571 \f[I]revisions\f[]
5572 are returned.
5573
5574 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
5575 Ascending order (oldest first)
5576 \f[I]"desc"\f[]
5577 Descending order (newest first)
5578
5579
5580 .SS extractor.kemono.discord.order-posts
5581 .IP "Type:" 6
5582 \f[I]string\f[]
5583
5584 .IP "Default:" 9
5585 \f[I]"asc"\f[]
5586
5587 .IP "Description:" 4
5588 Controls the order in which
5589 \f[I]discord\f[] posts
5590 are returned.
5591
5592 \f[I]"asc"\f[]
5593 Ascending order (oldest first)
5594 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
5595 Descending order (newest first)
5596
5597
5598 .SS extractor.khinsider.covers
5599 .IP "Type:" 6
5600 \f[I]bool\f[]
5601
5602 .IP "Default:" 9
5603 \f[I]false\f[]
5604
5605 .IP "Description:" 4
5606 Download album cover images.
5607
5608
5609 .SS extractor.khinsider.format
5610 .IP "Type:" 6
5611 \f[I]string\f[]
5612
5613 .IP "Default:" 9
5614 \f[I]"mp3"\f[]
5615
5616 .IP "Description:" 4
5617 The name of the preferred file format to download.
5618
5619 Use \f[I]"all"\f[] to download all available formats,
5620 or a (comma-separated) list to select multiple formats.
5621
5622 If the selected format is not available,
5623 the first in the list gets chosen (usually mp3).
5624
5625
5626 .SS extractor.koofr.recursive
5627 .IP "Type:" 6
5628 \f[I]bool\f[]
5629
5630 .IP "Default:" 9
5631 \f[I]true\f[]
5632
5633 .IP "Description:" 4
5634 \f[I]true\f[]
5635 Recursively descent into subfolders
5636 while downloading individual files.
5637 \f[I]false\f[]
5638 Download shared /links/ with multiple files as a single .zip file.
5639
5640
5641 .SS extractor.lolisafe.domain
5642 .IP "Type:" 6
5643 \f[I]string\f[]
5644
5645 .IP "Default:" 9
5646 \f[I]null\f[]
5647
5648 .IP "Description:" 4
5649 Specifies the domain used by a \f[I]lolisafe\f[] extractor
5650 regardless of input URL.
5651
5652 Setting this option to \f[I]"auto"\f[]
5653 uses the same domain as a given input URL.
5654
5655
5656 .SS extractor.luscious.gif
5657 .IP "Type:" 6
5658 \f[I]bool\f[]
5659
5660 .IP "Default:" 9
5661 \f[I]false\f[]
5662
5663 .IP "Description:" 4
5664 Format in which to download animated images.
5665
5666 Use \f[I]true\f[] to download animated images as gifs and \f[I]false\f[]
5667 to download as mp4 videos.
5668
5669
5670 .SS extractor.mangadex.api-server
5671 .IP "Type:" 6
5672 \f[I]string\f[]
5673
5674 .IP "Default:" 9
5675 \f[I]"https://api.mangadex.org"\f[]
5676
5677 .IP "Description:" 4
5678 The server to use for API requests.
5679
5680
5681 .SS extractor.mangadex.api-parameters
5682 .IP "Type:" 6
5683 \f[I]object\f[] (name → value)
5684
5685 .IP "Example:" 4
5686 {"order[updatedAt]": "desc"}
5687
5688 .IP "Description:" 4
5689 Additional query parameters to send when fetching manga chapters.
5690
5691 (See \f[I]/manga/{id}/feed\f[]
5692 and \f[I]/user/follows/manga/feed\f[])
5693
5694
5695 .SS extractor.mangadex.data-saver
5696 .IP "Type:" 6
5697 \f[I]bool\f[]
5698
5699 .IP "Default:" 9
5700 \f[I]false\f[]
5701
5702 .IP "Description:" 4
5703 Enable Data Saver mode and download lower quality versions of chapters.
5704
5705
5706 .SS extractor.mangadex.lang
5707 .IP "Type:" 6
5708 .br
5709 * \f[I]string\f[]
5710 .br
5711 * \f[I]list\f[] of \f[I]strings\f[]
5712
5713 .IP "Example:" 4
5714 .br
5715 * "en"
5716 .br
5717 * "fr,it"
5718 .br
5719 * ["fr", "it"]
5720
5721 .IP "Description:" 4
5722 \f[I]ISO 639-1\f[] code(s) to filter chapters by.
5723
5724
5725 .SS extractor.mangadex.ratings
5726 .IP "Type:" 6
5727 .br
5728 * \f[I]string\f[]
5729 .br
5730 * \f[I]list\f[] of \f[I]strings\f[]
5731
5732 .IP "Default:" 9
5733 \f[I]["safe", "suggestive", "erotica", "pornographic"]\f[]
5734
5735 .IP "Example:" 4
5736 .br
5737 * "safe"
5738 .br
5739 * "erotica,suggestive"
5740 .br
5741 * ["erotica", "suggestive"]
5742
5743 .IP "Description:" 4
5744 List of acceptable content ratings for returned chapters.
5745
5746
5747 .SS extractor.mangadex.manga.covers
5748 .IP "Type:" 6
5749 \f[I]bool\f[]
5750
5751 .IP "Default:" 9
5752 \f[I]false\f[]
5753
5754 .IP "Description:" 4
5755 Download manga cover images.
5756
5757
5758 .SS extractor.mangafire.manga.lang
5759 .IP "Type:" 6
5760 \f[I]string\f[]
5761
5762 .IP "Default:" 9
5763 \f[I]"en"\f[]
5764
5765 .IP "Description:" 4
5766 \f[I]ISO 639-1\f[] code selecting which chapters to download.
5767
5768
5769 .SS extractor.mangareader.manga.lang
5770 .IP "Type:" 6
5771 \f[I]string\f[]
5772
5773 .IP "Default:" 9
5774 \f[I]"en"\f[]
5775
5776 .IP "Example:" 4
5777 "pt-br"
5778
5779 .IP "Description:" 4
5780 \f[I]ISO 639-1\f[] code selecting which chapters to download.
5781
5782
5783 .SS extractor.mangapark.source
5784 .IP "Type:" 6
5785 .br
5786 * \f[I]string\f[]
5787 .br
5788 * \f[I]integer\f[]
5789
5790 .IP "Example:" 4
5791 .br
5792 * "koala:en"
5793 .br
5794 * 15150116
5795
5796 .IP "Description:" 4
5797 Select chapter source and language for a manga.
5798
5799 The general syntax is \f[I]"<source name>:<ISO 639-1 language code>"\f[].
5800 .br
5801 Both are optional, meaning \f[I]"koala"\f[], \f[I]"koala:"\f[], \f[I]":en"\f[],
5802 .br
5803 or even just \f[I]":"\f[] are possible as well.
5804
5805 Specifying the numeric \f[I]ID\f[] of a source is also supported.
5806
5807
5808 .SS extractor.[mastodon].access-token
5809 .IP "Type:" 6
5810 \f[I]string\f[]
5811
5812 .IP "Default:" 9
5813 \f[I]null\f[]
5814
5815 .IP "Description:" 4
5816 The \f[I]access-token\f[] value you get from \f[I]linking your account to
5817 gallery-dl\f[].
5818
5819 .IP "Note:" 4
5820 gallery-dl comes with built-in tokens for
5821 \f[I]mastodon.social\f[], \f[I]pawoo\f[], and \f[I]baraag\f[].
5822
5823
5824 .SS extractor.[mastodon].cards
5825 .IP "Type:" 6
5826 \f[I]bool\f[]
5827
5828 .IP "Default:" 9
5829 \f[I]false\f[]
5830
5831 .IP "Description:" 4
5832 Fetch media from cards.
5833
5834
5835 .SS extractor.[mastodon].reblogs
5836 .IP "Type:" 6
5837 \f[I]bool\f[]
5838
5839 .IP "Default:" 9
5840 \f[I]false\f[]
5841
5842 .IP "Description:" 4
5843 Fetch media from reblogged posts.
5844
5845
5846 .SS extractor.[mastodon].replies
5847 .IP "Type:" 6
5848 \f[I]bool\f[]
5849
5850 .IP "Default:" 9
5851 \f[I]true\f[]
5852
5853 .IP "Description:" 4
5854 Fetch media from replies to other posts.
5855
5856
5857 .SS extractor.[mastodon].text-posts
5858 .IP "Type:" 6
5859 \f[I]bool\f[]
5860
5861 .IP "Default:" 9
5862 \f[I]false\f[]
5863
5864 .IP "Description:" 4
5865 Also emit metadata for text-only posts without media content.
5866
5867
5868 .SS extractor.[misskey].access-token
5869 .IP "Type:" 6
5870 \f[I]string\f[]
5871
5872 .IP "Description:" 4
5873 Your access token, necessary to fetch favorited notes.
5874
5875
5876 .SS extractor.[misskey].date-min & .date-max
5877 .IP "Type:" 6
5878 \f[I]Date\f[]
5879
5880 .IP "Default:" 9
5881 \f[I]null\f[]
5882
5883 .IP "Description:" 4
5884 Retrieve only notes posted after/before this \f[I]Date\f[]
5885
5886
5887 .SS extractor.[misskey].include
5888 .IP "Type:" 6
5889 .br
5890 * \f[I]string\f[]
5891 .br
5892 * \f[I]list\f[] of \f[I]strings\f[]
5893
5894 .IP "Default:" 9
5895 \f[I]"notes"\f[]
5896
5897 .IP "Example:" 4
5898 .br
5899 * "avatar,background,notes"
5900 .br
5901 * ["avatar", "background", "notes"]
5902
5903 .IP "Description:" 4
5904 A (comma-separated) list of subcategories to include
5905 when processing a user profile.
5906
5907 .IP "Supported Values:" 4
5908 .br
5909 * \f[I]info\f[]
5910 .br
5911 * \f[I]avatar\f[]
5912 .br
5913 * \f[I]background\f[]
5914 .br
5915 * \f[I]notes\f[]
5916
5917 .IP "Note:" 4
5918 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
5919
5920
5921 .SS extractor.[misskey].order-posts
5922 .IP "Type:" 6
5923 \f[I]string\f[]
5924
5925 .IP "Default:" 9
5926 \f[I]"desc"\f[]
5927
5928 .IP "Description:" 4
5929 Controls the order in which posts are processed.
5930
5931 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
5932 Ascending order (oldest first)
5933 \f[I]"desc"\f[]
5934 Descending order (newest first)
5935
5936
5937 .SS extractor.[misskey].renotes
5938 .IP "Type:" 6
5939 \f[I]bool\f[]
5940
5941 .IP "Default:" 9
5942 \f[I]false\f[]
5943
5944 .IP "Description:" 4
5945 Fetch media from renoted notes.
5946
5947
5948 .SS extractor.[misskey].replies
5949 .IP "Type:" 6
5950 \f[I]bool\f[]
5951
5952 .IP "Default:" 9
5953 \f[I]true\f[]
5954
5955 .IP "Description:" 4
5956 Fetch media from replies to other notes.
5957
5958
5959 .SS extractor.[misskey].text-posts
5960 .IP "Type:" 6
5961 \f[I]bool\f[]
5962
5963 .IP "Default:" 9
5964 \f[I]false\f[]
5965
5966 .IP "Description:" 4
5967 Also retrieve text-only notes without media content.
5968
5969
5970 .SS extractor.[moebooru].pool.metadata
5971 .IP "Type:" 6
5972 \f[I]bool\f[]
5973
5974 .IP "Default:" 9
5975 \f[I]false\f[]
5976
5977 .IP "Description:" 4
5978 Extract extended \f[I]pool\f[] metadata.
5979
5980 .IP "Note:" 4
5981 Not supported by all \f[I]moebooru\f[] instances.
5982
5983
5984 .SS extractor.myfigurecollection.include
5985 .IP "Type:" 6
5986 .br
5987 * \f[I]string\f[]
5988 .br
5989 * \f[I]list\f[] of \f[I]strings\f[]
5990
5991 .IP "Default:" 9
5992 \f[I]"user-pictures"\f[]
5993
5994 .IP "Description:" 4
5995 A (comma-separated) list of subcategories to include
5996 when processing a user profile.
5997
5998 .IP "Supported Values:" 4
5999 .br
6000 * \f[I]user-collections\f[]
6001 .br
6002 * \f[I]user-pictures\f[]
6003 .br
6004 * \f[I]user-albums\f[]
6005
6006 .IP "Note:" 4
6007 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
6008
6009
6010 .SS extractor.naver-blog.videos
6011 .IP "Type:" 6
6012 \f[I]bool\f[]
6013
6014 .IP "Default:" 9
6015 \f[I]true\f[]
6016
6017 .IP "Description:" 4
6018 Download videos.
6019
6020
6021 .SS extractor.naver-chzzk.offset
6022 .IP "Type:" 6
6023 \f[I]integer\f[]
6024
6025 .IP "Default:" 9
6026 \f[I]0\f[]
6027
6028 .IP "Description:" 4
6029 Custom \f[I]offset\f[] starting value when paginating over comments.
6030
6031
6032 .SS extractor.newgrounds.flash
6033 .IP "Type:" 6
6034 \f[I]bool\f[]
6035
6036 .IP "Default:" 9
6037 \f[I]true\f[]
6038
6039 .IP "Description:" 4
6040 Download original Adobe Flash animations instead of pre-rendered videos.
6041
6042
6043 .SS extractor.newgrounds.format
6044 .IP "Type:" 6
6045 .br
6046 * \f[I]string\f[]
6047 .br
6048 * \f[I]list\f[] of \f[I]string\f[]
6049
6050 .IP "Default:" 9
6051 \f[I]"original"\f[]
6052
6053 .IP "Example:" 4
6054 .br
6055 * "720p"
6056 .br
6057 * ["mp4", "mov", "1080p", "720p"]
6058
6059 .IP "Description:" 4
6060 Selects the preferred format for video downloads.
6061
6062 If the selected format is not available,
6063 the next smaller one gets chosen.
6064
6065 If this is a \f[I]list\f[], try each given
6066 filename extension in original resolution or recoded format
6067 until an available format is found.
6068
6069
6070 .SS extractor.newgrounds.include
6071 .IP "Type:" 6
6072 .br
6073 * \f[I]string\f[]
6074 .br
6075 * \f[I]list\f[] of \f[I]strings\f[]
6076
6077 .IP "Default:" 9
6078 \f[I]"art"\f[]
6079
6080 .IP "Example:" 4
6081 .br
6082 * "movies,audio"
6083 .br
6084 * ["movies", "audio"]
6085
6086 .IP "Description:" 4
6087 A (comma-separated) list of subcategories to include
6088 when processing a user profile.
6089
6090 .IP "Supported Values:" 4
6091 .br
6092 * \f[I]art\f[]
6093 .br
6094 * \f[I]audio\f[]
6095 .br
6096 * \f[I]games\f[]
6097 .br
6098 * \f[I]movies\f[]
6099
6100 .IP "Note:" 4
6101 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
6102
6103
6104 .SS extractor.nijie.include
6105 .IP "Type:" 6
6106 .br
6107 * \f[I]string\f[]
6108 .br
6109 * \f[I]list\f[] of \f[I]strings\f[]
6110
6111 .IP "Default:" 9
6112 \f[I]"illustration,doujin"\f[]
6113
6114 .IP "Description:" 4
6115 A (comma-separated) list of subcategories to include
6116 when processing a user profile.
6117
6118 .IP "Supported Values:" 4
6119 .br
6120 * \f[I]illustration\f[]
6121 .br
6122 * \f[I]doujin\f[]
6123 .br
6124 * \f[I]favorite\f[]
6125 .br
6126 * \f[I]nuita\f[]
6127
6128 .IP "Note:" 4
6129 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
6130
6131
6132 .SS extractor.[nitter].fallback-retries
6133 .IP "Type:" 6
6134 \f[I]integer\f[]
6135
6136 .IP "Default:" 9
6137 \f[I]2\f[]
6138
6139 .IP "Description:" 4
6140 Number of times fetching a Tweets results page is retried
6141 after receiving an empty response,
6142 or \f[I]-1\f[] for infinite retries.
6143
6144
6145 .SS extractor.[nitter].quoted
6146 .IP "Type:" 6
6147 \f[I]bool\f[]
6148
6149 .IP "Default:" 9
6150 \f[I]false\f[]
6151
6152 .IP "Description:" 4
6153 Fetch media from quoted Tweets.
6154
6155
6156 .SS extractor.[nitter].retweets
6157 .IP "Type:" 6
6158 \f[I]bool\f[]
6159
6160 .IP "Default:" 9
6161 \f[I]false\f[]
6162
6163 .IP "Description:" 4
6164 Fetch media from Retweets.
6165
6166
6167 .SS extractor.[nitter].videos
6168 .IP "Type:" 6
6169 .br
6170 * \f[I]bool\f[]
6171 .br
6172 * \f[I]string\f[]
6173
6174 .IP "Default:" 9
6175 \f[I]true\f[]
6176
6177 .IP "Description:" 4
6178 Control video download behavior.
6179
6180 \f[I]true\f[]
6181 Download videos
6182 \f[I]"ytdl"\f[]
6183 Download videos using \f[I]ytdl\f[]
6184 \f[I]false\f[]
6185 Skip video Tweets
6186
6187
6188 .SS extractor.oauth.browser
6189 .IP "Type:" 6
6190 \f[I]bool\f[]
6191
6192 .IP "Default:" 9
6193 \f[I]true\f[]
6194
6195 .IP "Description:" 4
6196 Controls how a user is directed to an OAuth authorization page.
6197
6198 \f[I]true\f[]
6199 Use Python's \f[I]webbrowser.open()\f[] method to automatically
6200 open the URL in the user's default browser.
6201 \f[I]false\f[]
6202 Ask the user to copy & paste an URL from the terminal.
6203
6204
6205 .SS extractor.oauth.cache
6206 .IP "Type:" 6
6207 \f[I]bool\f[]
6208
6209 .IP "Default:" 9
6210 \f[I]true\f[]
6211
6212 .IP "Description:" 4
6213 Store tokens received during OAuth authorizations
6214 in \f[I]cache\f[].
6215
6216
6217 .SS extractor.oauth.host
6218 .IP "Type:" 6
6219 \f[I]string\f[]
6220
6221 .IP "Default:" 9
6222 \f[I]"localhost"\f[]
6223
6224 .IP "Description:" 4
6225 Host name / IP address to bind to during OAuth authorization.
6226
6227
6228 .SS extractor.oauth.port
6229 .IP "Type:" 6
6230 \f[I]integer\f[]
6231
6232 .IP "Default:" 9
6233 \f[I]6414\f[]
6234
6235 .IP "Description:" 4
6236 Port number to listen on during OAuth authorization.
6237
6238 .IP "Note:" 4
6239 All redirects will go to port \f[I]6414\f[], regardless
6240 of the port specified here. You'll have to manually adjust the
6241 port number in your browser's address bar when using a different
6242 port than the default.
6243
6244
6245 .SS extractor.onlyhaven.endpoint
6246 .IP "Type:" 6
6247 \f[I]string\f[]
6248
6249 .IP "Default:" 9
6250 \f[I]"posts"\f[]
6251
6252 .IP "Description:" 4
6253 API endpoint to use when retrieving creator posts.
6254
6255 \f[I]"posts"\f[] \f[I] \f[I]"legacy"\f[]
6256 Provide regular metadata
6257 \f[I]"posts+"\f[] \f[] \f[I]"legacy+"\f[]
6258 Provide full metadata
6259 by using an additional API request to fetch individual post data
6260
6261
6262 .SS extractor.pawchive.archives
6263 .IP "Type:" 6
6264 \f[I]bool\f[]
6265
6266 .IP "Default:" 9
6267 \f[I]false\f[]
6268
6269 .IP "Description:" 4
6270 Extract additional metadata for \f[I]archives\f[] files, including
6271 \f[I]file\f[], \f[I]file_list\f[], and \f[I]password\f[].
6272
6273 .IP "Note:" 4
6274 This requires 1 additional HTTP request per \f[I]archives\f[] file.
6275
6276
6277 .SS extractor.pawchive.archives-format
6278 .IP "Type:" 6
6279 \f[I]string\f[]
6280
6281 .IP "Default:" 9
6282 \f[I]"list"\f[]
6283
6284 .IP "Description:" 4
6285 Determines the format/type of the
6286 \f[I]archives\f[]
6287 metadata field.
6288
6289 \f[I]"list"\f[] \f[I] \f[I]"array"\f[]
6290 Plain \f[I]list\f[] with archive files as elements
6291 \f[I]"dict"\f[] \f[] \f[I]"object"\f[]
6292 A \f[I]dict\f[] with each archive file's \f[I]hash\f[] as key.
6293
6294
6295 .SS extractor.pawchive.comments
6296 .IP "Type:" 6
6297 \f[I]bool\f[]
6298
6299 .IP "Default:" 9
6300 \f[I]false\f[]
6301
6302 .IP "Description:" 4
6303 Extract \f[I]comments\f[] metadata.
6304
6305 .IP "Note:" 4
6306 This requires 1 additional HTTP request per post.
6307
6308
6309 .SS extractor.pawchive.domain
6310 .IP "Type:" 6
6311 \f[I]string\f[]
6312
6313 .IP "Default:" 9
6314 \f[I]null\f[]
6315
6316 .IP "Description:" 4
6317 Specifies the domain used by \f[I]pawchive\f[] extractors.
6318
6319 Setting this option to \f[I]"auto"\f[]
6320 uses the same domain as the given input URL.
6321
6322
6323 .SS extractor.pawchive.duplicates
6324 .IP "Type:" 6
6325 .br
6326 * \f[I]bool\f[]
6327 .br
6328 * \f[I]string\f[]
6329 .br
6330 * \f[I]list\f[] of \f[I]strings\f[]
6331
6332 .IP "Default:" 9
6333 \f[I]false\f[]
6334
6335 .IP "Example:" 4
6336 .br
6337 * "attachment,inline"
6338 .br
6339 * ["file", "attachment"]
6340
6341 .IP "Description:" 4
6342 Controls how to handle duplicate files in a post.
6343
6344 \f[I]true\f[]
6345 Download duplicates
6346 \f[I]false\f[]
6347 Ignore duplicates
6348 any \f[I]list\f[] or \f[I]string\f[]
6349 Download a duplicate file if its \f[I]type\f[] is in the given list
6350 .br
6351 Ignore it otherwise
6352 .br
6353
6354
6355 .SS extractor.pawchive.endpoint
6356 .IP "Type:" 6
6357 \f[I]string\f[]
6358
6359 .IP "Default:" 9
6360 \f[I]"posts"\f[]
6361
6362 .IP "Description:" 4
6363 API endpoint to use when retrieving creator posts.
6364
6365 \f[I]"posts"\f[] \f[I] \f[I]"legacy"\f[]
6366 Provide regular metadata
6367 \f[I]"posts+"\f[] \f[] \f[I]"legacy+"\f[]
6368 Provide full metadata
6369 by using an additional API request to fetch individual post data
6370
6371
6372 .SS extractor.pawchive.favorites
6373 .IP "Type:" 6
6374 \f[I]string\f[]
6375
6376 .IP "Default:" 9
6377 \f[I]"artist"\f[]
6378
6379 .IP "Description:" 4
6380 Determines the type of favorites to be downloaded.
6381
6382 Available types are \f[I]artist\f[] and \f[I]post\f[].
6383
6384
6385 .SS extractor.pawchive.files
6386 .IP "Type:" 6
6387 \f[I]list\f[] of \f[I]strings\f[]
6388
6389 .IP "Default:" 9
6390 \f[I]["file", "attachments", "inline"]\f[]
6391
6392 .IP "Description:" 4
6393 Determines the type and order of files to be downloaded.
6394
6395 .IP "Available Types:" 4
6396 .br
6397 * \f[I]file\f[]
6398 .br
6399 * \f[I]attachments\f[]
6400 .br
6401 * \f[I]inline\f[]
6402
6403
6404 .SS extractor.pawchive.max-posts
6405 .IP "Type:" 6
6406 \f[I]integer\f[]
6407
6408 .IP "Default:" 9
6409 \f[I]null\f[]
6410
6411 .IP "Description:" 4
6412 Limit the number of posts to download.
6413
6414
6415 .SS extractor.pawchive.metadata
6416 .IP "Type:" 6
6417 \f[I]bool\f[]
6418
6419 .IP "Default:" 9
6420 \f[I]true\f[]
6421
6422 .IP "Description:" 4
6423 Extract \f[I]username\f[] and \f[I]user_profile\f[] metadata.
6424
6425
6426 .SS extractor.pawchive.original
6427 .IP "Type:" 6
6428 \f[I]bool\f[]
6429
6430 .IP "Default:" 9
6431 \f[I]true\f[]
6432
6433 .IP "Description:" 4
6434 Download original files.
6435
6436 Download thumbnails/previews if available when this option is disabled.
6437
6438
6439 .SS extractor.pawchive.previews
6440 .IP "Type:" 6
6441 \f[I]bool\f[]
6442
6443 .IP "Default:" 9
6444 \f[I]false\f[]
6445
6446 .IP "Description:" 4
6447 Download thumbnails/previews for files marked as \f[I]preview_only\f[]..
6448
6449
6450 .SS extractor.pawchive.revisions
6451 .IP "Type:" 6
6452 .br
6453 * \f[I]bool\f[]
6454 .br
6455 * \f[I]string\f[]
6456
6457 .IP "Default:" 9
6458 \f[I]false\f[]
6459
6460 .IP "Description:" 4
6461 Extract post revisions.
6462
6463 Set this to \f[I]"unique"\f[] to filter out duplicate revisions.
6464
6465 .IP "Note:" 4
6466 This requires 1 additional HTTP request per post.
6467
6468
6469 .SS extractor.pawchive.order-revisions
6470 .IP "Type:" 6
6471 \f[I]string\f[]
6472
6473 .IP "Default:" 9
6474 \f[I]"desc"\f[]
6475
6476 .IP "Description:" 4
6477 Controls the order in which
6478 \f[I]revisions\f[]
6479 are returned.
6480
6481 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
6482 Ascending order (oldest first)
6483 \f[I]"desc"\f[]
6484 Descending order (newest first)
6485
6486
6487 .SS extractor.paheal.metadata
6488 .IP "Type:" 6
6489 \f[I]bool\f[]
6490
6491 .IP "Default:" 9
6492 \f[I]false\f[]
6493
6494 .IP "Description:" 4
6495 Extract additional metadata (\f[I]source\f[], \f[I]uploader\f[])
6496
6497 .IP "Note:" 4
6498 This requires 1 additional HTTP request per post.
6499
6500
6501 .SS extractor.patreon.cursor
6502 .IP "Type:" 6
6503 .br
6504 * \f[I]bool\f[]
6505 .br
6506 * \f[I]string\f[]
6507
6508 .IP "Default:" 9
6509 \f[I]true\f[]
6510
6511 .IP "Example:" 4
6512 "03:eyJ2IjoxLCJjIjoiMzU0NDQ1MjAiLCJ0IjoiIn0=:DTcmjBoVj01o_492YBYqHhqx"
6513
6514 .IP "Description:" 4
6515 Controls from which position to start the extraction process from.
6516
6517 \f[I]true\f[]
6518 Start from the beginning.
6519 .br
6520 Log the most recent \f[I]cursor\f[] value when interrupted before reaching the end.
6521 .br
6522 \f[I]false\f[]
6523 Start from the beginning.
6524 any \f[I]string\f[]
6525 Start from the position defined by this value.
6526
6527
6528 .SS extractor.patreon.files
6529 .IP "Type:" 6
6530 \f[I]list\f[] of \f[I]strings\f[]
6531
6532 .IP "Default:" 9
6533 \f[I]["images", "image_large", "attachments", "postfile", "content"]\f[]
6534
6535 .IP "Description:" 4
6536 Determines types and order of files to download.
6537
6538 .IP "Available Types:" 4
6539 .br
6540 * \f[I]postfile\f[]
6541 .br
6542 * \f[I]images\f[]
6543 .br
6544 * \f[I]image_large\f[]
6545 .br
6546 * \f[I]attachments\f[]
6547 .br
6548 * \f[I]content\f[]
6549
6550
6551 .SS extractor.patreon.format-images
6552 .IP "Type:" 6
6553 \f[I]string\f[]
6554
6555 .IP "Default:" 9
6556 \f[I]"download_url"\f[]
6557
6558 .IP "Description:" 4
6559 Selects the format of \f[I]images\f[] \f[I]files\f[].
6560
6561 .IP "Available Formats:" 4
6562 .br
6563 * \f[I]download_url\f[] (\f[I]"a":1,"p":1\f[])
6564 .br
6565 * \f[I]url\f[] (\f[I]"w":620\f[])
6566 .br
6567 * \f[I]original\f[] (\f[I]"q":100,"webp":0\f[])
6568 .br
6569 * \f[I]default\f[] (\f[I]"w":620\f[])
6570 .br
6571 * \f[I]default_small\f[] (\f[I]"w":360\f[])
6572 .br
6573 * \f[I]default_blurred\f[] (\f[I]"w":620\f[])
6574 .br
6575 * \f[I]default_blurred_small\f[] (\f[I]"w":360\f[])
6576 .br
6577 * \f[I]thumbnail\f[] (\f[I]"h":360,"w":360\f[])
6578 .br
6579 * \f[I]thumbnail_large\f[] (\f[I]"h":1080,"w":1080\f[])
6580 .br
6581 * \f[I]thumbnail_small\f[] (\f[I]"h":100,"w":100\f[])
6582
6583
6584 .SS extractor.patreon.order-posts
6585 .IP "Type:" 6
6586 \f[I]string\f[]
6587
6588 .IP "Default:" 9
6589 \f[I]collection\f[]
6590 \f[I]"asc"\f[]
6591 otherwise
6592 \f[I]"desc"\f[]
6593
6594 .IP "Example:" 4
6595 .br
6596 * "-published_at"
6597 .br
6598 * "collection_order"
6599
6600 .IP "Description:" 4
6601 Controls the order in which
6602 posts are returned and processed.
6603
6604 \f[I]"asc"\f[]
6605 Ascending order (oldest first)
6606 \f[I]"desc"\f[]
6607 Descending order (newest first)
6608 \f[I]"reverse"\f[]
6609 Reverse order
6610 any other \f[I]string\f[]
6611 Custom \f[I]sort\f[] order
6612
6613
6614 .SS extractor.patreon.user.date-max
6615 .IP "Type:" 6
6616 \f[I]Date\f[]
6617
6618 .IP "Default:" 9
6619 \f[I]0\f[]
6620
6621 .IP "Description:" 4
6622 Sets the \f[I]Date\f[] to start from.
6623
6624
6625 .SS extractor.[philomena].api-key
6626 .IP "Type:" 6
6627 \f[I]string\f[]
6628
6629 .IP "Default:" 9
6630 \f[I]null\f[]
6631
6632 .IP "Description:" 4
6633 Your account's API Key,
6634 to use your personal browsing settings and filters.
6635
6636
6637 .SS extractor.[philomena].filter
6638 .IP "Type:" 6
6639 \f[I]integer\f[]
6640
6641 .IP "Default:" 9
6642 :\f[I]derpibooru\f[]:
6643 \f[I]56027\f[] (\f[I]Everything\f[] filter)
6644 :\f[I]ponybooru\f[]:
6645 \f[I]3\f[] (\f[I]Nah.\f[] filter)
6646 :otherwise:
6647 \f[I]2\f[]
6648
6649
6650 .IP "Description:" 4
6651 The content filter ID to use.
6652
6653 Setting an explicit filter ID overrides any default filters and can be used
6654 to access 18+ content without \f[I]API Key\f[].
6655
6656 See \f[I]Filters\f[] for details.
6657
6658
6659 .SS extractor.[philomena].comments
6660 .IP "Type:" 6
6661 \f[I]bool\f[]
6662
6663 .IP "Default:" 9
6664 \f[I]false\f[]
6665
6666 .IP "Description:" 4
6667 Extract \f[I]comments\f[] metadata.
6668
6669
6670 .SS extractor.[philomena].svg
6671 .IP "Type:" 6
6672 \f[I]bool\f[]
6673
6674 .IP "Default:" 9
6675 \f[I]true\f[]
6676
6677 .IP "Description:" 4
6678 Download SVG versions of images when available.
6679
6680 Try to download the \f[I]view_url\f[] version of these posts
6681 when this option is disabled.
6682
6683
6684 .SS extractor.pillowfort.external
6685 .IP "Type:" 6
6686 \f[I]bool\f[]
6687
6688 .IP "Default:" 9
6689 \f[I]false\f[]
6690
6691 .IP "Description:" 4
6692 Follow links to external sites, e.g. Twitter,
6693
6694
6695 .SS extractor.pillowfort.inline
6696 .IP "Type:" 6
6697 \f[I]bool\f[]
6698
6699 .IP "Default:" 9
6700 \f[I]true\f[]
6701
6702 .IP "Description:" 4
6703 Extract inline images.
6704
6705
6706 .SS extractor.pillowfort.reblogs
6707 .IP "Type:" 6
6708 \f[I]bool\f[]
6709
6710 .IP "Default:" 9
6711 \f[I]false\f[]
6712
6713 .IP "Description:" 4
6714 Extract media from reblogged posts.
6715
6716
6717 .SS extractor.pinterest.domain
6718 .IP "Type:" 6
6719 \f[I]string\f[]
6720
6721 .IP "Default:" 9
6722 \f[I]"auto"\f[]
6723
6724 .IP "Description:" 4
6725 Specifies the domain used by \f[I]pinterest\f[] extractors.
6726
6727 Setting this option to \f[I]"auto"\f[]
6728 uses the same domain as a given input URL.
6729
6730
6731 .SS extractor.pinterest.sections
6732 .IP "Type:" 6
6733 \f[I]bool\f[]
6734
6735 .IP "Default:" 9
6736 \f[I]true\f[]
6737
6738 .IP "Description:" 4
6739 Include pins from board sections.
6740
6741
6742 .SS extractor.pinterest.stories
6743 .IP "Type:" 6
6744 \f[I]bool\f[]
6745
6746 .IP "Default:" 9
6747 \f[I]true\f[]
6748
6749 .IP "Description:" 4
6750 Extract files from story pins.
6751
6752
6753 .SS extractor.pinterest.videos
6754 .IP "Type:" 6
6755 \f[I]bool\f[]
6756
6757 .IP "Default:" 9
6758 \f[I]true\f[]
6759
6760 .IP "Description:" 4
6761 Download from video pins.
6762
6763
6764 .SS extractor.pixeldrain.api-key
6765 .IP "Type:" 6
6766 \f[I]string\f[]
6767
6768 .IP "Description:" 4
6769 Your account's \f[I]API key\f[]
6770
6771
6772 .SS extractor.pixeldrain.recursive
6773 .IP "Type:" 6
6774 \f[I]bool\f[]
6775
6776 .IP "Default:" 9
6777 \f[I]true\f[]
6778
6779 .IP "Description:" 4
6780 Recursively download files from subfolders.
6781
6782
6783 .SS extractor.pixeldrain.zip
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 Download albums as a single .zip file.
6792
6793
6794 .SS extractor.pixiv.include
6795 .IP "Type:" 6
6796 .br
6797 * \f[I]string\f[]
6798 .br
6799 * \f[I]list\f[] of \f[I]strings\f[]
6800
6801 .IP "Default:" 9
6802 \f[I]"artworks"\f[]
6803
6804 .IP "Example:" 4
6805 .br
6806 * "avatar,background,artworks"
6807 .br
6808 * ["avatar", "background", "artworks"]
6809
6810 .IP "Description:" 4
6811 A (comma-separated) list of subcategories to include
6812 when processing a user profile.
6813
6814 .IP "Supported Values:" 4
6815 .br
6816 * \f[I]artworks\f[]
6817 .br
6818 * \f[I]avatar\f[]
6819 .br
6820 * \f[I]background\f[]
6821 .br
6822 * \f[I]favorite\f[]
6823 .br
6824 * \f[I]novel-user\f[]
6825 .br
6826 * \f[I]novel-bookmark\f[]
6827 .br
6828 * \f[I]sketch\f[]
6829
6830 .IP "Note:" 4
6831 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
6832
6833
6834 .SS extractor.pixiv.refresh-token
6835 .IP "Type:" 6
6836 \f[I]string\f[]
6837
6838 .IP "Description:" 4
6839 The \f[I]refresh-token\f[] value you get
6840 from running \f[I]gallery-dl oauth:pixiv\f[] (see OAuth_) or
6841 by using a third-party tool like
6842 \f[I]gppt\f[].
6843
6844
6845 .SS extractor.pixiv.metadata
6846 .IP "Type:" 6
6847 \f[I]bool\f[]
6848
6849 .IP "Default:" 9
6850 \f[I]false\f[]
6851
6852 .IP "Description:" 4
6853 Fetch extended \f[I]user\f[] metadata.
6854
6855
6856 .SS extractor.pixiv.metadata-bookmark
6857 .IP "Type:" 6
6858 \f[I]bool\f[]
6859
6860 .IP "Default:" 9
6861 \f[I]false\f[]
6862
6863 .IP "Description:" 4
6864 For works bookmarked by
6865 \f[I]your own account\f[],
6866 fetch bookmark tags as \f[I]tags_bookmark\f[] metadata.
6867
6868 .IP "Note:" 4
6869 This requires 1 additional API request per bookmarked post.
6870
6871
6872 .SS extractor.pixiv.captions
6873 .IP "Type:" 6
6874 \f[I]bool\f[]
6875
6876 .IP "Default:" 9
6877 \f[I]false\f[]
6878
6879 .IP "Description:" 4
6880 For works with seemingly empty \f[I]caption\f[] metadata,
6881 try to grab the actual \f[I]caption\f[] value using the AJAX API.
6882
6883
6884 .SS extractor.pixiv.comments
6885 .IP "Type:" 6
6886 \f[I]bool\f[]
6887
6888 .IP "Default:" 9
6889 \f[I]false\f[]
6890
6891 .IP "Description:" 4
6892 Fetch \f[I]comments\f[] metadata.
6893
6894 .IP "Note:" 4
6895 This requires 1 or more additional API requests per post,
6896 depending on the number of comments.
6897
6898
6899 .SS extractor.pixiv.work.related
6900 .IP "Type:" 6
6901 \f[I]bool\f[]
6902
6903 .IP "Default:" 9
6904 \f[I]false\f[]
6905
6906 .IP "Description:" 4
6907 Also download related artworks.
6908
6909
6910 .SS extractor.pixiv.tags
6911 .IP "Type:" 6
6912 \f[I]string\f[]
6913
6914 .IP "Default:" 9
6915 \f[I]"japanese"\f[]
6916
6917 .IP "Description:" 4
6918 Controls the \f[I]tags\f[] metadata field.
6919
6920 .br
6921 * "japanese": List of Japanese tags
6922 .br
6923 * "translated": List of translated tags
6924 .br
6925 * "original": Unmodified list with both Japanese and translated tags
6926
6927
6928 .SS extractor.pixiv.ugoira
6929 .IP "Type:" 6
6930 .br
6931 * \f[I]bool\f[]
6932 .br
6933 * \f[I]string\f[]
6934
6935 .IP "Default:" 9
6936 \f[I]true\f[]
6937
6938 .IP "Description:" 4
6939 Download Pixiv's Ugoira animations.
6940
6941 These animations come as a \f[I].zip\f[] archive containing all
6942 animation frames in JPEG format by default.
6943
6944 Set this option to \f[I]"original"\f[]
6945 to download them as individual, higher-quality frames.
6946
6947 Use an ugoira post processor to convert them
6948 to watchable animations. (Example__)
6949
6950
6951 .SS extractor.pixiv.max-posts
6952 .IP "Type:" 6
6953 \f[I]integer\f[]
6954
6955 .IP "Default:" 9
6956 \f[I]0\f[]
6957
6958 .IP "Description:" 4
6959 When downloading galleries, this sets the maximum number of posts to get.
6960 A value of \f[I]0\f[] means no limit.
6961
6962
6963 .SS extractor.pixiv.sanity
6964 .IP "Type:" 6
6965 \f[I]bool\f[]
6966
6967 .IP "Default:" 9
6968 \f[I]true\f[]
6969
6970 .IP "Description:" 4
6971 Try to fetch \f[I]limit_sanity_level\f[] works via web API.
6972
6973
6974 .SS extractor.pixiv.favorite.cursor
6975 .IP "Type:" 6
6976 \f[I]string\f[]
6977
6978 .IP "Description:" 4
6979 Start from the given bookmark ID.
6980
6981
6982 .SS extractor.pixiv-novel.comments
6983 .IP "Type:" 6
6984 \f[I]bool\f[]
6985
6986 .IP "Default:" 9
6987 \f[I]false\f[]
6988
6989 .IP "Description:" 4
6990 Fetch \f[I]comments\f[] metadata.
6991
6992 .IP "Note:" 4
6993 This requires 1 or more additional API requests per novel,
6994 depending on the number of comments.
6995
6996
6997 .SS extractor.pixiv-novel.covers
6998 .IP "Type:" 6
6999 \f[I]bool\f[]
7000
7001 .IP "Default:" 9
7002 \f[I]false\f[]
7003
7004 .IP "Description:" 4
7005 Download cover images.
7006
7007
7008 .SS extractor.pixiv-novel.embeds
7009 .IP "Type:" 6
7010 \f[I]bool\f[]
7011
7012 .IP "Default:" 9
7013 \f[I]false\f[]
7014
7015 .IP "Description:" 4
7016 Download embedded images.
7017
7018
7019 .SS extractor.pixiv-novel.full-series
7020 .IP "Type:" 6
7021 \f[I]bool\f[]
7022
7023 .IP "Default:" 9
7024 \f[I]false\f[]
7025
7026 .IP "Description:" 4
7027 When downloading a novel being part of a series,
7028 download all novels of that series.
7029
7030
7031 .SS extractor.pixiv-novel.max-posts
7032 .IP "Type:" 6
7033 \f[I]integer\f[]
7034
7035 .IP "Default:" 9
7036 \f[I]0\f[]
7037
7038 .IP "Description:" 4
7039 When downloading multiple novels,
7040 this sets the maximum number of novels to get.
7041
7042 A value of \f[I]0\f[] means no limit.
7043
7044
7045 .SS extractor.pixiv-novel.metadata
7046 .IP "Type:" 6
7047 \f[I]bool\f[]
7048
7049 .IP "Default:" 9
7050 \f[I]false\f[]
7051
7052 .IP "Description:" 4
7053 Fetch extended \f[I]user\f[] metadata.
7054
7055
7056 .SS extractor.pixiv-novel.metadata-bookmark
7057 .IP "Type:" 6
7058 \f[I]bool\f[]
7059
7060 .IP "Default:" 9
7061 \f[I]false\f[]
7062
7063 .IP "Description:" 4
7064 For novels bookmarked by
7065 \f[I]your own account\f[],
7066 fetch bookmark tags as \f[I]tags_bookmark\f[] metadata.
7067
7068 .IP "Note:" 4
7069 This requires 1 additional API request per bookmarked post.
7070
7071
7072 .SS extractor.pixiv-novel.refresh-token
7073 .IP "Type:" 6
7074 \f[I]string\f[]
7075
7076 .IP "Description:" 4
7077 The \f[I]refresh-token\f[] value you get
7078 from running \f[I]gallery-dl oauth:pixiv\f[] (see OAuth_) or
7079 by using a third-party tool like
7080 \f[I]gppt\f[].
7081
7082 This can be the same value as \f[I]extractor.pixiv.refresh-token\f[]
7083
7084
7085 .SS extractor.pixiv-novel.tags
7086 .IP "Type:" 6
7087 \f[I]string\f[]
7088
7089 .IP "Default:" 9
7090 \f[I]"japanese"\f[]
7091
7092 .IP "Description:" 4
7093 Controls the \f[I]tags\f[] metadata field.
7094
7095 .br
7096 * "japanese": List of Japanese tags
7097 .br
7098 * "translated": List of translated tags
7099 .br
7100 * "original": Unmodified list with both Japanese and translated tags
7101
7102
7103 .SS extractor.pixiv-novel.bookmark.cursor
7104 .IP "Type:" 6
7105 \f[I]string\f[]
7106
7107 .IP "Description:" 4
7108 Start from the given bookmark ID.
7109
7110
7111 .SS extractor.plurk.comments
7112 .IP "Type:" 6
7113 \f[I]bool\f[]
7114
7115 .IP "Default:" 9
7116 \f[I]false\f[]
7117
7118 .IP "Description:" 4
7119 Also search Plurk comments for URLs.
7120
7121
7122 .SS extractor.plurk.external
7123 .IP "Type:" 6
7124 \f[I]bool\f[]
7125
7126 .IP "Default:" 9
7127 \f[I]false\f[]
7128
7129 .IP "Description:" 4
7130 Follow external links in Plurk posts that are not hosted on
7131 \f[I]images.plurk.com\f[] or \f[I]imgs.plurk.com\f[].
7132
7133
7134 .SS extractor.plurk.replurk
7135 .IP "Type:" 6
7136 \f[I]bool\f[]
7137
7138 .IP "Default:" 9
7139 \f[I]false\f[]
7140
7141 .IP "Description:" 4
7142 Process replurked posts in addition to original posts.
7143
7144
7145 .SS extractor.[postmill].save-link-post-body
7146 .IP "Type:" 6
7147 \f[I]bool\f[]
7148
7149 .IP "Default:" 9
7150 \f[I]false\f[]
7151
7152 .IP "Description:" 4
7153 Whether or not to save the body for link/image posts.
7154
7155
7156 .SS extractor.reactor.gif
7157 .IP "Type:" 6
7158 \f[I]bool\f[]
7159
7160 .IP "Default:" 9
7161 \f[I]false\f[]
7162
7163 .IP "Description:" 4
7164 Format in which to download animated images.
7165
7166 Use \f[I]true\f[] to download animated images as gifs and \f[I]false\f[]
7167 to download as mp4 videos.
7168
7169
7170 .SS extractor.reddit.api
7171 .IP "Type:" 6
7172 \f[I]string\f[]
7173
7174 .IP "Default:" 9
7175 \f[I]"auto"\f[]
7176
7177 .IP "Description:" 4
7178 Selects which API endpoints to use.
7179
7180 \f[I]"auto"\f[]
7181 Use \f[I]"oauth"\f[] when a
7182 \f[I]client_id\f[]
7183 is given, \f[I]"rest"\f[] otherwise.
7184
7185 \f[I]"oauth"\f[]
7186 Use the OAuth API at \f[I]https://oauth.reddit.com\f[]
7187
7188 Requires
7189 \f[I]client-id & user-agent
7190 <extractor.reddit.client-id & .user-agent-oauth_>\f[]
7191 and uses a
7192 \f[I]refresh token\f[]
7193 for authentication.
7194
7195 \f[I]"rest"\f[]
7196 Use the REST API at \f[I]https://www.reddit.com\f[]
7197
7198 Uses
7199 \f[I]cookies\f[]
7200 for authentication.
7201
7202
7203 .SS extractor.reddit.comments
7204 .IP "Type:" 6
7205 \f[I]integer\f[]
7206
7207 .IP "Default:" 9
7208 \f[I]0\f[]
7209
7210 .IP "Description:" 4
7211 The value of the \f[I]limit\f[] parameter when loading
7212 a submission and its comments.
7213 This number (roughly) specifies the total amount of comments
7214 being retrieved with the first API call.
7215
7216 Reddit's internal default and maximum values for this parameter
7217 appear to be 200 and 500 respectively.
7218
7219 The value \f[I]0\f[] ignores all comments and significantly reduces the
7220 time required when scanning a subreddit.
7221
7222
7223 .SS extractor.reddit.morecomments
7224 .IP "Type:" 6
7225 \f[I]bool\f[]
7226
7227 .IP "Default:" 9
7228 \f[I]false\f[]
7229
7230 .IP "Description:" 4
7231 Retrieve additional comments by resolving the \f[I]more\f[] comment
7232 stubs in the base comment tree.
7233
7234 .IP "Note:" 4
7235 This requires 1 additional API call for every 100 extra comments.
7236
7237
7238 .SS extractor.reddit.embeds
7239 .IP "Type:" 6
7240 \f[I]bool\f[]
7241
7242 .IP "Default:" 9
7243 \f[I]true\f[]
7244
7245 .IP "Description:" 4
7246 Download embedded comments media.
7247
7248
7249 .SS extractor.reddit.date-min & .date-max
7250 .IP "Type:" 6
7251 \f[I]Date\f[]
7252
7253 .IP "Default:" 9
7254 \f[I]0\f[] and \f[I]253402210800\f[] (timestamp of \f[I]datetime.max\f[])
7255
7256 .IP "Description:" 4
7257 Ignore all submissions posted before/after this date.
7258
7259
7260 .SS extractor.reddit.id-min & .id-max
7261 .IP "Type:" 6
7262 \f[I]string\f[]
7263
7264 .IP "Example:" 4
7265 "6kmzv2"
7266
7267 .IP "Description:" 4
7268 Ignore all submissions posted before/after the submission with this ID.
7269
7270
7271 .SS extractor.reddit.limit
7272 .IP "Type:" 6
7273 \f[I]integer\f[]
7274
7275 .IP "Default:" 9
7276 \f[I]null\f[]
7277
7278 .IP "Description:" 4
7279 Number of results to return in a single API query.
7280
7281 This value specifies the \f[I]limit\f[] parameter
7282 used for API requests when retrieving paginated results.
7283
7284 \f[I]null\f[] means not including this parameter at all
7285 and letting Reddit chose a default.
7286
7287
7288 .SS extractor.reddit.pinned
7289 .IP "Type:" 6
7290 \f[I]bool\f[]
7291
7292 .IP "Default:" 9
7293 \f[I]true\f[]
7294
7295 .IP "Description:" 4
7296 Process pinned submissions.
7297
7298
7299 .SS extractor.reddit.previews
7300 .IP "Type:" 6
7301 \f[I]bool\f[]
7302
7303 .IP "Default:" 9
7304 \f[I]true\f[]
7305
7306 .IP "Description:" 4
7307 For failed downloads from external URLs / child extractors,
7308 download Reddit's preview image/video if available.
7309
7310
7311 .SS extractor.reddit.recursion
7312 .IP "Type:" 6
7313 \f[I]integer\f[]
7314
7315 .IP "Default:" 9
7316 \f[I]0\f[]
7317
7318 .IP "Description:" 4
7319 Reddit extractors can recursively visit other submissions
7320 linked to in the initial set of submissions.
7321 This value sets the maximum recursion depth.
7322
7323 .IP "Special Values:" 4
7324 \f[I]0\f[]
7325 Recursion is disabled
7326 \f[I]-1\f[]
7327 Infinite recursion (don't do this)
7328
7329
7330 .SS extractor.reddit.refresh-token
7331 .IP "Type:" 6
7332 \f[I]string\f[]
7333
7334 .IP "Default:" 9
7335 \f[I]null\f[]
7336
7337 .IP "Description:" 4
7338 The \f[I]refresh-token\f[] value you get from
7339 \f[I]linking your Reddit account to gallery-dl\f[].
7340
7341 Using a \f[I]refresh-token\f[] allows you to access private or otherwise
7342 not publicly available subreddits, given that your account is
7343 authorized to do so,
7344 but requests to the reddit API are going to be rate limited
7345 at 600 requests every 10 minutes/600 seconds.
7346
7347
7348 .SS extractor.reddit.selftext
7349 .IP "Type:" 6
7350 \f[I]bool\f[]
7351
7352 .IP "Default:" 9
7353 .br
7354 * \f[I]true\f[] if \f[I]comments\f[] are enabled
7355 .br
7356 * \f[I]false\f[] otherwise
7357
7358 .IP "Description:" 4
7359 Follow links in the original post's \f[I]selftext\f[].
7360
7361
7362 .SS extractor.reddit.videos
7363 .IP "Type:" 6
7364 .br
7365 * \f[I]bool\f[]
7366 .br
7367 * \f[I]string\f[]
7368
7369 .IP "Default:" 9
7370 \f[I]"dash"\f[]
7371
7372 .IP "Description:" 4
7373 Control video download behavior.
7374
7375 \f[I]true\f[]
7376 Download videos and use \f[I]ytdl\f[] to handle
7377 HLS and DASH manifests
7378 \f[I]"ytdl"\f[]
7379 Download videos and let \f[I]ytdl\f[] handle all of
7380 video extraction and download
7381 \f[I]"dash"\f[]
7382 Extract DASH manifest URLs and use \f[I]ytdl\f[]
7383 to download and merge them. (*)
7384 \f[I]false\f[]
7385 Ignore videos
7386
7387 .IP "Note:" 4
7388 (*)
7389 This saves 1 HTTP request per video
7390 and might potentially be able to download otherwise deleted videos,
7391 but it will not always get the best video quality available.
7392
7393
7394 .SS extractor.reddit.user.only
7395 .IP "Type:" 6
7396 \f[I]bool\f[]
7397
7398 .IP "Default:" 9
7399 \f[I]user-saved\f[] \f[I] \f[I]user-upvoted\f[] \f[] \f[I]user-downvoted\f[]
7400 \f[I]false\f[]
7401 otherwise
7402 \f[I]true\f[]
7403
7404 .IP "Description:" 4
7405 Only process and return posts from the user specified in the input URL.
7406
7407
7408 .SS extractor.redgifs.format
7409 .IP "Type:" 6
7410 .br
7411 * \f[I]string\f[]
7412 .br
7413 * \f[I]list\f[] of \f[I]strings\f[]
7414
7415 .IP "Default:" 9
7416 \f[I]["hd", "sd", "gif"]\f[]
7417
7418 .IP "Description:" 4
7419 List of names of the preferred animation format.`
7420
7421 If a selected format is not available, the next one in the list will be
7422 tried until an available format is found.
7423
7424 If the format is given as \f[I]string\f[], it will be extended with
7425 \f[I]["hd", "sd", "gif"]\f[]. Use a list with one element to
7426 restrict it to only one possible format.
7427
7428 .IP "Available Formats:" 4
7429 .br
7430 * \f[I]"hd"\f[]
7431 .br
7432 * \f[I]"sd"\f[]
7433 .br
7434 * \f[I]"gif"\f[]
7435 .br
7436 * \f[I]"thumbnail"\f[]
7437 .br
7438 * \f[I]"vthumbnail"\f[]
7439 .br
7440 * \f[I]"poster"\f[]
7441
7442
7443 .SS extractor.rule34.api-key & .user-id
7444 .IP "Type:" 6
7445 \f[I]string\f[]
7446
7447 .IP "Default:" 9
7448 \f[I]null\f[]
7449
7450 .IP "Description:" 4
7451 Values from the API Access Credentials section
7452 found near the bottom of your account's
7453 \f[I]Options\f[]
7454 page.
7455
7456 Enable Generate New Key? and click Save
7457 if the value after \f[I]&api_key=\f[] is empty,
7458 e.g. \f[I]&api_key=&user_id=12345\f[]
7459
7460
7461 .SS extractor.rule34xyz.format
7462 .IP "Type:" 6
7463 .br
7464 * \f[I]string\f[]
7465 .br
7466 * \f[I]list\f[] of \f[I]strings\f[]
7467
7468 .IP "Default:" 9
7469 \f[I]["10", "40", "41", "2"]\f[]
7470
7471 .IP "Example:" 4
7472 "33,34,4"
7473
7474 .IP "Description:" 4
7475 Selects the file format to extract.
7476
7477 When more than one format is given, the first available one is selected.
7478
7479
7480 .SS extractor.sankaku.refresh
7481 .IP "Type:" 6
7482 \f[I]bool\f[]
7483
7484 .IP "Default:" 9
7485 \f[I]false\f[]
7486
7487 .IP "Description:" 4
7488 Refresh download URLs before they expire.
7489
7490
7491 .SS extractor.sankaku.tags
7492 .IP "Type:" 6
7493 .br
7494 * \f[I]bool\f[]
7495 .br
7496 * \f[I]string\f[]
7497
7498 .IP "Default:" 9
7499 \f[I]false\f[]
7500
7501 .IP "Description:" 4
7502 Group \f[I]tags\f[] by type and
7503 .br
7504 provide them as \f[I]tags_<type>\f[] and \f[I]tag_string_TYPE\f[] metadata fields,
7505 for example \f[I]tags_artist\f[] and \f[I]tags_character\f[].
7506 .br
7507
7508 \f[I]true\f[]
7509 Enable general \f[I]tags\f[] categories
7510
7511 Requires:
7512
7513 .br
7514 * 1 additional API request per 100 tags per post
7515
7516 \f[I]"extended"\f[]
7517 Group \f[I]tags\f[] by the new, extended tag category system
7518 used on \f[I]chan.sankakucomplex.com\f[]
7519
7520 Requires:
7521
7522 .br
7523 * 1 additional HTTP request per post
7524 .br
7525 * authenticated \f[I]cookies\f[]
7526 to fetch full \f[I]tags\f[] category data
7527
7528 \f[I]false\f[]
7529 Disable \f[I]tags\f[] categories
7530
7531
7532 .SS extractor.sankakucomplex.embeds
7533 .IP "Type:" 6
7534 \f[I]bool\f[]
7535
7536 .IP "Default:" 9
7537 \f[I]false\f[]
7538
7539 .IP "Description:" 4
7540 Download video embeds from external sites.
7541
7542
7543 .SS extractor.sankakucomplex.videos
7544 .IP "Type:" 6
7545 \f[I]bool\f[]
7546
7547 .IP "Default:" 9
7548 \f[I]true\f[]
7549
7550 .IP "Description:" 4
7551 Download videos.
7552
7553
7554 .SS extractor.schalenetwork.cbz
7555 .IP "Type:" 6
7556 \f[I]bool\f[]
7557
7558 .IP "Default:" 9
7559 \f[I]false\f[]
7560
7561 .IP "Description:" 4
7562 Download each gallery as a single \f[I].cbz\f[] file.
7563
7564 .IP "Note:" 4
7565 Requires a
7566 \f[I]token\f[]
7567
7568
7569 .SS extractor.schalenetwork.crt
7570 .IP "Type:" 6
7571 \f[I]string\f[]
7572
7573 .IP "Example:" 4
7574 .br
7575 * "0542daa9-352c-4fd5-a497-6c6d5cf07423"
7576 .br
7577 * "/12345/a1b2c3d4e5f6?crt=0542daa9-352c-4fd5-a497-6c6d5cf07423"
7578
7579 .IP "Description:" 4
7580 The \f[I]crt\f[] query parameter value
7581 sent when fetching gallery data.
7582
7583 To get this value:
7584
7585 .br
7586 * Open your browser's Developer Tools (F12)
7587 .br
7588 * Select Network → XHR
7589 .br
7590 * Open a gallery page
7591 .br
7592 * Select the last Network entry and copy its \f[I]crt\f[] value
7593
7594 .IP "Note:" 4
7595 You will also need your browser's
7596 \f[I]user-agent\f[]
7597
7598
7599 .SS extractor.schalenetwork.format
7600 .IP "Type:" 6
7601 .br
7602 * \f[I]string\f[]
7603 .br
7604 * \f[I]list\f[] of \f[I]strings\f[]
7605
7606 .IP "Default:" 9
7607 \f[I]["0", "1600", "1280", "980", "780"]\f[]
7608
7609 .IP "Description:" 4
7610 Name(s) of the image format to download.
7611
7612 When more than one format is given, the first available one is selected.
7613
7614 .IP "Formats:" 4
7615 .br
7616 * \f[I]"780"\f[]
7617 .br
7618 * \f[I]"980"\f[]
7619 .br
7620 * \f[I]"1280"\f[]
7621 .br
7622 * \f[I]"1600"\f[]
7623 .br
7624 * \f[I]"0"\f[] (original)
7625
7626
7627 .SS extractor.schalenetwork.tags
7628 .IP "Type:" 6
7629 \f[I]bool\f[]
7630
7631 .IP "Default:" 9
7632 \f[I]true\f[]
7633
7634 .IP "Description:" 4
7635 Group \f[I]tags\f[] by type and
7636 provide them as \f[I]tags_<type>\f[] metadata fields,
7637 for example \f[I]tags_artist\f[] or \f[I]tags_character\f[].
7638
7639
7640 .SS extractor.schalenetwork.token
7641 .IP "Type:" 6
7642 \f[I]string\f[]
7643
7644 .IP "Example:" 4
7645 .br
7646 * "3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
7647 .br
7648 * "Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
7649 .br
7650 * "Authorization: Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893"
7651
7652 .IP "Description:" 4
7653 \f[I]Authorization\f[] header value
7654 used for requests to \f[I]https://api.schale.network\f[]
7655 to access \f[I]favorite\f[] galleries
7656 or download
7657 \f[I].cbz\f[]
7658 archives.
7659
7660
7661 .SS extractor.sexcom.gifs
7662 .IP "Type:" 6
7663 \f[I]bool\f[]
7664
7665 .IP "Default:" 9
7666 \f[I]true\f[]
7667
7668 .IP "Description:" 4
7669 Download animated images as \f[I].gif\f[] instead of \f[I].webp\f[]
7670
7671
7672 .SS extractor.sizebooru.metadata
7673 .IP "Type:" 6
7674 \f[I]bool\f[]
7675
7676 .IP "Default:" 9
7677 \f[I]false\f[]
7678
7679 .IP "Description:" 4
7680 Extract additional metadata:
7681
7682 .br
7683 * \f[I]approver\f[]
7684 .br
7685 * \f[I]artist\f[]
7686 .br
7687 * \f[I]date\f[]
7688 .br
7689 * \f[I]date_approved\f[]
7690 .br
7691 * \f[I]favorite\f[]
7692 .br
7693 * \f[I]source\f[]
7694 .br
7695 * \f[I]tags\f[]
7696 .br
7697 * \f[I]uploader\f[]
7698 .br
7699 * \f[I]views\f[]
7700
7701 .IP "Note:" 4
7702 This requires 1 additional HTTP request per post.
7703
7704
7705 .SS extractor.skeb.article
7706 .IP "Type:" 6
7707 \f[I]bool\f[]
7708
7709 .IP "Default:" 9
7710 \f[I]false\f[]
7711
7712 .IP "Description:" 4
7713 Download article images.
7714
7715
7716 .SS extractor.skeb.include
7717 .IP "Type:" 6
7718 .br
7719 * \f[I]string\f[]
7720 .br
7721 * \f[I]list\f[] of \f[I]strings\f[]
7722
7723 .IP "Default:" 9
7724 .br
7725 * \f[I]["works", "sentrequests"]\f[]
7726 if \f[I]sent-requests\f[] are enabled
7727 .br
7728 * \f[I]["works"]\f[] otherwise
7729
7730 .IP "Example:" 4
7731 .br
7732 * "works,sentrequests"
7733 .br
7734 * ["works", "sentrequests"]
7735
7736 .IP "Description:" 4
7737 A (comma-separated) list of subcategories to include
7738 when processing a user profile.
7739
7740 .IP "Supported Values:" 4
7741 .br
7742 * \f[I]works\f[]
7743 .br
7744 * \f[I]sentrequests\f[]
7745
7746 .IP "Note:" 4
7747 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
7748
7749
7750 .SS extractor.skeb.sent-requests
7751 .IP "Type:" 6
7752 \f[I]bool\f[]
7753
7754 .IP "Default:" 9
7755 \f[I]false\f[]
7756
7757 .IP "Description:" 4
7758 Download sent requests.
7759
7760
7761 .SS extractor.skeb.thumbnails
7762 .IP "Type:" 6
7763 \f[I]bool\f[]
7764
7765 .IP "Default:" 9
7766 \f[I]false\f[]
7767
7768 .IP "Description:" 4
7769 Download thumbnails.
7770
7771
7772 .SS extractor.skeb.search.filters
7773 .IP "Type:" 6
7774 .br
7775 * \f[I]string\f[]
7776 .br
7777 * \f[I]list\f[] of \f[I]strings\f[]
7778
7779 .IP "Default:" 9
7780 \f[I]["genre:art", "genre:voice", "genre:novel", "genre:video", "genre:music", "genre:correction"]\f[]
7781
7782 .IP "Example:" 4
7783 "genre:music OR genre:voice"
7784
7785 .IP "Description:" 4
7786 Filters used during searches.
7787
7788
7789 .SS extractor.smugmug.videos
7790 .IP "Type:" 6
7791 \f[I]bool\f[]
7792
7793 .IP "Default:" 9
7794 \f[I]true\f[]
7795
7796 .IP "Description:" 4
7797 Download video files.
7798
7799
7800 .SS extractor.sofurry.include
7801 .IP "Type:" 6
7802 .br
7803 * \f[I]string\f[]
7804 .br
7805 * \f[I]list\f[] of \f[I]strings\f[]
7806
7807 .IP "Default:" 9
7808 \f[I]"gallery"\f[]
7809
7810 .IP "Description:" 4
7811 A (comma-separated) list of subcategories to include
7812 when processing a user profile.
7813
7814 .IP "Supported Values:" 4
7815 .br
7816 * \f[I]gallery\f[]
7817 .br
7818 * \f[I]favorite\f[]
7819
7820 .IP "Note:" 4
7821 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
7822
7823
7824 .SS extractor.sofurry.original
7825 .IP "Type:" 6
7826 \f[I]bool\f[]
7827
7828 .IP "Default:" 9
7829 \f[I]true\f[]
7830
7831 .IP "Description:" 4
7832 Download original files.
7833
7834 Submissions containing more than one file
7835 will be downloaded as \f[I].zip\f[] archive.
7836
7837 Disabling this option will download files
7838 via their display URL in \f[I].webp\f[] format.
7839
7840
7841 .SS extractor.steamgriddb.animated
7842 .IP "Type:" 6
7843 \f[I]bool\f[]
7844
7845 .IP "Default:" 9
7846 \f[I]true\f[]
7847
7848 .IP "Description:" 4
7849 Include \f[I]animated\f[] assets
7850 when downloading from a list of assets.
7851
7852
7853 .SS extractor.steamgriddb.epilepsy
7854 .IP "Type:" 6
7855 \f[I]bool\f[]
7856
7857 .IP "Default:" 9
7858 \f[I]true\f[]
7859
7860 .IP "Description:" 4
7861 Include assets tagged with \f[I]epilepsy\f[]
7862 when downloading from a list of assets.
7863
7864
7865 .SS extractor.steamgriddb.dimensions
7866 .IP "Type:" 6
7867 .br
7868 * \f[I]string\f[]
7869 .br
7870 * \f[I]list\f[] of \f[I]strings\f[]
7871
7872 .IP "Default:" 9
7873 \f[I]"all"\f[]
7874
7875 .IP "Example:" 4
7876 .br
7877 * "1024x512,512x512"
7878 .br
7879 * ["460x215", "920x430"]
7880
7881 .IP "Description:" 4
7882 Only include assets that are in the specified dimensions. \f[I]all\f[] can be
7883 used to specify all dimensions.
7884
7885 .IP "Valid Values:" 4
7886 Grids
7887 \f[I]460x215\f[] \f[I]
7888 \f[I]920x430\f[] \f[]
7889 \f[I]342x482\f[] \f[I]
7890 \f[I]600x900\f[] \f[]
7891 \f[I]660x930\f[] \f[I]
7892 \f[I]512x512\f[] \f[]
7893 \f[I]1024x1024\f[]
7894 Heroes
7895 \f[I]1600x650\f[] \f[I]
7896 \f[I]1920x620\f[] \f[]
7897 \f[I]3840x1240\f[]
7898 Logos
7899 N/A (will be ignored)
7900 Icons
7901 \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[]
7902 \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[]
7903 \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[]
7904 \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[]
7905 \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]
7906 \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[]
7907 \f[I]512x512\f[] \f[I] \f[I]768x768\f[] \f[] \f[I]1024x1024\f[]
7908
7909
7910 .SS extractor.steamgriddb.file-types
7911 .IP "Type:" 6
7912 .br
7913 * \f[I]string\f[]
7914 .br
7915 * \f[I]list\f[] of \f[I]strings\f[]
7916
7917 .IP "Default:" 9
7918 \f[I]"all"\f[]
7919
7920 .IP "Example:" 4
7921 .br
7922 * "png,jpeg"
7923 .br
7924 * ["jpeg", "webp"]
7925
7926 .IP "Description:" 4
7927 Only include assets that are in the specified file types. \f[I]all\f[] can be
7928 used to specify all file types.
7929
7930 .IP "Valid Values:" 4
7931 Grids
7932 \f[I]png\f[] \f[I] \f[I]jpeg\f[] \f[] \f[I]jpg\f[] \f[I] \f[I]webp\f[]
7933 Heroes
7934 \f[I]png\f[] \f[] \f[I]jpeg\f[] \f[I] \f[I]jpg\f[] \f[] \f[I]webp\f[]
7935 Logos
7936 \f[I]png\f[] \f[I] \f[I]webp\f[]
7937 Icons
7938 \f[I]png\f[] \f[] \f[I]ico\f[]
7939
7940
7941 .SS extractor.steamgriddb.download-fake-png
7942 .IP "Type:" 6
7943 \f[I]bool\f[]
7944
7945 .IP "Default:" 9
7946 \f[I]true\f[]
7947
7948 .IP "Description:" 4
7949 Download fake PNGs alongside the real file.
7950
7951
7952 .SS extractor.steamgriddb.humor
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]humor\f[]
7961 when downloading from a list of assets.
7962
7963
7964 .SS extractor.steamgriddb.languages
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 * "en,km"
7977 .br
7978 * ["fr", "it"]
7979
7980 .IP "Description:" 4
7981 Only include assets that are in the specified languages.
7982
7983 .IP "Valid Values:" 4
7984 \f[I]ISO 639-1\f[] codes
7985
7986 .IP "Note:" 4
7987 \f[I]all\f[] can be used to specify all languages.
7988
7989
7990 .SS extractor.steamgriddb.nsfw
7991 .IP "Type:" 6
7992 \f[I]bool\f[]
7993
7994 .IP "Default:" 9
7995 \f[I]true\f[]
7996
7997 .IP "Description:" 4
7998 Include assets tagged with adult content when downloading from a list of assets.
7999
8000
8001 .SS extractor.steamgriddb.sort
8002 .IP "Type:" 6
8003 \f[I]string\f[]
8004
8005 .IP "Default:" 9
8006 \f[I]"score_desc"\f[]
8007
8008 .IP "Description:" 4
8009 Set the chosen sorting method when downloading from a list of assets.
8010
8011 .IP "Supported Values:" 4
8012 .br
8013 * \f[I]score_desc\f[] (Highest Score (Beta))
8014 .br
8015 * \f[I]score_asc\f[] (Lowest Score (Beta))
8016 .br
8017 * \f[I]score_old_desc\f[] (Highest Score (Old))
8018 .br
8019 * \f[I]score_old_asc\f[] (Lowest Score (Old))
8020 .br
8021 * \f[I]age_desc\f[] (Newest First)
8022 .br
8023 * \f[I]age_asc\f[] (Oldest First)
8024
8025
8026 .SS extractor.steamgriddb.static
8027 .IP "Type:" 6
8028 \f[I]bool\f[]
8029
8030 .IP "Default:" 9
8031 \f[I]true\f[]
8032
8033 .IP "Description:" 4
8034 Include static assets when downloading from a list of assets.
8035
8036
8037 .SS extractor.steamgriddb.untagged
8038 .IP "Type:" 6
8039 \f[I]bool\f[]
8040
8041 .IP "Default:" 9
8042 \f[I]true\f[]
8043
8044 .IP "Description:" 4
8045 Include untagged assets when downloading from a list of assets.
8046
8047
8048 .SS extractor.[szurubooru].username & .token
8049 .IP "Type:" 6
8050 \f[I]string\f[]
8051
8052 .IP "Description:" 4
8053 Username and login token of your account to access private resources.
8054
8055 To generate a token, visit \f[I]/user/USERNAME/list-tokens\f[]
8056 and click \f[I]Create Token\f[].
8057
8058
8059 .SS extractor.tenor.format
8060 .IP "Type:" 6
8061 .br
8062 * \f[I]string\f[]
8063 .br
8064 * \f[I]list\f[] of \f[I]strings\f[]
8065
8066 .IP "Default:" 9
8067 \f[I]["gif", "mp4", "webm", "webp"]\f[]
8068
8069 .IP "Description:" 4
8070 List of names of the preferred animation format.
8071
8072 If a selected format is not available, the next one in the list will be
8073 tried until a format is found.
8074
8075 .IP "Available Formats:" 4
8076 .br
8077 * \f[I]gif\f[]
8078 .br
8079 * \f[I]gif_transparent\f[]
8080 .br
8081 * \f[I]mediumgif\f[]
8082 .br
8083 * \f[I]gifpreview\f[]
8084 .br
8085 * \f[I]tinygif\f[]
8086 .br
8087 * \f[I]tinygif_transparent\f[]
8088 .br
8089 * \f[I]mp4\f[]
8090 .br
8091 * \f[I]tinymp4\f[]
8092 .br
8093 * \f[I]webm\f[]
8094 .br
8095 * \f[I]webp\f[]
8096 .br
8097 * \f[I]webp_transparent\f[]
8098 .br
8099 * \f[I]tinywebp\f[]
8100 .br
8101 * \f[I]tinywebp_transparent\f[]
8102
8103
8104 .SS extractor.tiktok.audio
8105 .IP "Type:" 6
8106 .br
8107 * \f[I]bool\f[]
8108 .br
8109 * \f[I]string\f[]
8110
8111 .IP "Default:" 9
8112 \f[I]true\f[]
8113
8114 .IP "Description:" 4
8115 Controls audio download behavior.
8116
8117 \f[I]true\f[]
8118 Download audio tracks
8119 \f[I]"ytdl"\f[]
8120 Download audio tracks using \f[I]ytdl\f[]
8121 \f[I]false\f[]
8122 Ignore audio tracks
8123
8124
8125 .SS extractor.tiktok.covers
8126 .IP "Type:" 6
8127 .br
8128 * \f[I]bool\f[]
8129 .br
8130 * \f[I]string\f[]
8131
8132 .IP "Default:" 9
8133 \f[I]false\f[]
8134
8135 .IP "Description:" 4
8136 Download video covers.
8137
8138 \f[I]true\f[]
8139 Download the first cover found in the following order:
8140
8141 .br
8142 * \f[I]thumbnail\f[]
8143 .br
8144 * \f[I]cover\f[]
8145 .br
8146 * \f[I]originCover\f[]
8147 .br
8148 * \f[I]dynamicCover\f[]
8149 \f[I]false\f[]
8150 Do not download covers
8151 \f[I]"all"\f[]
8152 Download all available covers
8153
8154
8155 .SS extractor.tiktok.photos
8156 .IP "Type:" 6
8157 \f[I]bool\f[]
8158
8159 .IP "Default:" 9
8160 \f[I]true\f[]
8161
8162 .IP "Description:" 4
8163 Download photos.
8164
8165
8166 .SS extractor.tiktok.subtitles
8167 .IP "Type:" 6
8168 .br
8169 * \f[I]bool\f[]
8170 .br
8171 * \f[I]string\f[]
8172
8173 .IP "Default:" 9
8174 \f[I]false\f[]
8175
8176 .IP "Example:" 4
8177 .br
8178 * "all"
8179 .br
8180 * "ASR,MT,LC"
8181 .br
8182 * "ASR,eng-US"
8183
8184 .IP "Description:" 4
8185 Download video subtitles.
8186 The subtitles can be filtered by source or language.
8187 The following source types can be filtered:
8188
8189 .br
8190 * \f[I]ASR\f[] - Automatic Speech Recognition
8191 .br
8192 * \f[I]MT\f[] - Machine Translation
8193 .br
8194 * \f[I]LC\f[] - Local Captions / Creator Captions
8195
8196 If both source types and language codes are provided,
8197 only subtitles matching both are downloaded.
8198
8199 \f[I]true\f[]
8200 Download all subtitles tagged \f[I]ASR\f[]
8201 \f[I]false\f[]
8202 Do not download subtitles
8203 \f[I]"all"\f[]
8204 Download all available subtitles.
8205 \f[I]"ASR,MT,eng-US,cmn-Hans-CN"\f[]
8206 Download english and simplified chinese subtitles
8207 that are either automatically recognized or machine translated.
8208
8209 The source types and languages can be listed in any order.
8210
8211 .IP "Note:" 4
8212 It is not possible to filter all subtitles of a specific source type,
8213 while also filtering for additional languages of another source type.
8214 (e.g. any ASR subtitle + fra-FR of any source type)
8215 For this, refer to \f[I]extractor.*.file-filter\f[].
8216
8217
8218 .SS extractor.tiktok.videos
8219 .IP "Type:" 6
8220 \f[I]bool\f[]
8221
8222 .IP "Default:" 9
8223 \f[I]true\f[]
8224
8225 .IP "Description:" 4
8226 Download videos using \f[I]ytdl\f[].
8227
8228
8229 .SS extractor.tiktok.tiktok-range
8230 .IP "Type:" 6
8231 \f[I]string\f[]
8232
8233 .IP "Default:" 9
8234 \f[I]""\f[]
8235
8236 .IP "Example:" 4
8237 "1-20"
8238
8239 .IP "Description:" 4
8240 Range or playlist indices of \f[I]tiktok\f[] posts to extract.
8241
8242 When using ytdl, see
8243 \f[I]ytdl/playlist_items\f[]
8244 for details.
8245
8246
8247 .SS extractor.tiktok.posts.order-posts
8248 .IP "Type:" 6
8249 \f[I]string\f[]
8250
8251 .IP "Default:" 9
8252 \f[I]"desc"\f[]
8253
8254 .IP "Description:" 4
8255 Controls the order in which
8256 posts are processed.
8257
8258 \f[I]"asc"\f[] | \f[I]"reverse"\f[]
8259 Ascending order (oldest first)
8260 \f[I]"desc"\f[]
8261 Descending order (newest first)
8262 \f[I]"popular"\f[]
8263 *Popular* order
8264
8265
8266 .SS extractor.tiktok.posts.ytdl
8267 .IP "Type:" 6
8268 \f[I]bool\f[]
8269
8270 .IP "Default:" 9
8271 \f[I]false\f[]
8272
8273 .IP "Description:" 4
8274 Extract user posts with \f[I]ytdl\f[]
8275
8276
8277 .SS extractor.tiktok.posts.module
8278 .IP "Type:" 6
8279 \f[I]Module\f[]
8280
8281 .IP "Default:" 9
8282 \f[I]null\f[]
8283
8284 .IP "Description:" 4
8285 The \f[I]ytdl\f[] \f[I]Module\f[]
8286 to extract posts from a \f[I]tiktok\f[] user profile with.
8287
8288 See \f[I]extractor.ytdl.module\f[].
8289
8290
8291 .SS extractor.tiktok.user.include
8292 .IP "Type:" 6
8293 .br
8294 * \f[I]string\f[]
8295 .br
8296 * \f[I]list\f[] of \f[I]strings\f[]
8297
8298 .IP "Default:" 9
8299 \f[I]["avatar", "posts"]\f[]
8300
8301 .IP "Description:" 4
8302 A (comma-separated) list of subcategories to include
8303 when processing a user profile.
8304
8305 .IP "Supported Values:" 4
8306 .br
8307 * \f[I]avatar\f[]
8308 .br
8309 * \f[I]posts\f[]
8310 .br
8311 * \f[I]reposts\f[]
8312 .br
8313 * \f[I]stories\f[]
8314 .br
8315 * \f[I]likes\f[]
8316 .br
8317 * \f[I]saved\f[]
8318
8319 .IP "Note:" 4
8320 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
8321
8322
8323 .SS extractor.tumblr.avatar
8324 .IP "Type:" 6
8325 \f[I]bool\f[]
8326
8327 .IP "Default:" 9
8328 \f[I]false\f[]
8329
8330 .IP "Description:" 4
8331 Download blog avatars.
8332
8333
8334 .SS extractor.tumblr.date-min & .date-max
8335 .IP "Type:" 6
8336 \f[I]Date\f[]
8337
8338 .IP "Default:" 9
8339 \f[I]0\f[] and \f[I]null\f[]
8340
8341 .IP "Description:" 4
8342 Ignore all posts published before/after this date.
8343
8344
8345 .SS extractor.tumblr.external
8346 .IP "Type:" 6
8347 \f[I]bool\f[]
8348
8349 .IP "Default:" 9
8350 \f[I]false\f[]
8351
8352 .IP "Description:" 4
8353 Follow external URLs (e.g. from "Link" posts) and try to extract
8354 images from them.
8355
8356
8357 .SS extractor.tumblr.inline
8358 .IP "Type:" 6
8359 .br
8360 * \f[I]bool\f[]
8361 .br
8362 * \f[I]string\f[]
8363
8364 .IP "Default:" 9
8365 \f[I]true\f[]
8366
8367 .IP "Description:" 4
8368 \f[I]true\f[]
8369 Search posts for inline images and videos
8370 \f[I]false\f[]
8371 Don't extract inline files
8372 \f[I]"original"\f[]
8373 Extract inline media files.
8374 For reblogged posts, extract them only from the original post text.
8375 \f[I]"reblog"\f[]
8376 Extract inline media files.
8377 For reblogged posts, extract them only from the reblog text.
8378
8379
8380 .SS extractor.tumblr.offset
8381 .IP "Type:" 6
8382 \f[I]integer\f[]
8383
8384 .IP "Default:" 9
8385 \f[I]0\f[]
8386
8387 .IP "Description:" 4
8388 Custom \f[I]offset\f[] starting value when paginating over blog posts.
8389
8390 Allows skipping over posts without having to waste API calls.
8391
8392
8393 .SS extractor.tumblr.original
8394 .IP "Type:" 6
8395 \f[I]bool\f[]
8396
8397 .IP "Default:" 9
8398 \f[I]true\f[]
8399
8400 .IP "Description:" 4
8401 Download full-resolution \f[I]photo\f[] and \f[I]inline\f[] images.
8402
8403 For each photo with "maximum" resolution
8404 (width equal to 2048 or height equal to 3072)
8405 or each inline image,
8406 use an extra HTTP request to find the URL to its full-resolution version.
8407
8408
8409 .SS extractor.tumblr.pagination
8410 .IP "Type:" 6
8411 \f[I]string\f[]
8412
8413 .IP "Default:" 9
8414 .br
8415 * \f[I]"before"\f[] if \f[I]date-max\f[] is set
8416 .br
8417 * \f[I]"offset"\f[] otherwise
8418
8419 .IP "Description:" 4
8420 Controls how to paginate over blog posts.
8421
8422 \f[I]"api"\f[]
8423 \f[I]next\f[] parameter provided by the API
8424 (potentially misses posts due to a
8425 \f[I]bug\f[]
8426 in Tumblr's API)
8427 \f[I]"before"\f[]
8428 Timestamp of last post
8429 \f[I]"offset"\f[]
8430 Post offset number
8431
8432
8433 .SS extractor.tumblr.ratelimit
8434 .IP "Type:" 6
8435 \f[I]string\f[]
8436
8437 .IP "Default:" 9
8438 \f[I]"abort"\f[]
8439
8440 .IP "Description:" 4
8441 Selects how to handle exceeding the daily API rate limit.
8442
8443 \f[I]"abort"\f[]
8444 Raise an error and stop extraction
8445 \f[I]"wait"\f[]
8446 Wait until rate limit reset
8447
8448
8449 .SS extractor.tumblr.reblogs
8450 .IP "Type:" 6
8451 .br
8452 * \f[I]bool\f[]
8453 .br
8454 * \f[I]string\f[]
8455
8456 .IP "Default:" 9
8457 \f[I]true\f[]
8458
8459 .IP "Description:" 4
8460 \f[I]true\f[]
8461 Extract media from reblogged posts
8462 \f[I]false\f[]
8463 Skip reblogged posts
8464 \f[I]"same-blog"\f[]
8465 Skip reblogged posts unless the original post
8466 is from the same blog
8467
8468
8469 .SS extractor.tumblr.posts
8470 .IP "Type:" 6
8471 .br
8472 * \f[I]string\f[]
8473 .br
8474 * \f[I]list\f[] of \f[I]strings\f[]
8475
8476 .IP "Default:" 9
8477 \f[I]"all"\f[]
8478
8479 .IP "Example:" 4
8480 .br
8481 * "video,audio,link"
8482 .br
8483 * ["video", "audio", "link"]
8484
8485 .IP "Description:" 4
8486 A (comma-separated) list of post types to extract images, etc. from.
8487
8488 Possible types are \f[I]text\f[], \f[I]quote\f[], \f[I]link\f[], \f[I]answer\f[],
8489 \f[I]video\f[], \f[I]audio\f[], \f[I]photo\f[], \f[I]chat\f[].
8490
8491 It is possible to use \f[I]"all"\f[] instead of listing all types separately.
8492
8493
8494 .SS extractor.tumblr.fallback-delay
8495 .IP "Type:" 6
8496 \f[I]float\f[]
8497
8498 .IP "Default:" 9
8499 \f[I]120.0\f[]
8500
8501 .IP "Description:" 4
8502 Number of seconds to wait between retries
8503 for fetching full-resolution images.
8504
8505
8506 .SS extractor.tumblr.fallback-retries
8507 .IP "Type:" 6
8508 \f[I]integer\f[]
8509
8510 .IP "Default:" 9
8511 \f[I]2\f[]
8512
8513 .IP "Description:" 4
8514 Number of retries for fetching full-resolution images,
8515 or \f[I]-1\f[] for infinite retries.
8516
8517
8518 .SS extractor.twibooru.api-key
8519 .IP "Type:" 6
8520 \f[I]string\f[]
8521
8522 .IP "Default:" 9
8523 \f[I]null\f[]
8524
8525 .IP "Description:" 4
8526 Your \f[I]Twibooru API Key\f[],
8527 to use your account's browsing settings and filters.
8528
8529
8530 .SS extractor.twibooru.filter
8531 .IP "Type:" 6
8532 \f[I]integer\f[]
8533
8534 .IP "Default:" 9
8535 \f[I]2\f[] (\f[I]Everything\f[] filter)
8536
8537 .IP "Description:" 4
8538 The content filter ID to use.
8539
8540 Setting an explicit filter ID overrides any default filters and can be used
8541 to access 18+ content without \f[I]API Key\f[].
8542
8543 See \f[I]Filters\f[] for details.
8544
8545
8546 .SS extractor.twibooru.svg
8547 .IP "Type:" 6
8548 \f[I]bool\f[]
8549
8550 .IP "Default:" 9
8551 \f[I]true\f[]
8552
8553 .IP "Description:" 4
8554 Download SVG versions of images when available.
8555
8556 Try to download the \f[I]view_url\f[] version of these posts
8557 when this option is disabled.
8558
8559
8560 .SS extractor.twitter.ads
8561 .IP "Type:" 6
8562 \f[I]bool\f[]
8563
8564 .IP "Default:" 9
8565 \f[I]false\f[]
8566
8567 .IP "Description:" 4
8568 Fetch media from promoted Tweets.
8569
8570
8571 .SS extractor.twitter.articles
8572 .IP "Type:" 6
8573 .br
8574 * \f[I]bool\f[]
8575 .br
8576 * \f[I]string\f[]
8577 .br
8578 * \f[I]list\f[] of \f[I]strings\f[]
8579
8580 .IP "Default:" 9
8581 \f[I]true\f[]
8582
8583 .IP "Example:" 4
8584 ["media", "document", "metadata"]
8585
8586 .IP "Description:" 4
8587 Process article Tweets.
8588
8589 It is possible to select which files to download
8590 and what article metadata to extract
8591 by specifying a list of targets:
8592
8593 \f[I]cover\f[]
8594 Download article cover images
8595 \f[I]media\f[]
8596 Download article media files
8597 \f[I]html\f[]
8598 Extract article content as \f[I]html\f[] metadata
8599 \f[I]metadata\f[] \f[I] \f[I]meta\f[]
8600 Extract \f[I]article\f[] metadata
8601 (\f[I]id\f[], \f[I]title\f[], \f[I]date\f[], \f[I]date_updated\f[])
8602 \f[I]document\f[] \f[] \f[I]doc\f[]
8603 Download article contents as HTML document
8604
8605
8606 .SS extractor.twitter.cards
8607 .IP "Type:" 6
8608 .br
8609 * \f[I]bool\f[]
8610 .br
8611 * \f[I]string\f[]
8612
8613 .IP "Default:" 9
8614 \f[I]false\f[]
8615
8616 .IP "Description:" 4
8617 Controls how to handle \f[I]Twitter Cards\f[].
8618
8619 \f[I]false\f[]
8620 Ignore cards
8621 \f[I]true\f[]
8622 Download image content from supported cards
8623 \f[I]"ytdl"\f[]
8624 Additionally download video content from unsupported cards using \f[I]ytdl\f[]
8625
8626
8627 .SS extractor.twitter.cards-blacklist
8628 .IP "Type:" 6
8629 \f[I]list\f[] of \f[I]strings\f[]
8630
8631 .IP "Example:" 4
8632 ["summary", "youtube.com", "player:twitch.tv"]
8633
8634 .IP "Description:" 4
8635 List of card types to ignore.
8636
8637 Possible values are
8638
8639 .br
8640 * card names
8641 .br
8642 * card domains
8643 .br
8644 * \f[I]<card name>:<card domain>\f[]
8645
8646
8647 .SS extractor.twitter.conversations
8648 .IP "Type:" 6
8649 .br
8650 * \f[I]bool\f[]
8651 .br
8652 * \f[I]string\f[]
8653
8654 .IP "Default:" 9
8655 \f[I]false\f[]
8656
8657 .IP "Description:" 4
8658 For input URLs pointing to a single Tweet,
8659 e.g. https://twitter.com/i/web/status/<TweetID>,
8660 fetch media from all Tweets and replies in this \f[I]conversation
8661 <https://help.twitter.com/en/using-twitter/twitter-conversations>\f[].
8662
8663 If this option is equal to \f[I]"accessible"\f[],
8664 only download from conversation Tweets
8665 if the given initial Tweet is accessible.
8666
8667
8668 .SS extractor.twitter.csrf
8669 .IP "Type:" 6
8670 \f[I]string\f[]
8671
8672 .IP "Default:" 9
8673 \f[I]"cookies"\f[]
8674
8675 .IP "Description:" 4
8676 Controls how to handle Cross Site Request Forgery (CSRF) tokens.
8677
8678 \f[I]"auto"\f[]
8679 Always auto-generate a token.
8680 \f[I]"cookies"\f[]
8681 Use token given by the \f[I]ct0\f[] cookie if present.
8682
8683
8684 .SS extractor.twitter.cursor
8685 .IP "Type:" 6
8686 .br
8687 * \f[I]bool\f[]
8688 .br
8689 * \f[I]string\f[]
8690
8691 .IP "Default:" 9
8692 \f[I]true\f[]
8693
8694 .IP "Example:" 4
8695 "1/DAABCgABGVKi5lE___oKAAIYbfYNcxrQLggAAwAAAAIAAA"
8696
8697 .IP "Description:" 4
8698 Controls from which position to start the extraction process from.
8699
8700 \f[I]true\f[]
8701 Start from the beginning.
8702 .br
8703 Log the most recent \f[I]cursor\f[] value when interrupted before reaching the end.
8704 .br
8705 \f[I]false\f[]
8706 Start from the beginning.
8707 any \f[I]string\f[]
8708 Start from the position defined by this value.
8709
8710 .IP "Note:" 4
8711 A \f[I]cursor\f[] value from one timeline cannot be used with another.
8712
8713
8714 .SS extractor.twitter.expand
8715 .IP "Type:" 6
8716 \f[I]bool\f[]
8717
8718 .IP "Default:" 9
8719 \f[I]false\f[]
8720
8721 .IP "Description:" 4
8722 For each Tweet, return *all* Tweets from that initial Tweet's
8723 conversation or thread, i.e. *expand* all Twitter threads.
8724
8725 Going through a timeline with this option enabled is essentially the same
8726 as running \f[I]gallery-dl https://twitter.com/i/web/status/<TweetID>\f[]
8727 with enabled \f[I]conversations\f[] option
8728 for each Tweet in said timeline.
8729
8730 .IP "Note:" 4
8731 This requires at least 1 additional API call per initial Tweet.
8732
8733
8734 .SS extractor.twitter.unavailable
8735 .IP "Type:" 6
8736 \f[I]bool\f[]
8737
8738 .IP "Default:" 9
8739 \f[I]false\f[]
8740
8741 .IP "Description:" 4
8742 Try to download media marked as \f[I]Unavailable\f[],
8743 e.g. \f[I]Geoblocked\f[] videos.
8744
8745
8746 .SS extractor.twitter.include
8747 .IP "Type:" 6
8748 .br
8749 * \f[I]string\f[]
8750 .br
8751 * \f[I]list\f[] of \f[I]strings\f[]
8752
8753 .IP "Default:" 9
8754 \f[I]"timeline"\f[]
8755
8756 .IP "Example:" 4
8757 .br
8758 * "avatar,background,media"
8759 .br
8760 * ["avatar", "background", "media"]
8761
8762 .IP "Description:" 4
8763 A (comma-separated) list of subcategories to include
8764 when processing a user profile.
8765
8766 .IP "Supported Values:" 4
8767 .br
8768 * \f[I]info\f[]
8769 .br
8770 * \f[I]avatar\f[]
8771 .br
8772 * \f[I]background\f[]
8773 .br
8774 * \f[I]timeline\f[]
8775 .br
8776 * \f[I]tweets\f[]
8777 .br
8778 * \f[I]media\f[]
8779 .br
8780 * \f[I]with-replies\f[]
8781 .br
8782 * \f[I]highlights\f[]
8783 .br
8784 * \f[I]likes\f[]
8785
8786 .IP "Note:" 4
8787 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
8788
8789
8790 .SS extractor.twitter.transform
8791 .IP "Type:" 6
8792 \f[I]bool\f[]
8793
8794 .IP "Default:" 9
8795 \f[I]true\f[]
8796
8797 .IP "Description:" 4
8798 Transform Tweet and User metadata into a simpler, uniform format.
8799
8800
8801 .SS extractor.twitter.tweet-endpoint
8802 .IP "Type:" 6
8803 \f[I]string\f[]
8804
8805 .IP "Default:" 9
8806 \f[I]"auto"\f[]
8807
8808 .IP "Description:" 4
8809 Selects the API endpoint used to retrieve single Tweets.
8810
8811 \f[I]"restid"\f[]
8812 \f[I]/TweetResultByRestId\f[] - accessible to guest users
8813 \f[I]"detail"\f[]
8814 \f[I]/TweetDetail\f[] - more stable
8815 \f[I]"auto"\f[]
8816 \f[I]"detail"\f[] when logged in, \f[I]"restid"\f[] otherwise
8817
8818
8819 .SS extractor.twitter.size
8820 .IP "Type:" 6
8821 \f[I]list\f[] of \f[I]strings\f[]
8822
8823 .IP "Default:" 9
8824 \f[I]["orig", "4096x4096", "large", "medium", "small"]\f[]
8825
8826 .IP "Description:" 4
8827 The image version to download.
8828 Any entries after the first one will be used for potential
8829 \f[I]fallback\f[] URLs.
8830
8831 Known available sizes are
8832
8833 .br
8834 * \f[I]orig\f[]
8835 .br
8836 * \f[I]large\f[]
8837 .br
8838 * \f[I]medium\f[]
8839 .br
8840 * \f[I]small\f[]
8841 .br
8842 * \f[I]4096x4096\f[]
8843 .br
8844 * \f[I]900x900\f[]
8845 .br
8846 * \f[I]360x360\f[]
8847
8848
8849 .SS extractor.twitter.limit
8850 .IP "Type:" 6
8851 .br
8852 * \f[I]integer\f[]
8853 .br
8854 * \f[I]list\f[] of \f[I]integers\f[]
8855
8856 .IP "Default:" 9
8857 \f[I]50\f[]
8858
8859 .IP "Example:" 4
8860 [40, 30, 20, 10, 5]
8861
8862 .IP "Description:" 4
8863 Number of requested results per API query.
8864
8865 When given as a \f[I]list\f[],
8866 start with the first element as \f[I]count\f[] parameter
8867 and switch to the next element whenever no results are returned.
8868
8869
8870 .SS extractor.twitter.logout
8871 .IP "Type:" 6
8872 \f[I]bool\f[]
8873
8874 .IP "Default:" 9
8875 \f[I]false\f[]
8876
8877 .IP "Description:" 4
8878 Logout and retry as guest when access to another user's Tweets is blocked.
8879
8880
8881 .SS extractor.twitter.metadata-user
8882 .IP "Type:" 6
8883 \f[I]bool\f[]
8884
8885 .IP "Default:" 9
8886 \f[I]false\f[]
8887
8888 .IP "Description:" 4
8889 Extract additional metadata for user accounts (\f[I]author\f[], \f[I]user\f[])
8890
8891 .br
8892 * \f[I]based_in\f[]
8893 .br
8894 * \f[I]friends_mutual\f[]
8895 .br
8896 * \f[I]location_accurate\f[]
8897 .br
8898 * \f[I]name_changes\f[]
8899 .br
8900 * \f[I]source\f[]
8901
8902 .IP "Note:" 4
8903 This requires 2 additional HTTP request per user.
8904
8905
8906 .SS extractor.twitter.pinned
8907 .IP "Type:" 6
8908 \f[I]bool\f[]
8909
8910 .IP "Default:" 9
8911 \f[I]false\f[]
8912
8913 .IP "Description:" 4
8914 Fetch media from pinned Tweets.
8915
8916
8917 .SS extractor.twitter.previews
8918 .IP "Type:" 6
8919 \f[I]bool\f[]
8920
8921 .IP "Default:" 9
8922 \f[I]false\f[]
8923
8924 .IP "Description:" 4
8925 Download video previews.
8926
8927
8928 .SS extractor.twitter.quoted
8929 .IP "Type:" 6
8930 \f[I]bool\f[]
8931
8932 .IP "Default:" 9
8933 \f[I]false\f[]
8934
8935 .IP "Description:" 4
8936 Fetch media from quoted Tweets.
8937
8938 If this option is enabled, gallery-dl will try to fetch
8939 a quoted (original) Tweet when it sees the Tweet which quotes it.
8940
8941
8942 .SS extractor.twitter.ratelimit
8943 .IP "Type:" 6
8944 \f[I]string\f[]
8945
8946 .IP "Default:" 9
8947 \f[I]"wait"\f[]
8948
8949 .IP "Description:" 4
8950 Selects how to handle exceeding the API rate limit.
8951
8952 \f[I]"abort"\f[]
8953 Raise an error and stop extraction
8954 \f[I]"abort:N"\f[]
8955 Raise an error and stop extraction
8956 after waiting \f[I]N\f[] times until rate limit reset
8957 \f[I]"wait"\f[]
8958 Wait until rate limit reset
8959 \f[I]"wait:N"\f[]
8960 Wait for \f[I]N\f[] seconds
8961
8962
8963 .SS extractor.twitter.locked
8964 .IP "Type:" 6
8965 \f[I]string\f[]
8966
8967 .IP "Default:" 9
8968 \f[I]"abort"\f[]
8969
8970 .IP "Description:" 4
8971 Selects how to handle "account is temporarily locked" errors.
8972
8973 \f[I]"abort"\f[]
8974 Raise an error and stop extraction
8975 \f[I]"wait"\f[]
8976 Wait until the account is unlocked and retry
8977
8978
8979 .SS extractor.twitter.replies
8980 .IP "Type:" 6
8981 \f[I]bool\f[]
8982
8983 .IP "Default:" 9
8984 \f[I]true\f[]
8985
8986 .IP "Description:" 4
8987 Fetch media from replies to other Tweets.
8988
8989 If this value is \f[I]"self"\f[], only consider replies where
8990 reply and original Tweet are from the same user.
8991
8992 .IP "Note:" 4
8993 Twitter will automatically expand conversations if you
8994 use the \f[I]/with_replies\f[] timeline while logged in. For example,
8995 media from Tweets which the user replied to will also be downloaded.
8996
8997 It is possible to exclude unwanted Tweets using \f[I]file-filter
8998 <extractor.*.file-filter_>\f[].
8999
9000
9001 .SS extractor.twitter.retries-api
9002 .IP "Type:" 6
9003 \f[I]integer\f[]
9004
9005 .IP "Default:" 9
9006 \f[I]9\f[]
9007
9008 .IP "Description:" 4
9009 Maximum number of retries
9010 for API requests when encountering server \f[I]errors\f[],
9011 or \f[I]-1\f[] for infinite retries.
9012
9013
9014 .SS extractor.twitter.retweets
9015 .IP "Type:" 6
9016 \f[I]bool\f[]
9017
9018 .IP "Default:" 9
9019 \f[I]false\f[]
9020
9021 .IP "Description:" 4
9022 Fetch media from Retweets.
9023
9024 If this value is \f[I]"original"\f[], metadata for these files
9025 will be taken from the original Tweets, not the Retweets.
9026
9027
9028 .SS extractor.twitter.search-limit
9029 .IP "Type:" 6
9030 .br
9031 * \f[I]integer\f[]
9032 .br
9033 * \f[I]list\f[] of \f[I]integers\f[]
9034
9035 .IP "Default:" 9
9036 \f[I]20\f[]
9037
9038 .IP "Example:" 4
9039 [50, 20, 10, 5, 2]
9040
9041 .IP "Description:" 4
9042 Number of requested results per search query.
9043
9044 When given as a \f[I]list\f[],
9045 start with the first element as \f[I]count\f[] parameter
9046 and switch to the next element when
9047 \f[I]search-stop\f[]
9048 is reached.
9049
9050
9051 .SS extractor.twitter.search-pagination
9052 .IP "Type:" 6
9053 \f[I]string\f[]
9054
9055 .IP "Default:" 9
9056 \f[I]"max_id"\f[]
9057
9058 .IP "Description:" 4
9059 Selects how to paginate over search results.
9060
9061 \f[I]"cursor"\f[]
9062 Use \f[I]cursor\f[] values provided by the API
9063 \f[I]"max_id"\f[] \f[I] \f[I]"maxid"\f[] \f[] \f[I]"id"\f[]
9064 Update the \f[I]max_id\f[] search query parameter
9065 to the Tweet ID value of the last retrieved Tweet.
9066 \f[I]"until"\f[] \f[I] \f[I]"date"\f[] \f[] \f[I]"datetime"\f[] | \f[I]"dt"\f[]
9067 Update the \f[I]until\f[] search query parameter
9068 to the date value of the last retrieved Tweet.
9069
9070
9071 .SS extractor.twitter.search-results
9072 .IP "Type:" 6
9073 \f[I]string\f[]
9074
9075 .IP "Default:" 9
9076 \f[I]"latest"\f[]
9077
9078 .IP "Description:" 4
9079 Determines the target of search results.
9080
9081 .IP "Supported Values:" 4
9082 .br
9083 * \f[I]"top"\f[]
9084 .br
9085 * \f[I]"media"\f[]
9086 .br
9087 * \f[I]"latest"\f[] | \f[I]"live"\f[]
9088
9089
9090 .SS extractor.twitter.search-stop
9091 .IP "Type:" 6
9092 \f[I]integer\f[]
9093
9094 .IP "Default:" 9
9095 \f[I]3\f[]
9096
9097 .IP "Description:" 4
9098 Number of empty search result batches
9099 to accept before stopping.
9100
9101
9102 .SS extractor.twitter.showmore
9103 .IP "Type:" 6
9104 \f[I]bool\f[]
9105
9106 .IP "Default:" 9
9107 \f[I]true\f[]
9108
9109 .IP "Description:" 4
9110 Expand \f[I]Show more\f[] / \f[I]Show probable spam\f[] stubs.
9111
9112
9113 .SS extractor.twitter.showreplies
9114 .IP "Type:" 6
9115 \f[I]bool\f[]
9116
9117 .IP "Default:" 9
9118 \f[I]true\f[]
9119
9120 .IP "Description:" 4
9121 Expand \f[I]Show replies\f[] stubs.
9122
9123
9124 .SS extractor.twitter.timeline.strategy
9125 .IP "Type:" 6
9126 \f[I]string\f[]
9127
9128 .IP "Default:" 9
9129 \f[I]"auto"\f[]
9130
9131 .IP "Description:" 4
9132 Controls the strategy / tweet source used for timeline URLs
9133 (\f[I]https://twitter.com/USER/timeline\f[]).
9134
9135 \f[I]"tweets"\f[]
9136 \f[I]/tweets\f[] timeline + search
9137 \f[I]"media"\f[]
9138 \f[I]/media\f[] timeline + search
9139 \f[I]"with_replies"\f[]
9140 \f[I]/with_replies\f[] timeline + search
9141 \f[I]"auto"\f[]
9142 \f[I]"tweets"\f[] or \f[I]"media"\f[], depending on \f[I]retweets\f[] and \f[I]text-tweets\f[] settings
9143
9144
9145 .SS extractor.twitter.text-tweets
9146 .IP "Type:" 6
9147 \f[I]bool\f[]
9148
9149 .IP "Default:" 9
9150 \f[I]false\f[]
9151
9152 .IP "Description:" 4
9153 Also emit metadata for text-only Tweets without media content.
9154
9155 This only has an effect with a \f[I]metadata\f[] (or \f[I]exec\f[]) post processor
9156 with \f[I]"event": "post"\f[]
9157 and appropriate \f[I]filename\f[].
9158
9159
9160 .SS extractor.twitter.twitpic
9161 .IP "Type:" 6
9162 \f[I]bool\f[]
9163
9164 .IP "Default:" 9
9165 \f[I]false\f[]
9166
9167 .IP "Description:" 4
9168 Extract \f[I]TwitPic\f[] embeds.
9169
9170
9171 .SS extractor.twitter.unique
9172 .IP "Type:" 6
9173 \f[I]bool\f[]
9174
9175 .IP "Default:" 9
9176 \f[I]true\f[]
9177
9178 .IP "Description:" 4
9179 Ignore previously seen Tweets.
9180
9181
9182 .SS extractor.twitter.users
9183 .IP "Type:" 6
9184 \f[I]string\f[]
9185
9186 .IP "Default:" 9
9187 \f[I]"user"\f[]
9188
9189 .IP "Example:" 4
9190 "https://twitter.com/search?q=from:{core[screen_name]}"
9191
9192 .IP "Description:" 4
9193 Basic format string for user URLs generated from
9194 .br
9195 \f[I]following\f[] and \f[I]list-members\f[] queries,
9196 whose replacement field values come from Twitter \f[I]user\f[] objects
9197 .br
9198 (\f[I]Example\f[])
9199
9200 .IP "Special Values:" 4
9201 \f[I]"user"\f[]
9202 \f[I]https://twitter.com/i/user/{rest_id}\f[]
9203 \f[I]"timeline"\f[]
9204 \f[I]https://twitter.com/id:{rest_id}/timeline\f[]
9205 \f[I]"tweets"\f[]
9206 \f[I]https://twitter.com/id:{rest_id}/tweets\f[]
9207 \f[I]"media"\f[]
9208 \f[I]https://twitter.com/id:{rest_id}/media\f[]
9209
9210 .IP "Note:" 4
9211 To allow gallery-dl to follow custom URL formats, set the \f[I]blacklist\f[]
9212 for \f[I]twitter\f[] to a non-default value, e.g. an empty string \f[I]""\f[].
9213
9214
9215 .SS extractor.twitter.videos
9216 .IP "Type:" 6
9217 .br
9218 * \f[I]bool\f[]
9219 .br
9220 * \f[I]string\f[]
9221
9222 .IP "Default:" 9
9223 \f[I]true\f[]
9224
9225 .IP "Description:" 4
9226 Control video download behavior.
9227
9228 \f[I]true\f[]
9229 Download videos
9230 \f[I]"ytdl"\f[]
9231 Download videos using \f[I]ytdl\f[]
9232 \f[I]false\f[]
9233 Skip video Tweets
9234
9235
9236 .SS extractor.unsplash.format
9237 .IP "Type:" 6
9238 \f[I]string\f[]
9239
9240 .IP "Default:" 9
9241 \f[I]"raw"\f[]
9242
9243 .IP "Description:" 4
9244 Name of the image format to download.
9245
9246 .IP "Available Formats:" 4
9247 .br
9248 * \f[I]"raw"\f[]
9249 .br
9250 * \f[I]"full"\f[]
9251 .br
9252 * \f[I]"regular"\f[]
9253 .br
9254 * \f[I]"small"\f[]
9255 .br
9256 * \f[I]"thumb"\f[]
9257
9258
9259 .SS extractor.vipergirls.domain
9260 .IP "Type:" 6
9261 \f[I]string\f[]
9262
9263 .IP "Default:" 9
9264 \f[I]"viper.click"\f[]
9265
9266 .IP "Description:" 4
9267 Specifies the domain used by \f[I]vipergirls\f[] extractors.
9268
9269 For example \f[I]"viper.click"\f[] if the main domain is blocked or to bypass Cloudflare,
9270
9271
9272 .SS extractor.vipergirls.like
9273 .IP "Type:" 6
9274 \f[I]bool\f[]
9275
9276 .IP "Default:" 9
9277 \f[I]false\f[]
9278
9279 .IP "Description:" 4
9280 Automatically like posts after downloading their images.
9281
9282 .IP "Note:" 4
9283 Requires \f[I]login\f[]
9284 or \f[I]cookies\f[]
9285
9286
9287 .SS extractor.vipergirls.order-posts
9288 .IP "Type:" 6
9289 \f[I]string\f[]
9290
9291 .IP "Default:" 9
9292 \f[I]"desc"\f[]
9293
9294 .IP "Description:" 4
9295 Controls the order in which
9296 posts of a \f[I]thread\f[] are processed.
9297
9298 \f[I]"asc"\f[]
9299 Ascending order (oldest first)
9300 \f[I]"desc"\f[] | \f[I]"reverse"\f[]
9301 Descending order (newest first)
9302
9303
9304 .SS extractor.vk.domain
9305 .IP "Type:" 6
9306 \f[I]string\f[]
9307
9308 .IP "Default:" 9
9309 \f[I]"auto"\f[]
9310
9311 .IP "Description:" 4
9312 Specifies the domain used by \f[I]cyberdrop\f[] regardless of input URL.
9313
9314 Setting this option to \f[I]"auto"\f[]
9315 uses the same domain as a given input URL.
9316
9317
9318 .SS extractor.vk.offset
9319 .IP "Type:" 6
9320 \f[I]integer\f[]
9321
9322 .IP "Default:" 9
9323 \f[I]0\f[]
9324
9325 .IP "Description:" 4
9326 Custom \f[I]offset\f[] starting value when paginating over image results.
9327
9328
9329 .SS extractor.vsco.include
9330 .IP "Type:" 6
9331 .br
9332 * \f[I]string\f[]
9333 .br
9334 * \f[I]list\f[] of \f[I]strings\f[]
9335
9336 .IP "Default:" 9
9337 \f[I]"gallery"\f[]
9338
9339 .IP "Example:" 4
9340 .br
9341 * "avatar,collection"
9342 .br
9343 * ["avatar", "collection"]
9344
9345 .IP "Description:" 4
9346 A (comma-separated) list of subcategories to include
9347 when processing a user profile.
9348
9349 .IP "Supported Values:" 4
9350 .br
9351 * \f[I]avatar\f[]
9352 .br
9353 * \f[I]gallery\f[]
9354 .br
9355 * \f[I]spaces\f[]
9356 .br
9357 * \f[I]collection\f[]
9358
9359 .IP "Note:" 4
9360 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
9361
9362
9363 .SS extractor.vsco.videos
9364 .IP "Type:" 6
9365 \f[I]bool\f[]
9366
9367 .IP "Default:" 9
9368 \f[I]true\f[]
9369
9370 .IP "Description:" 4
9371 Download video files.
9372
9373
9374 .SS extractor.wallhaven.api-key
9375 .IP "Type:" 6
9376 \f[I]string\f[]
9377
9378 .IP "Default:" 9
9379 \f[I]null\f[]
9380
9381 .IP "Description:" 4
9382 Your \f[I]Wallhaven API Key\f[],
9383 to use your account's browsing settings and default filters when searching.
9384
9385 See https://wallhaven.cc/help/api for more information.
9386
9387
9388 .SS extractor.wallhaven.include
9389 .IP "Type:" 6
9390 .br
9391 * \f[I]string\f[]
9392 .br
9393 * \f[I]list\f[] of \f[I]strings\f[]
9394
9395 .IP "Default:" 9
9396 \f[I]"uploads"\f[]
9397
9398 .IP "Example:" 4
9399 .br
9400 * "uploads,collections"
9401 .br
9402 * ["uploads", "collections"]
9403
9404 .IP "Description:" 4
9405 A (comma-separated) list of subcategories to include
9406 when processing a user profile.
9407
9408 .IP "Supported Values:" 4
9409 .br
9410 * \f[I]uploads\f[]
9411 .br
9412 * \f[I]collections\f[]
9413
9414 .IP "Note:" 4
9415 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
9416
9417
9418 .SS extractor.wallhaven.metadata
9419 .IP "Type:" 6
9420 \f[I]bool\f[]
9421
9422 .IP "Default:" 9
9423 \f[I]false\f[]
9424
9425 .IP "Description:" 4
9426 Extract additional metadata (tags, uploader)
9427
9428 .IP "Note:" 4
9429 This requires 1 additional HTTP request per post.
9430
9431
9432 .SS extractor.weasyl.api-key
9433 .IP "Type:" 6
9434 \f[I]string\f[]
9435
9436 .IP "Default:" 9
9437 \f[I]null\f[]
9438
9439 .IP "Description:" 4
9440 Your \f[I]Weasyl API Key\f[],
9441 to use your account's browsing settings and filters.
9442
9443
9444 .SS extractor.weasyl.metadata
9445 .IP "Type:" 6
9446 \f[I]bool\f[]
9447
9448 .IP "Default:" 9
9449 \f[I]false\f[]
9450
9451 .IP "Description:" 4
9452 Fetch extra submission metadata during gallery downloads.
9453 .br
9454 (\f[I]comments\f[], \f[I]description\f[], \f[I]favorites\f[], \f[I]folder_name\f[],
9455 .br
9456 \f[I]tags\f[], \f[I]views\f[])
9457
9458 .IP "Note:" 4
9459 This requires 1 additional HTTP request per submission.
9460
9461
9462 .SS extractor.webtoons.bgm
9463 .IP "Type:" 6
9464 .br
9465 * \f[I]bool\f[]
9466 .br
9467 * \f[I]string\f[]
9468
9469 .IP "Default:" 9
9470 \f[I]true\f[]
9471
9472 .IP "Example:" 4
9473 "aac"
9474
9475 .IP "Description:" 4
9476 Download an episode's background music if available.
9477
9478 If this is a \f[I]string\f[], remux the downloaded background music file
9479 into the given format.
9480
9481 .IP "Note:" 4
9482 Requires \f[I]ytdl\f[] for downloads
9483 and \f[I]ffmpeg\f[] for remuxing
9484
9485
9486 .SS extractor.webtoons.quality
9487 .IP "Type:" 6
9488 .br
9489 * \f[I]integer\f[]
9490 .br
9491 * \f[I]string\f[]
9492 .br
9493 * \f[I]object\f[] (ext → type)
9494
9495 .IP "Default:" 9
9496 \f[I]"original"\f[]
9497
9498 .IP "Example:" 4
9499 .br
9500 * 90
9501 .br
9502 * "q50"
9503 .br
9504 * {"jpg": "q80", "jpeg": "q80", "png": false}
9505
9506 .IP "Description:" 4
9507 Controls the quality of downloaded files by modifying URLs' \f[I]type\f[] parameter.
9508
9509 \f[I]"original"\f[]
9510 Download minimally compressed versions of JPG files
9511 any \f[I]integer\f[]
9512 Use \f[I]"q<VALUE>"\f[] as \f[I]type\f[] parameter for JPEG files
9513 any \f[I]string\f[]
9514 Use this value as \f[I]type\f[] parameter for JPEG files
9515 any \f[I]object\f[]
9516 Use the given values as \f[I]type\f[] parameter for URLs with the specified extensions
9517 .br
9518 - Set a value to \f[I]false\f[] to completely remove these extension's \f[I]type\f[] parameter
9519 .br
9520 - Omit an extension to leave its URLs unchanged
9521 .br
9522
9523
9524 .SS extractor.webtoons.banners
9525 .IP "Type:" 6
9526 \f[I]bool\f[]
9527
9528 .IP "Default:" 9
9529 \f[I]false\f[]
9530
9531 .IP "Description:" 4
9532 Download the active comic's \f[I]banner\f[].
9533
9534
9535 .SS extractor.webtoons.thumbnails
9536 .IP "Type:" 6
9537 \f[I]bool\f[]
9538
9539 .IP "Default:" 9
9540 \f[I]false\f[]
9541
9542 .IP "Description:" 4
9543 Download the active episode's \f[I]thumbnail\f[].
9544
9545 Useful for creating CBZ archives with actual source thumbnails.
9546
9547
9548 .SS extractor.weibo.gifs
9549 .IP "Type:" 6
9550 .br
9551 * \f[I]bool\f[]
9552 .br
9553 * \f[I]string\f[]
9554
9555 .IP "Default:" 9
9556 \f[I]true\f[]
9557
9558 .IP "Description:" 4
9559 Download \f[I]gif\f[] files.
9560
9561 Set this to \f[I]"video"\f[] to download GIFs as video files.
9562
9563
9564 .SS extractor.weibo.include
9565 .IP "Type:" 6
9566 .br
9567 * \f[I]string\f[]
9568 .br
9569 * \f[I]list\f[] of \f[I]strings\f[]
9570
9571 .IP "Default:" 9
9572 \f[I]"feed"\f[]
9573
9574 .IP "Description:" 4
9575 A (comma-separated) list of subcategories to include
9576 when processing a user profile.
9577
9578 .IP "Supported Values:" 4
9579 .br
9580 * \f[I]home\f[]
9581 .br
9582 * \f[I]feed\f[]
9583 .br
9584 * \f[I]videos\f[]
9585 .br
9586 * \f[I]newvideo\f[]
9587 .br
9588 * \f[I]article\f[]
9589 .br
9590 * \f[I]album\f[]
9591 .br
9592 * \f[I]subalbums\f[]
9593
9594 .IP "Note:" 4
9595 It is possible to use \f[I]"all"\f[] instead of listing all values separately.
9596
9597
9598 .SS extractor.weibo.likes
9599 .IP "Type:" 6
9600 \f[I]bool\f[]
9601
9602 .IP "Default:" 9
9603 \f[I]false\f[]
9604
9605 .IP "Description:" 4
9606 Download from \f[I]like\f[] (\f[I]赞过\f[]) posts.
9607
9608
9609 .SS extractor.weibo.livephoto
9610 .IP "Type:" 6
9611 .br
9612 * \f[I]bool\f[]
9613 .br
9614 * \f[I]string\f[]
9615
9616 .IP "Default:" 9
9617 \f[I]true\f[]
9618
9619 .IP "Description:" 4
9620 Download \f[I]livephoto\f[] files.
9621
9622 \f[I]true\f[]
9623 Download image & video files
9624 \f[I]false\f[]
9625 Download images only
9626 \f[I]"video"\f[]
9627 Download videos only
9628
9629
9630 .SS extractor.weibo.movies
9631 .IP "Type:" 6
9632 \f[I]bool\f[]
9633
9634 .IP "Default:" 9
9635 \f[I]false\f[]
9636
9637 .IP "Description:" 4
9638 Download \f[I]movie\f[] videos.
9639
9640
9641 .SS extractor.weibo.retweets
9642 .IP "Type:" 6
9643 \f[I]bool\f[]
9644
9645 .IP "Default:" 9
9646 \f[I]false\f[]
9647
9648 .IP "Description:" 4
9649 Fetch media from retweeted posts.
9650
9651 If this value is \f[I]"original"\f[], metadata for these files
9652 will be taken from the original posts, not the retweeted posts.
9653
9654
9655 .SS extractor.weibo.text
9656 .IP "Type:" 6
9657 \f[I]bool\f[]
9658
9659 .IP "Default:" 9
9660 \f[I]false\f[]
9661
9662 .IP "Description:" 4
9663 Extract full \f[I]text\f[] & \f[I]text_raw\f[] metadata
9664 for statuses with truncated \f[I]text\f[].
9665
9666
9667 .SS extractor.weibo.videos
9668 .IP "Type:" 6
9669 \f[I]bool\f[]
9670
9671 .IP "Default:" 9
9672 \f[I]true\f[]
9673
9674 .IP "Description:" 4
9675 Download video files.
9676
9677
9678 .SS extractor.weibo.album.subalbums
9679 .IP "Type:" 6
9680 \f[I]bool\f[]
9681
9682 .IP "Default:" 9
9683 \f[I]false\f[]
9684
9685 .IP "Description:" 4
9686 Extract subalbum media.
9687
9688
9689 .SS extractor.wikimedia.format
9690 .IP "Type:" 6
9691 \f[I]string\f[]
9692
9693 .IP "Default:" 9
9694 \f[I]fandom\f[] | \f[I]wikigg\f[]
9695 \f[I]"original"\f[]
9696 otherwise
9697 \f[I]""\f[]
9698
9699 .IP "Description:" 4
9700 Sets the format query parameter value
9701 added to all download URLs.
9702
9703
9704 .SS extractor.wikimedia.image-revisions
9705 .IP "Type:" 6
9706 \f[I]integer\f[]
9707
9708 .IP "Default:" 9
9709 \f[I]1\f[]
9710
9711 .IP "Description:" 4
9712 Number of revisions to return for a single image.
9713
9714 The dafault value of 1 only returns the latest revision.
9715
9716 The value must be between 1 and 500.
9717
9718 .IP "Note:" 4
9719 The API sometimes returns image revisions on article pages even when this option is
9720 set to 1. However, setting it to a higher value may reduce the number of API requests.
9721
9722
9723 .SS extractor.wikimedia.limit
9724 .IP "Type:" 6
9725 \f[I]integer\f[]
9726
9727 .IP "Default:" 9
9728 \f[I]50\f[]
9729
9730 .IP "Description:" 4
9731 Number of results to return in a single API query.
9732
9733 The value must be between 10 and 500.
9734
9735
9736 .SS extractor.wikimedia.subcategories
9737 .IP "Type:" 6
9738 \f[I]bool\f[]
9739
9740 .IP "Default:" 9
9741 \f[I]true\f[]
9742
9743 .IP "Description:" 4
9744 For \f[I]Category:\f[] pages, recursively descent into subcategories.
9745
9746
9747 .SS extractor.[xenforo].attachments
9748 .IP "Type:" 6
9749 \f[I]bool\f[]
9750
9751 .IP "Default:" 9
9752 \f[I]true\f[]
9753
9754 .IP "Description:" 4
9755 Extract forum post attachments.
9756
9757
9758 .SS extractor.[xenforo].embeds
9759 .IP "Type:" 6
9760 \f[I]bool\f[]
9761
9762 .IP "Default:" 9
9763 \f[I]true\f[]
9764
9765 .IP "Description:" 4
9766 Extract URLs of forum post embeds.
9767
9768
9769 .SS extractor.[xenforo].metadata
9770 .IP "Type:" 6
9771 \f[I]bool\f[]
9772
9773 .IP "Default:" 9
9774 \f[I]false\f[]
9775
9776 .IP "Description:" 4
9777 Extract detailed metadata for media files.
9778
9779 .IP "Note:" 4
9780 This requires 1 additional HTTP request per file.
9781
9782
9783 .SS extractor.[xenforo].order-posts
9784 .IP "Type:" 6
9785 \f[I]string\f[]
9786
9787 .IP "Default:" 9
9788 \f[I]thread\f[]
9789 \f[I]"desc"\f[]
9790 otherwise
9791 \f[I]"asc"\f[]
9792
9793 .IP "Description:" 4
9794 Controls the order in which
9795 posts of a \f[I]thread\f[] or media files are processed.
9796
9797 \f[I]"asc"\f[]
9798 Ascending order (oldest first)
9799 \f[I]"desc"\f[] \f[I] \f[I]"reverse"\f[]
9800 Descending order (newest first)
9801 \f[I]"reaction"\f[] \f[] \f[I]"score"\f[]
9802 Reaction Score order (\f[I]threads\f[] only)
9803
9804
9805 .SS extractor.[xenforo].quoted
9806 .IP "Type:" 6
9807 \f[I]bool\f[]
9808
9809 .IP "Default:" 9
9810 \f[I]false\f[]
9811
9812 .IP "Description:" 4
9813 Extract files from quoted content.
9814
9815
9816 .SS extractor.xfolio.fullsize
9817 .IP "Type:" 6
9818 \f[I]bool\f[]
9819
9820 .IP "Default:" 9
9821 \f[I]true\f[]
9822
9823 .IP "Description:" 4
9824 Download posts' files as Full Size Download ZIP container
9825 if available and purchased.
9826
9827
9828 .SS extractor.ytdl.cmdline-args
9829 .IP "Type:" 6
9830 .br
9831 * \f[I]string\f[]
9832 .br
9833 * \f[I]list\f[] of \f[I]strings\f[]
9834
9835 .IP "Example:" 4
9836 .br
9837 * "--quiet --write-sub --merge-output-format mkv"
9838 .br
9839 * ["--quiet", "--write-sub", "--merge-output-format", "mkv"]
9840
9841 .IP "Description:" 4
9842 Additional \f[I]ytdl\f[] options specified as command-line arguments.
9843
9844 See
9845 \f[I]yt-dlp options\f[]
9846 /
9847 \f[I]youtube-dl options\f[]
9848
9849
9850 .SS extractor.ytdl.config-file
9851 .IP "Type:" 6
9852 \f[I]Path\f[]
9853
9854 .IP "Example:" 4
9855 "~/.config/yt-dlp/config"
9856
9857 .IP "Description:" 4
9858 Location of a \f[I]ytdl\f[] configuration file to load options from.
9859
9860
9861 .SS extractor.ytdl.deprecations
9862 .IP "Type:" 6
9863 ´´bool´´
9864
9865 .IP "Default:" 9
9866 \f[I]false\f[]
9867
9868 .IP "Description:" 4
9869 Allow \f[I]ytdl\f[] to warn about deprecated options and features.
9870
9871
9872 .SS extractor.ytdl.enabled
9873 .IP "Type:" 6
9874 \f[I]bool\f[]
9875
9876 .IP "Default:" 9
9877 \f[I]false\f[]
9878
9879 .IP "Description:" 4
9880 Process URLs otherwise unsupported by gallery-dl with \f[I]ytdl\f[].
9881
9882
9883 .SS extractor.ytdl.format
9884 .IP "Type:" 6
9885 \f[I]string\f[]
9886
9887 .IP "Default:" 9
9888 Default of the \f[I]ytdl\f[] \f[I]module\f[] used.
9889 .br
9890 (\f[I]"bestvideo*+bestaudio/best"\f[] for \f[I]yt_dlp\f[],
9891 .br
9892 \f[I]"bestvideo+bestaudio/best"\f[] for \f[I]youtube_dl\f[])
9893
9894 .IP "Description:" 4
9895 \f[I]ytdl\f[] format selection string.
9896
9897 See
9898 \f[I]yt-dlp format selection\f[]
9899 /
9900 \f[I]youtube-dl format selection\f[]
9901
9902
9903 .SS extractor.ytdl.generic
9904 .IP "Type:" 6
9905 .br
9906 * \f[I]bool\f[]
9907 .br
9908 * \f[I]string\f[]
9909
9910 .IP "Default:" 9
9911 \f[I]true\f[]
9912
9913 .IP "Description:" 4
9914 Enables the use of \f[I]ytdl's\f[] \f[I]Generic\f[] extractor.
9915
9916 Set this option to \f[I]"force"\f[] for the same effect as
9917 \f[I]--force-generic-extractor\f[].
9918
9919
9920 .SS extractor.ytdl.generic-category
9921 .IP "Type:" 6
9922 \f[I]bool\f[]
9923
9924 .IP "Default:" 9
9925 \f[I]true\f[]
9926
9927 .IP "Description:" 4
9928 When using \f[I]ytdl's\f[] \f[I]Generic\f[] extractor,
9929 change category to \f[I]"ytdl-generic"\f[] and
9930 set subcategory to the input URL's domain.
9931
9932
9933 .SS extractor.ytdl.logging
9934 .IP "Type:" 6
9935 \f[I]bool\f[]
9936
9937 .IP "Default:" 9
9938 \f[I]true\f[]
9939
9940 .IP "Description:" 4
9941 Route \f[I]ytdl's\f[] output through gallery-dl's logging system.
9942 Otherwise it will be written directly to stdout/stderr.
9943
9944 .IP "Note:" 4
9945 Set \f[I]quiet\f[] and \f[I]no_warnings\f[] in
9946 \f[I]extractor.ytdl.raw-options\f[] to \f[I]true\f[] to suppress all output.
9947
9948
9949 .SS extractor.ytdl.module
9950 .IP "Type:" 6
9951 \f[I]Module\f[]
9952
9953 .IP "Default:" 9
9954 \f[I]null\f[]
9955
9956 .IP "Example:" 4
9957 .br
9958 * "yt-dlp"
9959 .br
9960 * "/home/user/.local/lib/python3.13/site-packages/youtube_dl"
9961
9962 .IP "Description:" 4
9963 The \f[I]ytdl\f[] \f[I]Module\f[] to import.
9964
9965 Setting this to \f[I]null\f[] will try to import \f[I]"yt_dlp"\f[]
9966 followed by \f[I]"youtube_dl"\f[] as fallback.
9967
9968
9969 .SS extractor.ytdl.raw-options
9970 .IP "Type:" 6
9971 \f[I]object\f[] (name → value)
9972
9973 .IP "Example:" 4
9974 .. code:: json
9975
9976 {
9977 "quiet": true,
9978 "writesubtitles": true,
9979 "merge_output_format": "mkv"
9980 }
9981
9982 .IP "Description:" 4
9983 Additional options passed directly to the \f[I]YoutubeDL\f[] constructor.
9984
9985 Available options can be found in
9986 \f[I]yt-dlp's docstrings\f[]
9987 /
9988 \f[I]youtube-dl's docstrings\f[]
9989
9990
9991 .SS extractor.zerochan.extensions
9992 .IP "Type:" 6
9993 .br
9994 * \f[I]string\f[]
9995 .br
9996 * \f[I]list\f[] of \f[I]strings\f[]
9997
9998 .IP "Default:" 9
9999 \f[I]["jpg", "png", "webp", "gif"]\f[]
10000
10001 .IP "Example:" 4
10002 .br
10003 * "gif"
10004 .br
10005 * ["webp", "gif", "jpg"}
10006
10007 .IP "Description:" 4
10008 List of filename extensions to try when dynamically building download URLs
10009 (\f[I]"pagination": "api"\f[] +
10010 \f[I]"metadata": false\f[])
10011
10012
10013 .SS extractor.zerochan.metadata
10014 .IP "Type:" 6
10015 \f[I]bool\f[]
10016
10017 .IP "Default:" 9
10018 \f[I]false\f[]
10019
10020 .IP "Description:" 4
10021 Extract additional metadata (date, md5, tags, ...)
10022
10023 .IP "Note:" 4
10024 This requires 1-2 additional HTTP requests per post.
10025
10026
10027 .SS extractor.zerochan.pagination
10028 .IP "Type:" 6
10029 \f[I]string\f[]
10030
10031 .IP "Default:" 9
10032 \f[I]"api"\f[]
10033
10034 .IP "Description:" 4
10035 Controls how to paginate over tag search results.
10036
10037 \f[I]"api"\f[]
10038 Use the \f[I]JSON API\f[]
10039 (no \f[I]extension\f[] metadata)
10040 \f[I]"html"\f[]
10041 Parse HTML pages
10042 (limited to 100 pages * 24 posts)
10043
10044
10045 .SS extractor.zerochan.redirects
10046 .IP "Type:" 6
10047 \f[I]bool\f[]
10048
10049 .IP "Default:" 9
10050 \f[I]false\f[]
10051
10052 .IP "Description:" 4
10053 Automatically follow tag redirects.
10054
10055
10056 .SS extractor.[booru].tags
10057 .IP "Type:" 6
10058 \f[I]bool\f[]
10059
10060 .IP "Default:" 9
10061 \f[I]false\f[]
10062
10063 .IP "Description:" 4
10064 Group \f[I]tags\f[] by type and
10065 provide them as \f[I]tags_<type>\f[] metadata fields,
10066 for example \f[I]tags_artist\f[] or \f[I]tags_character\f[].
10067
10068 .IP "Note:" 4
10069 This requires 1 additional HTTP request per post.
10070
10071
10072 .SS extractor.[booru].notes
10073 .IP "Type:" 6
10074 \f[I]bool\f[]
10075
10076 .IP "Default:" 9
10077 \f[I]false\f[]
10078
10079 .IP "Description:" 4
10080 Extract overlay notes (position and text).
10081
10082 .IP "Note:" 4
10083 This requires 1 additional HTTP request per post.
10084
10085
10086 .SS extractor.[booru].url
10087 .IP "Type:" 6
10088 .br
10089 * \f[I]string\f[]
10090 .br
10091 * \f[I]list\f[] of \f[I]strings\f[]
10092
10093 .IP "Default:" 9
10094 \f[I]"file_url"\f[]
10095
10096 .IP "Example:" 4
10097 .br
10098 * "preview_url"
10099 .br
10100 * ["sample_url", "preview_url", "file_url"]
10101
10102 .IP "Description:" 4
10103 Alternate field name to retrieve download URLs from.
10104
10105 When multiple names are given, download the first available one.
10106
10107
10108 .SS extractor.[manga-extractor].chapter-reverse
10109 .IP "Type:" 6
10110 \f[I]bool\f[]
10111
10112 .IP "Default:" 9
10113 \f[I]false\f[]
10114
10115 .IP "Description:" 4
10116 Reverse the order of chapter URLs extracted from manga pages.
10117
10118 \f[I]true\f[]
10119 Start with the latest chapter
10120 \f[I]false\f[]
10121 Start with the first chapter
10122
10123
10124 .SS extractor.[manga-extractor].page-reverse
10125 .IP "Type:" 6
10126 \f[I]bool\f[]
10127
10128 .IP "Default:" 9
10129 \f[I]false\f[]
10130
10131 .IP "Description:" 4
10132 Download manga chapter pages in reverse order.
10133
10134
10135 .SH DOWNLOADER OPTIONS
10136 .SS downloader.*.enabled
10137 .IP "Type:" 6
10138 \f[I]bool\f[]
10139
10140 .IP "Default:" 9
10141 \f[I]true\f[]
10142
10143 .IP "Description:" 4
10144 Enable/Disable this downloader module.
10145
10146
10147 .SS downloader.*.filesize-min & .filesize-max
10148 .IP "Type:" 6
10149 \f[I]string\f[]
10150
10151 .IP "Default:" 9
10152 \f[I]null\f[]
10153
10154 .IP "Example:" 4
10155 "32000", "500k", "2.5M"
10156
10157 .IP "Description:" 4
10158 Minimum/Maximum allowed file size in bytes.
10159 Any file smaller/larger than this limit will not be downloaded.
10160
10161 Possible values are valid integer or floating-point numbers
10162 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[].
10163 These suffixes are case-insensitive.
10164
10165
10166 .SS downloader.*.mtime
10167 .IP "Type:" 6
10168 \f[I]bool\f[]
10169
10170 .IP "Default:" 9
10171 \f[I]true\f[]
10172
10173 .IP "Description:" 4
10174 Use \f[I]Last-Modified\f[] HTTP response headers
10175 to set file modification times.
10176
10177
10178 .SS downloader.*.part
10179 .IP "Type:" 6
10180 \f[I]bool\f[]
10181
10182 .IP "Default:" 9
10183 \f[I]true\f[]
10184
10185 .IP "Description:" 4
10186 Controls the use of \f[I].part\f[] files during file downloads.
10187
10188 \f[I]true\f[]
10189 Write downloaded data into \f[I].part\f[] files and rename
10190 them upon download completion. This mode additionally supports
10191 resuming incomplete downloads.
10192 \f[I]false\f[]
10193 Do not use \f[I].part\f[] files and write data directly
10194 into the actual output files.
10195
10196
10197 .SS downloader.*.part-directory
10198 .IP "Type:" 6
10199 .br
10200 * \f[I]Path\f[]
10201 .br
10202 * \f[I]object\f[] (\f[I]Condition\f[] → \f[I]Path\f[])
10203
10204 .IP "Default:" 9
10205 \f[I]null\f[]
10206
10207 .IP "Example:" 4
10208 .. code:: json
10209
10210 "/tmp/.gdl"
10211
10212 .. code:: json
10213
10214 {
10215 "size > 100000": "~/.gdl/part",
10216 "duration" : "/tmp/.gdl/video",
10217 }
10218
10219
10220 .IP "Description:" 4
10221 Alternate location(s) for \f[I].part\f[] files.
10222
10223 .IP "Note:" 4
10224 If this value is \f[I]null\f[] or no \f[I]Conditions\f[] apply,
10225 \f[I].part\f[] files are stored alongside the actual output files.
10226
10227 For a single \f[I]Path\f[], missing directories will be created as needed
10228
10229
10230 .SS downloader.*.progress
10231 .IP "Type:" 6
10232 \f[I]float\f[]
10233
10234 .IP "Default:" 9
10235 \f[I]3.0\f[]
10236
10237 .IP "Description:" 4
10238 Number of seconds until a download progress indicator
10239 for the current download is displayed.
10240
10241 Set this option to \f[I]null\f[] to disable this indicator.
10242
10243
10244 .SS downloader.*.rate
10245 .IP "Type:" 6
10246 .br
10247 * \f[I]string\f[]
10248 .br
10249 * \f[I]list\f[] with 2 \f[I]strings\f[]
10250
10251 .IP "Default:" 9
10252 \f[I]null\f[]
10253
10254 .IP "Example:" 4
10255 .br
10256 * "32000"
10257 .br
10258 * "500k"
10259 .br
10260 * "1M - 2.5M"
10261 .br
10262 * ["1M", "2.5M"]
10263
10264 .IP "Description:" 4
10265 Maximum download rate in bytes per second.
10266
10267 Possible values are valid integer or floating-point numbers
10268 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[].
10269 These suffixes are case-insensitive.
10270
10271 If given as a range, the maximum download rate
10272 will be randomly chosen before each download.
10273 (see \f[I]random.randint()\f[])
10274
10275
10276 .SS downloader.*.retries
10277 .IP "Type:" 6
10278 \f[I]integer\f[]
10279
10280 .IP "Default:" 9
10281 \f[I]extractor.*.retries\f[]
10282
10283 .IP "Description:" 4
10284 Maximum number of retries during file downloads,
10285 or \f[I]-1\f[] for infinite retries.
10286
10287
10288 .SS downloader.*.timeout
10289 .IP "Type:" 6
10290 \f[I]float\f[]
10291
10292 .IP "Default:" 9
10293 \f[I]extractor.*.timeout\f[]
10294
10295 .IP "Description:" 4
10296 Connection timeout during file downloads.
10297
10298
10299 .SS downloader.*.verify
10300 .IP "Type:" 6
10301 .br
10302 * \f[I]bool\f[]
10303 .br
10304 * \f[I]string\f[]
10305
10306 .IP "Default:" 9
10307 \f[I]extractor.*.verify\f[]
10308
10309 .IP "Description:" 4
10310 Certificate validation during file downloads.
10311
10312
10313 .SS downloader.*.proxy
10314 .IP "Type:" 6
10315 .br
10316 * \f[I]string\f[]
10317 .br
10318 * \f[I]object\f[] (scheme → proxy)
10319
10320 .IP "Default:" 9
10321 \f[I]extractor.*.proxy\f[]
10322
10323 .IP "Description:" 4
10324 Proxy server used for file downloads.
10325
10326 Disable the use of a proxy for file downloads
10327 by explicitly setting this option to \f[I]null\f[].
10328
10329
10330 .SS downloader.http.adjust-extensions
10331 .IP "Type:" 6
10332 \f[I]bool\f[]
10333
10334 .IP "Default:" 9
10335 \f[I]true\f[]
10336
10337 .IP "Description:" 4
10338 Check file headers of downloaded files
10339 and adjust their filename extensions if they do not match.
10340
10341 For example, this will change the filename extension (\f[I]{extension}\f[])
10342 of a file called \f[I]example.png\f[] from \f[I]png\f[] to \f[I]jpg\f[] when said file
10343 contains JPEG/JFIF data.
10344
10345
10346 .SS downloader.http.consume-content
10347 .IP "Type:" 6
10348 \f[I]bool\f[]
10349
10350 .IP "Default:" 9
10351 \f[I]false\f[]
10352
10353 .IP "Description:" 4
10354 Controls the behavior when an HTTP response is considered
10355 unsuccessful
10356
10357 If the value is \f[I]true\f[], consume the response body. This
10358 avoids closing the connection and therefore improves connection
10359 reuse.
10360
10361 If the value is \f[I]false\f[], immediately close the connection
10362 without reading the response. This can be useful if the server
10363 is known to send large bodies for error responses.
10364
10365
10366 .SS downloader.http.chunk-size
10367 .IP "Type:" 6
10368 .br
10369 * \f[I]integer\f[]
10370 .br
10371 * \f[I]string\f[]
10372
10373 .IP "Default:" 9
10374 \f[I]32768\f[]
10375
10376 .IP "Example:" 4
10377 "50k", "0.8M"
10378
10379 .IP "Description:" 4
10380 Number of bytes per downloaded chunk.
10381
10382 Possible values are integer numbers
10383 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[].
10384 These suffixes are case-insensitive.
10385
10386
10387 .SS downloader.http.headers
10388 .IP "Type:" 6
10389 \f[I]object\f[] (name → value)
10390
10391 .IP "Example:" 4
10392 {"Accept": "image/webp,*/*", "Referer": "https://example.org/"}
10393
10394 .IP "Description:" 4
10395 Additional HTTP headers to send when downloading files,
10396
10397
10398 .SS downloader.http.retry-codes
10399 .IP "Type:" 6
10400 \f[I]list\f[] of \f[I]integers\f[]
10401
10402 .IP "Default:" 9
10403 \f[I]extractor.*.retry-codes\f[]
10404
10405 .IP "Description:" 4
10406 Additional \f[I]HTTP response status codes\f[]
10407 to retry a download on.
10408
10409 Codes \f[I]200\f[], \f[I]206\f[], and \f[I]416\f[] (when resuming a \f[I]partial\f[]
10410 download) will never be retried and always count as success,
10411 regardless of this option.
10412
10413 \f[I]5xx\f[] codes (server error responses) will always be retried,
10414 regardless of this option.
10415
10416
10417 .SS downloader.http.sleep-429
10418 .IP "Type:" 6
10419 \f[I]Duration\f[]
10420
10421 .IP "Default:" 9
10422 \f[I]extractor.*.sleep-429\f[]
10423
10424 .IP "Description:" 4
10425 Number of seconds to sleep when receiving a 429 Too Many Requests
10426 response before \f[I]retrying\f[] the request.
10427
10428 .IP "Note:" 4
10429 Requires
10430 \f[I]retry-codes\f[]
10431 to include \f[I]429\f[].
10432
10433
10434 .SS downloader.http.validate
10435 .IP "Type:" 6
10436 \f[I]bool\f[]
10437
10438 .IP "Default:" 9
10439 \f[I]true\f[]
10440
10441 .IP "Description:" 4
10442 Check for invalid responses.
10443
10444 Fail a download when a file does not pass
10445 instead of downloading a potentially broken file.
10446
10447
10448 .SS downloader.http.validate-html
10449 .IP "Type:" 6
10450 \f[I]bool\f[]
10451
10452 .IP "Default:" 9
10453 \f[I]true\f[]
10454
10455 .IP "Description:" 4
10456 Check for unexpected HTML responses.
10457
10458 Fail file downloads with a \f[I]text/html\f[]
10459 \f[I]Content-Type header\f[]
10460 when expecting a media file instead.
10461
10462
10463 .SS downloader.ytdl.cmdline-args
10464 .IP "Type:" 6
10465 .br
10466 * \f[I]string\f[]
10467 .br
10468 * \f[I]list\f[] of \f[I]strings\f[]
10469
10470 .IP "Example:" 4
10471 .br
10472 * "--quiet --write-sub --merge-output-format mkv"
10473 .br
10474 * ["--quiet", "--write-sub", "--merge-output-format", "mkv"]
10475
10476 .IP "Description:" 4
10477 Additional \f[I]ytdl\f[] options specified as command-line arguments.
10478
10479 See
10480 \f[I]yt-dlp options\f[]
10481 /
10482 \f[I]youtube-dl options\f[]
10483
10484
10485 .SS downloader.ytdl.config-file
10486 .IP "Type:" 6
10487 \f[I]Path\f[]
10488
10489 .IP "Example:" 4
10490 "~/.config/yt-dlp/config"
10491
10492 .IP "Description:" 4
10493 Location of a \f[I]ytdl\f[] configuration file to load options from.
10494
10495
10496 .SS downloader.ytdl.deprecations
10497 .IP "Type:" 6
10498 ´´bool´´
10499
10500 .IP "Default:" 9
10501 \f[I]false\f[]
10502
10503 .IP "Description:" 4
10504 Allow \f[I]ytdl\f[] to warn about deprecated options and features.
10505
10506
10507 .SS downloader.ytdl.format
10508 .IP "Type:" 6
10509 \f[I]string\f[]
10510
10511 .IP "Default:" 9
10512 Default of the \f[I]ytdl\f[] \f[I]module\f[] used.
10513 .br
10514 (\f[I]"bestvideo*+bestaudio/best"\f[] for \f[I]yt_dlp\f[],
10515 .br
10516 \f[I]"bestvideo+bestaudio/best"\f[] for \f[I]youtube_dl\f[])
10517
10518 .IP "Description:" 4
10519 \f[I]ytdl\f[] format selection string.
10520
10521 See
10522 \f[I]yt-dlp format selection\f[]
10523 /
10524 \f[I]youtube-dl format selection\f[]
10525
10526
10527 .SS downloader.ytdl.forward-cookies
10528 .IP "Type:" 6
10529 \f[I]bool\f[]
10530
10531 .IP "Default:" 9
10532 \f[I]true\f[]
10533
10534 .IP "Description:" 4
10535 Forward gallery-dl's cookies to \f[I]ytdl\f[].
10536
10537
10538 .SS downloader.ytdl.logging
10539 .IP "Type:" 6
10540 \f[I]bool\f[]
10541
10542 .IP "Default:" 9
10543 \f[I]true\f[]
10544
10545 .IP "Description:" 4
10546 Route \f[I]ytdl's\f[] output through gallery-dl's logging system.
10547 Otherwise it will be written directly to stdout/stderr.
10548
10549 .IP "Note:" 4
10550 Set \f[I]quiet\f[] and \f[I]no_warnings\f[] in
10551 \f[I]downloader.ytdl.raw-options\f[] to \f[I]true\f[] to suppress all output.
10552
10553
10554 .SS downloader.ytdl.module
10555 .IP "Type:" 6
10556 \f[I]Module\f[]
10557
10558 .IP "Default:" 9
10559 \f[I]null\f[]
10560
10561 .IP "Example:" 4
10562 .br
10563 * "yt-dlp"
10564 .br
10565 * "/home/user/.local/lib/python3.13/site-packages/youtube_dl"
10566
10567 .IP "Description:" 4
10568 The \f[I]ytdl\f[] \f[I]Module\f[] to import.
10569
10570 Setting this to \f[I]null\f[] will try to import \f[I]"yt_dlp"\f[]
10571 followed by \f[I]"youtube_dl"\f[] as fallback.
10572
10573
10574 .SS downloader.ytdl.outtmpl
10575 .IP "Type:" 6
10576 \f[I]string\f[]
10577
10578 .IP "Default:" 9
10579 \f[I]null\f[]
10580
10581 .IP "Description:" 4
10582 The Output Template
10583 used to generate filenames for files downloaded with \f[I]ytdl\f[].
10584
10585 See
10586 \f[I]yt-dlp output template\f[]
10587 /
10588 \f[I]youtube-dl output template\f[].
10589
10590 .IP "Special Values:" 4
10591 \f[I]null\f[]
10592 generate filenames with \f[I]extractor.*.filename\f[]
10593 \f[I]"default"\f[]
10594 use \f[I]ytdl's\f[] default, currently
10595 \f[I]"%(title)s [%(id)s].%(ext)s"\f[] for \f[I]yt-dlp\f[] /
10596 \f[I]"%(title)s-%(id)s.%(ext)s"\f[] for \f[I]youtube-dl\f[]
10597
10598 .IP "Note:" 4
10599 An output template other than \f[I]null\f[] might
10600 cause unexpected results in combination with certain options
10601 (e.g. \f[I]"skip": "enumerate"\f[])
10602
10603
10604 .SS downloader.ytdl.raw-options
10605 .IP "Type:" 6
10606 \f[I]object\f[] (name → value)
10607
10608 .IP "Example:" 4
10609 .. code:: json
10610
10611 {
10612 "quiet": true,
10613 "writesubtitles": true,
10614 "merge_output_format": "mkv"
10615 }
10616
10617
10618 .IP "Description:" 4
10619 Additional options passed directly to the \f[I]YoutubeDL\f[] constructor.
10620
10621 Available options can be found in
10622 \f[I]yt-dlp's docstrings\f[]
10623 /
10624 \f[I]youtube-dl's docstrings\f[]
10625
10626
10627 .SH OUTPUT OPTIONS
10628 .SS output.mode
10629 .IP "Type:" 6
10630 .br
10631 * \f[I]string\f[]
10632 .br
10633 * \f[I]object\f[] (key → format string)
10634
10635 .IP "Default:" 9
10636 \f[I]"auto"\f[]
10637
10638 .IP "Description:" 4
10639 Controls the output string format and status indicators.
10640
10641 \f[I]"null"\f[]
10642 No output
10643 \f[I]"pipe"\f[]
10644 Suitable for piping to other processes or files
10645 \f[I]"terminal"\f[]
10646 Suitable for the standard Windows console
10647 \f[I]"color"\f[]
10648 Suitable for terminals that understand ANSI escape codes and colors
10649 \f[I]"auto"\f[]
10650 \f[I]"pipe"\f[] if not on a TTY,
10651 \f[I]"terminal"\f[] on Windows with \f[I]output.ansi\f[] disabled,
10652 \f[I]"color"\f[] otherwise.
10653
10654 It is possible to use custom output format strings
10655 .br
10656 by setting this option to an \f[I]object\f[] and specifying
10657 \f[I]start\f[], \f[I]success\f[], \f[I]skip\f[], \f[I]progress\f[], and \f[I]progress-total\f[].
10658 .br
10659
10660 For example, the following will replicate the same output as \f[I]mode: color\f[]:
10661
10662 .. code:: json
10663
10664 {
10665 "start" : "{}",
10666 "success": "\\r\\u001b[1;32m{}\\u001b[0m\\n",
10667 "skip" : "\\u001b[2m{}\\u001b[0m\\n",
10668 "progress" : "\\r{0:>7}B {1:>7}B/s ",
10669 "progress-total": "\\r{3:>3}% {0:>7}B {1:>7}B/s "
10670 }
10671
10672 \f[I]start\f[], \f[I]success\f[], and \f[I]skip\f[] are used to output the current
10673 filename, where \f[I]{}\f[] or \f[I]{0}\f[] is replaced with said filename.
10674 If a given format string contains printable characters other than that,
10675 their number needs to be specified as \f[I][<number>, <format string>]\f[]
10676 to get the correct results for \f[I]output.shorten\f[]. For example
10677
10678 .. code:: json
10679
10680 "start" : [12, "Downloading {}"]
10681
10682 \f[I]progress\f[] and \f[I]progress-total\f[] are used when displaying the
10683 .br
10684 \f[I]download progress indicator\f[],
10685 \f[I]progress\f[] when the total number of bytes to download is unknown,
10686 .br
10687 \f[I]progress-total\f[] otherwise.
10688
10689 For these format strings
10690
10691 .br
10692 * \f[I]{0}\f[] is number of bytes downloaded
10693 .br
10694 * \f[I]{1}\f[] is number of downloaded bytes per second
10695 .br
10696 * \f[I]{2}\f[] is total number of bytes
10697 .br
10698 * \f[I]{3}\f[] is percent of bytes downloaded to total bytes
10699
10700
10701 .SS output.stdout & .stdin & .stderr
10702 .IP "Type:" 6
10703 .br
10704 * \f[I]string\f[]
10705 .br
10706 * \f[I]object\f[]
10707
10708 .IP "Example:" 4
10709 .. code:: json
10710
10711 "utf-8"
10712
10713 .. code:: json
10714
10715 {
10716 "encoding": "utf-8",
10717 "errors": "replace",
10718 "line_buffering": true
10719 }
10720
10721
10722 .IP "Description:" 4
10723 \f[I]Reconfigure\f[]
10724 a \f[I]standard stream\f[].
10725
10726 Possible options are
10727
10728 .br
10729 * \f[I]encoding\f[]
10730 .br
10731 * \f[I]errors\f[]
10732 .br
10733 * \f[I]newline\f[]
10734 .br
10735 * \f[I]line_buffering\f[]
10736 .br
10737 * \f[I]write_through\f[]
10738
10739 When this option is specified as a simple \f[I]string\f[],
10740 it is interpreted as \f[I]{"encoding": "<string-value>", "errors": "replace"}\f[]
10741
10742 .IP "Note:" 4
10743 \f[I]errors\f[] always defaults to \f[I]"replace"\f[]
10744
10745
10746 .SS output.shorten
10747 .IP "Type:" 6
10748 \f[I]bool\f[]
10749
10750 .IP "Default:" 9
10751 \f[I]true\f[]
10752
10753 .IP "Description:" 4
10754 Controls whether the output strings should be shortened to fit
10755 on one console line.
10756
10757 Set this option to \f[I]"eaw"\f[] (East Asian Width)
10758 to display the correct result for east-asian characters
10759 with a display width greater than 1.
10760
10761
10762 .SS output.colors
10763 .IP "Type:" 6
10764 .br
10765 * \f[I]bool\f[]
10766 .br
10767 * \f[I]object\f[] (key → ANSI color)
10768
10769 .IP "Default:" 9
10770 .. code:: json
10771
10772 {
10773 "success": "1;32",
10774 "skip" : "2",
10775 "debug" : "0;37",
10776 "info" : "1;37",
10777 "warning": "1;33",
10778 "error" : "1;31"
10779 }
10780
10781
10782 .IP "Description:" 4
10783 Controls the
10784 \f[I]ANSI colors\f[]
10785 used for various outputs.
10786
10787 \f[I]true\f[]
10788 Use default ANSI colors.
10789 \f[I]false\f[]
10790 Disable ANSI colors.
10791 \f[I]object\f[]
10792 Use custom ANSI colors.
10793
10794 Keys for \f[I]mode: color\f[]
10795
10796 .br
10797 * \f[I]success\f[]: successfully downloaded files
10798 .br
10799 * \f[I]skip\f[]: skipped files
10800
10801 Keys for Logging Messages
10802
10803 .br
10804 * \f[I]debug\f[]: debug logging messages
10805 .br
10806 * \f[I]info\f[]: info logging messages
10807 .br
10808 * \f[I]warning\f[]: warning logging messages
10809 .br
10810 * \f[I]error\f[]: error logging messages
10811
10812
10813 .SS output.ansi
10814 .IP "Type:" 6
10815 \f[I]bool\f[]
10816
10817 .IP "Default:" 9
10818 \f[I]true\f[]
10819
10820 .IP "Description:" 4
10821 On Windows, enable ANSI escape sequences and colored output
10822 .br
10823 by setting the \f[I]ENABLE_VIRTUAL_TERMINAL_PROCESSING\f[] flag for stdout and stderr.
10824 .br
10825
10826 .IP "Note:" 4
10827 To disable colored output, set \f[I]output.colors\f[] to \f[I]false\f[].
10828
10829
10830 .SS output.skip
10831 .IP "Type:" 6
10832 \f[I]bool\f[]
10833
10834 .IP "Default:" 9
10835 \f[I]true\f[]
10836
10837 .IP "Description:" 4
10838 Show skipped file downloads.
10839
10840
10841 .SS output.fallback
10842 .IP "Type:" 6
10843 \f[I]bool\f[]
10844
10845 .IP "Default:" 9
10846 \f[I]true\f[]
10847
10848 .IP "Description:" 4
10849 Include fallback URLs in the output of \f[I]-g/--get-urls\f[].
10850
10851
10852 .SS output.jsonl
10853 .IP "Type:" 6
10854 \f[I]bool\f[]
10855
10856 .IP "Default:" 9
10857 \f[I]false\f[]
10858
10859 .IP "Description:" 4
10860 Output \f[I]-j/--dump-json\f[] & \f[I]-J/--resolve-json\f[]
10861 data in \f[I]JSON Lines\f[] format.
10862
10863
10864 .SS output.private
10865 .IP "Type:" 6
10866 \f[I]bool\f[]
10867
10868 .IP "Default:" 9
10869 \f[I]false\f[]
10870
10871 .IP "Description:" 4
10872 Include private fields,
10873 i.e. fields whose name starts with an underscore,
10874 in the output of \f[I]-K/--list-keywords\f[] and \f[I]-j/--dump-json\f[].
10875
10876
10877 .SS output.progress
10878 .IP "Type:" 6
10879 .br
10880 * \f[I]bool\f[]
10881 .br
10882 * \f[I]string\f[]
10883
10884 .IP "Default:" 9
10885 \f[I]true\f[]
10886
10887 .IP "Description:" 4
10888 Controls the progress indicator when *gallery-dl* is run with
10889 multiple URLs as arguments.
10890
10891 \f[I]true\f[]
10892 Show the default progress indicator
10893 (\f[I]"[{current}/{total}] {url}"\f[])
10894 \f[I]false\f[]
10895 Do not show any progress indicator
10896 Any \f[I]string\f[]
10897 Show the progress indicator using this
10898 as a custom \f[I]format string\f[]. Possible replacement keys are
10899 \f[I]current\f[], \f[I]total\f[] and \f[I]url\f[].
10900
10901
10902 .SS output.log
10903 .IP "Type:" 6
10904 .br
10905 * \f[I]Format String\f[]
10906 .br
10907 * \f[I]Logging Configuration\f[]
10908
10909 .IP "Default:" 9
10910 \f[I]"[{name}][{levelname}] {message}"\f[]
10911
10912 .IP "Description:" 4
10913 Configuration for logging output to stderr.
10914
10915
10916 .SS output.logfile
10917 .IP "Type:" 6
10918 .br
10919 * \f[I]Path\f[]
10920 .br
10921 * \f[I]Logging Configuration\f[]
10922
10923 .IP "Description:" 4
10924 File to write logging output to.
10925
10926
10927 .SS output.unsupportedfile
10928 .IP "Type:" 6
10929 .br
10930 * \f[I]Path\f[]
10931 .br
10932 * \f[I]Logging Configuration\f[]
10933
10934 .IP "Description:" 4
10935 File to write external URLs unsupported by *gallery-dl* to.
10936
10937
10938 .SS output.errorfile
10939 .IP "Type:" 6
10940 .br
10941 * \f[I]Path\f[]
10942 .br
10943 * \f[I]Logging Configuration\f[]
10944
10945 .IP "Description:" 4
10946 File to write input URLs which returned an error to.
10947
10948 When combined with
10949 \f[I]-I\f[]/\f[I]--input-file-comment\f[] or
10950 \f[I]-x\f[]/\f[I]--input-file-delete\f[],
10951 this option will cause *all* input URLs from these files
10952 to be commented/deleted after processing them
10953 and not just successful ones.
10954
10955
10956 .SS output.num-to-str
10957 .IP "Type:" 6
10958 \f[I]bool\f[]
10959
10960 .IP "Default:" 9
10961 \f[I]false\f[]
10962
10963 .IP "Description:" 4
10964 Convert numeric values (\f[I]integer\f[] or \f[I]float\f[]) to \f[I]string\f[]
10965 before outputting them as JSON.
10966
10967
10968 .SH POSTPROCESSOR OPTIONS
10969 .SS actions.action
10970 .IP "Type:" 6
10971 \f[I]Action(s)\f[]
10972
10973 .IP "Description:" 4
10974 The \f[I]Action(s)\f[] to perform.
10975
10976 .IP "Note:" 4
10977 This option can also be set as \f[I]mode\f[],
10978 making it possible to use \f[I]"name": "actions/<action>@<event>"\f[]
10979
10980
10981 .SS actions.event
10982 .IP "Type:" 6
10983 .br
10984 * \f[I]string\f[]
10985 .br
10986 * \f[I]list\f[] of \f[I]strings\f[]
10987
10988 .IP "Default:" 9
10989 \f[I]"prepare"\f[]
10990
10991 .IP "Description:" 4
10992 The event(s) for which \f[I]actions.action\f[] is triggered.
10993
10994 See \f[I]metadata.event\f[] for a list of available events.
10995
10996
10997 .SS classify.mapping
10998 .IP "Type:" 6
10999 \f[I]object\f[] (directory → extensions)
11000
11001 .IP "Default:" 9
11002 .. code:: json
11003
11004 {
11005 "Pictures" : ["jpg", "jpeg", "png", "gif", "bmp", "svg", "webp",
11006 "avif", "heic", "heif", "ico", "psd"],
11007 "Video" : ["flv", "ogv", "avi", "mp4", "mpg", "mpeg", "3gp", "mkv",
11008 "webm", "vob", "wmv", "m4v", "mov"],
11009 "Music" : ["mp3", "aac", "flac", "ogg", "wma", "m4a", "wav"],
11010 "Archives" : ["zip", "rar", "7z", "tar", "gz", "bz2"],
11011 "Documents": ["txt", "pdf"]
11012 }
11013
11014
11015 .IP "Description:" 4
11016 A mapping from directory names to filename extensions that should
11017 be stored in them.
11018
11019 Files with an extension not listed will be ignored and stored
11020 in their default location.
11021
11022
11023 .SS compare.action
11024 .IP "Type:" 6
11025 \f[I]string\f[]
11026
11027 .IP "Default:" 9
11028 \f[I]"replace"\f[]
11029
11030 .IP "Description:" 4
11031 The action to take when files do **not** compare as equal.
11032
11033 \f[I]"replace"\f[]
11034 Replace/Overwrite the old version with the new one
11035 \f[I]"enumerate"\f[]
11036 Add an enumeration index to the filename of the new
11037 version like \f[I]skip = "enumerate"\f[]
11038
11039
11040 .SS compare.equal
11041 .IP "Type:" 6
11042 \f[I]string\f[]
11043
11044 .IP "Default:" 9
11045 \f[I]"null"\f[]
11046
11047 .IP "Description:" 4
11048 The action to take when files do compare as equal.
11049
11050 \f[I]"abort:N"\f[]
11051 Stop the current extractor run
11052 after \f[I]N\f[] consecutive files compared as equal.
11053 \f[I]"terminate:N"\f[]
11054 Stop the current extractor run,
11055 including parent extractors,
11056 after \f[I]N\f[] consecutive files compared as equal.
11057 \f[I]"exit:N"\f[]
11058 Exit the program
11059 after \f[I]N\f[] consecutive files compared as equal.
11060
11061
11062 .SS compare.shallow
11063 .IP "Type:" 6
11064 \f[I]bool\f[]
11065
11066 .IP "Default:" 9
11067 \f[I]false\f[]
11068
11069 .IP "Description:" 4
11070 Only compare file sizes. Do not read and compare their content.
11071
11072
11073 .SS directory.event
11074 .IP "Type:" 6
11075 .br
11076 * \f[I]string\f[]
11077 .br
11078 * \f[I]list\f[] of \f[I]strings\f[]
11079
11080 .IP "Default:" 9
11081 \f[I]"prepare"\f[]
11082
11083 .IP "Description:" 4
11084 The event(s) for which \f[I]directory\f[] \f[I]Format Strings\f[] are (re)evaluated.
11085
11086 See \f[I]metadata.event\f[] for a list of available events.
11087
11088
11089 .SS exec.archive
11090 .IP "Type:" 6
11091 .br
11092 * \f[I]string\f[]
11093 .br
11094 * \f[I]Path\f[]
11095
11096 .IP "Description:" 4
11097 Database to store IDs of executed commands in,
11098 similar to \f[I]extractor.*.archive\f[].
11099
11100 The following archive options are also supported:
11101
11102 .br
11103 * \f[I]archive-format\f[]
11104 .br
11105 * \f[I]archive-prefix\f[]
11106 .br
11107 * \f[I]archive-pragma\f[]
11108 .br
11109 * \f[I]archive-table \f[]
11110
11111
11112 .SS exec.async
11113 .IP "Type:" 6
11114 \f[I]bool\f[]
11115
11116 .IP "Default:" 9
11117 \f[I]false\f[]
11118
11119 .IP "Description:" 4
11120 Controls whether to wait for a subprocess to finish
11121 or to let it run asynchronously.
11122
11123
11124 .SS exec.command
11125 .IP "Type:" 6
11126 .br
11127 * \f[I]string\f[]
11128 .br
11129 * \f[I]list\f[] of \f[I]strings\f[]
11130
11131 .IP "Example:" 4
11132 .br
11133 * "convert {} {}.png && rm {}"
11134 .br
11135 * ["echo", "{user[account]}", "{id}"]
11136
11137 .IP "Description:" 4
11138 The command to run.
11139
11140 .br
11141 * If this is a \f[I]string\f[], it will be executed using the system's
11142 shell, e.g. \f[I]/bin/sh\f[]. Any \f[I]{}\f[] will be replaced
11143 with the full path of a file or target directory, depending on
11144 \f[I]exec.event\f[]
11145
11146 .br
11147 * If this is a \f[I]list\f[], the first element specifies the program
11148 name and any further elements its arguments.
11149
11150 Each element of this list is evaluated as a \f[I]Format String\f[] using
11151 the files' metadata as well as
11152 \f[I]{_path}\f[], \f[I]{_temppath}\f[], \f[I]{_directory}\f[], and \f[I]{_filename}\f[].
11153
11154
11155 .SS exec.commands
11156 .IP "Type:" 6
11157 \f[I]list\f[] of \f[I]commands\f[]
11158
11159 .IP "Example:" 4
11160 .. code:: json
11161
11162 [
11163 ["echo", "{user[account]}", "{id}"]
11164 ["magick", "convert" "{_path}", "\\fF {_path.rpartition('.')[0]}.png"],
11165 "rm {}",
11166 ]
11167
11168 .IP "Description:" 4
11169 Multiple \f[I]commands\f[] to run in succession.
11170
11171 All \f[I]commands\f[] after the first returning with a non-zero
11172 exit status will not be run.
11173
11174
11175 .SS exec.event
11176 .IP "Type:" 6
11177 .br
11178 * \f[I]string\f[]
11179 .br
11180 * \f[I]list\f[] of \f[I]strings\f[]
11181
11182 .IP "Default:" 9
11183 \f[I]"after"\f[]
11184
11185 .IP "Description:" 4
11186 The event(s) for which \f[I]exec.command\f[] is run.
11187
11188 See \f[I]metadata.event\f[] for a list of available events.
11189
11190
11191 .SS exec.output
11192 .IP "Type:" 6
11193 \f[I]boolean\f[]
11194
11195 .IP "Default:" 9
11196 \f[I]true\f[]
11197
11198 .IP "Description:" 4
11199 Show output of spawned subprocesses.
11200
11201
11202 .SS exec.session
11203 .IP "Type:" 6
11204 \f[I]bool\f[]
11205
11206 .IP "Default:" 9
11207 \f[I]false\f[]
11208
11209 .IP "Description:" 4
11210 Start subprocesses in a new session.
11211
11212 On Windows, this means passing
11213 \f[I]CREATE_NEW_PROCESS_GROUP\f[]
11214 as a \f[I]creationflags\f[] argument to
11215 \f[I]subprocess.Popen\f[]
11216
11217 On POSIX systems, this means enabling the
11218 \f[I]start_new_session\f[] argument of
11219 \f[I]subprocess.Popen\f[]
11220 to have it call \f[I]setsid()\f[].
11221
11222
11223 .SS exec.verbose
11224 .IP "Type:" 6
11225 \f[I]bool\f[]
11226
11227 .IP "Default:" 9
11228 \f[I]true\f[]
11229
11230 .IP "Description:" 4
11231 Include \f[I]command\f[]
11232 arguments in logging messages.
11233
11234
11235 .SS exec.success
11236 .IP "Type:" 6
11237 \f[I]Action(s)\f[]
11238
11239 .IP "Description:" 4
11240 Run these \f[I]Action(s)\f[] when \f[I]command\f[]
11241 succeeds and returns with exit status 0.
11242
11243
11244 .SS exec.error
11245 .IP "Type:" 6
11246 \f[I]Action(s)\f[]
11247
11248 .IP "Description:" 4
11249 Run these \f[I]Action(s)\f[] when \f[I]command\f[]
11250 fails and returns with a non-zero exit status.
11251
11252
11253 .SS hash.chunk-size
11254 .IP "Type:" 6
11255 \f[I]integer\f[]
11256
11257 .IP "Default:" 9
11258 \f[I]32768\f[]
11259
11260 .IP "Description:" 4
11261 Number of bytes read per chunk during file hash computation.
11262
11263
11264 .SS hash.event
11265 .IP "Type:" 6
11266 .br
11267 * \f[I]string\f[]
11268 .br
11269 * \f[I]list\f[] of \f[I]strings\f[]
11270
11271 .IP "Default:" 9
11272 \f[I]"file"\f[]
11273
11274 .IP "Description:" 4
11275 The event(s) for which \f[I]file hashes\f[] are computed.
11276
11277 See \f[I]metadata.event\f[] for a list of available events.
11278
11279
11280 .SS hash.filename
11281 .IP "Type:" 6
11282 .br
11283 * \f[I]bool\f[]
11284
11285 .IP "Default:" 9
11286 \f[I]false\f[]
11287
11288 .IP "Description:" 4
11289 Rebuild \f[I]filenames\f[] after computing
11290 \f[I]hash digests\f[] and adding them to the metadata dict.
11291
11292
11293 .SS hash.hashes
11294 .IP "Type:" 6
11295 .br
11296 * \f[I]string\f[]
11297 .br
11298 * \f[I]object\f[] (field name → hash algorithm)
11299
11300 .IP "Default:" 9
11301 \f[I]"md5,sha1"\f[]
11302
11303 .IP "Example:" 4
11304 .. code:: json
11305
11306 "sha256:hash_sha,sha3_512:hash_sha3"
11307
11308 .. code:: json
11309
11310 {
11311 "hash_sha" : "sha256",
11312 "hash_sha3": "sha3_512"
11313 }
11314
11315
11316 .IP "Description:" 4
11317 Hash digests to compute.
11318
11319 For a list of available hash algorithms, run
11320
11321 .. code::
11322
11323 python -c "import hashlib; print('\\n'.join(hashlib.algorithms_available))"
11324
11325 or see \f[I]python/hashlib\f[].
11326
11327 .br
11328 * If this is a \f[I]string\f[],
11329 it is parsed as a a comma-separated list of algorthm-fieldname pairs:
11330
11331 .. code::
11332
11333 [<hash algorithm> ":"] <field name> ["," ...]
11334
11335 When \f[I]<hash algorithm>\f[] is omitted,
11336 \f[I]<field name>\f[] is used as algorithm name.
11337
11338 .br
11339 * If this is an \f[I]object\f[],
11340 it is a \f[I]<field name>\f[] to \f[I]<algorithm name>\f[] mapping
11341 for hash digests to compute.
11342
11343 .IP "Note:" 4
11344 This option can also be set as \f[I]mode\f[],
11345 making it possible to use \f[I]"name": "hash/<fieldname>@<event>"\f[]
11346
11347
11348 .SS metadata.mode
11349 .IP "Type:" 6
11350 \f[I]string\f[]
11351
11352 .IP "Default:" 9
11353 \f[I]"json"\f[]
11354
11355 .IP "Description:" 4
11356 Selects how to process metadata.
11357
11358 \f[I]"json"\f[]
11359 Write metadata using \f[I]json.dump()\f[]
11360 \f[I]"jsonl"\f[]
11361 Write metadata in \f[I]JSON Lines\f[] format
11362 \f[I]"tags"\f[]
11363 Write \f[I]tags\f[] separated by newlines
11364 \f[I]"print"\f[]
11365 Write the result of applying
11366 \f[I]content-format\f[]
11367 to \f[I]stdout\f[]
11368 \f[I]"custom"\f[]
11369 Write the result of applying
11370 \f[I]content-format\f[]
11371 to \f[I]a file\f[]
11372 \f[I]"modify"\f[]
11373 Add or modify metadata entries
11374 \f[I]"delete"\f[]
11375 Remove metadata entries
11376
11377
11378 .SS metadata.filename
11379 .IP "Type:" 6
11380 \f[I]Format String\f[]
11381
11382 .IP "Default:" 9
11383 \f[I]null\f[]
11384
11385 .IP "Example:" 4
11386 "{id}.data.json"
11387
11388 .IP "Description:" 4
11389 A \f[I]Format String\f[] to generate filenames for metadata files.
11390 (see \f[I]extractor.filename\f[])
11391
11392 Using \f[I]"-"\f[] as filename will write all output to \f[I]stdout\f[].
11393
11394 If this option is set, \f[I]metadata.extension\f[] and
11395 \f[I]metadata.extension-format\f[] will be ignored.
11396
11397
11398 .SS metadata.directory
11399 .IP "Type:" 6
11400 .br
11401 * \f[I]string\f[]
11402 .br
11403 * \f[I]list\f[] of \f[I]strings\f[]
11404
11405 .IP "Default:" 9
11406 \f[I]"."\f[]
11407
11408 .IP "Example:" 4
11409 .br
11410 * "metadata"
11411 .br
11412 * ["..", "metadata", "\\fF {id // 500 * 500}"]
11413
11414 .IP "Description:" 4
11415 Directory where metadata files are stored in
11416 relative to \f[I]metadata.base-directory\f[].
11417
11418
11419 .SS metadata.base-directory
11420 .IP "Type:" 6
11421 .br
11422 * \f[I]bool\f[]
11423 .br
11424 * \f[I]Path\f[]
11425
11426 .IP "Default:" 9
11427 \f[I]false\f[]
11428
11429 .IP "Description:" 4
11430 Selects the relative location for metadata files.
11431
11432 \f[I]false\f[]
11433 Current target location for file downloads (\f[I]base-directory\f[] + directory_)
11434 \f[I]true\f[]
11435 Current \f[I]base-directory\f[] location
11436 any \f[I]Path\f[]
11437 Custom location
11438
11439
11440 .SS metadata.extension
11441 .IP "Type:" 6
11442 \f[I]string\f[]
11443
11444 .IP "Default:" 9
11445 \f[I]"json"\f[] or \f[I]"txt"\f[]
11446
11447 .IP "Description:" 4
11448 Filename extension for metadata files that will be appended to the
11449 original file names.
11450
11451
11452 .SS metadata.extension-format
11453 .IP "Type:" 6
11454 \f[I]Format String\f[]
11455
11456 .IP "Example:" 4
11457 .br
11458 * "{extension}.json"
11459 .br
11460 * "json"
11461
11462 .IP "Description:" 4
11463 Custom \f[I]Format String\f[] to generate filename extensions
11464 for metadata files, which will replace the original filename extension.
11465
11466 .IP "Note:" 4
11467 When this option is set, \f[I]metadata.extension\f[] is ignored.
11468
11469
11470 .SS metadata.metadata-path
11471 .IP "Type:" 6
11472 \f[I]string\f[]
11473
11474 .IP "Example:" 4
11475 "_meta_path"
11476
11477 .IP "Description:" 4
11478 Insert the path of generated files
11479 into metadata dictionaries as the given name.
11480
11481
11482 .SS metadata.event
11483 .IP "Type:" 6
11484 .br
11485 * \f[I]string\f[]
11486 .br
11487 * \f[I]list\f[] of \f[I]strings\f[]
11488
11489 .IP "Default:" 9
11490 \f[I]"file"\f[]
11491
11492 .IP "Example:" 4
11493 .br
11494 * "prepare,file,after"
11495 .br
11496 * ["prepare-after", "skip"]
11497
11498 .IP "Description:" 4
11499 The event(s) for which metadata gets written to a file.
11500
11501 Available events are:
11502
11503 \f[I]init\f[]
11504 After post processor initialization
11505 and before the first file download
11506 \f[I]finalize\f[]
11507 On extractor shutdown, e.g. after all files were downloaded
11508 \f[I]finalize-success\f[]
11509 On extractor shutdown when no error occurred
11510 \f[I]finalize-error\f[]
11511 On extractor shutdown when at least one error occurred
11512 \f[I]prepare\f[]
11513 Before a file download
11514 \f[I]prepare-after\f[]
11515 Before a file download,
11516 but after building and checking file paths
11517 \f[I]file\f[]
11518 When completing a file download,
11519 but before it gets moved to its target location
11520 \f[I]after\f[]
11521 After a file got moved to its target location
11522 \f[I]skip\f[]
11523 When skipping a file download
11524 \f[I]error\f[]
11525 After a file download failed
11526 \f[I]post\f[]
11527 When starting to download all files of a post,
11528 e.g. a Tweet on Twitter or a post on Patreon.
11529 \f[I]post-after\f[]
11530 After downloading all files of a post
11531 \f[I]child\f[]
11532 When spawning a new child extractor
11533 \f[I]child-after\f[]
11534 After a child extractor ran
11535
11536
11537 .SS metadata.include
11538 .IP "Type:" 6
11539 \f[I]list\f[] of \f[I]strings\f[]
11540
11541 .IP "Example:" 4
11542 ["id", "width", "height", "description"]
11543
11544 .IP "Description:" 4
11545 Include only the given top-level keys when writing JSON data.
11546
11547 .IP "Note:" 4
11548 Missing or undefined fields will be silently ignored.
11549
11550
11551 .SS metadata.exclude
11552 .IP "Type:" 6
11553 \f[I]list\f[] of \f[I]strings\f[]
11554
11555 .IP "Example:" 4
11556 ["blocked", "watching", "status"]
11557
11558 .IP "Description:" 4
11559 Exclude all given keys from written JSON data.
11560
11561 .IP "Note:" 4
11562 Cannot be used with \f[I]metadata.include\f[].
11563
11564
11565 .SS metadata.fields
11566 .IP "Type:" 6
11567 .br
11568 * \f[I]list\f[] of \f[I]strings\f[]
11569 .br
11570 * \f[I]object\f[] (field name → \f[I]Format String\f[])
11571
11572 .IP "Example:" 4
11573 .. code:: json
11574
11575 ["blocked", "watching", "status[creator][name]"]
11576
11577 .. code:: json
11578
11579 {
11580 "blocked" : "***",
11581 "watching" : "\\fE 'yes' if watching else 'no'",
11582 "status[username]": "{status[creator][name]!l}"
11583 }
11584
11585
11586 .IP "Description:" 4
11587 \f[I]"mode": "delete"\f[]
11588 A list of metadata field names to remove.
11589 \f[I]"mode": "modify"\f[]
11590 An object with metadata field names mapping to a \f[I]Format String\f[]
11591 whose result is assigned to that field name.
11592
11593 .IP "Note::" 4
11594 Unlike standard \f[I]Format Strings\f[], replacement fields here
11595 preserve the original type of their value
11596 instead of automatically converting it to \f[I]type-str\f[].
11597
11598
11599 .SS metadata.content-format
11600 .IP "Type:" 6
11601 .br
11602 * \f[I]Format String\f[]
11603 .br
11604 * \f[I]list\f[] of \f[I]Format Strings\f[]
11605
11606 .IP "Example:" 4
11607 .br
11608 * "tags:\\n\\n{tags:J\\n}\\n"
11609 .br
11610 * ["tags:", "", "{tags:J\\n}"]
11611
11612 .IP "Description:" 4
11613 Custom \f[I]Format String(s)\f[] to build the content of metadata files with.
11614
11615 .IP "Note:" 4
11616 Only applies to \f[I]"mode": "custom"\f[].
11617
11618
11619 .SS metadata.ascii
11620 .IP "Type:" 6
11621 \f[I]bool\f[]
11622
11623 .IP "Default:" 9
11624 \f[I]false\f[]
11625
11626 .IP "Description:" 4
11627 Escape all non-ASCII characters.
11628
11629 See the \f[I]ensure_ascii\f[] argument of \f[I]json.dump()\f[] for further details.
11630
11631 .IP "Note:" 4
11632 Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[].
11633
11634
11635 .SS metadata.indent
11636 .IP "Type:" 6
11637 .br
11638 * \f[I]integer\f[]
11639 .br
11640 * \f[I]string\f[]
11641
11642 .IP "Default:" 9
11643 \f[I]4\f[]
11644
11645 .IP "Description:" 4
11646 Indentation level of JSON output.
11647
11648 See the \f[I]indent\f[] argument of \f[I]json.dump()\f[] for further details.
11649
11650 .IP "Note:" 4
11651 Only applies to \f[I]"mode": "json"\f[].
11652
11653
11654 .SS metadata.separators
11655 .IP "Type:" 6
11656 \f[I]list\f[] with two \f[I]string\f[] elements
11657
11658 .IP "Default:" 9
11659 \f[I][", ", ": "]\f[]
11660
11661 .IP "Description:" 4
11662 \f[I]<item separator>\f[] - \f[I]<key separator>\f[] pair
11663 to separate JSON keys and values with.
11664
11665 See the \f[I]separators\f[] argument of \f[I]json.dump()\f[] for further details.
11666
11667 .IP "Note:" 4
11668 Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[].
11669
11670
11671 .SS metadata.sort
11672 .IP "Type:" 6
11673 \f[I]bool\f[]
11674
11675 .IP "Default:" 9
11676 \f[I]false\f[]
11677
11678 .IP "Description:" 4
11679 Sort output by key.
11680
11681 See the \f[I]sort_keys\f[] argument of \f[I]json.dump()\f[] for further details.
11682
11683 .IP "Note:" 4
11684 Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[].
11685
11686
11687 .SS metadata.empty
11688 .IP "Type:" 6
11689 \f[I]bool\f[]
11690
11691 .IP "Default:" 9
11692 \f[I]false\f[]
11693
11694 .IP "Description:" 4
11695 Write empty
11696 JSON / \f[I]tags\f[] / \f[I]content-format\f[]
11697 data and create empty files.
11698
11699
11700 .SS metadata.open
11701 .IP "Type:" 6
11702 \f[I]string\f[]
11703
11704 .IP "Default:" 9
11705 \f[I]"w"\f[]
11706
11707 .IP "Description:" 4
11708 The \f[I]mode\f[] in which metadata files get opened.
11709
11710 For example,
11711 use \f[I]"a"\f[] to append to a file's content
11712 or \f[I]"w"\f[] to truncate it.
11713
11714 See the \f[I]mode\f[] argument of \f[I]open()\f[] for further details.
11715
11716
11717 .SS metadata.encoding
11718 .IP "Type:" 6
11719 \f[I]string\f[]
11720
11721 .IP "Default:" 9
11722 \f[I]"utf-8"\f[]
11723
11724 .IP "Description:" 4
11725 Name of the encoding used to encode a file's content.
11726
11727 See the \f[I]encoding\f[] argument of \f[I]open()\f[] for further details.
11728
11729
11730 .SS metadata.newline
11731 .IP "Type:" 6
11732 \f[I]string\f[]
11733
11734 .IP "Default:" 9
11735 \f[I]null\f[]
11736
11737 .IP "Description:" 4
11738 The newline sequence used in metadata files.
11739
11740 If \f[I]null\f[], any \f[I]\\n\f[] characters
11741 written are translated to the system default line separator.
11742
11743 See the \f[I]newline\f[] argument of \f[I]open()\f[] for further details.
11744
11745 .IP "Supported Values:" 4
11746 \f[I]null\f[]
11747 Any \f[I]\\n\f[] characters
11748 written are translated to the system default line separator.
11749 \f[I]""\f[] \f[I] \f[I]"\\n"\f[]
11750 Don't replace newline characters.
11751 \f[I]"\\r"\f[] \f[] \f[I]"\\r\\n"\f[]
11752 Replace newline characters with the given sequence.
11753
11754
11755 .SS metadata.private
11756 .IP "Type:" 6
11757 \f[I]bool\f[]
11758
11759 .IP "Default:" 9
11760 \f[I]false\f[]
11761
11762 .IP "Description:" 4
11763 Include private fields,
11764 i.e. fields whose name starts with an underscore.
11765
11766
11767 .SS metadata.skip
11768 .IP "Type:" 6
11769 \f[I]bool\f[]
11770
11771 .IP "Default:" 9
11772 \f[I]false\f[]
11773
11774 .IP "Description:" 4
11775 Do not overwrite already existing files.
11776
11777
11778 .SS metadata.archive
11779 .IP "Type:" 6
11780 .br
11781 * \f[I]string\f[]
11782 .br
11783 * \f[I]Path\f[]
11784
11785 .IP "Description:" 4
11786 Database to store IDs of generated metadata files in,
11787 similar to \f[I]extractor.*.archive\f[].
11788
11789 The following archive options are also supported:
11790
11791 .br
11792 * \f[I]archive-format\f[]
11793 .br
11794 * \f[I]archive-prefix\f[]
11795 .br
11796 * \f[I]archive-pragma\f[]
11797 .br
11798 * \f[I]archive-table \f[]
11799
11800
11801 .SS metadata.mtime
11802 .IP "Type:" 6
11803 \f[I]bool\f[]
11804
11805 .IP "Default:" 9
11806 \f[I]false\f[]
11807
11808 .IP "Description:" 4
11809 Set modification times of generated metadata files
11810 according to the accompanying downloaded file.
11811
11812 Enabling this option will only have an effect
11813 *if* there is actual \f[I]mtime\f[] metadata available, that is
11814
11815 .br
11816 * after a file download (\f[I]"event": "file"\f[] (default), \f[I]"event": "after"\f[])
11817 .br
11818 * when running *after* an \f[I]mtime\f[] post processes for the same \f[I]event\f[]
11819
11820 For example, a \f[I]metadata\f[] post processor for \f[I]"event": "post"\f[] will
11821 *not* be able to set its file's modification time unless an \f[I]mtime\f[]
11822 post processor with \f[I]"event": "post"\f[] runs *before* it.
11823
11824
11825 .SS mtime.event
11826 .IP "Type:" 6
11827 .br
11828 * \f[I]string\f[]
11829 .br
11830 * \f[I]list\f[] of \f[I]strings\f[]
11831
11832 .IP "Default:" 9
11833 \f[I]"post-after"\f[]
11834 \f[I]"target": "directory"\f[]
11835 \f[I]"file"\f[]
11836 otherwise
11837
11838 .IP "Description:" 4
11839 The event(s) for which \f[I]mtime.key\f[] or \f[I]mtime.value\f[] get evaluated.
11840
11841 See \f[I]metadata.event\f[] for a list of available events.
11842
11843
11844 .SS mtime.target
11845 .IP "Type:" 6
11846 \f[I]string\f[]
11847
11848 .IP "Default:" 9
11849 \f[I]"file"\f[]
11850
11851 .IP "Description:" 4
11852 The target to which \f[I]mtime.key\f[] or \f[I]mtime.value\f[] is applied to.
11853
11854 Supported values are \f[I]"file"\f[] and \f[I]"directory"\f[].
11855
11856
11857 .SS mtime.key
11858 .IP "Type:" 6
11859 \f[I]string\f[]
11860
11861 .IP "Default:" 9
11862 \f[I]"date"\f[]
11863
11864 .IP "Description:" 4
11865 Name of the metadata field whose value should be used.
11866
11867 This value must be either a Unix timestamp or a
11868 \f[I]type-datetime\f[] object.
11869
11870 .IP "Note:" 4
11871 This option is ignored if \f[I]mtime.value\f[] is set.
11872
11873
11874 .SS mtime.value
11875 .IP "Type:" 6
11876 \f[I]Format String\f[]
11877
11878 .IP "Default:" 9
11879 \f[I]null\f[]
11880
11881 .IP "Example:" 4
11882 .br
11883 * "{status[date]}"
11884 .br
11885 * "{content[0:6]:R22/2022/D%Y%m%d/}"
11886
11887 .IP "Description:" 4
11888 The \f[I]Format String\f[] whose value should be used.
11889
11890 The resulting value must be either a Unix timestamp or a
11891 \f[I]type-datetime\f[] object.
11892
11893 .IP "Note::" 4
11894 Unlike standard \f[I]Format Strings\f[], replacement fields here
11895 preserve the original type of their value
11896 instead of automatically converting it to \f[I]type-str\f[].
11897
11898
11899 .SS python.archive
11900 .IP "Type:" 6
11901 .br
11902 * \f[I]string\f[]
11903 .br
11904 * \f[I]Path\f[]
11905
11906 .IP "Description:" 4
11907 Database to store IDs of called Python functions in,
11908 similar to \f[I]extractor.*.archive\f[].
11909
11910 The following archive options are also supported:
11911
11912 .br
11913 * \f[I]archive-format\f[]
11914 .br
11915 * \f[I]archive-prefix\f[]
11916 .br
11917 * \f[I]archive-pragma\f[]
11918 .br
11919 * \f[I]archive-table \f[]
11920
11921
11922 .SS python.event
11923 .IP "Type:" 6
11924 .br
11925 * \f[I]string\f[]
11926 .br
11927 * \f[I]list\f[] of \f[I]strings\f[]
11928
11929 .IP "Default:" 9
11930 \f[I]"file"\f[]
11931
11932 .IP "Description:" 4
11933 The event(s) for which \f[I]python.function\f[] gets called.
11934
11935 See \f[I]metadata.event\f[] for a list of available events.
11936
11937
11938 .SS python.expression
11939 .IP "Type:" 6
11940 \f[I]Expression\f[]
11941
11942 .IP "Example:" 4
11943 .br
11944 * "print('Foo Bar')"
11945 .br
11946 * "terminate()"
11947
11948 .IP "Description:" 4
11949 A Python \f[I]Expression\f[] to
11950 \f[I]evaluate\f[].
11951
11952 .IP "Note:" 4
11953 Only used with \f[I]"mode": "eval"\f[]
11954
11955
11956 .SS python.function
11957 .IP "Type:" 6
11958 \f[I]string\f[]
11959
11960 .IP "Example:" 4
11961 .br
11962 * "my_module:generate_text"
11963 .br
11964 * "~/.local/share/gdl_utils.py:resize"
11965
11966 .IP "Description:" 4
11967 The Python function to call.
11968
11969 This function is specified as \f[I]<module>:<function name>\f[], where
11970 .br
11971 \f[I]<module>\f[] is a \f[I]Module\f[] and
11972 .br
11973 \f[I]<function name>\f[] is the name of the function in that module.
11974
11975 It gets called with the current metadata dict as argument.
11976
11977
11978 .SS python.mode
11979 .IP "Type:" 6
11980 \f[I]string\f[]
11981
11982 .IP "Default:" 9
11983 \f[I]"function"\f[]
11984
11985 .IP "Description:" 4
11986 Selects what Python code to run.
11987
11988 \f[I]"eval"\f[]
11989 Evaluate an
11990 \f[I]expression\f[]
11991 \f[I]function"\f[]
11992 Call a
11993 \f[I]function\f[]
11994
11995
11996 .SS rename.from
11997 .IP "Type:" 6
11998 \f[I]Format String\f[]
11999
12000 .IP "Description:" 4
12001 The \f[I]Format String\f[] for filenames to rename.
12002
12003 When no value is given, \f[I]extractor.*.filename\f[] is used.
12004
12005
12006 .SS rename.to
12007 .IP "Type:" 6
12008 \f[I]Format String\f[]
12009
12010 .IP "Description:" 4
12011 The \f[I]Format String\f[] for target filenames.
12012
12013 When no value is given, \f[I]extractor.*.filename\f[] is used.
12014
12015
12016 .SS rename.skip
12017 .IP "Type:" 6
12018 \f[I]bool\f[]
12019
12020 .IP "Default:" 9
12021 \f[I]true\f[]
12022
12023 .IP "Description:" 4
12024 Do not rename a file when another file with the target name already exists.
12025
12026
12027 .SS ugoira.extension
12028 .IP "Type:" 6
12029 \f[I]string\f[]
12030
12031 .IP "Default:" 9
12032 \f[I]"webm"\f[]
12033
12034 .IP "Description:" 4
12035 Filename extension for the resulting video files.
12036
12037
12038 .SS ugoira.ffmpeg-args
12039 .IP "Type:" 6
12040 \f[I]list\f[] of \f[I]strings\f[]
12041
12042 .IP "Default:" 9
12043 \f[I]null\f[]
12044
12045 .IP "Example:" 4
12046 ["-c:v", "libvpx-vp9", "-an", "-b:v", "2M"]
12047
12048 .IP "Description:" 4
12049 Additional \f[I]ffmpeg\f[] command-line arguments.
12050
12051
12052 .SS ugoira.mode
12053 .IP "Type:" 6
12054 \f[I]string\f[]
12055
12056 .IP "Default:" 9
12057 \f[I]"auto"\f[]
12058
12059 .IP "Description:" 4
12060 \f[I]ffmpeg\f[] demuxer to read and process input files with.
12061
12062 .IP "Supported Values:" 4
12063 \f[I]"auto"\f[]
12064 use \f[I]mkvmerge\f[] if available, fall back to \f[I]concat\f[] otherwise
12065 \f[I]"concat"\f[]
12066 https://ffmpeg.org/ffmpeg-formats.html#concat-1
12067 .br
12068 Inaccurate frame timecodes for non-uniform frame delays
12069 .br
12070 \f[I]"image2"\f[]
12071 https://ffmpeg.org/ffmpeg-formats.html#image2-1
12072 .br
12073 Accurate timecodes, requires nanosecond file timestamps, i.e. no Windows or macOS)
12074 .br
12075 \f[I]"mkvmerge"\f[]
12076 Accurate timecodes, only WebM or MKV, requires \f[I]mkvmerge\f[])
12077 \f[I]"archive"\f[]
12078 Store "original" frames in a \f[I].zip\f[] archive
12079
12080
12081 .SS ugoira.ffmpeg-location
12082 .IP "Type:" 6
12083 \f[I]Path\f[]
12084
12085 .IP "Default:" 9
12086 \f[I]"ffmpeg"\f[]
12087
12088 .IP "Description:" 4
12089 Location of the \f[I]ffmpeg\f[] (or \f[I]avconv\f[]) executable to use.
12090
12091
12092 .SS ugoira.mkvmerge-args
12093 .IP "Type:" 6
12094 \f[I]list\f[] of \f[I]strings\f[]
12095
12096 .IP "Default:" 9
12097 \f[I]null\f[]
12098
12099 .IP "Example:" 4
12100 ["--no-date", "--disable-lacing"]
12101
12102 .IP "Description:" 4
12103 Additional \f[I]mkvmerge\f[] command-line arguments.
12104
12105
12106 .SS ugoira.mkvmerge-location
12107 .IP "Type:" 6
12108 \f[I]Path\f[]
12109
12110 .IP "Default:" 9
12111 \f[I]"mkvmerge"\f[]
12112
12113 .IP "Description:" 4
12114 Location of the \f[I]mkvmerge\f[] executable for use with the
12115 \f[I]mkvmerge demuxer\f[].
12116
12117
12118 .SS ugoira.mkvmerge-metadata
12119 .IP "Type:" 6
12120 \f[I]bool\f[]
12121
12122 .IP "Default:" 9
12123 \f[I]true\f[]
12124
12125 .IP "Description:" 4
12126 Let \f[I]mkvmerge\f[] write \f[I]BPS\f[], \f[I]DURATION\f[], \f[I]NUMBER_OF_BYTES\f[],
12127 and \f[I]NUMBER_OF_FRAMES\f[] metadata tags.
12128
12129 .IP "Implementation Detail:" 4
12130 Disabling this option passes
12131 \f[I]--disable-track-statistics-tags\f[] to \f[I]mkvmerge\f[]
12132
12133
12134 .SS ugoira.mkvmerge-mtime
12135 .IP "Type:" 6
12136 \f[I]bool\f[]
12137
12138 .IP "Default:" 9
12139 \f[I]false\f[]
12140
12141 .IP "Description:" 4
12142 Set the date segment information field
12143 of files processed with \f[I]mkvmerge\f[].
12144
12145 .IP "Note::" 4
12146 Requires \f[I]mkvmerge\f[] version 95.0 or higher
12147
12148
12149 .SS ugoira.mkvmerge-output
12150 .IP "Type:" 6
12151 \f[I]bool\f[]
12152
12153 .IP "Default:" 9
12154 \f[I]false\f[]
12155
12156 .IP "Description:" 4
12157 Enable \f[I]mkvmerge\f[] output.
12158
12159
12160 .SS ugoira.ffmpeg-output
12161 .IP "Type:" 6
12162 .br
12163 * \f[I]bool\f[]
12164 .br
12165 * \f[I]string\f[]
12166
12167 .IP "Default:" 9
12168 \f[I]"error"\f[]
12169
12170 .IP "Description:" 4
12171 Controls \f[I]ffmpeg\f[] output.
12172
12173 \f[I]true\f[]
12174 Enable \f[I]ffmpeg\f[] output
12175 \f[I]false\f[]
12176 Disable all \f[I]ffmpeg\f[] output
12177 any \f[I]string\f[]
12178 Pass \f[I]-hide_banner\f[] and \f[I]-loglevel\f[]
12179 with this value as argument to \f[I]ffmpeg\f[]
12180
12181
12182 .SS ugoira.ffmpeg-twopass
12183 .IP "Type:" 6
12184 \f[I]bool\f[]
12185
12186 .IP "Default:" 9
12187 \f[I]false\f[]
12188
12189 .IP "Description:" 4
12190 Enable Two-Pass encoding.
12191
12192
12193 .SS ugoira.framerate
12194 .IP "Type:" 6
12195 \f[I]string\f[]
12196
12197 .IP "Default:" 9
12198 \f[I]"auto"\f[]
12199
12200 .IP "Description:" 4
12201 Controls the frame rate argument (\f[I]-r\f[]) for \f[I]ffmpeg\f[]
12202
12203 \f[I]"auto"\f[]
12204 Automatically assign a fitting frame rate
12205 based on delays between frames.
12206 \f[I]"uniform"\f[]
12207 Like \f[I]auto\f[], but assign an explicit frame rate
12208 only to Ugoira with uniform frame delays.
12209 any other \f[I]string\f[]
12210 Use this value as argument for \f[I]-r\f[].
12211 \f[I]null\f[] or an empty \f[I]string\f[]
12212 Don't set an explicit frame rate.
12213
12214
12215 .SS ugoira.keep-files
12216 .IP "Type:" 6
12217 \f[I]bool\f[]
12218
12219 .IP "Default:" 9
12220 \f[I]false\f[]
12221
12222 .IP "Description:" 4
12223 Keep ZIP archives after conversion.
12224
12225
12226 .SS ugoira.libx264-prevent-odd
12227 .IP "Type:" 6
12228 \f[I]bool\f[]
12229
12230 .IP "Default:" 9
12231 \f[I]true\f[]
12232
12233 .IP "Description:" 4
12234 Prevent \f[I]"width/height not divisible by 2"\f[] errors
12235 when using \f[I]libx264\f[] or \f[I]libx265\f[] encoders
12236 by applying a simple cropping filter. See this \f[I]Stack Overflow
12237 thread\f[]
12238 for more information.
12239
12240 This option, when \f[I]libx264/5\f[] is used, automatically
12241 adds \f[I]["-vf", "crop=iw-mod(iw\\\\,2):ih-mod(ih\\\\,2)"]\f[]
12242 to the list of \f[I]ffmpeg\f[] command-line arguments
12243 to reduce an odd width/height by 1 pixel and make them even.
12244
12245
12246 .SS ugoira.metadata
12247 .IP "Type:" 6
12248 .br
12249 * \f[I]bool\f[]
12250 .br
12251 * \f[I]string\f[]
12252
12253 .IP "Default:" 9
12254 \f[I]true\f[]
12255
12256 .IP "Description:" 4
12257 When using \f[I]"mode": "archive"\f[], save Ugoira frame delay data as
12258 \f[I]animation.json\f[] within the archive file.
12259
12260 If this is a \f[I]string\f[],
12261 use it as alternate filename for frame delay files.
12262
12263
12264 .SS ugoira.mtime
12265 .IP "Type:" 6
12266 \f[I]bool\f[]
12267
12268 .IP "Default:" 9
12269 \f[I]true\f[]
12270
12271 .IP "Description:" 4
12272 Set modification times of generated ugoira animations.
12273
12274
12275 .SS ugoira.repeat-last-frame
12276 .IP "Type:" 6
12277 \f[I]bool\f[]
12278
12279 .IP "Default:" 9
12280 \f[I]true\f[]
12281
12282 .IP "Description:" 4
12283 Allow repeating the last frame when necessary
12284 to prevent it from only being displayed for a very short amount of time.
12285
12286
12287 .SS ugoira.skip
12288 .IP "Type:" 6
12289 \f[I]bool\f[]
12290
12291 .IP "Default:" 9
12292 \f[I]true\f[]
12293
12294 .IP "Description:" 4
12295 Do not convert frames if target file already exists.
12296
12297
12298 .SS zip.compression
12299 .IP "Type:" 6
12300 \f[I]string\f[]
12301
12302 .IP "Default:" 9
12303 \f[I]"store"\f[]
12304
12305 .IP "Description:" 4
12306 Compression method to use when writing the archive.
12307
12308 .IP "Supported Values:" 4
12309 .br
12310 * \f[I]"store"\f[]
12311 .br
12312 * \f[I]"zip"\f[]
12313 .br
12314 * \f[I]"bzip2"\f[]
12315 .br
12316 * \f[I]"lzma"\f[]
12317
12318
12319 .SS zip.extension
12320 .IP "Type:" 6
12321 \f[I]string\f[]
12322
12323 .IP "Default:" 9
12324 \f[I]"zip"\f[]
12325
12326 .IP "Description:" 4
12327 Filename extension for the created ZIP archive.
12328
12329
12330 .SS zip.files
12331 .IP "Type:" 6
12332 \f[I]list\f[] of \f[I]Path\f[]
12333
12334 .IP "Example:" 4
12335 ["info.json"]
12336
12337 .IP "Description:" 4
12338 List of extra files to be added to a ZIP archive.
12339
12340 .IP "Note:" 4
12341 Relative paths are relative to the current
12342 \f[I]download directory\f[].
12343
12344
12345 .SS zip.keep-files
12346 .IP "Type:" 6
12347 \f[I]bool\f[]
12348
12349 .IP "Default:" 9
12350 \f[I]false\f[]
12351
12352 .IP "Description:" 4
12353 Keep the actual files after writing them to a ZIP archive.
12354
12355
12356 .SS zip.mode
12357 .IP "Type:" 6
12358 \f[I]string\f[]
12359
12360 .IP "Default:" 9
12361 \f[I]"default"\f[]
12362
12363 .IP "Description:" 4
12364 \f[I]"default"\f[]
12365 Write the central directory file header
12366 once after everything is done or an exception is raised.
12367
12368 \f[I]"safe"\f[]
12369 Update the central directory file header
12370 each time a file is stored in a ZIP archive.
12371
12372 This greatly reduces the chance a ZIP archive gets corrupted in
12373 case the Python interpreter gets shut down unexpectedly
12374 (power outage, SIGKILL) but is also a lot slower.
12375
12376
12377 .SH MISCELLANEOUS OPTIONS
12378 .SS extractor.modules
12379 .IP "Type:" 6
12380 \f[I]list\f[] of \f[I]strings\f[]
12381
12382 .IP "Default:" 9
12383 The \f[I]modules\f[] list in
12384 \f[I]extractor/__init__.py\f[]
12385
12386 .IP "Example:" 4
12387 ["reddit", "danbooru", "mangadex"]
12388
12389 .IP "Description:" 4
12390 List of internal modules to load when searching for a suitable
12391 extractor class. Useful to reduce startup time and memory usage.
12392
12393
12394 .SS extractor.module-sources
12395 .IP "Type:" 6
12396 .br
12397 * \f[I]list\f[] of \f[I]Path\f[] instances
12398 .br
12399 * \f[I]list\f[] of \f[I]object\f[]
12400
12401 .IP "Example:" 4
12402 .. code:: json
12403
12404 ["~/.config/gallery-dl/modules", null]
12405
12406 .. code:: json
12407
12408 [
12409 {
12410 "from": "~/.config/gallery-dl/modules",
12411 "import": ["custom_module1", "custom_module2"]
12412 },
12413 null
12414 ]
12415
12416
12417 .IP "Description:" 4
12418 List of sources to load (external) extractor modules from.
12419
12420 The following elements are supported:
12421
12422 \f[I]Path\f[]
12423 A path to a directory containing custom extractor modules.
12424 .br
12425 All files in this directory with a \f[I].py\f[] filename extension
12426 .br
12427 will be \f[I]imported\f[]
12428 and searched for extractors, i.e. classes with a \f[I]pattern\f[] attribute.
12429 \f[I]object\f[]
12430 An object describing module
12431 \f[I]imports\f[]
12432 in a specific directory.
12433
12434 The following keys are required:
12435
12436 \f[I]from\f[]
12437 A \f[I]Path\f[] to the directory the modules are located in.
12438 .br
12439 This directory will be available on the module search path (\f[I]sys.path\f[]) during import.
12440 .br
12441 \f[I]ìmport\f[]
12442 A \f[I]list\f[] of \f[I]strings\f[] of filenames to import.
12443 .br
12444 The names must be given without \f[I].py\f[] extension.
12445 .br
12446 \f[I]null\f[]
12447 Internal extractors defined in
12448 \f[I]extractor/__init__.py\f[]
12449 or by \f[I]extractor.modules\f[].
12450
12451
12452 .SS extractor.category-map
12453 .IP "Type:" 6
12454 .br
12455 * \f[I]object\f[] (category → category)
12456 .br
12457 * \f[I]string\f[]
12458
12459 .IP "Example:" 4
12460 .. code:: json
12461
12462 {
12463 "danbooru": "booru",
12464 "gelbooru": "booru"
12465 }
12466
12467 .IP "Description:" 4
12468 A JSON object mapping category names to their replacements.
12469
12470 .IP "Special Values:" 4
12471 .br
12472 * \f[I]"compat"\f[]
12473 .. code:: json
12474
12475 {
12476 "coomer" : "coomerparty",
12477 "kemono" : "kemonoparty",
12478 "turbo" : "saint",
12479 "schalenetwork": "koharu",
12480 "naver-chzzk" : "chzzk",
12481 "naver-blog" : "naver",
12482 "naver-webtoon": "naverwebtoon",
12483 "pixiv-novel" : "pixiv",
12484 "pixiv-novel:novel" : ["pixiv", "novel"],
12485 "pixiv-novel:user" : ["pixiv", "novel-user"],
12486 "pixiv-novel:series" : ["pixiv", "novel-series"],
12487 "pixiv-novel:bookmark": ["pixiv", "novel-bookmark"]
12488 }
12489
12490
12491 .SS extractor.config-map
12492 .IP "Type:" 6
12493 .br
12494 * \f[I]object\f[] (src-category → dest-category)
12495 .br
12496 * \f[I]list\f[] of [src-category, dest-category] pairs
12497
12498 .IP "Default:" 9
12499 .. code:: json
12500
12501 {
12502 "coomerparty" : "coomer",
12503 "kemonoparty" : "kemono",
12504 "giantessbooru": "sizebooru",
12505 "koharu" : "schalenetwork",
12506 "chzzk" : "naver-chzzk",
12507 "naver" : "naver-blog",
12508 "naverwebtoon" : "naver-webtoon",
12509 "pixiv" : "pixiv-novel",
12510 "saint" : "turbo"
12511 }
12512
12513 .IP "Description:" 4
12514 Duplicate the configuration settings of extractor categories
12515 to other names.
12516
12517 For example, a \f[I]"naver": "naver-blog"\f[] key-value pair will make all
12518 \f[I]naver\f[] config settings available for \f[I]naver-blog\f[] extractors as well.
12519
12520
12521 .SS jinja.environment
12522 .IP "Type:" 6
12523 \f[I]object\f[] (name → value)
12524
12525 .IP "Example:" 4
12526 .. code:: json
12527
12528 {
12529 "variable_start_string": "(((",
12530 "variable_end_string" : ")))",
12531 "keep_trailing_newline": true
12532 }
12533
12534 .IP "Description:" 4
12535 Initialization parameters for the \f[I]jinja\f[]
12536 \f[I]Environment\f[]
12537 object.
12538
12539
12540 .SS jinja.policies
12541 .IP "Type:" 6
12542 \f[I]object\f[] (name → value)
12543
12544 .IP "Example:" 4
12545 .. code:: json
12546
12547 {
12548 "urlize.rel": "nofollow noopener",
12549 "ext.i18n.trimmed": true
12550 }
12551
12552 .IP "Description:" 4
12553 \f[I]jinja\f[]
12554 \f[I]Policies\f[]
12555
12556
12557 .SS jinja.filters
12558 .IP "Type:" 6
12559 \f[I]Module\f[]
12560
12561 .IP "Description:" 4
12562 A Python \f[I]Module\f[] containing custom \f[I]jinja\f[]
12563 \f[I]filters\f[]
12564
12565
12566 .SS jinja.tests
12567 .IP "Type:" 6
12568 \f[I]Module\f[]
12569
12570 .IP "Description:" 4
12571 A Python \f[I]Module\f[] containing custom \f[I]jinja\f[]
12572 \f[I]tests\f[]
12573
12574
12575 .SS globals
12576 .IP "Type:" 6
12577 \f[I]Module\f[]
12578
12579 .IP "Description:" 4
12580 A Python \f[I]Module\f[] whose namespace,
12581 in addition to the \f[I]GLOBALS\f[] dict in
12582 \f[I]util.py\f[],
12583 is used as \f[I]globals parameter\f[] for compiled Expressions_.
12584
12585
12586 .SS cache.file
12587 .IP "Type:" 6
12588 \f[I]Path\f[]
12589
12590 .IP "Default:" 9
12591 .br
12592 * (\f[I]%APPDATA%\f[] or \f[I]"~"\f[]) + \f[I]"/gallery-dl/cache.sqlite3"\f[] on Windows
12593 .br
12594 * (\f[I]$XDG_CACHE_HOME\f[] or \f[I]"~/.cache"\f[]) + \f[I]"/gallery-dl/cache.sqlite3"\f[] on all other platforms
12595
12596 .IP "Description:" 4
12597 Path of the SQLite3 database used to cache login sessions,
12598 cookies and API tokens across gallery-dl invocations.
12599
12600 Set this option to \f[I]":memory:"\f[], \f[I]null\f[], or an invalid path
12601 to disable creating a file for this cache.
12602
12603
12604 .SS filters-environment
12605 .IP "Type:" 6
12606 .br
12607 * \f[I]bool\f[]
12608 .br
12609 * \f[I]string\f[]
12610
12611 .IP "Default:" 9
12612 \f[I]true\f[]
12613
12614 .IP "Description:" 4
12615 Evaluate \f[I]Expressions\f[] in a special environment
12616 preventing them from raising fatal exceptions.
12617
12618 \f[I]true\f[] \f[I] \f[I]"tryexcept"\f[]
12619 Wrap expressions in a try/except block;
12620 Evaluate expressions raising an exception as \f[I]false\f[]
12621 \f[I]false\f[] \f[] \f[I]"raw"\f[]
12622 Do not wrap expressions in a special environment
12623 \f[I]"defaultdict"\f[]
12624 Prevent exceptions when accessing undefined variables
12625 by using a \f[I]defaultdict\f[]
12626
12627
12628 .SS format-operator-dot
12629 .IP "Type:" 6
12630 \f[I]bool\f[]
12631
12632 .IP "Default:" 9
12633 \f[I]true\f[]
12634
12635 .IP "Description:" 4
12636 In standard \f[I]Format Strings\f[], allow the dot operator \f[I].\f[]
12637 to function as a general access operator
12638 in addition to regular attribute access.
12639
12640 .br
12641 * \f[I]obj.attribute\f[]
12642 .br
12643 * \f[I]dict.fieldname\f[]
12644 .br
12645 * \f[I]list.123\f[]
12646
12647
12648 .SS format-separator
12649 .IP "Type:" 6
12650 \f[I]string\f[]
12651
12652 .IP "Default:" 9
12653 \f[I]"/"\f[]
12654
12655 .IP "Description:" 4
12656 Character(s) used as argument separator in \f[I]Format String\f[]
12657 \f[I]format specifiers\f[].
12658
12659 For example, setting this option to \f[I]"#"\f[] would allow a replacement
12660 operation to be \f[I]Rold#new#\f[] instead of the default \f[I]Rold/new/\f[]
12661
12662
12663 .SS input-files
12664 .IP "Type:" 6
12665 \f[I]list\f[] of \f[I]Path\f[]
12666
12667 .IP "Example:" 4
12668 ["~/urls.txt", "$HOME/input"]
12669
12670 .IP "Description:" 4
12671 Additional input files.
12672
12673
12674 .SS signals-ignore
12675 .IP "Type:" 6
12676 \f[I]list\f[] of \f[I]strings\f[]
12677
12678 .IP "Example:" 4
12679 ["SIGTTOU", "SIGTTIN", "SIGTERM"]
12680
12681 .IP "Description:" 4
12682 The list of signal names to ignore, i.e. set
12683 \f[I]SIG_IGN\f[]
12684 as signal handler for.
12685
12686
12687 .SS signals-actions
12688 .IP "Type:" 6
12689 \f[I]object\f[] (signal → \f[I]Action(s)\f[])
12690
12691 .IP "Example:" 4
12692 .. code:: json
12693
12694 {
12695 "SIGINT" : "flag download = stop",
12696 "SIGUSR1": [
12697 "print Received SIGUSR1",
12698 "exec notify.sh",
12699 "exit 127"
12700 ]
12701 }
12702
12703 .IP "Description:" 4
12704 \f[I]Action(s)\f[] to perform when a
12705 \f[I]signal\f[]
12706 is received.
12707
12708
12709 .SS subconfigs
12710 .IP "Type:" 6
12711 \f[I]list\f[] of \f[I]Path\f[]
12712
12713 .IP "Example:" 4
12714 ["~/cfg-twitter.json", "~/cfg-reddit.json"]
12715
12716 .IP "Description:" 4
12717 Additional configuration files to load.
12718
12719
12720 .SS warnings
12721 .IP "Type:" 6
12722 \f[I]string\f[]
12723
12724 .IP "Default:" 9
12725 \f[I]"default"\f[]
12726
12727 .IP "Description:" 4
12728 The \f[I]Warnings Filter action\f[]
12729 used for (urllib3) warnings.
12730
12731
12732 .SS server.host
12733 .IP "Type:" 6
12734 \f[I]string\f[]
12735
12736 .IP "Default:" 9
12737 \f[I]"127.0.0.1"\f[]
12738
12739 .IP "Description:" 4
12740 Host to bind the server/socket to.
12741
12742
12743 .SS server.port
12744 .IP "Type:" 6
12745 \f[I]int\f[]
12746
12747 .IP "Default:" 9
12748 \f[I]64696\f[]
12749
12750 .IP "Description:" 4
12751 Port to bind the server/socket to.
12752
12753
12754 .SS server.key
12755 .IP "Type:" 6
12756 \f[I]string\f[]
12757
12758 .IP "Default:" 9
12759 \f[I]"gallery_dl"\f[]
12760
12761 .IP "Description:" 4
12762 A string that is added to the front of each request to differentiate and
12763 avoid random requests sent to the listener from the gallery_dl specific ones.
12764
12765
12766 .SS server.enabled
12767 .IP "Type:" 6
12768 \f[I]bool\f[]
12769
12770 .IP "Default:" 9
12771 \f[I]false\f[]
12772
12773 .IP "Description:" 4
12774 Send input URLs to a gallery-dl server queue.
12775
12776
12777 .SS server.timeout
12778 .IP "Type:" 6
12779 \f[I]int\f[]
12780
12781 .IP "Default:" 9
12782 \f[I]10\f[]
12783
12784 .IP "Description:" 4
12785 Sets maximum timeout before queue ends and turns off the server if
12786 queue is empty. If set to -1, then the server will run forever.
12787
12788
12789 .SH API TOKENS & IDS
12790 .SS extractor.deviantart.client-id & .client-secret
12791 .IP "Type:" 6
12792 \f[I]string\f[]
12793
12794 .IP "How To:" 4
12795 .br
12796 * login and visit DeviantArt's
12797 \f[I]Applications & Keys\f[]
12798 section
12799 .br
12800 * click "Register Application"
12801 .br
12802 * scroll to "OAuth2 Redirect URI Whitelist (Required)"
12803 and enter "https://mikf.github.io/gallery-dl/oauth-redirect.html"
12804 .br
12805 * scroll to the bottom and agree to the API License Agreement.
12806 Submission Policy, and Terms of Service.
12807 .br
12808 * click "Save"
12809 .br
12810 * copy \f[I]client_id\f[] and \f[I]client_secret\f[] of your new
12811 application and put them in your configuration file
12812 as \f[I]"client-id"\f[] and \f[I]"client-secret"\f[]
12813 .br
12814 * clear your \f[I]cache\f[] to delete any remaining
12815 \f[I]access-token\f[] entries. (\f[I]gallery-dl --clear-cache deviantart\f[])
12816 .br
12817 * get a new \f[I]refresh-token\f[] for the
12818 new \f[I]client-id\f[] (\f[I]gallery-dl oauth:deviantart\f[])
12819
12820
12821 .SS extractor.flickr.api-key & .api-secret
12822 .IP "Type:" 6
12823 \f[I]string\f[]
12824
12825 .IP "How To:" 4
12826 .br
12827 * login and \f[I]Create an App\f[]
12828 in Flickr's \f[I]App Garden\f[]
12829 .br
12830 * click "APPLY FOR A NON-COMMERCIAL KEY"
12831 .br
12832 * fill out the form with a random name and description
12833 and click "SUBMIT"
12834 .br
12835 * copy \f[I]Key\f[] and \f[I]Secret\f[] and put them in your configuration file
12836 as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[]
12837
12838
12839 .SS extractor.mangadex.client-id & .client-secret
12840 .IP "Type:" 6
12841 \f[I]string\f[]
12842
12843 .IP "How To:" 4
12844 .br
12845 * login and go to your \f[I]User Settings\f[]
12846 .br
12847 * open the "API Clients" section
12848 .br
12849 * click "\f[I]+ Create\f[]"
12850 .br
12851 * choose a name
12852 .br
12853 * click "\f[I]✔️ Create\f[]"
12854 .br
12855 * wait for approval / reload the page
12856 .br
12857 * copy the value after "AUTOAPPROVED ACTIVE" in the form "personal-client-..."
12858 and put it in your configuration file as \f[I]"client-id"\f[]
12859 .br
12860 * click "\f[I]Get Secret\f[]", then "\f[I]Copy Secret\f[]",
12861 and paste it into your configuration file as \f[I]"client-secret"\f[]
12862
12863
12864 .SS extractor.reddit.client-id & .user-agent-oauth
12865 .IP "Type:" 6
12866 \f[I]string\f[]
12867
12868 .IP "How To:" 4
12869 .br
12870 * login and visit the \f[I]apps\f[]
12871 section of your account's preferences
12872 .br
12873 * click the "are you a developer? create an app..." button
12874 .br
12875 * fill out the form:
12876
12877 .br
12878 * choose a name
12879 .br
12880 * select "installed app"
12881 .br
12882 * set "redirect uri" to http://localhost:6414/
12883 .br
12884 * solve the "I'm not a robot" challenge if needed
12885 .br
12886 * click "create app"
12887
12888 .br
12889 * copy the client id (third line, under your application's name and
12890 "installed app") and put it in your configuration file
12891 as \f[I]"client-id"\f[]
12892 .br
12893 * use "\f[I]Python:<application name>:v1.0 (by /u/<username>)\f[]" as
12894 \f[I]user-agent-oauth\f[] and replace \f[I]<application name>\f[] and \f[I]<username>\f[]
12895 accordingly (see Reddit's
12896 \f[I]API access rules\f[])
12897 .br
12898 * clear your \f[I]cache\f[] to delete any remaining
12899 \f[I]access-token\f[] entries. (\f[I]gallery-dl --clear-cache reddit\f[])
12900 .br
12901 * get a \f[I]refresh-token\f[] for the
12902 new \f[I]client-id\f[] (\f[I]gallery-dl oauth:reddit\f[])
12903
12904
12905 .SS extractor.smugmug.api-key & .api-secret
12906 .IP "Type:" 6
12907 \f[I]string\f[]
12908
12909 .IP "How To:" 4
12910 .br
12911 * login and \f[I]Apply for an API Key\f[]
12912 .br
12913 * fill out the form:
12914
12915 .br
12916 * choose a random name and description
12917 .br
12918 * set "Type" to "Application"
12919 .br
12920 * set "Platform" to "All"
12921 .br
12922 * set "Use" to "Non-Commercial"
12923 .br
12924 * tick the two checkboxes at the bottom
12925 .br
12926 * click "Apply"
12927
12928 .br
12929 * copy \f[I]API Key\f[] and \f[I]API Secret\f[]
12930 and put them in your configuration file
12931 as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[]
12932
12933
12934 .SS extractor.tumblr.api-key & .api-secret
12935 .IP "Type:" 6
12936 \f[I]string\f[]
12937
12938 .IP "How To:" 4
12939 .br
12940 * login and visit Tumblr's
12941 \f[I]Applications\f[] section
12942 .br
12943 * click "Register application"
12944 .br
12945 * fill out the form:
12946
12947 .br
12948 * choose a random name and description
12949 .br
12950 * set "Application Website" to https://example.org/
12951 .br
12952 * set "Default callback URL" to https://example.org/
12953 .br
12954 * solve the "I'm not a robot" challenge
12955 .br
12956 * click "Register"
12957
12958 .br
12959 * click "Show secret key" (below "OAuth Consumer Key")
12960 .br
12961 * copy your \f[I]OAuth Consumer Key\f[] and \f[I]Secret Key\f[]
12962 and put them in your configuration file
12963 as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[]
12964
12965
12966 .SH CUSTOM TYPES
12967 .SS Date
12968 .IP "Type:" 6
12969 .br
12970 * \f[I]string\f[]
12971 .br
12972 * \f[I]integer\f[]
12973
12974 .IP "Example:" 4
12975 .br
12976 * "2019-01-01"
12977 .br
12978 * "2019-01-01 03:00:00"
12979 .br
12980 * "2019-03-08T12:30:00Z"
12981 .br
12982 * 1546297200
12983
12984 .IP "Description:" 4
12985 A \f[I]Date\f[] value represents a specific point in time.
12986
12987 .br
12988 * If given as \f[I]string\f[], it is parsed according to \f[I]ISO 8601\f[].
12989 .br
12990 * If given as \f[I]integer\f[], it is interpreted as UTC timestamp.
12991
12992
12993 .SS Duration
12994 .IP "Type:" 6
12995 .br
12996 * \f[I]float\f[]
12997 .br
12998 * \f[I]list\f[] with 2 \f[I]floats\f[]
12999 .br
13000 * \f[I]string\f[]
13001
13002 .IP "Example:" 4
13003 .br
13004 * 2.85
13005 .br
13006 * [1.5, 3.0]
13007 .br
13008 * "2.85", "1.5-3.0"
13009
13010 .IP "Description:" 4
13011 A \f[I]Duration\f[] represents a span of time in seconds.
13012
13013 .br
13014 * If given as a single \f[I]float\f[], it will be used as that exact value.
13015 .br
13016 * If given as a \f[I]list\f[] with 2 floating-point numbers \f[I]a\f[] & \f[I]b\f[] ,
13017 it will be randomly chosen with uniform distribution such that \f[I]a <= N <= b\f[].
13018 (see \f[I]random.uniform()\f[])
13019 .br
13020 * If given as a \f[I]string\f[], it can either represent a single \f[I]float\f[]
13021 value (\f[I]"2.85"\f[]) or a range (\f[I]"1.5-3.0"\f[]).
13022
13023
13024 .SS Duration+
13025 .IP "Type:" 6
13026 .br
13027 * \f[I]Duration\f[]
13028 .br
13029 * \f[I]string\f[]
13030
13031 .IP "Example:" 4
13032 .br
13033 * "1.5-3.0"
13034 .br
13035 * "lin=5"
13036 .br
13037 * "lin:20=30-60"
13038 .br
13039 * "exp:1.8=40"
13040
13041 .IP "Description:" 4
13042 A \f[I]Duration\f[] value.
13043
13044 When given as \f[I]string\f[], it can optionally be prefixed with
13045 \f[I]lin[:START[:MAX]]=\f[] for linear or
13046 \f[I]exp[:BASE[:START[:MAX]]]=\f[] for exponential growth.
13047
13048
13049 .SS Module
13050 .IP "Type:" 6
13051 .br
13052 * \f[I]string\f[]
13053 .br
13054 * \f[I]Path\f[]
13055
13056 .IP "Example:" 4
13057 .br
13058 * "gdl_utils"
13059 .br
13060 * "~/.local/share/gdl/"
13061 .br
13062 * "~/.local/share/gdl_utils.py"
13063
13064 .IP "Description:" 4
13065 A Python
13066 \f[I]Module\f[]
13067
13068 This can be one of
13069
13070 .br
13071 * the name of an
13072 \f[I]importable\f[]
13073 Python module
13074 .br
13075 * the \f[I]Path\f[] to a Python
13076 \f[I]package\f[]
13077 .br
13078 * the \f[I]Path\f[] to a .py file
13079
13080 See
13081 \f[I]Python/Modules\f[]
13082 for details.
13083
13084
13085 .SS Path
13086 .IP "Type:" 6
13087 \f[I]string\f[]
13088
13089 .IP "Example:" 4
13090 .br
13091 * "file.ext"
13092 .br
13093 * "~/path/to/file.ext"
13094 .br
13095 * "$HOME/path/to/file.ext"
13096 .br
13097 * "C:\\\\path\\\\to\\\\file.ext"
13098
13099 .IP "Description:" 4
13100 A \f[I]Path\f[] is a \f[I]string\f[] representing the location
13101 of a file or directory.
13102
13103 Simple \f[I]tilde expansion\f[]
13104 and \f[I]environment variable expansion\f[]
13105 is supported.
13106
13107 .IP "Note:" 4
13108 In Windows environments,
13109 both backslashes \f[I]\\\f[] as well as forward slashes \f[I]/\f[]
13110 can be used as path separators.
13111
13112 However, since backslashes are JSON's escape character,
13113 they themselves must be escaped as \f[I]\\\\\f[].
13114
13115 For example, a path like \f[I]C:\\path\\to\\file.ext\f[] has to be specified as
13116
13117 .br
13118 * \f[I]"C:\\\\path\\\\to\\\\file.ext"\f[] when using backslashes
13119 .br
13120 * \f[I]"C:/path/to/file.ext"\f[] when using forward slashes
13121
13122 in a JSON file.
13123
13124
13125 .SS Path+
13126 .IP "Type:" 6
13127 .br
13128 * \f[I]Path\f[]
13129 .br
13130 * \f[I]list\f[] of \f[I]Format Strings\f[]
13131
13132 .IP "Example:" 4
13133 .br
13134 * "file.ext"
13135 .br
13136 * [":b", "{category}", "{user}.sqlite3"]
13137 .br
13138 * [":~", "gdl", "{category}", "{user}.sqlite3"]
13139 .br
13140 * [":$HOME", "gdl", "{category}", "{user}.sqlite3"]
13141 .br
13142 * ["/opt", "archives", "{category}", "{user}.sqlite3"]
13143 .br
13144 * ["C:", "archives", "{category}", "{user}.sqlite3"]
13145 .br
13146 * ["\\\\\\\\server\\\\archives", "{category}", "{user}.sqlite3"]
13147
13148 .IP "Description:" 4
13149 A \f[I]Path\f[] that supports
13150 \f[I]path-restricted\f[]
13151 \f[I]Format String\f[] expansion
13152 when given as a \f[I]list\f[] of \f[I]string\f[] values.
13153
13154 Use a string starting with \f[I]:\f[] as first list element
13155 to prefix the path with one of the following:
13156
13157 \f[I]":"\f[] \f[I] \f[I]":b"\f[] \f[] \f[I]":base"\f[]
13158 \f[I]base-directory\f[]
13159 \f[I]":d"\f[] \f[I] \f[I]":dir"\f[]
13160 \f[I]base-directory\f[] +
13161 \f[I]directory\f[]
13162 \f[I]":~"\f[] \f[] \f[I]":~USER"\f[]
13163 home directory
13164 (\f[I]os.path.expanduser\f[])
13165 \f[I]":$ENV"\f[] (\f[I]$\f[] + environment variable name)
13166 value of environment variable
13167
13168 Use \f[I]<drive-letter>:\f[] or \f[I]\\\\\f[] on Windows
13169 or \f[I]/\f[] on other platforms
13170 as starting characters of the first list element
13171 to interpret this as an absolute path.
13172
13173 Otherwise it is interpreted as a path
13174 relative to the current working directory.
13175
13176
13177 .SS Logging Configuration
13178 .IP "Type:" 6
13179 \f[I]object\f[]
13180
13181 .IP "Example:" 4
13182 .. code:: json
13183
13184 {
13185 "format" : "{asctime} {name}: {message}",
13186 "format-date": "%H:%M:%S",
13187 "path" : "~/log.txt",
13188 "encoding" : "ascii",
13189 "defer" : true
13190 }
13191
13192 .. code:: json
13193
13194 {
13195 "level" : "debug",
13196 "format": {
13197 "debug" : "debug: {message}",
13198 "info" : "[{name}] {message}",
13199 "warning": "Warning: {message}",
13200 "error" : "ERROR: {message}"
13201 }
13202 }
13203
13204
13205 .IP "Description:" 4
13206 Extended logging output configuration.
13207
13208 .br
13209 * format
13210 .br
13211 * General \f[I]Format String\f[] for logging messages
13212 or an \f[I]object\f[] with \f[I]Format Strings\f[] for each loglevel.
13213
13214 In addition to the default
13215 \f[I]LogRecord attributes\f[],
13216 it is also possible to access the current
13217 \f[I]extractor\f[],
13218 \f[I]job\f[],
13219 \f[I]path\f[],
13220 and keywords objects and their attributes, for example
13221 \f[I]"{extractor.url}"\f[], \f[I]"{path.filename}"\f[], \f[I]"{keywords.title}"\f[]
13222 .br
13223 * Default:
13224 \f[I]"[{name}][{levelname}] {message}"\f[] for
13225 \f[I]logfile\f[],
13226 \f[I]"{message}"\f[] for
13227 \f[I]unsupportedfile\f[] and
13228 \f[I]errorfile\f[]
13229 .br
13230 * format-date
13231 .br
13232 * Format string for \f[I]{asctime}\f[] fields in logging messages
13233 (see \f[I]strftime() directives\f[])
13234 .br
13235 * Default: \f[I]"%Y-%m-%d %H:%M:%S"\f[]
13236 .br
13237 * level
13238 .br
13239 * Minimum logging message level
13240 (one of \f[I]"debug"\f[], \f[I]"info"\f[], \f[I]"warning"\f[], \f[I]"error"\f[], \f[I]"exception"\f[])
13241 .br
13242 * Default: \f[I]"info"\f[]
13243 .br
13244 * path
13245 .br
13246 * \f[I]Path\f[] to the output file
13247 .br
13248 * mode
13249 .br
13250 * Mode in which the file is opened;
13251 use \f[I]"w"\f[] to truncate or \f[I]"a"\f[] to append
13252 (see \f[I]open()\f[])
13253 .br
13254 * Default:
13255 \f[I]"w"\f[] for
13256 \f[I]logfile\f[] and
13257 \f[I]unsupportedfile\f[],
13258 \f[I]"a"\f[] for
13259 \f[I]errorfile\f[]
13260 .br
13261 * encoding
13262 .br
13263 * File encoding
13264 .br
13265 * Default: \f[I]"utf-8"\f[]
13266 .br
13267 * defer
13268 .br
13269 * Defer file opening/creation until writing the first logging message
13270 .br
13271 * Default:
13272 \f[I]false\f[] for
13273 \f[I]logfile\f[],
13274 \f[I]true\f[] for
13275 \f[I]unsupportedfile\f[] and
13276 \f[I]errorfile\f[]
13277
13278
13279 .IP "Note:" 4
13280 path, mode, encoding, and defer
13281 are only applied when configuring logging output to a file.
13282 (See \f[I]logging.FileHandler\f[])
13283
13284
13285 .SS Postprocessor Configuration
13286 .IP "Type:" 6
13287 \f[I]object\f[]
13288
13289 .IP "Example:" 4
13290 .. code:: json
13291
13292 { "name": "mtime" }
13293
13294 .. code:: json
13295
13296 {
13297 "name" : "metadata/print@prepare",
13298 "format": "{id}: {date}"
13299 }
13300
13301 .. code:: json
13302
13303 {
13304 "name" : "zip",
13305 "compression": "store",
13306 "extension" : "cbz",
13307 "filter" : "extension not in ('zip', 'rar')",
13308 "whitelist" : ["mangadex", "exhentai", "nhentai"]
13309 }
13310
13311 .IP "Description:" 4
13312 An \f[I]object\f[] containing a \f[I]"name"\f[] attribute specifying the
13313 post-processor type, as well as any of its \f[I]options\f[].
13314
13315 .br
13316 * It is possible to set a \f[I]"filter"\f[] \f[I]Condition\f[] similar to
13317 \f[I]file-filter\f[]
13318 to only run a post-processor conditionally.
13319
13320 .br
13321 * It is possible set a \f[I]"whitelist"\f[] or \f[I]"blacklist"\f[] to
13322 only enable or disable a post-processor for the specified
13323 extractor categories.
13324
13325 .br
13326 * It is possible to specify a post-processor's \f[I]mode\f[] & \f[I]event\f[]
13327 as part of its \f[I]name\f[] by adding \f[I]/MODE\f[] & \f[I]@EVENT\f[].
13328 For example
13329
13330 .br
13331 * \f[I]"name": "metadata/jsonl@post"\f[]
13332 .br
13333 * \f[I]"name": "ugoira/archive"\f[]
13334 .br
13335 * \f[I]"name": "exec@error"\f[]
13336
13337 .br
13338 * It is possible to inherit options from a post-processor preset defined
13339 in the global \f[I]postprocessor\f[] block by using \f[I]"type": "NAME"\f[].
13340 For example
13341
13342 .. code:: json
13343
13344 {
13345 "extractor": {
13346 "postprocessors": {
13347 "#": "inherit from 'jl' preset",
13348 "type": "jl",
13349 "filename": "meta.jsonl"
13350 }
13351 },
13352
13353 "postprocessor": {
13354 "jl": {
13355 "name": "metadata/jsonl",
13356 "open": "a"
13357 }
13358 }
13359 }
13360
13361 .IP "Available Post-Processor Types:" 4
13362 \f[I]actions\f[]
13363 Perform \f[I]Action(s)\f[]
13364 \f[I]classify\f[]
13365 Categorize files by filename extension
13366 \f[I]compare\f[]
13367 Compare versions of the same file and replace/enumerate them on mismatch
13368 .br
13369 (requires \f[I]downloader.*.part\f[] = \f[I]true\f[] and \f[I]extractor.*.skip\f[] = \f[I]false\f[])
13370 .br
13371 \f[I]directory\f[]
13372 Reevaluate \f[I]directory\f[] \f[I]Format Strings\f[]
13373 \f[I]exec\f[]
13374 Execute external commands
13375 \f[I]hash\f[]
13376 Compute file hash digests
13377 \f[I]metadata\f[]
13378 Write metadata to separate files
13379 \f[I]mtime\f[]
13380 Set file modification time according to its metadata
13381 \f[I]python\f[]
13382 Call Python functions
13383 \f[I]rename\f[]
13384 Rename previously downloaded files
13385 \f[I]ugoira\f[]
13386 Convert Pixiv Ugoira to WebM using \f[I]ffmpeg\f[]
13387 \f[I]zip\f[]
13388 Store files in a ZIP archive
13389
13390
13391 .SS Action
13392 .IP "Type:" 6
13393 \f[I]string\f[]
13394
13395 .IP "Example:" 4
13396 .br
13397 * "exit"
13398 .br
13399 * "print Hello World"
13400 .br
13401 * "raise AbortExtraction an error occured"
13402 .br
13403 * "flag file = terminate"
13404 .br
13405 * "keyword title Hello World"
13406 .br
13407 * ["print Exiting", "exit 1"]
13408
13409 .IP "Description:" 4
13410 An \f[I]Action\f[] is parsed as Action Type
13411 followed by (optional) arguments:
13412 \f[I]<type> <arg1> <arg2> …\f[]
13413
13414 It is possible to specify more than one \f[I]action\f[]
13415 by providing them as a \f[I]list\f[]: \f[I]["<action1>", "<action2>", …]\f[]
13416
13417 Supported Action Types:
13418
13419 \f[I]status\f[]:
13420 Modify job exit status.
13421 .br
13422 Expected syntax is \f[I]<operator> <value>\f[] (e.g. \f[I]= 100\f[]).
13423 .br
13424
13425 Supported operators are
13426 \f[I]=\f[] (assignment),
13427 \f[I]&\f[] (bitwise AND),
13428 \f[I]|\f[] (bitwise OR),
13429 \f[I]^\f[] (bitwise XOR).
13430 \f[I]level\f[]:
13431 Modify severity level of the current logging message.
13432 .br
13433 Can be one of \f[I]debug\f[], \f[I]info\f[], \f[I]warning\f[], \f[I]error\f[] or an integer value.
13434 .br
13435 Use \f[I]0\f[] to ignore a message (\f[I]level = 0\f[]).
13436 .br
13437 \f[I]print\f[]:
13438 Write argument to stdout.
13439 \f[I]exec\f[]:
13440 Run a shell command.
13441 \f[I]abort\f[]:
13442 Stop the current extractor run.
13443 \f[I]terminate\f[]:
13444 Stop the current extractor run, including parent extractors.
13445 \f[I]restart\f[]:
13446 Restart the current extractor run.
13447 \f[I]raise\f[]:
13448 Raise an exception.
13449
13450 This can be an exception defined in
13451 \f[I]exception.py\f[]
13452 or a
13453 \f[I]built-in exception\f[]
13454 (e.g. \f[I]ZeroDivisionError\f[])
13455 \f[I]flag\f[]:
13456 Set a \f[I]flag\f[].
13457
13458 Expected syntax is \f[I]<flag>[ = <value>]\f[] (e.g. \f[I]post = stop\f[])
13459 .br
13460 \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[]
13461 .br
13462 \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[])
13463 .br
13464 \f[I]keyword\f[]:
13465 Set a \f[I]keyword\f[] value
13466 \f[I]wait\f[]:
13467 Sleep for a given \f[I]Duration\f[] or
13468 .br
13469 wait until Enter is pressed when no argument was given.
13470 .br
13471 \f[I]exit\f[]:
13472 Exit the program with the given argument as exit status.
13473
13474
13475 .SS Expression
13476 .IP "Type:" 6
13477 \f[I]string\f[]
13478
13479 .IP "Example:" 4
13480 .br
13481 * "1 + 2 + 3"
13482 .br
13483 * "str(id) + '_' + title"
13484 .br
13485 * "' - '.join(tags[:3]) if tags else 'no tags'"
13486
13487 .IP "Description:" 4
13488 A Python \f[I]Expression\f[] is a combination of
13489 values, variables, operators, and function calls
13490 that evaluate to a single value.
13491
13492 .IP "Reference:" 4
13493 .br
13494 * https://docs.python.org/3/reference/expressions.html
13495
13496
13497 .SS Condition
13498 .IP "Type:" 6
13499 .br
13500 * \f[I]Expression\f[]
13501 .br
13502 * \f[I]list\f[] of \f[I]Expressions\f[]
13503
13504 .IP "Example:" 4
13505 .br
13506 * "not is_watching"
13507 .br
13508 * "locals().get('optional')"
13509 .br
13510 * "date >= datetime(2025, 7, 1) or abort()"
13511 .br
13512 * ["width > 800", "0.9 < width/height < 1.1"]
13513
13514 .IP "Description:" 4
13515 A \f[I]Condition\f[] is an \f[I]Expression\f[]
13516 whose result is evaluated as a \f[I]type-bool\f[] value.
13517
13518
13519 .SS Format String
13520 .IP "Type:" 6
13521 \f[I]string\f[]
13522
13523 .IP "Example:" 4
13524 .br
13525 * "foo"
13526 .br
13527 * "{username}"
13528 .br
13529 * "{title} ({id}).{extension}"
13530 .br
13531 * "\\fF {title.title()} ({num:>0{len(str(count))}} / {count}).{extension}"
13532
13533 .IP "Description:" 4
13534 A \f[I]Format String\f[] allows creating dynamic text
13535 by embedding metadata values directly into replacement fields
13536 marked by curly braces \f[I]{...}\f[].
13537
13538 .IP "Reference:" 4
13539 .br
13540 * \f[I]docs/formatting\f[]
13541 .br
13542 * https://docs.python.org/3/library/string.html#formatstrings
13543 .br
13544 * https://docs.python.org/3/library/string.html#formatspec
13545
13546
13547
13548 .SH BUGS
13549 https://codeberg.org/mikf/gallery-dl/issues
13550 https://github.com/mikf/gallery-dl/issues
13551
13552 .SH AUTHORS
13553 Mike Fährmann <[email protected]>
13554 .br
13555 and https://github.com/mikf/gallery-dl/graphs/contributors
13556
13557 .SH "SEE ALSO"
13558 .BR gallery-dl (1)