| 1 |
.TH "GALLERY-DL.CONF" "5" "2026-09-04" "1.32.11" "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.*.parent |
| 251 |
.IP "Type:" 6 |
| 252 |
\f[I]bool\f[] |
| 253 |
|
| 254 |
.IP "Default:" 9 |
| 255 |
\f[I]true\f[] |
| 256 |
\f[I][chevereto]\f[] \f[I] |
| 257 |
\f[I]erome\f[] \f[] |
| 258 |
\f[I][imagehost]\f[] | |
| 259 |
\f[I]urlgalleries\f[] |
| 260 |
\f[I]false\f[] |
| 261 |
otherwise |
| 262 |
|
| 263 |
.IP "Description:" 4 |
| 264 |
Mark an extractor as a parent and enable |
| 265 |
|
| 266 |
.br |
| 267 |
* \f[I]parent-directory\f[] |
| 268 |
.br |
| 269 |
* \f[I]parent-metadata \f[] |
| 270 |
.br |
| 271 |
* \f[I]parent-session \f[] |
| 272 |
.br |
| 273 |
* \f[I]parent-skip \f[] |
| 274 |
|
| 275 |
for it by default. |
| 276 |
|
| 277 |
|
| 278 |
.SS extractor.*.parent-directory |
| 279 |
.IP "Type:" 6 |
| 280 |
\f[I]bool\f[] |
| 281 |
|
| 282 |
.IP "Default:" 9 |
| 283 |
\f[I]extractor.parent\f[] |
| 284 |
|
| 285 |
.IP "Description:" 4 |
| 286 |
Use an extractor's current target directory as |
| 287 |
\f[I]base-directory\f[] for any spawned child extractors. |
| 288 |
|
| 289 |
|
| 290 |
.SS extractor.*.parent-metadata |
| 291 |
.IP "Type:" 6 |
| 292 |
.br |
| 293 |
* \f[I]bool\f[] |
| 294 |
.br |
| 295 |
* \f[I]string\f[] |
| 296 |
|
| 297 |
.IP "Default:" 9 |
| 298 |
\f[I]true\f[] |
| 299 |
\f[I]extractor.parent\f[] |
| 300 |
\f[I]"_parent"\f[] |
| 301 |
otherwise |
| 302 |
|
| 303 |
.IP "Description:" 4 |
| 304 |
Forward a parent's metadata to its child extractors. |
| 305 |
|
| 306 |
If this is a \f[I]string\f[], add a parent's metadata to its children's |
| 307 |
.br |
| 308 |
to a field named after said string. |
| 309 |
For example with \f[I]"parent-metadata": "_p_"\f[]: |
| 310 |
.br |
| 311 |
|
| 312 |
.. code:: json |
| 313 |
|
| 314 |
{ |
| 315 |
"id": "child-id", |
| 316 |
"_p_": {"id": "parent-id"} |
| 317 |
} |
| 318 |
|
| 319 |
|
| 320 |
.SS extractor.*.parent-session |
| 321 |
.IP "Type:" 6 |
| 322 |
\f[I]bool\f[] |
| 323 |
|
| 324 |
.IP "Default:" 9 |
| 325 |
\f[I]extractor.parent\f[] |
| 326 |
|
| 327 |
.IP "Description:" 4 |
| 328 |
Share a parent's |
| 329 |
\f[I]session\f[] |
| 330 |
with its child extractors, including |
| 331 |
\f[I]cookies\f[], |
| 332 |
\f[I]headers\f[], |
| 333 |
and other networking settings. |
| 334 |
|
| 335 |
|
| 336 |
.SS extractor.*.parent-skip |
| 337 |
.IP "Type:" 6 |
| 338 |
\f[I]bool\f[] |
| 339 |
|
| 340 |
.IP "Default:" 9 |
| 341 |
\f[I]extractor.parent\f[] |
| 342 |
|
| 343 |
.IP "Description:" 4 |
| 344 |
Share number of skipped downloads between parent and child extractors. |
| 345 |
|
| 346 |
|
| 347 |
.SS extractor.*.path-restrict |
| 348 |
.IP "Type:" 6 |
| 349 |
.br |
| 350 |
* \f[I]string\f[] |
| 351 |
.br |
| 352 |
* \f[I]object\f[] (character → replacement character(s)) |
| 353 |
|
| 354 |
.IP "Default:" 9 |
| 355 |
\f[I]"auto"\f[] |
| 356 |
|
| 357 |
.IP "Example:" 4 |
| 358 |
.br |
| 359 |
* "/!? (){}" |
| 360 |
.br |
| 361 |
* {"/": "_", "+": "_+_", "({[": "(", "]})": ")", "a-z": "*"} |
| 362 |
|
| 363 |
.IP "Description:" 4 |
| 364 |
A \f[I]string\f[] of characters to be replaced with the value of |
| 365 |
.br |
| 366 |
\f[I]path-replace\f[] |
| 367 |
or an \f[I]object\f[] mapping invalid/unwanted characters, character sets, |
| 368 |
.br |
| 369 |
or character ranges to their replacements |
| 370 |
for generated path segment names. |
| 371 |
.br |
| 372 |
|
| 373 |
.IP "Special Values:" 4 |
| 374 |
\f[I]"auto"\f[] |
| 375 |
Use characters from \f[I]"unix"\f[] or \f[I]"windows"\f[] |
| 376 |
depending on the local operating system |
| 377 |
\f[I]"unix"\f[] |
| 378 |
\f[I]"/"\f[] |
| 379 |
\f[I]"windows"\f[] |
| 380 |
\f[I]"\\\\\\\\\f[I]/<>:\\"?*"\f[] |
| 381 |
.br |
| 382 |
(https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file) |
| 383 |
.br |
| 384 |
\f[I]"windows+"\f[] |
| 385 |
\f[I]{"\\\\": "⧹", "\f[]": "|", "/": "⧸", "<": "<", ">": ">", ":": ":", "\\"": """, "?": "?", "*": "*"}\f[] |
| 386 |
.br |
| 387 |
(replace characters not allowed by Windows with Unicode alternatives) |
| 388 |
.br |
| 389 |
\f[I]"ascii"\f[] |
| 390 |
\f[I]"^0-9A-Za-z_."\f[] |
| 391 |
.br |
| 392 |
(only ASCII digits, letters, underscores, and dots) |
| 393 |
.br |
| 394 |
\f[I]"ascii+"\f[] |
| 395 |
\f[I]"^0-9@-[\\\\]-{ #-)+-.;=!}~"\f[] |
| 396 |
.br |
| 397 |
(all ASCII characters except the ones not allowed by Windows) |
| 398 |
.br |
| 399 |
|
| 400 |
.IP "Implementation Detail:" 4 |
| 401 |
For \f[I]strings\f[] with length >= 2, this option uses a |
| 402 |
\f[I]Regular Expression Character Set\f[], |
| 403 |
meaning that: |
| 404 |
|
| 405 |
.br |
| 406 |
* Using a caret \f[I]^\f[] as first character inverts the set |
| 407 |
(\f[I]"^..."\f[]) |
| 408 |
.br |
| 409 |
* Character ranges are supported |
| 410 |
(\f[I]"0-9a-z"\f[]) |
| 411 |
.br |
| 412 |
* \f[I]]\f[], \f[I]-\f[], and \f[I]\\\f[] need to be escaped as |
| 413 |
\f[I]\\\\]\f[], \f[I]\\\\-\f[], and \f[I]\\\\\\\\\f[] respectively |
| 414 |
to use them as literal characters |
| 415 |
|
| 416 |
|
| 417 |
.SS extractor.*.path-replace |
| 418 |
.IP "Type:" 6 |
| 419 |
\f[I]string\f[] |
| 420 |
|
| 421 |
.IP "Default:" 9 |
| 422 |
\f[I]"_"\f[] |
| 423 |
|
| 424 |
.IP "Description:" 4 |
| 425 |
The replacement character(s) for |
| 426 |
\f[I]path-restrict\f[] |
| 427 |
|
| 428 |
|
| 429 |
.SS extractor.*.path-remove |
| 430 |
.IP "Type:" 6 |
| 431 |
\f[I]string\f[] |
| 432 |
|
| 433 |
.IP "Default:" 9 |
| 434 |
\f[I]"\\u0000-\\u001f\\u007f"\f[] (ASCII control characters) |
| 435 |
|
| 436 |
.IP "Description:" 4 |
| 437 |
Set of characters to remove from generated path names. |
| 438 |
|
| 439 |
.IP "Note:" 4 |
| 440 |
In a string with 2 or more characters, \f[I][]^-\\\f[] need to be |
| 441 |
escaped with backslashes, e.g. \f[I]"\\\\[\\\\]"\f[] |
| 442 |
|
| 443 |
|
| 444 |
.SS extractor.*.path-strip |
| 445 |
.IP "Type:" 6 |
| 446 |
\f[I]string\f[] |
| 447 |
|
| 448 |
.IP "Default:" 9 |
| 449 |
\f[I]"auto"\f[] |
| 450 |
|
| 451 |
.IP "Description:" 4 |
| 452 |
Set of characters to remove from the end of generated path segment names |
| 453 |
using \f[I]str.rstrip()\f[] |
| 454 |
|
| 455 |
.IP "Special Values:" 4 |
| 456 |
\f[I]"auto"\f[] |
| 457 |
Use characters from \f[I]"unix"\f[] or \f[I]"windows"\f[] |
| 458 |
depending on the local operating system |
| 459 |
\f[I]"unix"\f[] |
| 460 |
\f[I]""\f[] |
| 461 |
\f[I]"windows"\f[] |
| 462 |
\f[I]". "\f[] |
| 463 |
|
| 464 |
|
| 465 |
.SS extractor.*.path-convert |
| 466 |
.IP "Type:" 6 |
| 467 |
\f[I]Conversion(s)\f[] |
| 468 |
|
| 469 |
.IP "Example:" 4 |
| 470 |
.br |
| 471 |
* "g" |
| 472 |
.br |
| 473 |
* "Wl" |
| 474 |
|
| 475 |
.IP "Description:" 4 |
| 476 |
\f[I]Conversion(s)\f[] to apply to each path segment after |
| 477 |
\f[I]path-restrict\f[] |
| 478 |
replacements. |
| 479 |
|
| 480 |
|
| 481 |
.SS extractor.*.path-extended |
| 482 |
.IP "Type:" 6 |
| 483 |
\f[I]bool\f[] |
| 484 |
|
| 485 |
.IP "Default:" 9 |
| 486 |
\f[I]true\f[] |
| 487 |
|
| 488 |
.IP "Description:" 4 |
| 489 |
On Windows, use \f[I]extended-length paths\f[] |
| 490 |
prefixed with \f[I]\\\\?\\\f[] to work around the 260 characters path length limit. |
| 491 |
|
| 492 |
|
| 493 |
.SS extractor.*.extension-map |
| 494 |
.IP "Type:" 6 |
| 495 |
\f[I]object\f[] (extension → replacement) |
| 496 |
|
| 497 |
.IP "Default:" 9 |
| 498 |
.. code:: json |
| 499 |
|
| 500 |
{ |
| 501 |
"jpeg": "jpg", |
| 502 |
"jpe" : "jpg", |
| 503 |
"jfif": "jpg", |
| 504 |
"jif" : "jpg", |
| 505 |
"jfi" : "jpg", |
| 506 |
"html": "htm" |
| 507 |
} |
| 508 |
|
| 509 |
.IP "Description:" 4 |
| 510 |
A JSON \f[I]object\f[] mapping filename extensions to their replacements. |
| 511 |
|
| 512 |
|
| 513 |
.SS extractor.*.skip |
| 514 |
.IP "Type:" 6 |
| 515 |
.br |
| 516 |
* \f[I]bool\f[] |
| 517 |
.br |
| 518 |
* \f[I]string\f[] |
| 519 |
|
| 520 |
.IP "Default:" 9 |
| 521 |
\f[I]true\f[] |
| 522 |
|
| 523 |
.IP "Example:" 4 |
| 524 |
.br |
| 525 |
* "abort:5" |
| 526 |
.br |
| 527 |
* "abort:5:2" |
| 528 |
.br |
| 529 |
* "abort:5:manga" |
| 530 |
.br |
| 531 |
* "terminate:3" |
| 532 |
|
| 533 |
.IP "Description:" 4 |
| 534 |
Controls the behavior when downloading files that have been |
| 535 |
downloaded before, i.e. a file with the same filename already |
| 536 |
exists or its ID is in a \f[I]download archive\f[]. |
| 537 |
|
| 538 |
\f[I]true\f[] |
| 539 |
Skip downloads |
| 540 |
\f[I]false\f[] |
| 541 |
Overwrite already existing files |
| 542 |
|
| 543 |
\f[I]"abort"\f[] |
| 544 |
Stop the current extractor |
| 545 |
\f[I]"abort:N"\f[] |
| 546 |
Skip downloads and |
| 547 |
stop the current extractor after \f[I]N\f[] consecutive skips |
| 548 |
\f[I]"abort:N:L"\f[] |
| 549 |
Skip downloads and |
| 550 |
.br |
| 551 |
stop the current extractor after \f[I]N\f[] consecutive skips |
| 552 |
Ascend \f[I]L\f[] levels in the extractor hierarchy |
| 553 |
.br |
| 554 |
\f[I]"abort:N:SC"\f[] |
| 555 |
Skip downloads and |
| 556 |
.br |
| 557 |
stop the current extractor after \f[I]N\f[] consecutive skips |
| 558 |
Ascend to an extractor with subcategory \f[I]SC\f[] in the extractor hierarchy |
| 559 |
.br |
| 560 |
|
| 561 |
\f[I]"terminate"\f[] |
| 562 |
Stop the current extractor, including parent extractors |
| 563 |
\f[I]"terminate:N"\f[] |
| 564 |
Skip downloads and |
| 565 |
stop the current extractor, including parent extractors, |
| 566 |
after \f[I]N\f[] consecutive skips |
| 567 |
|
| 568 |
\f[I]"exit"\f[] |
| 569 |
Exit the program altogether |
| 570 |
\f[I]"exit:N"\f[] |
| 571 |
Skip downloads and |
| 572 |
exit the program after \f[I]N\f[] consecutive skips |
| 573 |
|
| 574 |
\f[I]"enumerate"\f[] |
| 575 |
Add an enumeration index to the beginning of the |
| 576 |
filename extension (\f[I]file.1.ext\f[], \f[I]file.2.ext\f[], etc.) |
| 577 |
|
| 578 |
|
| 579 |
.SS extractor.*.skip-filter |
| 580 |
.IP "Type:" 6 |
| 581 |
\f[I]Condition\f[] |
| 582 |
|
| 583 |
.IP "Description:" 4 |
| 584 |
Python \f[I]Expression\f[] controlling which skipped files to count towards |
| 585 |
\f[I]"abort"\f[] / \f[I]"terminate"\f[] / \f[I]"exit"\f[]. |
| 586 |
|
| 587 |
|
| 588 |
.SS extractor.*.sleep |
| 589 |
.IP "Type:" 6 |
| 590 |
\f[I]Duration\f[] |
| 591 |
|
| 592 |
.IP "Default:" 9 |
| 593 |
\f[I]5.0\f[] |
| 594 |
\f[I]animepictures\f[] |
| 595 |
\f[I]0\f[] |
| 596 |
otherwise |
| 597 |
|
| 598 |
.IP "Description:" 4 |
| 599 |
Number of seconds to sleep before each download. |
| 600 |
|
| 601 |
|
| 602 |
.SS extractor.*.sleep-skip |
| 603 |
.IP "Type:" 6 |
| 604 |
\f[I]Duration\f[] |
| 605 |
|
| 606 |
.IP "Default:" 9 |
| 607 |
\f[I]0\f[] |
| 608 |
|
| 609 |
.IP "Description:" 4 |
| 610 |
Number of seconds to sleep after |
| 611 |
\f[I]skipping\f[] |
| 612 |
a file download. |
| 613 |
|
| 614 |
|
| 615 |
.SS extractor.*.sleep-extractor |
| 616 |
.IP "Type:" 6 |
| 617 |
\f[I]Duration\f[] |
| 618 |
|
| 619 |
.IP "Default:" 9 |
| 620 |
\f[I]0\f[] |
| 621 |
|
| 622 |
.IP "Description:" 4 |
| 623 |
Number of seconds to sleep before handling an input URL, |
| 624 |
i.e. before starting a new extractor. |
| 625 |
|
| 626 |
|
| 627 |
.SS extractor.*.sleep-retries |
| 628 |
.IP "Type:" 6 |
| 629 |
\f[I]Duration+\f[] |
| 630 |
|
| 631 |
.IP "Default:" 9 |
| 632 |
\f[I]"lin=1"\f[] |
| 633 |
|
| 634 |
.IP "Example:" 4 |
| 635 |
.br |
| 636 |
* "30-50" |
| 637 |
.br |
| 638 |
* "exp=40" |
| 639 |
.br |
| 640 |
* "lin:20=30-60" |
| 641 |
|
| 642 |
.IP "Description:" 4 |
| 643 |
Number of seconds to sleep before |
| 644 |
\f[I]retrying\f[] |
| 645 |
an HTTP request. |
| 646 |
|
| 647 |
If this is a \f[I]string\f[], its \f[I]Duration\f[] value can be prefixed with |
| 648 |
\f[I]lin[:START[:MAX]]\f[] for linear or |
| 649 |
\f[I]exp[:BASE[:START[:MAX]]]\f[] for exponential growth. |
| 650 |
|
| 651 |
.IP "Note:" 4 |
| 652 |
\f[I]lin\f[] and \f[I]exp\f[] can be any starting characters of |
| 653 |
.br |
| 654 |
\f[I]linear\f[] and \f[I]exponential\f[]. |
| 655 |
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[]. |
| 656 |
.br |
| 657 |
|
| 658 |
|
| 659 |
.SS extractor.*.sleep-429 |
| 660 |
.IP "Type:" 6 |
| 661 |
\f[I]Duration+\f[] |
| 662 |
|
| 663 |
.IP "Default:" 9 |
| 664 |
\f[I]60\f[] |
| 665 |
|
| 666 |
.IP "Example:" 4 |
| 667 |
.br |
| 668 |
* "30-50" |
| 669 |
.br |
| 670 |
* "e=40" |
| 671 |
.br |
| 672 |
* "linear:20=30-60" |
| 673 |
|
| 674 |
.IP "Description:" 4 |
| 675 |
Number of seconds to sleep when receiving a |
| 676 |
\f[I]429 Too Many Requests\f[] |
| 677 |
response before \f[I]retrying\f[] the request. |
| 678 |
|
| 679 |
If this is a \f[I]string\f[], its \f[I]Duration\f[] value can be prefixed with |
| 680 |
\f[I]lin[:START[:MAX]]\f[] for linear or |
| 681 |
\f[I]exp[:BASE[:START[:MAX]]]\f[] for exponential backoff. |
| 682 |
|
| 683 |
|
| 684 |
.SS extractor.*.sleep-request |
| 685 |
.IP "Type:" 6 |
| 686 |
\f[I]Duration\f[] |
| 687 |
|
| 688 |
.IP "Default:" 9 |
| 689 |
\f[I]"0.5-1.5"\f[] |
| 690 |
\f[I]ao3\f[] \f[I] |
| 691 |
\f[I]arcalive\f[] \f[] |
| 692 |
\f[I]artfight\f[] \f[I] |
| 693 |
\f[I]booth\f[] \f[] |
| 694 |
\f[I]civitai\f[] \f[I] |
| 695 |
\f[I][Danbooru]\f[] \f[] |
| 696 |
\f[I][E621]\f[] \f[I] |
| 697 |
\f[I][foolfuuka]:search\f[] \f[] |
| 698 |
\f[I]hdoujin\f[] \f[I] |
| 699 |
\f[I]itaku\f[] \f[] |
| 700 |
\f[I][manganelo]\f[] \f[I] |
| 701 |
\f[I]newgrounds\f[] \f[] |
| 702 |
\f[I][nitter]\f[] \f[I] |
| 703 |
\f[I][philomena]\f[] \f[] |
| 704 |
\f[I]pixiv-novel\f[] \f[I] |
| 705 |
\f[I]plurk\f[] \f[] |
| 706 |
\f[I]poipiku\f[] \f[I] |
| 707 |
\f[I]pornpics\f[] \f[] |
| 708 |
\f[I]schalenetwork\f[] \f[I] |
| 709 |
\f[I]scrolller\f[] \f[] |
| 710 |
\f[I]sizebooru\f[] \f[I] |
| 711 |
\f[I]sofurry\f[] \f[] |
| 712 |
\f[I]soundgasm\f[] \f[I] |
| 713 |
\f[I]thehentaiworld\f[] \f[] |
| 714 |
\f[I]urlgalleries\f[] \f[I] |
| 715 |
\f[I]vk\f[] \f[] |
| 716 |
\f[I]webtoons\f[] \f[I] |
| 717 |
\f[I]weebcentral\f[] \f[] |
| 718 |
\f[I]xfolio\f[] \f[I] |
| 719 |
\f[I]zerochan\f[] |
| 720 |
\f[I]"1.0"\f[] |
| 721 |
\f[I]animepictures\f[] \f[] |
| 722 |
\f[I]furaffinity\f[] \f[I] |
| 723 |
\f[I]pawchive\f[] \f[] |
| 724 |
\f[I]rule34\f[] |
| 725 |
\f[I]"1.0-2.0"\f[] |
| 726 |
\f[I]flickr\f[] \f[I] |
| 727 |
\f[I]pexels\f[] \f[] |
| 728 |
\f[I]weibo\f[] \f[I] |
| 729 |
\f[I][wikimedia]\f[] |
| 730 |
\f[I]"1.4"\f[] |
| 731 |
\f[I]wallhaven\f[] |
| 732 |
\f[I]"2.0-4.0"\f[] |
| 733 |
\f[I]behance\f[] \f[] |
| 734 |
\f[I]imagefap\f[] \f[I] |
| 735 |
\f[I][Nijie]\f[] |
| 736 |
\f[I]"3.0-6.0"\f[] |
| 737 |
\f[I]bilibili\f[] \f[] |
| 738 |
\f[I]exhentai\f[] | |
| 739 |
\f[I][reactor]\f[] |
| 740 |
\f[I]"6.0-6.1"\f[] |
| 741 |
\f[I]twibooru\f[] |
| 742 |
\f[I]"6.0-12.0"\f[] |
| 743 |
\f[I]instagram\f[] |
| 744 |
\f[I]0\f[] |
| 745 |
otherwise |
| 746 |
|
| 747 |
.IP "Description:" 4 |
| 748 |
Minimal time interval in seconds between each HTTP request |
| 749 |
during data extraction. |
| 750 |
|
| 751 |
|
| 752 |
.SS extractor.*.username & .password |
| 753 |
.IP "Type:" 6 |
| 754 |
\f[I]string\f[] |
| 755 |
|
| 756 |
.IP "Default:" 9 |
| 757 |
\f[I]null\f[] |
| 758 |
|
| 759 |
.IP "Description:" 4 |
| 760 |
The username and password to use when attempting to log in to |
| 761 |
another site. |
| 762 |
|
| 763 |
This is supported for |
| 764 |
|
| 765 |
.br |
| 766 |
* \f[I]aibooru\f[] (\f[I]*\f[]) |
| 767 |
.br |
| 768 |
* \f[I]ao3\f[] |
| 769 |
.br |
| 770 |
* \f[I]aryion\f[] |
| 771 |
.br |
| 772 |
* \f[I]atfbooru\f[] (\f[I]*\f[]) |
| 773 |
.br |
| 774 |
* \f[I]bluesky\f[] |
| 775 |
.br |
| 776 |
* \f[I]booruvar\f[] (\f[I]*\f[]) |
| 777 |
.br |
| 778 |
* \f[I]coomer\f[] |
| 779 |
.br |
| 780 |
* \f[I]danbooru\f[] (\f[I]*\f[]) |
| 781 |
.br |
| 782 |
* \f[I]deviantart\f[] |
| 783 |
.br |
| 784 |
* \f[I]e621\f[] (\f[I]*\f[]) |
| 785 |
.br |
| 786 |
* \f[I]e6ai\f[] (\f[I]*\f[]) |
| 787 |
.br |
| 788 |
* \f[I]e926\f[] (\f[I]*\f[]) |
| 789 |
.br |
| 790 |
* \f[I]exhentai\f[] |
| 791 |
.br |
| 792 |
* \f[I]girlswithmuscle\f[] |
| 793 |
.br |
| 794 |
* \f[I]horne\f[] (\f[I]R\f[]) |
| 795 |
.br |
| 796 |
* \f[I]idolcomplex\f[] |
| 797 |
.br |
| 798 |
* \f[I]imgbb\f[] |
| 799 |
.br |
| 800 |
* \f[I]inkbunny\f[] |
| 801 |
.br |
| 802 |
* \f[I]iwara\f[] |
| 803 |
.br |
| 804 |
* \f[I]kemono\f[] |
| 805 |
.br |
| 806 |
* \f[I]madokami\f[] (\f[I]R\f[]) |
| 807 |
.br |
| 808 |
* \f[I]mangadex\f[] |
| 809 |
.br |
| 810 |
* \f[I]mangoxo\f[] |
| 811 |
.br |
| 812 |
* \f[I]newgrounds\f[] |
| 813 |
.br |
| 814 |
* \f[I]nijie\f[] (\f[I]R\f[]) |
| 815 |
.br |
| 816 |
* \f[I]nudostarforum\f[] |
| 817 |
.br |
| 818 |
* \f[I]pawchive\f[] |
| 819 |
.br |
| 820 |
* \f[I]pillowfort\f[] |
| 821 |
.br |
| 822 |
* \f[I]poipiku\f[] |
| 823 |
.br |
| 824 |
* \f[I]rule34world\f[] |
| 825 |
.br |
| 826 |
* \f[I]rule34xyz\f[] |
| 827 |
.br |
| 828 |
* \f[I]sankaku\f[] |
| 829 |
.br |
| 830 |
* \f[I]scrolller\f[] |
| 831 |
.br |
| 832 |
* \f[I]seiga\f[] |
| 833 |
.br |
| 834 |
* \f[I]simpcity\f[] |
| 835 |
.br |
| 836 |
* \f[I]subscribestar\f[] |
| 837 |
.br |
| 838 |
* \f[I]tapas\f[] |
| 839 |
.br |
| 840 |
* \f[I]vipergirls\f[] |
| 841 |
.br |
| 842 |
* \f[I]zerochan\f[] |
| 843 |
|
| 844 |
These values can also be specified via the |
| 845 |
\f[I]-u/--username\f[] and \f[I]-p/--password\f[] command-line options or |
| 846 |
by using a \f[I].netrc\f[] file. (see Authentication_) |
| 847 |
|
| 848 |
|
| 849 |
.IP "Note:" 4 |
| 850 |
Leave the \f[I]password\f[] value empty or undefined |
| 851 |
to be prompted for a password when performing a login |
| 852 |
(see \f[I]getpass()\f[]). |
| 853 |
|
| 854 |
.. _pw-apikey: |
| 855 |
|
| 856 |
(*) The \f[I]password\f[] value for these sites should be |
| 857 |
the API key found in your user profile, not the actual account password. |
| 858 |
|
| 859 |
.. _pw-required: |
| 860 |
|
| 861 |
(R) Login with username & password or |
| 862 |
supplying authenticated |
| 863 |
\f[I]cookies\f[] |
| 864 |
is *required* |
| 865 |
|
| 866 |
|
| 867 |
.SS extractor.*.init |
| 868 |
.IP "Type:" 6 |
| 869 |
.br |
| 870 |
* \f[I]bool\f[] |
| 871 |
.br |
| 872 |
* \f[I]string\f[] |
| 873 |
|
| 874 |
.IP "Default:" 9 |
| 875 |
\f[I]false\f[] |
| 876 |
|
| 877 |
.IP "Description:" 4 |
| 878 |
Controls when to initialize extractor internals. |
| 879 |
.br |
| 880 |
( |
| 881 |
.br |
| 882 |
\f[I]postprocessors\f[], |
| 883 |
\f[I]archives\f[], |
| 884 |
path-* options, etc |
| 885 |
) |
| 886 |
|
| 887 |
\f[I]true\f[] |
| 888 |
Initialize everything immediately upon extractor start |
| 889 |
\f[I]false\f[] | \f[I]"lazy"\f[] |
| 890 |
Initialize data structures when processing the first \f[I]post\f[] |
| 891 |
or not at all when an extractor never yields a \f[I]post\f[]. |
| 892 |
|
| 893 |
|
| 894 |
.SS extractor.*.input |
| 895 |
.IP "Type:" 6 |
| 896 |
\f[I]bool\f[] |
| 897 |
|
| 898 |
.IP "Default:" 9 |
| 899 |
\f[I]true\f[] if stdin is attached to a terminal, |
| 900 |
\f[I]false\f[] otherwise |
| 901 |
|
| 902 |
.IP "Description:" 4 |
| 903 |
Allow prompting the user for interactive input. |
| 904 |
|
| 905 |
|
| 906 |
.SS extractor.*.netrc |
| 907 |
.IP "Type:" 6 |
| 908 |
\f[I]bool\f[] |
| 909 |
|
| 910 |
.IP "Default:" 9 |
| 911 |
\f[I]false\f[] |
| 912 |
|
| 913 |
.IP "Description:" 4 |
| 914 |
Enable the use of \f[I].netrc\f[] authentication data. |
| 915 |
|
| 916 |
|
| 917 |
.SS extractor.*.cookies |
| 918 |
.IP "Type:" 6 |
| 919 |
.br |
| 920 |
* \f[I]Path\f[] |
| 921 |
.br |
| 922 |
* \f[I]object\f[] (name → value) |
| 923 |
.br |
| 924 |
* \f[I]list\f[] |
| 925 |
|
| 926 |
.IP "Description:" 4 |
| 927 |
Source to read additional cookies from. This can be |
| 928 |
|
| 929 |
.br |
| 930 |
* The \f[I]Path\f[] to a Mozilla/Netscape format cookies.txt file |
| 931 |
|
| 932 |
.. code:: json |
| 933 |
|
| 934 |
"~/.local/share/cookies-instagram-com.txt" |
| 935 |
|
| 936 |
.br |
| 937 |
* An \f[I]object\f[] specifying cookies as name-value pairs |
| 938 |
|
| 939 |
.. code:: json |
| 940 |
|
| 941 |
{ |
| 942 |
"cookie-name": "cookie-value", |
| 943 |
"sessionid" : "14313336321%3AsabDFvuASDnlpb%3A31", |
| 944 |
"isAdult" : "1" |
| 945 |
} |
| 946 |
|
| 947 |
.br |
| 948 |
* A \f[I]list\f[] with up to 5 entries specifying a browser profile. |
| 949 |
|
| 950 |
.br |
| 951 |
* The first entry is the browser name |
| 952 |
.br |
| 953 |
* The optional second entry is a profile name or an absolute path to a profile directory |
| 954 |
.br |
| 955 |
* The optional third entry is the keyring to retrieve passwords for decrypting cookies from |
| 956 |
.br |
| 957 |
* The optional fourth entry is a (Firefox) container name (\f[I]"none"\f[] for only cookies with no container (default)) |
| 958 |
.br |
| 959 |
* The optional fifth entry is the domain to extract cookies for. Prefix it with a dot \f[I].\f[] to include cookies for subdomains. |
| 960 |
|
| 961 |
.. code:: json |
| 962 |
|
| 963 |
["firefox"] |
| 964 |
["firefox", null, null, "Personal"] |
| 965 |
["chromium", "Private", "kwallet", null, ".twitter.com"] |
| 966 |
|
| 967 |
|
| 968 |
.SS extractor.*.cookies-select |
| 969 |
.IP "Type:" 6 |
| 970 |
\f[I]string\f[] |
| 971 |
|
| 972 |
.IP "Default:" 9 |
| 973 |
\f[I]null\f[] |
| 974 |
|
| 975 |
.IP "Description:" 4 |
| 976 |
Interpret \f[I]extractor.cookies\f[] |
| 977 |
as a list of cookie sources and select one of them for each extractor run. |
| 978 |
|
| 979 |
.. code:: json |
| 980 |
|
| 981 |
[ |
| 982 |
"~/.local/share/cookies-instagram-com-1.txt", |
| 983 |
"~/.local/share/cookies-instagram-com-2.txt", |
| 984 |
"~/.local/share/cookies-instagram-com-3.txt", |
| 985 |
["firefox", null, null, "c1", ".instagram-com"], |
| 986 |
] |
| 987 |
|
| 988 |
|
| 989 |
.IP "Supported Values:" 4 |
| 990 |
\f[I]"random"\f[] |
| 991 |
Select cookies \f[I]randomly\f[]. |
| 992 |
\f[I]"rotate"\f[] |
| 993 |
Select cookies in sequence. Start over from the beginning after reaching the end of the list. |
| 994 |
|
| 995 |
|
| 996 |
.SS extractor.*.cookies-update |
| 997 |
.IP "Type:" 6 |
| 998 |
.br |
| 999 |
* \f[I]bool\f[] |
| 1000 |
.br |
| 1001 |
* \f[I]Path\f[] |
| 1002 |
|
| 1003 |
.IP "Default:" 9 |
| 1004 |
\f[I]true\f[] |
| 1005 |
|
| 1006 |
.IP "Description:" 4 |
| 1007 |
Export session cookies in cookies.txt format. |
| 1008 |
|
| 1009 |
.br |
| 1010 |
* If this is a \f[I]Path\f[], write cookies to the given file path. |
| 1011 |
|
| 1012 |
.br |
| 1013 |
* If this is \f[I]true\f[] and \f[I]extractor.*.cookies\f[] specifies the \f[I]Path\f[] |
| 1014 |
of a valid cookies.txt file, update its contents. |
| 1015 |
|
| 1016 |
|
| 1017 |
.SS extractor.*.proxy |
| 1018 |
.IP "Type:" 6 |
| 1019 |
.br |
| 1020 |
* \f[I]string\f[] |
| 1021 |
.br |
| 1022 |
* \f[I]object\f[] (scheme → proxy) |
| 1023 |
|
| 1024 |
.IP "Example:" 4 |
| 1025 |
.. code:: json |
| 1026 |
|
| 1027 |
"http://10.10.1.10:3128" |
| 1028 |
|
| 1029 |
.. code:: json |
| 1030 |
|
| 1031 |
{ |
| 1032 |
"http" : "http://10.10.1.10:3128", |
| 1033 |
"https": "http://10.10.1.10:1080", |
| 1034 |
"http://10.20.1.128": "http://10.10.1.10:5323" |
| 1035 |
} |
| 1036 |
|
| 1037 |
|
| 1038 |
.IP "Description:" 4 |
| 1039 |
Proxy (or proxies) to be used for remote connections. |
| 1040 |
|
| 1041 |
.br |
| 1042 |
* If this is a \f[I]string\f[], it is the proxy URL for all |
| 1043 |
outgoing requests. |
| 1044 |
.br |
| 1045 |
* If this is an \f[I]object\f[], it is a scheme-to-proxy mapping to |
| 1046 |
specify different proxy URLs for each scheme. |
| 1047 |
It is also possible to set a proxy for a specific host by using |
| 1048 |
\f[I]scheme://host\f[] as key. |
| 1049 |
See \f[I]Requests' proxy documentation\f[] for more details. |
| 1050 |
|
| 1051 |
.IP "Note:" 4 |
| 1052 |
If a proxy URL does not include a scheme, \f[I]http://\f[] is assumed. |
| 1053 |
|
| 1054 |
|
| 1055 |
.SS extractor.*.proxy-env |
| 1056 |
.IP "Type:" 6 |
| 1057 |
\f[I]bool\f[] |
| 1058 |
|
| 1059 |
.IP "Default:" 9 |
| 1060 |
\f[I]true\f[] |
| 1061 |
|
| 1062 |
.IP "Description:" 4 |
| 1063 |
Collect proxy configuration information from environment variables |
| 1064 |
(\f[I]HTTP_PROXY\f[], \f[I]HTTPS_PROXY\f[], \f[I]NO_PROXY\f[]) |
| 1065 |
and Windows Registry settings. |
| 1066 |
|
| 1067 |
|
| 1068 |
.SS extractor.*.source-address |
| 1069 |
.IP "Type:" 6 |
| 1070 |
.br |
| 1071 |
* \f[I]string\f[] |
| 1072 |
.br |
| 1073 |
* \f[I]list\f[] with 1 \f[I]string\f[] and 1 \f[I]integer\f[] as elements |
| 1074 |
|
| 1075 |
.IP "Example:" 4 |
| 1076 |
.br |
| 1077 |
* "192.168.178.20" |
| 1078 |
.br |
| 1079 |
* ["192.168.178.20", 8080] |
| 1080 |
|
| 1081 |
.IP "Description:" 4 |
| 1082 |
Client-side IP address to bind to. |
| 1083 |
|
| 1084 |
Can be either a simple \f[I]string\f[] with just the local IP address |
| 1085 |
.br |
| 1086 |
or a \f[I]list\f[] with IP and explicit port number as elements. |
| 1087 |
.br |
| 1088 |
|
| 1089 |
|
| 1090 |
.SS extractor.*.user-agent |
| 1091 |
.IP "Type:" 6 |
| 1092 |
\f[I]string\f[] |
| 1093 |
|
| 1094 |
.IP "Default:" 9 |
| 1095 |
\f[I]"gallery-dl/VERSION"\f[] |
| 1096 |
.br |
| 1097 |
* \f[I][Danbooru]\f[] |
| 1098 |
.br |
| 1099 |
* \f[I]mangadex\f[] |
| 1100 |
.br |
| 1101 |
* \f[I][nitter]\f[] |
| 1102 |
.br |
| 1103 |
* \f[I]pawchive\f[] |
| 1104 |
.br |
| 1105 |
* \f[I]weasyl\f[] |
| 1106 |
.br |
| 1107 |
* \f[I][wikimedia]\f[] |
| 1108 |
.br |
| 1109 |
* \f[I]zerochan\f[] |
| 1110 |
\f[I]"gallery-dl/VERSION (by mikf)"\f[] |
| 1111 |
.br |
| 1112 |
* \f[I][E621]\f[] |
| 1113 |
\f[I]"net.umanle.arca.android.playstore/0.9.75"\f[] |
| 1114 |
.br |
| 1115 |
* \f[I]arcalive\f[] |
| 1116 |
\f[I]"Patreon/126.9.0.15 (Android; Android 14; Scale/2.10)"\f[] |
| 1117 |
.br |
| 1118 |
* \f[I]patreon\f[] |
| 1119 |
\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[] |
| 1120 |
.br |
| 1121 |
* \f[I]instagram\f[] |
| 1122 |
\f[I]"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:LATEST) Gecko/20100101 Firefox/LATEST"\f[] |
| 1123 |
.br |
| 1124 |
* otherwise |
| 1125 |
|
| 1126 |
.IP "Example:" 4 |
| 1127 |
.br |
| 1128 |
* "curl/8.14.1" |
| 1129 |
.br |
| 1130 |
* "browser" |
| 1131 |
.br |
| 1132 |
* "+chrome" |
| 1133 |
.br |
| 1134 |
* "@/opt/ChromeBrowser/bin/chrome" |
| 1135 |
|
| 1136 |
.IP "Description:" 4 |
| 1137 |
User-Agent header value used for HTTP requests. |
| 1138 |
|
| 1139 |
Setting this value to \f[I]"browser"\f[] will try to automatically detect |
| 1140 |
and use the \f[I]User-Agent\f[] header of the system's default browser. |
| 1141 |
|
| 1142 |
Starting this value with a \f[I]+\f[] |
| 1143 |
.br |
| 1144 |
will use the latest \f[I]User-Agent\f[] header of this preset target, |
| 1145 |
e.g. \f[I]"+ff"\f[]. |
| 1146 |
(Supported values: |
| 1147 |
.br |
| 1148 |
\f[I]firefox\f[] \f[I] \f[I]ff\f[] \f[] |
| 1149 |
\f[I]chrome\f[] \f[I] \f[I]cr\f[] \f[] |
| 1150 |
\f[I]gallery-dl\f[] \f[I] \f[I]gdl\f[] \f[] |
| 1151 |
\f[I]google-bot\f[] | \f[I]bot\f[] |
| 1152 |
) |
| 1153 |
|
| 1154 |
Starting this value with an \f[I]@\f[] |
| 1155 |
.br |
| 1156 |
will try to automatically detect and use the \f[I]User-Agent\f[] header |
| 1157 |
of this installed browser, |
| 1158 |
e.g. \f[I]"@C:/Program Files/Zen Browser/zen-browser.exe"\f[]. |
| 1159 |
.br |
| 1160 |
|
| 1161 |
|
| 1162 |
.SS extractor.*.browser |
| 1163 |
.IP "Type:" 6 |
| 1164 |
\f[I]string\f[] |
| 1165 |
|
| 1166 |
.IP "Default:" 9 |
| 1167 |
\f[I]"firefox"\f[] |
| 1168 |
\f[I]artstation\f[] \f[I] |
| 1169 |
\f[I]behance\f[] \f[] |
| 1170 |
\f[I]fanbox\f[] \f[I] |
| 1171 |
\f[I]simplyhentai\f[] \f[] |
| 1172 |
\f[I]twitter\f[] | |
| 1173 |
\f[I]vsco\f[] |
| 1174 |
\f[I]"chrome"\f[] |
| 1175 |
\f[I]comicartfans\f[] |
| 1176 |
\f[I]null\f[] |
| 1177 |
otherwise |
| 1178 |
|
| 1179 |
.IP "Example:" 4 |
| 1180 |
.br |
| 1181 |
* "firefox" |
| 1182 |
.br |
| 1183 |
* "firefox/128" |
| 1184 |
.br |
| 1185 |
* "chrome:macos" |
| 1186 |
.br |
| 1187 |
* "chrome/138:macos" |
| 1188 |
|
| 1189 |
.IP "Description:" 4 |
| 1190 |
Try to emulate a real browser (\f[I]firefox\f[] or \f[I]chrome\f[]) |
| 1191 |
.br |
| 1192 |
by using its HTTP headers and TLS ciphers for HTTP requests |
| 1193 |
.br |
| 1194 |
by setting specialized defaults for |
| 1195 |
|
| 1196 |
.br |
| 1197 |
* \f[I]user-agent\f[] |
| 1198 |
.br |
| 1199 |
* \f[I]headers\f[] |
| 1200 |
.br |
| 1201 |
* \f[I]ciphers\f[] |
| 1202 |
|
| 1203 |
Supported browsers: |
| 1204 |
|
| 1205 |
.br |
| 1206 |
* \f[I]firefox\f[] |
| 1207 |
.br |
| 1208 |
* \f[I]firefox/153\f[] |
| 1209 |
.br |
| 1210 |
* \f[I]firefox/140\f[] |
| 1211 |
.br |
| 1212 |
* \f[I]firefox/128\f[] |
| 1213 |
.br |
| 1214 |
* \f[I]chrome\f[] |
| 1215 |
.br |
| 1216 |
* \f[I]chrome/150\f[] |
| 1217 |
.br |
| 1218 |
* \f[I]chrome/138\f[] |
| 1219 |
.br |
| 1220 |
* \f[I]chrome/111\f[] |
| 1221 |
|
| 1222 |
The operating system used in the \f[I]User-Agent\f[] header can be |
| 1223 |
specified after a colon \f[I]:\f[] (\f[I]windows\f[], \f[I]linux\f[], \f[I]macos\f[]), |
| 1224 |
for example \f[I]chrome:windows\f[]. |
| 1225 |
|
| 1226 |
.IP "Note:" 4 |
| 1227 |
Any value *not* matching a supported browser |
| 1228 |
will fall back to \f[I]"firefox"\f[]. |
| 1229 |
|
| 1230 |
\f[I]requests\f[] and \f[I]urllib3\f[] only support HTTP/1.1, while a real |
| 1231 |
browser would use HTTP/2 and HTTP/3. |
| 1232 |
|
| 1233 |
|
| 1234 |
.SS extractor.*.referer |
| 1235 |
.IP "Type:" 6 |
| 1236 |
.br |
| 1237 |
* \f[I]bool\f[] |
| 1238 |
.br |
| 1239 |
* \f[I]string\f[] |
| 1240 |
|
| 1241 |
.IP "Default:" 9 |
| 1242 |
\f[I]false\f[] |
| 1243 |
\f[I]4archive\f[] \f[I] |
| 1244 |
\f[I]4chanarchives\f[] \f[] |
| 1245 |
\f[I]archivedmoe\f[] \f[I] |
| 1246 |
\f[I]arena\f[] \f[] |
| 1247 |
\f[I]nsfwalbum\f[] \f[I] |
| 1248 |
\f[I]pholder\f[] \f[] |
| 1249 |
\f[I]tumblrgallery\f[] |
| 1250 |
\f[I]true\f[] |
| 1251 |
otherwise |
| 1252 |
|
| 1253 |
.IP "Description:" 4 |
| 1254 |
Send \f[I]Referer\f[] |
| 1255 |
headers with all outgoing HTTP requests. |
| 1256 |
|
| 1257 |
If this is a \f[I]string\f[], send it as Referer |
| 1258 |
instead of the extractor's \f[I]root\f[] domain. |
| 1259 |
|
| 1260 |
|
| 1261 |
.SS extractor.*.geo-bypass |
| 1262 |
.IP "Type:" 6 |
| 1263 |
.br |
| 1264 |
* \f[I]string\f[] |
| 1265 |
.br |
| 1266 |
* \f[I]list\f[] of \f[I]string\f[] |
| 1267 |
|
| 1268 |
.IP "Default:" 9 |
| 1269 |
\f[I]"auto"\f[] |
| 1270 |
|
| 1271 |
.IP "Example:" 4 |
| 1272 |
.br |
| 1273 |
* "JP" |
| 1274 |
.br |
| 1275 |
* "105.48.0.0/12" |
| 1276 |
.br |
| 1277 |
* "JP,CN,105.48.0.0/12" |
| 1278 |
.br |
| 1279 |
* ["JP", "CN", "105.48.0.0/12"] |
| 1280 |
|
| 1281 |
.IP "Description:" 4 |
| 1282 |
Use a random IP as fake |
| 1283 |
\f[I]X-Forwarded-For\f[] |
| 1284 |
header to try bypassing geographic restrictions. |
| 1285 |
|
| 1286 |
Can be either |
| 1287 |
.br |
| 1288 |
\f[I]ISO 3166-2\f[] |
| 1289 |
country codes |
| 1290 |
or IP blocks in CIDR notation. |
| 1291 |
.br |
| 1292 |
|
| 1293 |
|
| 1294 |
.SS extractor.*.headers |
| 1295 |
.IP "Type:" 6 |
| 1296 |
.br |
| 1297 |
* \f[I]"string"\f[] |
| 1298 |
.br |
| 1299 |
* \f[I]object\f[] (name → value) |
| 1300 |
|
| 1301 |
.IP "Default:" 9 |
| 1302 |
.. code:: json |
| 1303 |
|
| 1304 |
{ |
| 1305 |
"User-Agent" : "<extractor.*.user-agent>", |
| 1306 |
"Accept" : "*/*", |
| 1307 |
"Accept-Language": "en-US,en;q=0.5", |
| 1308 |
"Accept-Encoding": "gzip, deflate", |
| 1309 |
"Referer" : "<extractor.*.referer>" |
| 1310 |
} |
| 1311 |
|
| 1312 |
|
| 1313 |
.IP "Description:" 4 |
| 1314 |
Additional \f[I]HTTP headers\f[] |
| 1315 |
to be sent with each HTTP request, |
| 1316 |
|
| 1317 |
To disable sending a header, set its value to \f[I]null\f[]. |
| 1318 |
|
| 1319 |
Set this option to \f[I]"firefox"\f[] or \f[I]"chrome"\f[] |
| 1320 |
to use these browser's default headers. |
| 1321 |
|
| 1322 |
|
| 1323 |
.SS extractor.*.ciphers |
| 1324 |
.IP "Type:" 6 |
| 1325 |
.br |
| 1326 |
* \f[I]string\f[] |
| 1327 |
.br |
| 1328 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 1329 |
|
| 1330 |
.IP "Example:" 4 |
| 1331 |
.br |
| 1332 |
* "firefox" |
| 1333 |
.br |
| 1334 |
* .. code:: json |
| 1335 |
|
| 1336 |
["ECDHE-ECDSA-AES128-GCM-SHA256", |
| 1337 |
"ECDHE-RSA-AES128-GCM-SHA256", |
| 1338 |
"ECDHE-ECDSA-CHACHA20-POLY1305", |
| 1339 |
"ECDHE-RSA-CHACHA20-POLY1305"] |
| 1340 |
|
| 1341 |
|
| 1342 |
.IP "Description:" 4 |
| 1343 |
List of TLS/SSL cipher suites in |
| 1344 |
\f[I]OpenSSL cipher list format\f[] |
| 1345 |
to be passed to |
| 1346 |
\f[I]ssl.SSLContext.set_ciphers()\f[] |
| 1347 |
|
| 1348 |
Set this option to \f[I]"firefox"\f[] or \f[I]"chrome"\f[] |
| 1349 |
to use these browser's default ciphers. |
| 1350 |
|
| 1351 |
|
| 1352 |
.SS extractor.*.tls12 |
| 1353 |
.IP "Type:" 6 |
| 1354 |
\f[I]bool\f[] |
| 1355 |
|
| 1356 |
.IP "Default:" 9 |
| 1357 |
\f[I]false\f[] |
| 1358 |
\f[I]artfight\f[] \f[I] |
| 1359 |
\f[I]artstation\f[] \f[] |
| 1360 |
\f[I]behance\f[] |
| 1361 |
\f[I]true\f[] |
| 1362 |
otherwise |
| 1363 |
|
| 1364 |
.IP "Description:" 4 |
| 1365 |
Allow selecting TLS 1.2 cipher suites. |
| 1366 |
|
| 1367 |
Can be disabled to alter TLS fingerprints |
| 1368 |
and potentially bypass Cloudflare blocks. |
| 1369 |
|
| 1370 |
|
| 1371 |
.SS extractor.*.keywords |
| 1372 |
.IP "Type:" 6 |
| 1373 |
\f[I]object\f[] (name → value) |
| 1374 |
|
| 1375 |
.IP "Example:" 4 |
| 1376 |
{"type": "Pixel Art", "type_id": 123} |
| 1377 |
|
| 1378 |
.IP "Description:" 4 |
| 1379 |
Additional name-value pairs to be added to each metadata dictionary. |
| 1380 |
|
| 1381 |
|
| 1382 |
.SS extractor.*.keywords-default |
| 1383 |
.IP "Type:" 6 |
| 1384 |
any |
| 1385 |
|
| 1386 |
.IP "Default:" 9 |
| 1387 |
\f[I]"None"\f[] |
| 1388 |
|
| 1389 |
.IP "Description:" 4 |
| 1390 |
Default value used for missing or undefined keyword names in a |
| 1391 |
\f[I]Format String\f[]. |
| 1392 |
|
| 1393 |
|
| 1394 |
.SS extractor.*.keywords-eval |
| 1395 |
.IP "Type:" 6 |
| 1396 |
\f[I]bool\f[] |
| 1397 |
|
| 1398 |
.IP "Default:" 9 |
| 1399 |
\f[I]false\f[] |
| 1400 |
|
| 1401 |
.IP "Description:" 4 |
| 1402 |
Evaluate each |
| 1403 |
\f[I]keywords\f[] |
| 1404 |
and |
| 1405 |
\f[I]keywords-global\f[] |
| 1406 |
\f[I]string\f[] value as a \f[I]Format String\f[]. |
| 1407 |
|
| 1408 |
|
| 1409 |
.SS extractor.*.keywords-global |
| 1410 |
.IP "Type:" 6 |
| 1411 |
\f[I]object\f[] (name → value) |
| 1412 |
|
| 1413 |
.IP "Example:" 4 |
| 1414 |
{"type": "Original", "type_id": 1, "type_category": "meta"} |
| 1415 |
|
| 1416 |
.IP "Description:" 4 |
| 1417 |
Global name-value pairs to be added to each metadata dictionary. |
| 1418 |
|
| 1419 |
.IP "Note:" 4 |
| 1420 |
Keywords defined here will be overwritten by keywords from |
| 1421 |
\f[I]extractor.keywords\f[] |
| 1422 |
with the same name. |
| 1423 |
|
| 1424 |
|
| 1425 |
.SS extractor.*.metadata-url |
| 1426 |
.IP "Type:" 6 |
| 1427 |
\f[I]string\f[] |
| 1428 |
|
| 1429 |
.IP "Default:" 9 |
| 1430 |
\f[I]"_url"\f[] |
| 1431 |
|
| 1432 |
.IP "Description:" 4 |
| 1433 |
Insert a file's download URL into its metadata dictionary as the given name. |
| 1434 |
|
| 1435 |
For example, setting this option to \f[I]"gdl_file_url"\f[] will cause a new |
| 1436 |
metadata field with name \f[I]gdl_file_url\f[] to appear, which contains the |
| 1437 |
current file's download URL. |
| 1438 |
This can then be used in \f[I]filenames\f[], |
| 1439 |
with a \f[I]metadata\f[] post processor, etc. |
| 1440 |
|
| 1441 |
|
| 1442 |
.SS extractor.*.metadata-path |
| 1443 |
.IP "Type:" 6 |
| 1444 |
\f[I]string\f[] |
| 1445 |
|
| 1446 |
.IP "Default:" 9 |
| 1447 |
\f[I]"_path"\f[] |
| 1448 |
|
| 1449 |
.IP "Description:" 4 |
| 1450 |
Insert a reference to the current |
| 1451 |
\f[I]PathFormat\f[] |
| 1452 |
data structure into metadata dictionaries as the given name. |
| 1453 |
|
| 1454 |
For example, setting this option to \f[I]"gdl_path"\f[] would make it possible |
| 1455 |
to access the current file's filename as \f[I]"{gdl_path.filename}"\f[]. |
| 1456 |
|
| 1457 |
|
| 1458 |
.SS extractor.*.metadata-extractor |
| 1459 |
.IP "Type:" 6 |
| 1460 |
\f[I]string\f[] |
| 1461 |
|
| 1462 |
.IP "Default:" 9 |
| 1463 |
\f[I]"_extr"\f[] |
| 1464 |
|
| 1465 |
.IP "Description:" 4 |
| 1466 |
Insert a reference to the current |
| 1467 |
\f[I]Extractor\f[] |
| 1468 |
object into metadata dictionaries as the given name. |
| 1469 |
|
| 1470 |
|
| 1471 |
.SS extractor.*.metadata-http |
| 1472 |
.IP "Type:" 6 |
| 1473 |
\f[I]string\f[] |
| 1474 |
|
| 1475 |
.IP "Default:" 9 |
| 1476 |
\f[I]null\f[] |
| 1477 |
|
| 1478 |
.IP "Description:" 4 |
| 1479 |
Insert an \f[I]object\f[] containing a file's HTTP headers and |
| 1480 |
\f[I]filename\f[], \f[I]extension\f[], and \f[I]date\f[] parsed from them |
| 1481 |
into metadata dictionaries as the given name. |
| 1482 |
|
| 1483 |
For example, setting this option to \f[I]"gdl_http"\f[] would make it possible |
| 1484 |
to access the current file's \f[I]Last-Modified\f[] header as \f[I]"{gdl_http[Last-Modified]}"\f[] |
| 1485 |
and its parsed form as \f[I]"{gdl_http[date]}"\f[]. |
| 1486 |
|
| 1487 |
|
| 1488 |
.SS extractor.*.metadata-version |
| 1489 |
.IP "Type:" 6 |
| 1490 |
\f[I]string\f[] |
| 1491 |
|
| 1492 |
.IP "Default:" 9 |
| 1493 |
\f[I]null\f[] |
| 1494 |
|
| 1495 |
.IP "Description:" 4 |
| 1496 |
Insert an \f[I]object\f[] containing gallery-dl's version info into |
| 1497 |
metadata dictionaries as the given name. |
| 1498 |
|
| 1499 |
The content of the object is as follows: |
| 1500 |
|
| 1501 |
.. code:: json |
| 1502 |
|
| 1503 |
{ |
| 1504 |
"version" : "string", |
| 1505 |
"is_executable" : "bool", |
| 1506 |
"current_git_head": "string or null" |
| 1507 |
} |
| 1508 |
|
| 1509 |
|
| 1510 |
.SS extractor.*.category-transfer |
| 1511 |
.IP "Type:" 6 |
| 1512 |
\f[I]bool\f[] |
| 1513 |
|
| 1514 |
.IP "Default:" 9 |
| 1515 |
Extractor-specific |
| 1516 |
|
| 1517 |
.IP "Description:" 4 |
| 1518 |
Transfer an extractor's (sub)category values to all child |
| 1519 |
extractors spawned by it, to let them inherit their parent's |
| 1520 |
config options. |
| 1521 |
|
| 1522 |
|
| 1523 |
.SS extractor.*.blacklist & .whitelist |
| 1524 |
.IP "Type:" 6 |
| 1525 |
\f[I]list\f[] of \f[I]strings\f[] |
| 1526 |
|
| 1527 |
.IP "Default:" 9 |
| 1528 |
\f[I]["oauth", "recursive", "test"]\f[] + current extractor category |
| 1529 |
|
| 1530 |
.IP "Example:" 4 |
| 1531 |
["imgur", "redgifs:user", "*:image"] |
| 1532 |
|
| 1533 |
.IP "Description:" 4 |
| 1534 |
A list of extractor identifiers to ignore (or allow) |
| 1535 |
when spawning child extractors for unknown URLs, |
| 1536 |
e.g. from \f[I]reddit\f[] or \f[I]plurk\f[]. |
| 1537 |
|
| 1538 |
Each identifier can be |
| 1539 |
|
| 1540 |
.br |
| 1541 |
* A category or basecategory name (\f[I]"imgur"\f[], \f[I]"mastodon"\f[]) |
| 1542 |
.br |
| 1543 |
* | A (base)category-subcategory pair, where both names are separated by a colon (\f[I]"redgifs:user"\f[]). |
| 1544 |
Both names can be a * or left empty, matching all possible names (\f[I]"*:image"\f[], \f[I]":user"\f[]). |
| 1545 |
.br |
| 1546 |
|
| 1547 |
.IP "Note:" 4 |
| 1548 |
Any \f[I]blacklist\f[] setting will automatically include |
| 1549 |
\f[I]"oauth"\f[], \f[I]"recursive"\f[], and \f[I]"test"\f[]. |
| 1550 |
|
| 1551 |
|
| 1552 |
.SS extractor.*.tags-blacklist & .tags-whitelist |
| 1553 |
.IP "Type:" 6 |
| 1554 |
.br |
| 1555 |
* \f[I]Path\f[] |
| 1556 |
.br |
| 1557 |
* \f[I]string\f[] |
| 1558 |
.br |
| 1559 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 1560 |
|
| 1561 |
.IP "Example:" 4 |
| 1562 |
.br |
| 1563 |
* "/path/to/file.txt" |
| 1564 |
.br |
| 1565 |
* "1girl,long_hair, highres,commentary_request" |
| 1566 |
.br |
| 1567 |
* "1girl long_hair, highres -commentary_request" |
| 1568 |
.br |
| 1569 |
* ["1girl", "long_hair", "highres", "commentary_request"] |
| 1570 |
.br |
| 1571 |
* ["1girl long_hair", "highres -commentary_request"] |
| 1572 |
|
| 1573 |
.IP "Description:" 4 |
| 1574 |
A list of tags to exclude/include for processed posts. |
| 1575 |
|
| 1576 |
Posts containing a blacklisted tag or *not* containing any whitelisted tag, |
| 1577 |
.br |
| 1578 |
including all of their files, |
| 1579 |
will be ignored and not processed any further. |
| 1580 |
.br |
| 1581 |
|
| 1582 |
\f[I]Danbooru Blacklist Rules\f[] |
| 1583 |
are supported. |
| 1584 |
|
| 1585 |
This can be |
| 1586 |
|
| 1587 |
.br |
| 1588 |
* The \f[I]Path\f[] of a plaintext file |
| 1589 |
containing black-/whitelisted tag names separated by newlines |
| 1590 |
.br |
| 1591 |
* A \f[I]string\f[] with tag names separated by commas (\f[I]"tag1,tag2 tag3,tag4"\f[]) |
| 1592 |
.br |
| 1593 |
* A \f[I]list\f[] of \f[I]string\f[] tag names (\f[I]["tag1", "tag2 tag3", "tag4"]\f[]) |
| 1594 |
|
| 1595 |
Lines starting with \f[I]#\f[] followed by a space |
| 1596 |
.br |
| 1597 |
will be ignored and can be used for comments. |
| 1598 |
For example |
| 1599 |
\f[I]# this is a comment\f[] |
| 1600 |
.br |
| 1601 |
|
| 1602 |
Using \f[I]"/import"\f[] as value will import and apply |
| 1603 |
your account's blacklisted tags list. This is supported for |
| 1604 |
|
| 1605 |
.br |
| 1606 |
* \f[I][Danbooru]\f[] & \f[I][E621]\f[] instances |
| 1607 |
(requires \f[I]username & api-key\f[]) |
| 1608 |
.br |
| 1609 |
* \f[I]sankaku\f[] |
| 1610 |
(requires \f[I]username & password\f[]) |
| 1611 |
.br |
| 1612 |
* \f[I]gelbooru\f[] & \f[I][gelbooru_v02]\f[] instances |
| 1613 |
(requires authenticated \f[I]cookies\f[]) |
| 1614 |
|
| 1615 |
|
| 1616 |
.SS extractor.*.archive |
| 1617 |
.IP "Type:" 6 |
| 1618 |
.br |
| 1619 |
* \f[I]string\f[] |
| 1620 |
.br |
| 1621 |
* \f[I]Path+\f[] |
| 1622 |
|
| 1623 |
.IP "Default:" 9 |
| 1624 |
\f[I]null\f[] |
| 1625 |
|
| 1626 |
.IP "Example:" 4 |
| 1627 |
.br |
| 1628 |
* "$HOME/.archives/gdl.sqlite3" |
| 1629 |
.br |
| 1630 |
* [":~", ".archives", "{category}.sqlite3"] |
| 1631 |
.br |
| 1632 |
* "postgresql://user:pass@host/database" |
| 1633 |
|
| 1634 |
.IP "Description:" 4 |
| 1635 |
File to store IDs of downloaded files in. Downloads of files |
| 1636 |
already recorded in this archive file will be |
| 1637 |
\f[I]skipped\f[]. |
| 1638 |
|
| 1639 |
The resulting archive file is not a plain text file but an SQLite3 |
| 1640 |
database, as either lookup operations are significantly faster or |
| 1641 |
memory requirements are significantly lower when the |
| 1642 |
amount of stored IDs gets reasonably large. |
| 1643 |
|
| 1644 |
If this value is a |
| 1645 |
\f[I]PostgreSQL Connection URI\f[], |
| 1646 |
the archive will use this PostgreSQL database as backend |
| 1647 |
(requires \f[I]Psycopg\f[]). |
| 1648 |
|
| 1649 |
.IP "Note:" 4 |
| 1650 |
Archive files that do not already exist get generated automatically. |
| 1651 |
|
| 1652 |
To use replacement fields in a path, |
| 1653 |
.br |
| 1654 |
specify it as a list of strings (see \f[I]Path+\f[]) |
| 1655 |
(for example \f[I][":~", ".archives", "{category}.sqlite3"]\f[]) |
| 1656 |
.br |
| 1657 |
|
| 1658 |
|
| 1659 |
.SS extractor.*.archive-event |
| 1660 |
.IP "Type:" 6 |
| 1661 |
+ \f[I]string\f[] |
| 1662 |
+ \f[I]list\f[] of \f[I]strings\f[] |
| 1663 |
|
| 1664 |
.IP "Default:" 9 |
| 1665 |
\f[I]"file"\f[] |
| 1666 |
|
| 1667 |
.IP "Example:" 4 |
| 1668 |
.br |
| 1669 |
* "after,skip" |
| 1670 |
.br |
| 1671 |
* ["after", "skip"] |
| 1672 |
|
| 1673 |
.IP "Description:" 4 |
| 1674 |
\f[I]Event(s)\f[] |
| 1675 |
for which IDs get written to an |
| 1676 |
\f[I]archive\f[]. |
| 1677 |
|
| 1678 |
.IP "Available Events:" 4 |
| 1679 |
.br |
| 1680 |
* \f[I]file\f[] |
| 1681 |
.br |
| 1682 |
* \f[I]after\f[] |
| 1683 |
.br |
| 1684 |
* \f[I]skip\f[] |
| 1685 |
|
| 1686 |
|
| 1687 |
.SS extractor.*.archive-format |
| 1688 |
.IP "Type:" 6 |
| 1689 |
\f[I]Format String\f[] |
| 1690 |
|
| 1691 |
.IP "Example:" 4 |
| 1692 |
"{id}_{offset}" |
| 1693 |
|
| 1694 |
.IP "Description:" 4 |
| 1695 |
An alternative \f[I]Format String\f[] to build archive IDs with. |
| 1696 |
|
| 1697 |
|
| 1698 |
.SS extractor.*.archive-mode |
| 1699 |
.IP "Type:" 6 |
| 1700 |
\f[I]string\f[] |
| 1701 |
|
| 1702 |
.IP "Default:" 9 |
| 1703 |
\f[I]"file"\f[] |
| 1704 |
|
| 1705 |
.IP "Description:" 4 |
| 1706 |
Controls when to write \f[I]archive IDs\f[] |
| 1707 |
to the archive database. |
| 1708 |
|
| 1709 |
\f[I]"file"\f[] |
| 1710 |
Write IDs immediately |
| 1711 |
after completing or skipping a file download. |
| 1712 |
\f[I]"memory"\f[] |
| 1713 |
Keep IDs in memory |
| 1714 |
and only write them after successful job completion. |
| 1715 |
|
| 1716 |
|
| 1717 |
.SS extractor.*.archive-prefix |
| 1718 |
.IP "Type:" 6 |
| 1719 |
\f[I]Format String\f[] |
| 1720 |
|
| 1721 |
.IP "Default:" 9 |
| 1722 |
.br |
| 1723 |
* \f[I]""\f[] when \f[I]archive-table\f[] is set |
| 1724 |
.br |
| 1725 |
* \f[I]"{category}"\f[] otherwise |
| 1726 |
|
| 1727 |
.IP "Description:" 4 |
| 1728 |
Prefix for archive IDs. |
| 1729 |
|
| 1730 |
|
| 1731 |
.SS extractor.*.archive-pragma |
| 1732 |
.IP "Type:" 6 |
| 1733 |
\f[I]list\f[] of \f[I]strings\f[] |
| 1734 |
|
| 1735 |
.IP "Example:" 4 |
| 1736 |
["journal_mode=WAL", "synchronous=NORMAL"] |
| 1737 |
|
| 1738 |
.IP "Description:" 4 |
| 1739 |
A list of SQLite \f[I]PRAGMA\f[] statements to run during archive initialization. |
| 1740 |
|
| 1741 |
See \f[I]<https://www.sqlite.org/pragma.html#toc>\f[] |
| 1742 |
for available \f[I]PRAGMA\f[] statements and further details. |
| 1743 |
|
| 1744 |
|
| 1745 |
.SS extractor.*.archive-table |
| 1746 |
.IP "Type:" 6 |
| 1747 |
\f[I]Format String\f[] |
| 1748 |
|
| 1749 |
.IP "Default:" 9 |
| 1750 |
\f[I]"archive"\f[] |
| 1751 |
|
| 1752 |
.IP "Example:" 4 |
| 1753 |
"{category}" |
| 1754 |
|
| 1755 |
.IP "Description:" 4 |
| 1756 |
\f[I]Format String\f[] selecting the archive database table name. |
| 1757 |
|
| 1758 |
|
| 1759 |
.SS extractor.*.actions |
| 1760 |
.IP "Type:" 6 |
| 1761 |
.br |
| 1762 |
* \f[I]object\f[] (pattern → \f[I]Action(s)\f[]) |
| 1763 |
.br |
| 1764 |
* \f[I]list\f[] of [pattern, \f[I]Action(s)\f[]] pairs |
| 1765 |
|
| 1766 |
.IP "Example:" 4 |
| 1767 |
.. code:: json |
| 1768 |
|
| 1769 |
{ |
| 1770 |
"info:Logging in as .+" : "level = debug", |
| 1771 |
"warning:(?i)unable to .+": "exit 127", |
| 1772 |
"error" : [ |
| 1773 |
"status \f[I]= 1", |
| 1774 |
"exec notify.sh 'gdl error'", |
| 1775 |
"abort" |
| 1776 |
] |
| 1777 |
} |
| 1778 |
|
| 1779 |
.. code:: json |
| 1780 |
|
| 1781 |
[ |
| 1782 |
["info:Logging in as .+" , "level = debug"], |
| 1783 |
["warning:(?i)unable to .+", "exit 127" ], |
| 1784 |
["error" , [ |
| 1785 |
"status \f[]= 1", |
| 1786 |
"exec notify.sh 'gdl error'", |
| 1787 |
"abort" |
| 1788 |
]] |
| 1789 |
] |
| 1790 |
|
| 1791 |
|
| 1792 |
.IP "Description:" 4 |
| 1793 |
Perform an \f[I]Action\f[] when logging a message matched by \f[I]pattern\f[]. |
| 1794 |
|
| 1795 |
\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) |
| 1796 |
followed by an optional |
| 1797 |
\f[I]Python Regular Expression\f[] |
| 1798 |
separated by a colon: |
| 1799 |
\f[I]<level>:<re>\f[] |
| 1800 |
|
| 1801 |
Using \f[I]*\f[] as level or leaving it empty |
| 1802 |
matches logging messages of all levels: |
| 1803 |
\f[I]*:<re>\f[] or \f[I]:<re>\f[] |
| 1804 |
|
| 1805 |
|
| 1806 |
.SS extractor.*.postprocessors |
| 1807 |
.IP "Type:" 6 |
| 1808 |
.br |
| 1809 |
* \f[I]Postprocessor Configuration\f[] object |
| 1810 |
.br |
| 1811 |
* \f[I]list\f[] of \f[I]Postprocessor Configuration\f[] objects |
| 1812 |
|
| 1813 |
.IP "Example:" 4 |
| 1814 |
.. code:: json |
| 1815 |
|
| 1816 |
[ |
| 1817 |
{ |
| 1818 |
"name": "zip" , |
| 1819 |
"compression": "store" |
| 1820 |
}, |
| 1821 |
{ |
| 1822 |
"name": "exec", |
| 1823 |
"command": ["/home/foobar/script", "{category}", "{image_id}"] |
| 1824 |
} |
| 1825 |
] |
| 1826 |
|
| 1827 |
|
| 1828 |
.IP "Description:" 4 |
| 1829 |
A list of \f[I]post processors\f[] |
| 1830 |
to be applied to each downloaded file in the specified order. |
| 1831 |
|
| 1832 |
Unlike other options, a \f[I]postprocessors\f[] setting at a deeper level |
| 1833 |
.br |
| 1834 |
does not override any \f[I]postprocessors\f[] setting at a lower level. |
| 1835 |
Instead, all post processors from all applicable \f[I]postprocessors\f[] |
| 1836 |
.br |
| 1837 |
settings get combined into a single list. |
| 1838 |
|
| 1839 |
For example |
| 1840 |
|
| 1841 |
.br |
| 1842 |
* an \f[I]mtime\f[] post processor at \f[I]extractor.postprocessors\f[], |
| 1843 |
.br |
| 1844 |
* a \f[I]zip\f[] post processor at \f[I]extractor.pixiv.postprocessors\f[], |
| 1845 |
.br |
| 1846 |
* and using \f[I]--exec\f[] |
| 1847 |
|
| 1848 |
will run all three post processors - \f[I]mtime\f[], \f[I]zip\f[], \f[I]exec\f[] - |
| 1849 |
for each downloaded \f[I]pixiv\f[] file. |
| 1850 |
|
| 1851 |
|
| 1852 |
.SS extractor.*.postprocessor-options |
| 1853 |
.IP "Type:" 6 |
| 1854 |
\f[I]object\f[] (name → value) |
| 1855 |
|
| 1856 |
.IP "Example:" 4 |
| 1857 |
.. code:: json |
| 1858 |
|
| 1859 |
{ |
| 1860 |
"archive": null, |
| 1861 |
"keep-files": true |
| 1862 |
} |
| 1863 |
|
| 1864 |
|
| 1865 |
.IP "Description:" 4 |
| 1866 |
Additional \f[I]Postprocessor Options\f[] that get added to each individual |
| 1867 |
\f[I]post processor object\f[] |
| 1868 |
before initializing it and evaluating filters. |
| 1869 |
|
| 1870 |
|
| 1871 |
.SS extractor.*.retries |
| 1872 |
.IP "Type:" 6 |
| 1873 |
\f[I]integer\f[] |
| 1874 |
|
| 1875 |
.IP "Default:" 9 |
| 1876 |
\f[I]4\f[] |
| 1877 |
|
| 1878 |
.IP "Description:" 4 |
| 1879 |
Maximum number of times a failed HTTP request is retried before |
| 1880 |
giving up, or \f[I]-1\f[] for infinite retries. |
| 1881 |
|
| 1882 |
|
| 1883 |
.SS extractor.*.retry-codes |
| 1884 |
.IP "Type:" 6 |
| 1885 |
\f[I]list\f[] of \f[I]integers\f[] |
| 1886 |
|
| 1887 |
.IP "Example:" 4 |
| 1888 |
[404, 429, 430] |
| 1889 |
|
| 1890 |
.IP "Description:" 4 |
| 1891 |
Additional \f[I]HTTP response status codes\f[] |
| 1892 |
to retry an HTTP request on. |
| 1893 |
|
| 1894 |
\f[I]2xx\f[] codes (success responses) and |
| 1895 |
\f[I]3xx\f[] codes (redirection messages) |
| 1896 |
will never be retried and always count as success, |
| 1897 |
regardless of this option. |
| 1898 |
|
| 1899 |
\f[I]5xx\f[] codes (server error responses) will always be retried, |
| 1900 |
regardless of this option. |
| 1901 |
|
| 1902 |
|
| 1903 |
.SS extractor.*.timeout |
| 1904 |
.IP "Type:" 6 |
| 1905 |
\f[I]float\f[] |
| 1906 |
|
| 1907 |
.IP "Default:" 9 |
| 1908 |
\f[I]30.0\f[] |
| 1909 |
|
| 1910 |
.IP "Description:" 4 |
| 1911 |
Amount of time (in seconds) to wait for a successful connection |
| 1912 |
and response from a remote server. |
| 1913 |
|
| 1914 |
This value gets internally used as the \f[I]timeout\f[] parameter for the |
| 1915 |
\f[I]requests.request()\f[] method. |
| 1916 |
|
| 1917 |
|
| 1918 |
.SS extractor.*.verify |
| 1919 |
.IP "Type:" 6 |
| 1920 |
.br |
| 1921 |
* \f[I]bool\f[] |
| 1922 |
.br |
| 1923 |
* \f[I]string\f[] |
| 1924 |
|
| 1925 |
.IP "Default:" 9 |
| 1926 |
\f[I]true\f[] |
| 1927 |
|
| 1928 |
.IP "Description:" 4 |
| 1929 |
Controls whether to verify SSL/TLS certificates for HTTPS requests. |
| 1930 |
|
| 1931 |
If this is a \f[I]string\f[], it must be the path to a CA bundle to use |
| 1932 |
instead of the default certificates. |
| 1933 |
|
| 1934 |
This value gets internally used as the \f[I]verify\f[] parameter for the |
| 1935 |
\f[I]requests.request()\f[] method. |
| 1936 |
|
| 1937 |
|
| 1938 |
.SS extractor.*.truststore |
| 1939 |
.IP "Type:" 6 |
| 1940 |
\f[I]bool\f[] |
| 1941 |
|
| 1942 |
.IP "Default:" 9 |
| 1943 |
\f[I]false\f[] |
| 1944 |
|
| 1945 |
.IP "Description:" 4 |
| 1946 |
Use a |
| 1947 |
.br |
| 1948 |
\f[I]truststore\f[] |
| 1949 |
\f[I]SSLContext\f[] for verifying SSL/TLS certificates |
| 1950 |
to make use of your system's native certificate stores |
| 1951 |
.br |
| 1952 |
instead of relying on |
| 1953 |
\f[I]certifi\f[] |
| 1954 |
certificates. |
| 1955 |
|
| 1956 |
|
| 1957 |
.SS extractor.*.download |
| 1958 |
.IP "Type:" 6 |
| 1959 |
\f[I]bool\f[] |
| 1960 |
|
| 1961 |
.IP "Default:" 9 |
| 1962 |
\f[I]true\f[] |
| 1963 |
|
| 1964 |
.IP "Description:" 4 |
| 1965 |
Controls whether to download media files. |
| 1966 |
|
| 1967 |
Setting this to \f[I]false\f[] won't download any files, but all other |
| 1968 |
functions (\f[I]postprocessors\f[], \f[I]download archive\f[], etc.) |
| 1969 |
will be executed as normal. |
| 1970 |
|
| 1971 |
|
| 1972 |
.SS extractor.*.fallback |
| 1973 |
.IP "Type:" 6 |
| 1974 |
\f[I]bool\f[] |
| 1975 |
|
| 1976 |
.IP "Default:" 9 |
| 1977 |
\f[I]true\f[] |
| 1978 |
|
| 1979 |
.IP "Description:" 4 |
| 1980 |
Use fallback download URLs when a download fails. |
| 1981 |
|
| 1982 |
|
| 1983 |
.SS extractor.*.file-range |
| 1984 |
.IP "Type:" 6 |
| 1985 |
.br |
| 1986 |
* \f[I]string\f[] |
| 1987 |
.br |
| 1988 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 1989 |
|
| 1990 |
.IP "Example:" 4 |
| 1991 |
.br |
| 1992 |
* "10-20" |
| 1993 |
.br |
| 1994 |
* "-5, 10, 30-50, 100-" |
| 1995 |
.br |
| 1996 |
* "10:21, 30:51:2, :5, 100:" |
| 1997 |
.br |
| 1998 |
* ["-5", "10", "30-50", "100-"] |
| 1999 |
|
| 2000 |
.IP "Description:" 4 |
| 2001 |
Index range(s) selecting which files to download. |
| 2002 |
|
| 2003 |
These can be specified as |
| 2004 |
|
| 2005 |
.br |
| 2006 |
* index: \f[I]3\f[] (file number 3) |
| 2007 |
.br |
| 2008 |
* range: \f[I]2-4\f[] (files 2, 3, and 4) |
| 2009 |
.br |
| 2010 |
* \f[I]slice\f[]: \f[I]3:8:2\f[] (files 3, 5, and 7) |
| 2011 |
|
| 2012 |
Arguments for range and slice notation are optional |
| 2013 |
.br |
| 2014 |
and will default to begin (\f[I]1\f[]) or end (\f[I]sys.maxsize\f[]) if omitted. |
| 2015 |
For example \f[I]5-\f[], \f[I]5:\f[], and \f[I]5::\f[] all mean "Start at file number 5". |
| 2016 |
.br |
| 2017 |
|
| 2018 |
.IP "Note:" 4 |
| 2019 |
The index of the first file is \f[I]1\f[]. |
| 2020 |
|
| 2021 |
|
| 2022 |
.SS extractor.*.post-range |
| 2023 |
.IP "Type:" 6 |
| 2024 |
\f[I]string\f[] |
| 2025 |
|
| 2026 |
.IP "Description:" 4 |
| 2027 |
Like \f[I]file-range\f[], |
| 2028 |
but for posts. |
| 2029 |
|
| 2030 |
|
| 2031 |
.SS extractor.*.child-range |
| 2032 |
.IP "Type:" 6 |
| 2033 |
\f[I]string\f[] |
| 2034 |
|
| 2035 |
.IP "Description:" 4 |
| 2036 |
Like \f[I]file-range\f[], |
| 2037 |
but for child extractors handling manga chapters, external URLs, etc. |
| 2038 |
|
| 2039 |
|
| 2040 |
.SS extractor.*.file-filter |
| 2041 |
.IP "Type:" 6 |
| 2042 |
.br |
| 2043 |
* \f[I]Condition\f[] |
| 2044 |
.br |
| 2045 |
* \f[I]list\f[] of \f[I]Conditions\f[] |
| 2046 |
|
| 2047 |
.IP "Example:" 4 |
| 2048 |
.br |
| 2049 |
* "re.search(r'foo(bar)+', description)" |
| 2050 |
.br |
| 2051 |
* ["width >= 1200", "width/height > 1.2"] |
| 2052 |
|
| 2053 |
.IP "Description:" 4 |
| 2054 |
Python \f[I]Expression\f[] controlling which files to download. |
| 2055 |
|
| 2056 |
A file only gets downloaded when *all* of the given \f[I]Expressions\f[] evaluate to \f[I]True\f[]. |
| 2057 |
|
| 2058 |
Available values are the filename-specific ones listed by \f[I]-K\f[] or \f[I]-j\f[]. |
| 2059 |
|
| 2060 |
|
| 2061 |
.SS extractor.*.post-filter |
| 2062 |
.IP "Type:" 6 |
| 2063 |
.br |
| 2064 |
* \f[I]Condition\f[] |
| 2065 |
.br |
| 2066 |
* \f[I]list\f[] of \f[I]Conditions\f[] |
| 2067 |
|
| 2068 |
.IP "Example:" 4 |
| 2069 |
.br |
| 2070 |
* "post['id'] > 12345" |
| 2071 |
.br |
| 2072 |
* ["date >= datetime(2025, 5, 1)", "print(post_id)"] |
| 2073 |
|
| 2074 |
.IP "Description:" 4 |
| 2075 |
Like \f[I]file-filter\f[], |
| 2076 |
but for posts. |
| 2077 |
|
| 2078 |
Available values are the directory-specific ones listed by \f[I]-K\f[] or \f[I]-j\f[]. |
| 2079 |
|
| 2080 |
|
| 2081 |
.SS extractor.*.child-filter |
| 2082 |
.IP "Type:" 6 |
| 2083 |
.br |
| 2084 |
* \f[I]Condition\f[] |
| 2085 |
.br |
| 2086 |
* \f[I]list\f[] of \f[I]Conditions\f[] |
| 2087 |
|
| 2088 |
.IP "Example:" 4 |
| 2089 |
.br |
| 2090 |
* "lang == 'en'" |
| 2091 |
.br |
| 2092 |
* ["language == 'French'", "10 <= chapter < 20"] |
| 2093 |
|
| 2094 |
.IP "Description:" 4 |
| 2095 |
Like \f[I]file-filter\f[], |
| 2096 |
but for child extractors handling manga chapters, external URLs, etc. |
| 2097 |
|
| 2098 |
|
| 2099 |
.SS extractor.*.file-unique |
| 2100 |
.IP "Type:" 6 |
| 2101 |
\f[I]bool\f[] |
| 2102 |
|
| 2103 |
.IP "Default:" 9 |
| 2104 |
\f[I]false\f[] |
| 2105 |
|
| 2106 |
.IP "Description:" 4 |
| 2107 |
Ignore file URLs that have been encountered before during the |
| 2108 |
current extractor run. |
| 2109 |
|
| 2110 |
|
| 2111 |
.SS extractor.*.child-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 |
Like \f[I]file-unique\f[], |
| 2120 |
but applies to delegated URLs like manga chapters, etc. |
| 2121 |
|
| 2122 |
|
| 2123 |
.SS extractor.*.date-before |
| 2124 |
.IP "Type:" 6 |
| 2125 |
\f[I]Date\f[] |
| 2126 |
|
| 2127 |
.IP "Default:" 9 |
| 2128 |
\f[I]null\f[] |
| 2129 |
|
| 2130 |
.IP "Example:" 4 |
| 2131 |
.br |
| 2132 |
* "2025-10-31" |
| 2133 |
.br |
| 2134 |
* "2026-01-09 15:30:00" |
| 2135 |
.br |
| 2136 |
* "2026-01-09T15:30:00Z" |
| 2137 |
.br |
| 2138 |
* 1767972600 |
| 2139 |
|
| 2140 |
.IP "Description:" 4 |
| 2141 |
Process only posts created before this \f[I]Date\f[]. |
| 2142 |
|
| 2143 |
Accepted values are \f[I]ISO 8601\f[] dates and Unix timestamps. |
| 2144 |
|
| 2145 |
|
| 2146 |
.SS extractor.*.date-after |
| 2147 |
.IP "Type:" 6 |
| 2148 |
\f[I]Date\f[] |
| 2149 |
|
| 2150 |
.IP "Default:" 9 |
| 2151 |
\f[I]null\f[] |
| 2152 |
|
| 2153 |
.IP "Description:" 4 |
| 2154 |
Process only posts created after this \f[I]Date\f[]. |
| 2155 |
.br |
| 2156 |
Stop extraction when encountering |
| 2157 |
.br |
| 2158 |
a post created before or equal to this \f[I]Date\f[]. |
| 2159 |
|
| 2160 |
Accepted values are \f[I]ISO 8601\f[] dates and Unix timestamps. |
| 2161 |
|
| 2162 |
|
| 2163 |
.SS extractor.*.write-pages |
| 2164 |
.IP "Type:" 6 |
| 2165 |
.br |
| 2166 |
* \f[I]bool\f[] |
| 2167 |
.br |
| 2168 |
* \f[I]string\f[] |
| 2169 |
|
| 2170 |
.IP "Default:" 9 |
| 2171 |
\f[I]false\f[] |
| 2172 |
|
| 2173 |
.IP "Description:" 4 |
| 2174 |
During data extraction, |
| 2175 |
write received HTTP request data |
| 2176 |
to enumerated files in the current working directory. |
| 2177 |
|
| 2178 |
.IP "Special Values:" 4 |
| 2179 |
\f[I]"all"\f[] |
| 2180 |
Include HTTP request and response headers. |
| 2181 |
.br |
| 2182 |
Hide \f[I]Authorization\f[], \f[I]Cookie\f[], and \f[I]Set-Cookie\f[] values. |
| 2183 |
.br |
| 2184 |
\f[I]"ALL"\f[] |
| 2185 |
Include all HTTP request and response headers. |
| 2186 |
|
| 2187 |
|
| 2188 |
.SH EXTRACTOR-SPECIFIC OPTIONS |
| 2189 |
.SS extractor.ao3.formats |
| 2190 |
.IP "Type:" 6 |
| 2191 |
.br |
| 2192 |
* \f[I]string\f[] |
| 2193 |
.br |
| 2194 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 2195 |
|
| 2196 |
.IP "Default:" 9 |
| 2197 |
\f[I]"pdf"\f[] |
| 2198 |
|
| 2199 |
.IP "Example:" 4 |
| 2200 |
.br |
| 2201 |
* "azw3,epub,mobi,pdf,html" |
| 2202 |
.br |
| 2203 |
* ["azw3", "epub", "mobi", "pdf", "html"] |
| 2204 |
|
| 2205 |
.IP "Description:" 4 |
| 2206 |
Format(s) to download. |
| 2207 |
|
| 2208 |
|
| 2209 |
.SS extractor.arcalive.emoticons |
| 2210 |
.IP "Type:" 6 |
| 2211 |
\f[I]bool\f[] |
| 2212 |
|
| 2213 |
.IP "Default:" 9 |
| 2214 |
\f[I]false\f[] |
| 2215 |
|
| 2216 |
.IP "Description:" 4 |
| 2217 |
Download emoticon images. |
| 2218 |
|
| 2219 |
|
| 2220 |
.SS extractor.arcalive.gifs |
| 2221 |
.IP "Type:" 6 |
| 2222 |
.br |
| 2223 |
* \f[I]bool\f[] |
| 2224 |
.br |
| 2225 |
* \f[I]string\f[] |
| 2226 |
|
| 2227 |
.IP "Default:" 9 |
| 2228 |
\f[I]true\f[] |
| 2229 |
|
| 2230 |
.IP "Description:" 4 |
| 2231 |
Try to download \f[I].gif\f[] versions of \f[I].mp4\f[] videos. |
| 2232 |
|
| 2233 |
\f[I]true\f[] | \f[I]"fallback\f[] |
| 2234 |
Use the \f[I].gif\f[] version as primary URL |
| 2235 |
and provide the \f[I].mp4\f[] one as |
| 2236 |
\f[I]fallback\f[]. |
| 2237 |
\f[I]"check"\f[] |
| 2238 |
Check whether a \f[I].gif\f[] version is available |
| 2239 |
by sending an extra HEAD request. |
| 2240 |
\f[I]false\f[] |
| 2241 |
Always download the \f[I].mp4\f[] version. |
| 2242 |
|
| 2243 |
|
| 2244 |
.SS extractor.artfight.include |
| 2245 |
.IP "Type:" 6 |
| 2246 |
.br |
| 2247 |
* \f[I]string\f[] |
| 2248 |
.br |
| 2249 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 2250 |
|
| 2251 |
.IP "Default:" 9 |
| 2252 |
.br |
| 2253 |
* \f[I]["characters", "attacks", "defenses"]\f[] |
| 2254 |
|
| 2255 |
.IP "Description:" 4 |
| 2256 |
A (comma-separated) list of subcategories to include |
| 2257 |
when processing a user profile. |
| 2258 |
|
| 2259 |
.IP "Supported Values:" 4 |
| 2260 |
.br |
| 2261 |
* \f[I]characters\f[] |
| 2262 |
.br |
| 2263 |
* \f[I]attacks\f[] |
| 2264 |
.br |
| 2265 |
* \f[I]defenses\f[] |
| 2266 |
|
| 2267 |
.IP "Note:" 4 |
| 2268 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 2269 |
|
| 2270 |
|
| 2271 |
.SS extractor.artstation.external |
| 2272 |
.IP "Type:" 6 |
| 2273 |
\f[I]bool\f[] |
| 2274 |
|
| 2275 |
.IP "Default:" 9 |
| 2276 |
\f[I]false\f[] |
| 2277 |
|
| 2278 |
.IP "Description:" 4 |
| 2279 |
Try to follow external URLs of embedded players. |
| 2280 |
|
| 2281 |
|
| 2282 |
.SS extractor.artstation.max-posts |
| 2283 |
.IP "Type:" 6 |
| 2284 |
\f[I]integer\f[] |
| 2285 |
|
| 2286 |
.IP "Default:" 9 |
| 2287 |
\f[I]null\f[] |
| 2288 |
|
| 2289 |
.IP "Description:" 4 |
| 2290 |
Limit the number of posts/projects to download. |
| 2291 |
|
| 2292 |
|
| 2293 |
.SS extractor.artstation.mviews |
| 2294 |
.IP "Type:" 6 |
| 2295 |
\f[I]bool\f[] |
| 2296 |
|
| 2297 |
.IP "Default:" 9 |
| 2298 |
\f[I]true\f[] |
| 2299 |
|
| 2300 |
.IP "Description:" 4 |
| 2301 |
Download \f[I].mview\f[] files. |
| 2302 |
|
| 2303 |
|
| 2304 |
.SS extractor.artstation.previews |
| 2305 |
.IP "Type:" 6 |
| 2306 |
\f[I]bool\f[] |
| 2307 |
|
| 2308 |
.IP "Default:" 9 |
| 2309 |
\f[I]false\f[] |
| 2310 |
|
| 2311 |
.IP "Description:" 4 |
| 2312 |
Download embed previews. |
| 2313 |
|
| 2314 |
|
| 2315 |
.SS extractor.artstation.videos |
| 2316 |
.IP "Type:" 6 |
| 2317 |
\f[I]bool\f[] |
| 2318 |
|
| 2319 |
.IP "Default:" 9 |
| 2320 |
\f[I]true\f[] |
| 2321 |
|
| 2322 |
.IP "Description:" 4 |
| 2323 |
Download video clips. |
| 2324 |
|
| 2325 |
|
| 2326 |
.SS extractor.artstation.search.pro-first |
| 2327 |
.IP "Type:" 6 |
| 2328 |
\f[I]bool\f[] |
| 2329 |
|
| 2330 |
.IP "Default:" 9 |
| 2331 |
\f[I]true\f[] |
| 2332 |
|
| 2333 |
.IP "Description:" 4 |
| 2334 |
Enable the "Show Studio and Pro member artwork first" checkbox |
| 2335 |
when retrieving search results. |
| 2336 |
|
| 2337 |
|
| 2338 |
.SS extractor.aryion.recursive |
| 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 |
Controls the post extraction strategy. |
| 2347 |
|
| 2348 |
\f[I]true\f[] |
| 2349 |
Start on users' main gallery pages and |
| 2350 |
recursively descend into subfolders |
| 2351 |
\f[I]false\f[] |
| 2352 |
Get posts from "Latest Updates" pages |
| 2353 |
|
| 2354 |
|
| 2355 |
.SS extractor.bbc.width |
| 2356 |
.IP "Type:" 6 |
| 2357 |
\f[I]integer\f[] |
| 2358 |
|
| 2359 |
.IP "Default:" 9 |
| 2360 |
\f[I]1920\f[] |
| 2361 |
|
| 2362 |
.IP "Description:" 4 |
| 2363 |
Specifies the requested image width. |
| 2364 |
|
| 2365 |
This value must be divisble by 16 and gets rounded down otherwise. |
| 2366 |
The maximum possible value appears to be \f[I]1920\f[]. |
| 2367 |
|
| 2368 |
|
| 2369 |
.SS extractor.behance.modules |
| 2370 |
.IP "Type:" 6 |
| 2371 |
\f[I]list\f[] of \f[I]strings\f[] |
| 2372 |
|
| 2373 |
.IP "Default:" 9 |
| 2374 |
\f[I]["image", "video", "mediacollection", "embed"]\f[] |
| 2375 |
|
| 2376 |
.IP "Description:" 4 |
| 2377 |
Selects which gallery modules to download from. |
| 2378 |
|
| 2379 |
.IP "Supported Types:" 4 |
| 2380 |
.br |
| 2381 |
* \f[I]"image"\f[] |
| 2382 |
.br |
| 2383 |
* \f[I]"video"\f[] |
| 2384 |
.br |
| 2385 |
* \f[I]"mediacollection"\f[] |
| 2386 |
.br |
| 2387 |
* \f[I]"embed"\f[] |
| 2388 |
.br |
| 2389 |
* \f[I]"text"\f[] |
| 2390 |
|
| 2391 |
|
| 2392 |
.SS extractor.bellazon.order-posts |
| 2393 |
.IP "Type:" 6 |
| 2394 |
\f[I]string\f[] |
| 2395 |
|
| 2396 |
.IP "Default:" 9 |
| 2397 |
\f[I]"desc"\f[] |
| 2398 |
|
| 2399 |
.IP "Description:" 4 |
| 2400 |
Controls the order in which |
| 2401 |
posts of a \f[I]thread\f[] are processed. |
| 2402 |
|
| 2403 |
\f[I]"asc"\f[] |
| 2404 |
Ascending order (oldest first) |
| 2405 |
\f[I]"desc"\f[] | \f[I]"reverse"\f[] |
| 2406 |
Descending order (newest first) |
| 2407 |
|
| 2408 |
|
| 2409 |
.SS extractor.bellazon.quoted |
| 2410 |
.IP "Type:" 6 |
| 2411 |
\f[I]bool\f[] |
| 2412 |
|
| 2413 |
.IP "Default:" 9 |
| 2414 |
\f[I]false\f[] |
| 2415 |
|
| 2416 |
.IP "Description:" 4 |
| 2417 |
Extract files from quoted content. |
| 2418 |
|
| 2419 |
|
| 2420 |
.SS extractor.bilibili.livephoto |
| 2421 |
.IP "Type:" 6 |
| 2422 |
\f[I]bool\f[] |
| 2423 |
|
| 2424 |
.IP "Default:" 9 |
| 2425 |
\f[I]true\f[] |
| 2426 |
|
| 2427 |
.IP "Description:" 4 |
| 2428 |
Download \f[I]livephoto\f[] files. |
| 2429 |
|
| 2430 |
|
| 2431 |
.SS extractor.[blogger].api-key |
| 2432 |
.IP "Type:" 6 |
| 2433 |
\f[I]string\f[] |
| 2434 |
|
| 2435 |
.IP "Description:" 4 |
| 2436 |
Custom Blogger API key. |
| 2437 |
|
| 2438 |
https://developers.google.com/blogger/docs/3.0/using#APIKey |
| 2439 |
|
| 2440 |
|
| 2441 |
.SS extractor.[blogger].videos |
| 2442 |
.IP "Type:" 6 |
| 2443 |
\f[I]bool\f[] |
| 2444 |
|
| 2445 |
.IP "Default:" 9 |
| 2446 |
\f[I]true\f[] |
| 2447 |
|
| 2448 |
.IP "Description:" 4 |
| 2449 |
Download embedded videos hosted on https://www.blogger.com/ |
| 2450 |
|
| 2451 |
|
| 2452 |
.SS extractor.bluesky.api-server |
| 2453 |
.IP "Type:" 6 |
| 2454 |
\f[I]string\f[] |
| 2455 |
|
| 2456 |
.IP "Default:" 9 |
| 2457 |
\f[I]"https://bsky.social"\f[] if a |
| 2458 |
.br |
| 2459 |
\f[I]username\f[] |
| 2460 |
is provided |
| 2461 |
\f[I]"https://api.bsky.app"\f[] otherwise |
| 2462 |
.br |
| 2463 |
|
| 2464 |
.IP "Description:" 4 |
| 2465 |
Server address for API requests. |
| 2466 |
|
| 2467 |
Can be used when self-hosting a |
| 2468 |
\f[I]PDS\f[] |
| 2469 |
|
| 2470 |
|
| 2471 |
.SS extractor.bluesky.include |
| 2472 |
.IP "Type:" 6 |
| 2473 |
.br |
| 2474 |
* \f[I]string\f[] |
| 2475 |
.br |
| 2476 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 2477 |
|
| 2478 |
.IP "Default:" 9 |
| 2479 |
.br |
| 2480 |
* \f[I]"posts"\f[] if |
| 2481 |
\f[I]reposts\f[] or |
| 2482 |
\f[I]quoted\f[] is enabled |
| 2483 |
.br |
| 2484 |
* \f[I]"media"\f[] otherwise |
| 2485 |
|
| 2486 |
.IP "Example:" 4 |
| 2487 |
.br |
| 2488 |
* "avatar,background,posts" |
| 2489 |
.br |
| 2490 |
* ["avatar", "background", "posts"] |
| 2491 |
|
| 2492 |
.IP "Description:" 4 |
| 2493 |
A (comma-separated) list of subcategories to include |
| 2494 |
when processing a user profile. |
| 2495 |
|
| 2496 |
.IP "Supported Values:" 4 |
| 2497 |
.br |
| 2498 |
* \f[I]info\f[] |
| 2499 |
.br |
| 2500 |
* \f[I]avatar\f[] |
| 2501 |
.br |
| 2502 |
* \f[I]background\f[] |
| 2503 |
.br |
| 2504 |
* \f[I]posts\f[] |
| 2505 |
.br |
| 2506 |
* \f[I]replies\f[] |
| 2507 |
.br |
| 2508 |
* \f[I]media\f[] |
| 2509 |
.br |
| 2510 |
* \f[I]video\f[] |
| 2511 |
.br |
| 2512 |
* \f[I]likes\f[] |
| 2513 |
|
| 2514 |
.IP "Note:" 4 |
| 2515 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 2516 |
|
| 2517 |
|
| 2518 |
.SS extractor.bluesky.likes.endpoint |
| 2519 |
.IP "Type:" 6 |
| 2520 |
\f[I]string\f[] |
| 2521 |
|
| 2522 |
.IP "Default:" 9 |
| 2523 |
\f[I]"listRecords"\f[] |
| 2524 |
|
| 2525 |
.IP "Description:" 4 |
| 2526 |
API endpoint to use for retrieving liked posts. |
| 2527 |
|
| 2528 |
\f[I]"listRecords"\f[] |
| 2529 |
Use the results from |
| 2530 |
.br |
| 2531 |
\f[I]com.atproto.repo.listRecords\f[] |
| 2532 |
Requires no login and alows accessing likes of all users, |
| 2533 |
.br |
| 2534 |
but uses one request to |
| 2535 |
\f[I]getPostThread\f[] |
| 2536 |
per post, |
| 2537 |
\f[I]"getActorLikes"\f[] |
| 2538 |
Use the results from |
| 2539 |
.br |
| 2540 |
\f[I]app.bsky.feed.getActorLikes\f[] |
| 2541 |
Requires login and only allows accessing your own likes. |
| 2542 |
.br |
| 2543 |
|
| 2544 |
|
| 2545 |
.SS extractor.bluesky.metadata |
| 2546 |
.IP "Type:" 6 |
| 2547 |
.br |
| 2548 |
* \f[I]bool\f[] |
| 2549 |
.br |
| 2550 |
* \f[I]string\f[] |
| 2551 |
.br |
| 2552 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 2553 |
|
| 2554 |
.IP "Default:" 9 |
| 2555 |
\f[I]false\f[] |
| 2556 |
|
| 2557 |
.IP "Example:" 4 |
| 2558 |
.br |
| 2559 |
* "facets,user" |
| 2560 |
.br |
| 2561 |
* ["facets", "user"] |
| 2562 |
|
| 2563 |
.IP "Description:" 4 |
| 2564 |
Extract additional metadata. |
| 2565 |
|
| 2566 |
\f[I]facets\f[] |
| 2567 |
\f[I]hashtags\f[], \f[I]mentions\f[], \f[I]uris\f[] |
| 2568 |
\f[I]user\f[] |
| 2569 |
Detailed \f[I]user\f[] metadata for the user referenced in the input URL. |
| 2570 |
.br |
| 2571 |
(\f[I]app.bsky.actor.getProfile\f[]) |
| 2572 |
.br |
| 2573 |
|
| 2574 |
|
| 2575 |
.SS extractor.bluesky.likes.depth |
| 2576 |
.IP "Type:" 6 |
| 2577 |
\f[I]integer\f[] |
| 2578 |
|
| 2579 |
.IP "Default:" 9 |
| 2580 |
\f[I]0\f[] |
| 2581 |
|
| 2582 |
.IP "Description:" 4 |
| 2583 |
Sets the maximum depth of returned reply posts. |
| 2584 |
|
| 2585 |
(See the \f[I]depth\f[] parameter of \f[I]app.bsky.feed.getPostThread\f[]) |
| 2586 |
|
| 2587 |
|
| 2588 |
.SS extractor.bluesky.quoted |
| 2589 |
.IP "Type:" 6 |
| 2590 |
\f[I]bool\f[] |
| 2591 |
|
| 2592 |
.IP "Default:" 9 |
| 2593 |
\f[I]false\f[] |
| 2594 |
|
| 2595 |
.IP "Description:" 4 |
| 2596 |
Fetch media from quoted posts. |
| 2597 |
|
| 2598 |
|
| 2599 |
.SS extractor.bluesky.reposts |
| 2600 |
.IP "Type:" 6 |
| 2601 |
\f[I]bool\f[] |
| 2602 |
|
| 2603 |
.IP "Default:" 9 |
| 2604 |
\f[I]false\f[] |
| 2605 |
|
| 2606 |
.IP "Description:" 4 |
| 2607 |
Process reposts. |
| 2608 |
|
| 2609 |
|
| 2610 |
.SS extractor.bluesky.videos |
| 2611 |
.IP "Type:" 6 |
| 2612 |
\f[I]bool\f[] |
| 2613 |
|
| 2614 |
.IP "Default:" 9 |
| 2615 |
\f[I]true\f[] |
| 2616 |
|
| 2617 |
.IP "Description:" 4 |
| 2618 |
Download videos. |
| 2619 |
|
| 2620 |
|
| 2621 |
.SS extractor.boosty.allowed |
| 2622 |
.IP "Type:" 6 |
| 2623 |
\f[I]bool\f[] |
| 2624 |
|
| 2625 |
.IP "Default:" 9 |
| 2626 |
\f[I]true\f[] |
| 2627 |
|
| 2628 |
.IP "Description:" 4 |
| 2629 |
Request only available posts. |
| 2630 |
|
| 2631 |
|
| 2632 |
.SS extractor.boosty.bought |
| 2633 |
.IP "Type:" 6 |
| 2634 |
\f[I]bool\f[] |
| 2635 |
|
| 2636 |
.IP "Default:" 9 |
| 2637 |
\f[I]false\f[] |
| 2638 |
|
| 2639 |
.IP "Description:" 4 |
| 2640 |
Request only purchased posts for \f[I]feed\f[] results. |
| 2641 |
|
| 2642 |
|
| 2643 |
.SS extractor.boosty.metadata |
| 2644 |
.IP "Type:" 6 |
| 2645 |
\f[I]bool\f[] |
| 2646 |
|
| 2647 |
.IP "Default:" 9 |
| 2648 |
\f[I]false\f[] |
| 2649 |
|
| 2650 |
.IP "Description:" 4 |
| 2651 |
Provide detailed \f[I]user\f[] metadata. |
| 2652 |
|
| 2653 |
|
| 2654 |
.SS extractor.boosty.videos |
| 2655 |
.IP "Type:" 6 |
| 2656 |
.br |
| 2657 |
* \f[I]bool\f[] |
| 2658 |
.br |
| 2659 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 2660 |
|
| 2661 |
.IP "Default:" 9 |
| 2662 |
\f[I]true\f[] |
| 2663 |
|
| 2664 |
.IP "Example:" 4 |
| 2665 |
["full_hd", "high", "medium"] |
| 2666 |
|
| 2667 |
.IP "Description:" 4 |
| 2668 |
Download videos. |
| 2669 |
|
| 2670 |
If this is a \f[I]list\f[], it selects which format to try to download. |
| 2671 |
|
| 2672 |
.IP "Possible Formats:" 4 |
| 2673 |
.br |
| 2674 |
* \f[I]ultra_hd\f[] (2160p) |
| 2675 |
.br |
| 2676 |
* \f[I]quad_hd\f[] (1440p) |
| 2677 |
.br |
| 2678 |
* \f[I]full_hd\f[] (1080p) |
| 2679 |
.br |
| 2680 |
* \f[I]high\f[] (720p) |
| 2681 |
.br |
| 2682 |
* \f[I]medium\f[] (480p) |
| 2683 |
.br |
| 2684 |
* \f[I]low\f[] (360p) |
| 2685 |
.br |
| 2686 |
* \f[I]lowest\f[] (240p) |
| 2687 |
.br |
| 2688 |
* \f[I]tiny\f[] (144p) |
| 2689 |
|
| 2690 |
|
| 2691 |
.SS extractor.booth.strategy |
| 2692 |
.IP "Type:" 6 |
| 2693 |
\f[I]string\f[] |
| 2694 |
|
| 2695 |
.IP "Default:" 9 |
| 2696 |
\f[I]"webpage"\f[] |
| 2697 |
|
| 2698 |
.IP "Description:" 4 |
| 2699 |
Selects how to handle and extract file URLs. |
| 2700 |
|
| 2701 |
\f[I]"webpage"\f[] |
| 2702 |
Retrieve the full HTML page |
| 2703 |
and extract file URLs from it |
| 2704 |
\f[I]"fallback"\f[] |
| 2705 |
Use \f[I]fallback\f[] URLs |
| 2706 |
to guess each file's correct filename extension |
| 2707 |
|
| 2708 |
|
| 2709 |
.SS extractor.bunkr.endpoint |
| 2710 |
.IP "Type:" 6 |
| 2711 |
\f[I]string\f[] |
| 2712 |
|
| 2713 |
.IP "Default:" 9 |
| 2714 |
\f[I]"/api/_001_v2"\f[] |
| 2715 |
|
| 2716 |
.IP "Description:" 4 |
| 2717 |
API endpoint for retrieving file URLs. |
| 2718 |
|
| 2719 |
|
| 2720 |
.SS extractor.bunkr.tlds |
| 2721 |
.IP "Type:" 6 |
| 2722 |
\f[I]bool\f[] |
| 2723 |
|
| 2724 |
.IP "Default:" 9 |
| 2725 |
\f[I]false\f[] |
| 2726 |
|
| 2727 |
.IP "Description:" 4 |
| 2728 |
Controls which \f[I]bunkr\f[] TLDs to accept. |
| 2729 |
|
| 2730 |
\f[I]true\f[] |
| 2731 |
Match URLs with *all* possible TLDs (e.g. \f[I]bunkr.xyz\f[] or \f[I]bunkrrr.duck\f[]) |
| 2732 |
\f[I]false\f[] |
| 2733 |
Match only URLs with known TLDs |
| 2734 |
|
| 2735 |
|
| 2736 |
.SS extractor.[chevereto].password |
| 2737 |
.IP "Type:" 6 |
| 2738 |
.br |
| 2739 |
* \f[I]string\f[] |
| 2740 |
.br |
| 2741 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 2742 |
|
| 2743 |
.IP "Default:" 9 |
| 2744 |
\f[I]null\f[] |
| 2745 |
|
| 2746 |
.IP "Example:" 4 |
| 2747 |
.br |
| 2748 |
* pw1,pw2,foobar |
| 2749 |
.br |
| 2750 |
* ["pw1", "pw2", "foobar"] |
| 2751 |
|
| 2752 |
.IP "Description:" 4 |
| 2753 |
Password value(s) used to access protected albums. |
| 2754 |
|
| 2755 |
|
| 2756 |
.SS extractor.cien.files |
| 2757 |
.IP "Type:" 6 |
| 2758 |
\f[I]list\f[] of \f[I]strings\f[] |
| 2759 |
|
| 2760 |
.IP "Default:" 9 |
| 2761 |
\f[I]["image", "video", "download", "gallery"]\f[] |
| 2762 |
|
| 2763 |
.IP "Description:" 4 |
| 2764 |
Determines the type and order of files to download. |
| 2765 |
|
| 2766 |
.IP "Available Types:" 4 |
| 2767 |
.br |
| 2768 |
* \f[I]image\f[] |
| 2769 |
.br |
| 2770 |
* \f[I]video\f[] |
| 2771 |
.br |
| 2772 |
* \f[I]cover\f[] |
| 2773 |
.br |
| 2774 |
* \f[I]download\f[] |
| 2775 |
.br |
| 2776 |
* \f[I]gallery\f[] |
| 2777 |
|
| 2778 |
|
| 2779 |
.SS extractor.civitai.api |
| 2780 |
.IP "Type:" 6 |
| 2781 |
\f[I]string\f[] |
| 2782 |
|
| 2783 |
.IP "Default:" 9 |
| 2784 |
\f[I]"trpc"\f[] |
| 2785 |
|
| 2786 |
.IP "Description:" 4 |
| 2787 |
Selects which API endpoints to use. |
| 2788 |
|
| 2789 |
\f[I]"rest"\f[] |
| 2790 |
\f[I]Public REST API\f[] |
| 2791 |
\f[I]"trpc"\f[] |
| 2792 |
Internal tRPC API |
| 2793 |
|
| 2794 |
|
| 2795 |
.SS extractor.civitai.api-key |
| 2796 |
.IP "Type:" 6 |
| 2797 |
\f[I]string\f[] |
| 2798 |
|
| 2799 |
.IP "Description:" 4 |
| 2800 |
The API Key value generated in your |
| 2801 |
\f[I]User Account Settings\f[] |
| 2802 |
to make authorized API requests. |
| 2803 |
|
| 2804 |
See \f[I]API/Authorization\f[] |
| 2805 |
for details. |
| 2806 |
|
| 2807 |
|
| 2808 |
.SS extractor.civitai.files |
| 2809 |
.IP "Type:" 6 |
| 2810 |
\f[I]list\f[] of \f[I]strings\f[] |
| 2811 |
|
| 2812 |
.IP "Default:" 9 |
| 2813 |
\f[I]["image"]\f[] |
| 2814 |
|
| 2815 |
.IP "Description:" 4 |
| 2816 |
Determines the type and order of files to download when processing models. |
| 2817 |
|
| 2818 |
.IP "Available Types:" 4 |
| 2819 |
.br |
| 2820 |
* \f[I]model\f[] |
| 2821 |
.br |
| 2822 |
* \f[I]image\f[] |
| 2823 |
.br |
| 2824 |
* \f[I]gallery\f[] |
| 2825 |
|
| 2826 |
|
| 2827 |
.SS extractor.civitai.include |
| 2828 |
.IP "Type:" 6 |
| 2829 |
.br |
| 2830 |
* \f[I]string\f[] |
| 2831 |
.br |
| 2832 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 2833 |
|
| 2834 |
.IP "Default:" 9 |
| 2835 |
\f[I]["user-images", "user-videos"]\f[] |
| 2836 |
|
| 2837 |
.IP "Description:" 4 |
| 2838 |
A (comma-separated) list of subcategories to include |
| 2839 |
when processing a user profile. |
| 2840 |
|
| 2841 |
.IP "Supported Values:" 4 |
| 2842 |
.br |
| 2843 |
* \f[I]user-models\f[] |
| 2844 |
.br |
| 2845 |
* \f[I]user-posts\f[] |
| 2846 |
.br |
| 2847 |
* \f[I]user-images\f[] |
| 2848 |
.br |
| 2849 |
* \f[I]user-videos\f[] |
| 2850 |
.br |
| 2851 |
* \f[I]user-collections\f[] |
| 2852 |
|
| 2853 |
.IP "Note:" 4 |
| 2854 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 2855 |
|
| 2856 |
To get a more complete set of metadata |
| 2857 |
like \f[I]model['name']\f[] and \f[I]post['title']\f[], |
| 2858 |
include \f[I]user-models\f[] and \f[I]user-posts\f[] |
| 2859 |
as well as the default \f[I]user-images\f[] and \f[I]user-videos\f[]: |
| 2860 |
|
| 2861 |
\f[I]["user-models", "user-posts", "user-images", "user-videos"]\f[] |
| 2862 |
|
| 2863 |
|
| 2864 |
.SS extractor.civitai.metadata |
| 2865 |
.IP "Type:" 6 |
| 2866 |
.br |
| 2867 |
* \f[I]bool\f[] |
| 2868 |
.br |
| 2869 |
* \f[I]string\f[] |
| 2870 |
.br |
| 2871 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 2872 |
|
| 2873 |
.IP "Default:" 9 |
| 2874 |
\f[I]false\f[] |
| 2875 |
|
| 2876 |
.IP "Example:" 4 |
| 2877 |
.br |
| 2878 |
* "generation,tags,post,version" |
| 2879 |
.br |
| 2880 |
* ["version", "generation"] |
| 2881 |
|
| 2882 |
.IP "Description:" 4 |
| 2883 |
Extract additional metadata. |
| 2884 |
|
| 2885 |
.IP "Supported Values:" 4 |
| 2886 |
.br |
| 2887 |
* \f[I]generation\f[] |
| 2888 |
.br |
| 2889 |
* \f[I]post\f[] |
| 2890 |
.br |
| 2891 |
* \f[I]tags\f[] |
| 2892 |
.br |
| 2893 |
* \f[I]version\f[] |
| 2894 |
|
| 2895 |
.IP "Note:" 4 |
| 2896 |
This requires 1 additional API request |
| 2897 |
for each selected value per image or video. |
| 2898 |
|
| 2899 |
|
| 2900 |
.SS extractor.civitai.nsfw |
| 2901 |
.IP "Type:" 6 |
| 2902 |
.br |
| 2903 |
* \f[I]bool\f[] |
| 2904 |
.br |
| 2905 |
* \f[I]string\f[] (\f[I]"api": "rest"\f[]) |
| 2906 |
.br |
| 2907 |
* \f[I]integer\f[] (\f[I]"api": "trpc"\f[]) |
| 2908 |
|
| 2909 |
.IP "Default:" 9 |
| 2910 |
\f[I]true\f[] |
| 2911 |
|
| 2912 |
.IP "Description:" 4 |
| 2913 |
Download NSFW-rated images. |
| 2914 |
|
| 2915 |
.br |
| 2916 |
* For \f[I]"api": "rest"\f[], this can be one of |
| 2917 |
\f[I]"None"\f[], \f[I]"Soft"\f[], \f[I]"Mature"\f[], \f[I]"X"\f[] |
| 2918 |
to set the highest returned mature content flag. |
| 2919 |
|
| 2920 |
.br |
| 2921 |
* For \f[I]"api": "trpc"\f[], this can be an \f[I]integer\f[] |
| 2922 |
whose bits select the returned mature content flags. |
| 2923 |
|
| 2924 |
For example, \f[I]28\f[] (\f[I]4\f[I]8\f[]16\f[]) would return only |
| 2925 |
\f[I]R\f[], \f[I]X\f[], and \f[I]XXX\f[] rated images, |
| 2926 |
while \f[I]3\f[] (\f[I]1|2\f[]) would return only |
| 2927 |
\f[I]None\f[] and \f[I]Soft\f[] rated images, |
| 2928 |
|
| 2929 |
.IP "Note:" 4 |
| 2930 |
Requires |
| 2931 |
\f[I]api-key\f[] |
| 2932 |
or authenticated |
| 2933 |
\f[I]cookies\f[] |
| 2934 |
to allow NSFW content. |
| 2935 |
|
| 2936 |
|
| 2937 |
.SS extractor.civitai.period |
| 2938 |
.IP "Type:" 6 |
| 2939 |
\f[I]string\f[] |
| 2940 |
|
| 2941 |
.IP "Default:" 9 |
| 2942 |
\f[I]"AllTime"\f[] |
| 2943 |
|
| 2944 |
.IP "Description:" 4 |
| 2945 |
Sets the \f[I]period\f[] parameter |
| 2946 |
when paginating over results. |
| 2947 |
|
| 2948 |
.IP "Supported Values:" 4 |
| 2949 |
.br |
| 2950 |
* \f[I]"AllTime"\f[] |
| 2951 |
.br |
| 2952 |
* \f[I]"Year"\f[] |
| 2953 |
.br |
| 2954 |
* \f[I]"Month"\f[] |
| 2955 |
.br |
| 2956 |
* \f[I]"Week"\f[] |
| 2957 |
.br |
| 2958 |
* \f[I]"Day"\f[] |
| 2959 |
|
| 2960 |
|
| 2961 |
.SS extractor.civitai.sort |
| 2962 |
.IP "Type:" 6 |
| 2963 |
\f[I]string\f[] |
| 2964 |
|
| 2965 |
.IP "Default:" 9 |
| 2966 |
\f[I]"Newest"\f[] |
| 2967 |
|
| 2968 |
.IP "Description:" 4 |
| 2969 |
Sets the \f[I]sort\f[] parameter |
| 2970 |
when paginating over results. |
| 2971 |
|
| 2972 |
.IP "Supported Values:" 4 |
| 2973 |
.br |
| 2974 |
* \f[I]"Newest"\f[] |
| 2975 |
.br |
| 2976 |
* \f[I]"Oldest"\f[] |
| 2977 |
.br |
| 2978 |
* \f[I]"Most Reactions"\f[] |
| 2979 |
.br |
| 2980 |
* \f[I]"Most Comments"\f[] |
| 2981 |
.br |
| 2982 |
* \f[I]"Most Collected"\f[] |
| 2983 |
|
| 2984 |
.IP "Special Values:" 4 |
| 2985 |
\f[I]"asc"\f[] |
| 2986 |
Ascending order (\f[I]"Oldest"\f[]) |
| 2987 |
\f[I]"desc"\f[] | \f[I]"reverse"\f[] |
| 2988 |
Descending order (\f[I]"Newest"\f[]) |
| 2989 |
|
| 2990 |
|
| 2991 |
.SS extractor.civitai.quality |
| 2992 |
.IP "Type:" 6 |
| 2993 |
.br |
| 2994 |
* \f[I]string\f[] |
| 2995 |
.br |
| 2996 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 2997 |
|
| 2998 |
.IP "Default:" 9 |
| 2999 |
\f[I]"original=true"\f[] |
| 3000 |
|
| 3001 |
.IP "Example:" 4 |
| 3002 |
.br |
| 3003 |
* "width=1280,quality=90" |
| 3004 |
.br |
| 3005 |
* ["width=1280", "quality=90"] |
| 3006 |
|
| 3007 |
.IP "Description:" 4 |
| 3008 |
A (comma-separated) list of image quality options |
| 3009 |
to pass with every image URL. |
| 3010 |
|
| 3011 |
Known available options include \f[I]original\f[], \f[I]quality\f[], \f[I]width\f[] |
| 3012 |
|
| 3013 |
.IP "Note:" 4 |
| 3014 |
Set this option to an arbitrary letter, e.g., \f[I]"w"\f[], |
| 3015 |
to download images in JPEG format at their original resolution. |
| 3016 |
|
| 3017 |
|
| 3018 |
.SS extractor.civitai.quality-videos |
| 3019 |
.IP "Type:" 6 |
| 3020 |
.br |
| 3021 |
* \f[I]string\f[] |
| 3022 |
.br |
| 3023 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 3024 |
|
| 3025 |
.IP "Default:" 9 |
| 3026 |
\f[I]"original"\f[] |
| 3027 |
|
| 3028 |
.IP "Example:" 4 |
| 3029 |
.br |
| 3030 |
* "+transcode=true,quality=100" |
| 3031 |
.br |
| 3032 |
* ["+", "transcode=true", "quality=100"] |
| 3033 |
|
| 3034 |
.IP "Description:" 4 |
| 3035 |
A (comma-separated) list of video quality options |
| 3036 |
to pass with every video URL. |
| 3037 |
|
| 3038 |
Known available options include \f[I]original\f[], \f[I]quality\f[], \f[I]transcode\f[] |
| 3039 |
|
| 3040 |
Use \f[I]+\f[] as first character to add the given options to the |
| 3041 |
\f[I]quality\f[] ones. |
| 3042 |
|
| 3043 |
|
| 3044 |
.SS extractor.civitai.quality-fallback |
| 3045 |
.IP "Type:" 6 |
| 3046 |
\f[I]string\f[] |
| 3047 |
|
| 3048 |
.IP "Default:" 9 |
| 3049 |
\f[I]"transcode=true,original=true,quality=100"\f[] |
| 3050 |
|
| 3051 |
.IP "Description:" 4 |
| 3052 |
Video quality options to pass with video fallback URLs. |
| 3053 |
|
| 3054 |
|
| 3055 |
.SS extractor.civitai.search-images.token |
| 3056 |
.IP "Type:" 6 |
| 3057 |
\f[I]string\f[] |
| 3058 |
|
| 3059 |
.IP "Default:" 9 |
| 3060 |
\f[I]"8c46eb2508e21db1e9828a97968d91ab1ca1caa5f70a00e88a2ba1e286603b61"\f[] |
| 3061 |
|
| 3062 |
.IP "Description:" 4 |
| 3063 |
\f[I]Authorization\f[] header value used for /multi-search queries. |
| 3064 |
|
| 3065 |
|
| 3066 |
.SS extractor.coomer.files |
| 3067 |
.IP "Type:" 6 |
| 3068 |
\f[I]list\f[] of \f[I]strings\f[] |
| 3069 |
|
| 3070 |
.IP "Default:" 9 |
| 3071 |
\f[I]["file", "attachments", "inline"]\f[] |
| 3072 |
|
| 3073 |
.IP "Description:" 4 |
| 3074 |
Determines the type and order of files to be downloaded. |
| 3075 |
|
| 3076 |
.IP "Available Types:" 4 |
| 3077 |
.br |
| 3078 |
* \f[I]file\f[] |
| 3079 |
.br |
| 3080 |
* \f[I]attachments\f[] |
| 3081 |
.br |
| 3082 |
* \f[I]inline\f[] |
| 3083 |
|
| 3084 |
|
| 3085 |
.SS extractor.clonr.zip |
| 3086 |
.IP "Type:" 6 |
| 3087 |
\f[I]bool\f[] |
| 3088 |
|
| 3089 |
.IP "Default:" 9 |
| 3090 |
\f[I]false\f[] |
| 3091 |
|
| 3092 |
.IP "Description:" 4 |
| 3093 |
Download folder content as a single ZIP archive instead of individual files. |
| 3094 |
|
| 3095 |
|
| 3096 |
.SS extractor.cosmos.format |
| 3097 |
.IP "Type:" 6 |
| 3098 |
.br |
| 3099 |
* \f[I]string\f[] |
| 3100 |
|
| 3101 |
.IP "Default:" 9 |
| 3102 |
\f[I]"jpeg"\f[] |
| 3103 |
|
| 3104 |
.IP "Example:" 4 |
| 3105 |
"avif" |
| 3106 |
|
| 3107 |
.IP "Description:" 4 |
| 3108 |
Selects file type of downloaded images. |
| 3109 |
|
| 3110 |
|
| 3111 |
.SS extractor.cyberdrop.domain |
| 3112 |
.IP "Type:" 6 |
| 3113 |
\f[I]string\f[] |
| 3114 |
|
| 3115 |
.IP "Default:" 9 |
| 3116 |
\f[I]null\f[] |
| 3117 |
|
| 3118 |
.IP "Example:" 4 |
| 3119 |
"cyberdrop.to" |
| 3120 |
|
| 3121 |
.IP "Description:" 4 |
| 3122 |
Specifies the domain used by \f[I]cyberdrop\f[] regardless of input URL. |
| 3123 |
|
| 3124 |
Setting this option to \f[I]"auto"\f[] |
| 3125 |
uses the same domain as a given input URL. |
| 3126 |
|
| 3127 |
|
| 3128 |
.SS extractor.cyberfile.password |
| 3129 |
.IP "Type:" 6 |
| 3130 |
\f[I]string\f[] |
| 3131 |
|
| 3132 |
.IP "Default:" 9 |
| 3133 |
\f[I]""\f[] |
| 3134 |
|
| 3135 |
.IP "Description:" 4 |
| 3136 |
Password value used to access protected files and folders. |
| 3137 |
|
| 3138 |
Leave this value empty or undefined |
| 3139 |
to be interactively prompted for a password when needed |
| 3140 |
(see \f[I]getpass()\f[]). |
| 3141 |
|
| 3142 |
|
| 3143 |
.SS extractor.cyberfile.recursive |
| 3144 |
.IP "Type:" 6 |
| 3145 |
\f[I]bool\f[] |
| 3146 |
|
| 3147 |
.IP "Default:" 9 |
| 3148 |
\f[I]true\f[] |
| 3149 |
|
| 3150 |
.IP "Description:" 4 |
| 3151 |
Recursively download files from subfolders. |
| 3152 |
|
| 3153 |
|
| 3154 |
.SS extractor.[Danbooru].external |
| 3155 |
.IP "Type:" 6 |
| 3156 |
\f[I]bool\f[] |
| 3157 |
|
| 3158 |
.IP "Default:" 9 |
| 3159 |
\f[I]false\f[] |
| 3160 |
|
| 3161 |
.IP "Description:" 4 |
| 3162 |
For unavailable or restricted posts, |
| 3163 |
follow the \f[I]source\f[] and download from there if possible. |
| 3164 |
|
| 3165 |
|
| 3166 |
.SS extractor.[Danbooru].favgroup.order-posts |
| 3167 |
.IP "Type:" 6 |
| 3168 |
\f[I]string\f[] |
| 3169 |
|
| 3170 |
.IP "Default:" 9 |
| 3171 |
\f[I]"pool"\f[] |
| 3172 |
|
| 3173 |
.IP "Description:" 4 |
| 3174 |
Controls the order in which \f[I]pool\f[]/\f[I]favgroup\f[] posts are returned. |
| 3175 |
|
| 3176 |
\f[I]"pool"\f[] \f[I] \f[I]"pool_asc"\f[] \f[] \f[I]"asc"\f[] \f[I] \f[I]"asc_pool"\f[] |
| 3177 |
Pool order |
| 3178 |
\f[I]"pool_desc"\f[] \f[] \f[I]"desc_pool"\f[] \f[I] \f[I]"desc"\f[] |
| 3179 |
Reverse Pool order |
| 3180 |
\f[I]"id"\f[] \f[] \f[I]"id_desc"\f[] \f[I] \f[I]"desc_id"\f[] |
| 3181 |
Descending Post ID order |
| 3182 |
\f[I]"id_asc"\f[] \f[] \f[I]"asc_id"\f[] |
| 3183 |
Ascending Post ID order |
| 3184 |
|
| 3185 |
|
| 3186 |
.SS extractor.[Danbooru].ugoira |
| 3187 |
.IP "Type:" 6 |
| 3188 |
\f[I]bool\f[] |
| 3189 |
|
| 3190 |
.IP "Default:" 9 |
| 3191 |
\f[I]false\f[] |
| 3192 |
|
| 3193 |
.IP "Description:" 4 |
| 3194 |
Controls the download target for Ugoira posts. |
| 3195 |
|
| 3196 |
\f[I]true\f[] |
| 3197 |
ZIP archives |
| 3198 |
\f[I]false\f[] |
| 3199 |
Converted video files |
| 3200 |
|
| 3201 |
|
| 3202 |
.SS extractor.[Danbooru].metadata |
| 3203 |
.IP "Type:" 6 |
| 3204 |
.br |
| 3205 |
* \f[I]bool\f[] |
| 3206 |
.br |
| 3207 |
* \f[I]string\f[] |
| 3208 |
.br |
| 3209 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 3210 |
|
| 3211 |
.IP "Default:" 9 |
| 3212 |
\f[I]false\f[] |
| 3213 |
|
| 3214 |
.IP "Example:" 4 |
| 3215 |
.br |
| 3216 |
* "replacements,comments,ai_tags" |
| 3217 |
.br |
| 3218 |
* ["replacements", "comments", "ai_tags"] |
| 3219 |
|
| 3220 |
.IP "Description:" 4 |
| 3221 |
Extract additional metadata |
| 3222 |
(notes, artist commentary, parent, children, uploader) |
| 3223 |
|
| 3224 |
It is possible to specify a custom list of metadata includes. |
| 3225 |
See \f[I]available_includes\f[] |
| 3226 |
for possible field names. \f[I]aibooru\f[] also supports \f[I]ai_metadata\f[]. |
| 3227 |
|
| 3228 |
.IP "Note:" 4 |
| 3229 |
This requires 1 additional HTTP request per 200-post batch. |
| 3230 |
|
| 3231 |
|
| 3232 |
.SS extractor.[Danbooru].threshold |
| 3233 |
.IP "Type:" 6 |
| 3234 |
.br |
| 3235 |
* \f[I]string\f[] |
| 3236 |
.br |
| 3237 |
* \f[I]integer\f[] |
| 3238 |
|
| 3239 |
.IP "Default:" 9 |
| 3240 |
\f[I]"auto"\f[] |
| 3241 |
|
| 3242 |
.IP "Description:" 4 |
| 3243 |
Stop paginating over API results if the length of a batch of returned |
| 3244 |
posts is less than the specified number. Defaults to the per-page limit |
| 3245 |
of the current instance, which is 200. |
| 3246 |
|
| 3247 |
.IP "Note:" 4 |
| 3248 |
Changing this setting is normally not necessary. When the value is |
| 3249 |
greater than the per-page limit, gallery-dl will stop after the first |
| 3250 |
batch. The value cannot be less than 1. |
| 3251 |
|
| 3252 |
|
| 3253 |
.SS extractor.dankefuerslesen.zip |
| 3254 |
.IP "Type:" 6 |
| 3255 |
\f[I]bool\f[] |
| 3256 |
|
| 3257 |
.IP "Default:" 9 |
| 3258 |
\f[I]false\f[] |
| 3259 |
|
| 3260 |
.IP "Description:" 4 |
| 3261 |
Download each chapter as a single ZIP archive instead of individual images. |
| 3262 |
|
| 3263 |
|
| 3264 |
.SS extractor.deviantart.auto-watch |
| 3265 |
.IP "Type:" 6 |
| 3266 |
\f[I]bool\f[] |
| 3267 |
|
| 3268 |
.IP "Default:" 9 |
| 3269 |
\f[I]false\f[] |
| 3270 |
|
| 3271 |
.IP "Description:" 4 |
| 3272 |
Automatically watch users when encountering "Watchers-Only Deviations" |
| 3273 |
(requires a \f[I]refresh-token\f[]). |
| 3274 |
|
| 3275 |
|
| 3276 |
.SS extractor.deviantart.auto-unwatch |
| 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 |
After watching a user through \f[I]auto-watch\f[], |
| 3285 |
unwatch that user at the end of the current extractor run. |
| 3286 |
|
| 3287 |
|
| 3288 |
.SS extractor.deviantart.comments |
| 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 |
Extract \f[I]comments\f[] metadata. |
| 3297 |
|
| 3298 |
|
| 3299 |
.SS extractor.deviantart.comments-avatars |
| 3300 |
.IP "Type:" 6 |
| 3301 |
\f[I]bool\f[] |
| 3302 |
|
| 3303 |
.IP "Default:" 9 |
| 3304 |
\f[I]false\f[] |
| 3305 |
|
| 3306 |
.IP "Description:" 4 |
| 3307 |
Download the avatar of each commenting user. |
| 3308 |
|
| 3309 |
.IP "Note:" 4 |
| 3310 |
Enabling this option also enables deviantart.comments_. |
| 3311 |
|
| 3312 |
|
| 3313 |
.SS extractor.deviantart.extra |
| 3314 |
.IP "Type:" 6 |
| 3315 |
\f[I]bool\f[] |
| 3316 |
|
| 3317 |
.IP "Default:" 9 |
| 3318 |
\f[I]false\f[] |
| 3319 |
|
| 3320 |
.IP "Description:" 4 |
| 3321 |
Download extra Sta.sh resources from |
| 3322 |
description texts and journals. |
| 3323 |
|
| 3324 |
.IP "Note:" 4 |
| 3325 |
Enabling this option also enables deviantart.metadata_. |
| 3326 |
|
| 3327 |
|
| 3328 |
.SS extractor.deviantart.flat |
| 3329 |
.IP "Type:" 6 |
| 3330 |
\f[I]bool\f[] |
| 3331 |
|
| 3332 |
.IP "Default:" 9 |
| 3333 |
\f[I]true\f[] |
| 3334 |
|
| 3335 |
.IP "Description:" 4 |
| 3336 |
Select the directory structure created by the Gallery- and |
| 3337 |
Favorite-Extractors. |
| 3338 |
|
| 3339 |
\f[I]true\f[] |
| 3340 |
Use a flat directory structure. |
| 3341 |
\f[I]false\f[] |
| 3342 |
Collect a list of all gallery \f[I]folders\f[] or |
| 3343 |
favorites \f[I]collections\f[] and transfer any further work to other |
| 3344 |
extractors (\f[I]folder\f[] or \f[I]collection\f[]), which will then |
| 3345 |
create individual subdirectories for each of them. |
| 3346 |
|
| 3347 |
.IP "Note:" 4 |
| 3348 |
Going through all gallery folders won't |
| 3349 |
fetch deviations not contained in any folder. |
| 3350 |
|
| 3351 |
|
| 3352 |
.SS extractor.deviantart.folders |
| 3353 |
.IP "Type:" 6 |
| 3354 |
\f[I]bool\f[] |
| 3355 |
|
| 3356 |
.IP "Default:" 9 |
| 3357 |
\f[I]false\f[] |
| 3358 |
|
| 3359 |
.IP "Description:" 4 |
| 3360 |
Provide a \f[I]folders\f[] metadata field that contains the names of all |
| 3361 |
folders a deviation is present in. |
| 3362 |
|
| 3363 |
.IP "Note:" 4 |
| 3364 |
Gathering this information requires a lot of API calls. |
| 3365 |
Use with caution. |
| 3366 |
|
| 3367 |
|
| 3368 |
.SS extractor.deviantart.group |
| 3369 |
.IP "Type:" 6 |
| 3370 |
.br |
| 3371 |
* \f[I]bool\f[] |
| 3372 |
.br |
| 3373 |
* \f[I]string\f[] |
| 3374 |
|
| 3375 |
.IP "Default:" 9 |
| 3376 |
\f[I]true\f[] |
| 3377 |
|
| 3378 |
.IP "Description:" 4 |
| 3379 |
Check whether the profile name in a given URL |
| 3380 |
belongs to a group or a regular user. |
| 3381 |
|
| 3382 |
When disabled, assume every given profile name |
| 3383 |
belongs to a regular user. |
| 3384 |
|
| 3385 |
.IP "Special Values:" 4 |
| 3386 |
\f[I]"skip"\f[] |
| 3387 |
Skip groups |
| 3388 |
|
| 3389 |
|
| 3390 |
.SS extractor.deviantart.include |
| 3391 |
.IP "Type:" 6 |
| 3392 |
.br |
| 3393 |
* \f[I]string\f[] |
| 3394 |
.br |
| 3395 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 3396 |
|
| 3397 |
.IP "Default:" 9 |
| 3398 |
\f[I]"gallery"\f[] |
| 3399 |
|
| 3400 |
.IP "Example:" 4 |
| 3401 |
.br |
| 3402 |
* "favorite,journal,scraps" |
| 3403 |
.br |
| 3404 |
* ["favorite", "journal", "scraps"] |
| 3405 |
|
| 3406 |
.IP "Description:" 4 |
| 3407 |
A (comma-separated) list of subcategories to include |
| 3408 |
when processing a user profile. |
| 3409 |
|
| 3410 |
.IP "Supported Values:" 4 |
| 3411 |
.br |
| 3412 |
* \f[I]avatar\f[] |
| 3413 |
.br |
| 3414 |
* \f[I]background\f[] |
| 3415 |
.br |
| 3416 |
* \f[I]gallery\f[] |
| 3417 |
.br |
| 3418 |
* \f[I]scraps\f[] |
| 3419 |
.br |
| 3420 |
* \f[I]journal\f[] |
| 3421 |
.br |
| 3422 |
* \f[I]favorite\f[] |
| 3423 |
.br |
| 3424 |
* \f[I]status\f[] |
| 3425 |
|
| 3426 |
.IP "Note:" 4 |
| 3427 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 3428 |
|
| 3429 |
|
| 3430 |
.SS extractor.deviantart.intermediary |
| 3431 |
.IP "Type:" 6 |
| 3432 |
\f[I]bool\f[] |
| 3433 |
|
| 3434 |
.IP "Default:" 9 |
| 3435 |
\f[I]true\f[] |
| 3436 |
|
| 3437 |
.IP "Description:" 4 |
| 3438 |
For older non-downloadable images, |
| 3439 |
download a higher-quality \f[I]/intermediary/\f[] version. |
| 3440 |
|
| 3441 |
|
| 3442 |
.SS extractor.deviantart.journals |
| 3443 |
.IP "Type:" 6 |
| 3444 |
\f[I]string\f[] |
| 3445 |
|
| 3446 |
.IP "Default:" 9 |
| 3447 |
\f[I]"html"\f[] |
| 3448 |
|
| 3449 |
.IP "Description:" 4 |
| 3450 |
Selects the output format for textual content. This includes journals, |
| 3451 |
literature and status updates. |
| 3452 |
|
| 3453 |
\f[I]"html"\f[] |
| 3454 |
HTML with (roughly) the same layout as on DeviantArt. |
| 3455 |
\f[I]"text"\f[] |
| 3456 |
Plain text with image references and HTML tags removed. |
| 3457 |
\f[I]"none"\f[] |
| 3458 |
Don't download textual content. |
| 3459 |
|
| 3460 |
|
| 3461 |
.SS extractor.deviantart.mature |
| 3462 |
.IP "Type:" 6 |
| 3463 |
\f[I]bool\f[] |
| 3464 |
|
| 3465 |
.IP "Default:" 9 |
| 3466 |
\f[I]true\f[] |
| 3467 |
|
| 3468 |
.IP "Description:" 4 |
| 3469 |
Enable mature content. |
| 3470 |
|
| 3471 |
This option simply sets the \f[I]mature_content\f[] parameter for API |
| 3472 |
calls to either \f[I]"true"\f[] or \f[I]"false"\f[] and does not do any other |
| 3473 |
form of content filtering. |
| 3474 |
|
| 3475 |
|
| 3476 |
.SS extractor.deviantart.metadata |
| 3477 |
.IP "Type:" 6 |
| 3478 |
.br |
| 3479 |
* \f[I]bool\f[] |
| 3480 |
.br |
| 3481 |
* \f[I]string\f[] |
| 3482 |
.br |
| 3483 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 3484 |
|
| 3485 |
.IP "Default:" 9 |
| 3486 |
\f[I]false\f[] |
| 3487 |
|
| 3488 |
.IP "Example:" 4 |
| 3489 |
.br |
| 3490 |
* "stats,submission" |
| 3491 |
.br |
| 3492 |
* ["camera", "stats", "submission"] |
| 3493 |
|
| 3494 |
.IP "Description:" 4 |
| 3495 |
Extract additional metadata for deviation objects. |
| 3496 |
|
| 3497 |
Provides |
| 3498 |
\f[I]description\f[], \f[I]tags\f[], \f[I]license\f[], and \f[I]is_watching\f[] |
| 3499 |
fields when enabled. |
| 3500 |
|
| 3501 |
It is possible to request extended metadata by specifying a list of |
| 3502 |
|
| 3503 |
\f[I]camera\f[] |
| 3504 |
EXIF information if available |
| 3505 |
\f[I]stats\f[] |
| 3506 |
Deviation statistics |
| 3507 |
\f[I]submission\f[] |
| 3508 |
Submission information |
| 3509 |
\f[I]collection\f[] |
| 3510 |
Favourited folder information (requires a \f[I]refresh token\f[]) |
| 3511 |
\f[I]gallery\f[] |
| 3512 |
Gallery folder information (requires a \f[I]refresh token\f[]) |
| 3513 |
|
| 3514 |
.IP "Note:" 4 |
| 3515 |
Set this option to \f[I]"all"\f[] to request all extended metadata categories. |
| 3516 |
|
| 3517 |
See \f[I]/deviation/metadata\f[] |
| 3518 |
for official documentation. |
| 3519 |
|
| 3520 |
|
| 3521 |
.SS extractor.deviantart.original |
| 3522 |
.IP "Type:" 6 |
| 3523 |
.br |
| 3524 |
* \f[I]bool\f[] |
| 3525 |
.br |
| 3526 |
* \f[I]string\f[] |
| 3527 |
|
| 3528 |
.IP "Default:" 9 |
| 3529 |
\f[I]false\f[] |
| 3530 |
|
| 3531 |
.IP "Description:" 4 |
| 3532 |
Download original files if available. |
| 3533 |
|
| 3534 |
Setting this option to \f[I]"images"\f[] only downloads original |
| 3535 |
files if they are images and falls back to preview versions for |
| 3536 |
everything else (archives, videos, etc.). |
| 3537 |
|
| 3538 |
.IP "Note:" 4 |
| 3539 |
https://www.deviantart.com/team/status-update/An-adjustments-being-made-to-1307747979 :: |
| 3540 |
|
| 3541 |
> The New Weekly Limits: |
| 3542 |
> Non-Core & Core Basic: 10 downloads per week |
| 3543 |
> Core+ and higher : 150 downloads per week |
| 3544 |
|
| 3545 |
|
| 3546 |
.SS extractor.deviantart.pagination |
| 3547 |
.IP "Type:" 6 |
| 3548 |
\f[I]string\f[] |
| 3549 |
|
| 3550 |
.IP "Default:" 9 |
| 3551 |
\f[I]"api"\f[] |
| 3552 |
|
| 3553 |
.IP "Description:" 4 |
| 3554 |
Controls when to stop paginating over API results. |
| 3555 |
|
| 3556 |
\f[I]"api"\f[] |
| 3557 |
Trust the API and stop when \f[I]has_more\f[] is \f[I]false\f[]. |
| 3558 |
\f[I]"manual"\f[] |
| 3559 |
Disregard \f[I]has_more\f[] and only stop when a batch of results is empty. |
| 3560 |
|
| 3561 |
|
| 3562 |
.SS extractor.deviantart.previews |
| 3563 |
.IP "Type:" 6 |
| 3564 |
\f[I]bool\f[] |
| 3565 |
|
| 3566 |
.IP "Default:" 9 |
| 3567 |
\f[I]false\f[] |
| 3568 |
|
| 3569 |
.IP "Description:" 4 |
| 3570 |
For non-image files (archives, videos, etc.), |
| 3571 |
also download the file's preview image. |
| 3572 |
|
| 3573 |
Set this option to \f[I]"all"\f[] to download previews for all files. |
| 3574 |
|
| 3575 |
|
| 3576 |
.SS extractor.deviantart.public |
| 3577 |
.IP "Type:" 6 |
| 3578 |
\f[I]bool\f[] |
| 3579 |
|
| 3580 |
.IP "Default:" 9 |
| 3581 |
\f[I]true\f[] |
| 3582 |
|
| 3583 |
.IP "Description:" 4 |
| 3584 |
Use a public access token for API requests. |
| 3585 |
|
| 3586 |
Disable this option to *force* using a private token for all requests |
| 3587 |
when a \f[I]refresh token\f[] is provided. |
| 3588 |
|
| 3589 |
|
| 3590 |
.SS extractor.deviantart.quality |
| 3591 |
.IP "Type:" 6 |
| 3592 |
.br |
| 3593 |
* \f[I]integer\f[] |
| 3594 |
.br |
| 3595 |
* \f[I]string\f[] |
| 3596 |
|
| 3597 |
.IP "Default:" 9 |
| 3598 |
\f[I]100\f[] |
| 3599 |
|
| 3600 |
.IP "Description:" 4 |
| 3601 |
JPEG quality level of images for which |
| 3602 |
an original file download is not available. |
| 3603 |
|
| 3604 |
Set this to \f[I]"png"\f[] to download a PNG version of these images instead. |
| 3605 |
|
| 3606 |
|
| 3607 |
.SS extractor.deviantart.refresh-token |
| 3608 |
.IP "Type:" 6 |
| 3609 |
\f[I]string\f[] |
| 3610 |
|
| 3611 |
.IP "Default:" 9 |
| 3612 |
\f[I]null\f[] |
| 3613 |
|
| 3614 |
.IP "Description:" 4 |
| 3615 |
The \f[I]refresh-token\f[] value you get from |
| 3616 |
\f[I]linking your DeviantArt account to gallery-dl\f[]. |
| 3617 |
|
| 3618 |
Using a \f[I]refresh-token\f[] allows you to access private or otherwise |
| 3619 |
not publicly available deviations. |
| 3620 |
|
| 3621 |
.IP "Note:" 4 |
| 3622 |
The \f[I]refresh-token\f[] becomes invalid |
| 3623 |
\f[I]after 3 months\f[] |
| 3624 |
or whenever your \f[I]cache file\f[] is deleted or cleared. |
| 3625 |
|
| 3626 |
|
| 3627 |
.SS extractor.deviantart.wait-min |
| 3628 |
.IP "Type:" 6 |
| 3629 |
\f[I]integer\f[] |
| 3630 |
|
| 3631 |
.IP "Default:" 9 |
| 3632 |
\f[I]0\f[] |
| 3633 |
|
| 3634 |
.IP "Description:" 4 |
| 3635 |
Minimum wait time in seconds before API requests. |
| 3636 |
|
| 3637 |
|
| 3638 |
.SS extractor.deviantart.avatar.formats |
| 3639 |
.IP "Type:" 6 |
| 3640 |
\f[I]list\f[] of \f[I]strings\f[] |
| 3641 |
|
| 3642 |
.IP "Example:" 4 |
| 3643 |
["original.jpg", "big.jpg", "big.gif", ".png"] |
| 3644 |
|
| 3645 |
.IP "Description:" 4 |
| 3646 |
Avatar URL formats to return. |
| 3647 |
|
| 3648 |
Each format is parsed as \f[I]SIZE.EXT\f[]. |
| 3649 |
.br |
| 3650 |
Leave \f[I]SIZE\f[] empty to download the regular, small avatar format. |
| 3651 |
.br |
| 3652 |
|
| 3653 |
.IP "Note:" 4 |
| 3654 |
Consider updating |
| 3655 |
.br |
| 3656 |
\f[I]archive-format\f[] |
| 3657 |
for \f[I]avatar\f[] results to |
| 3658 |
\f[I]"a_{_username}_{index}{title[6:]}.{extension}"\f[] |
| 3659 |
.br |
| 3660 |
or similar when using an |
| 3661 |
.br |
| 3662 |
\f[I]archive\f[] |
| 3663 |
to be able to handle different formats. |
| 3664 |
|
| 3665 |
|
| 3666 |
.SS extractor.deviantart.folder.subfolders |
| 3667 |
.IP "Type:" 6 |
| 3668 |
\f[I]bool\f[] |
| 3669 |
|
| 3670 |
.IP "Default:" 9 |
| 3671 |
\f[I]true\f[] |
| 3672 |
|
| 3673 |
.IP "Description:" 4 |
| 3674 |
Also extract subfolder content. |
| 3675 |
|
| 3676 |
|
| 3677 |
.SS extractor.discord.embeds |
| 3678 |
.IP "Type:" 6 |
| 3679 |
\f[I]list\f[] of \f[I]strings\f[] |
| 3680 |
|
| 3681 |
.IP "Default:" 9 |
| 3682 |
\f[I]["image", "gifv", "video"]\f[] |
| 3683 |
|
| 3684 |
.IP "Description:" 4 |
| 3685 |
Selects which embed types to download from. |
| 3686 |
|
| 3687 |
Supported embed types are |
| 3688 |
\f[I]image\f[], \f[I]gifv\f[], \f[I]video\f[], \f[I]rich\f[], \f[I]article\f[], \f[I]link\f[]. |
| 3689 |
|
| 3690 |
|
| 3691 |
.SS extractor.discord.threads |
| 3692 |
.IP "Type:" 6 |
| 3693 |
\f[I]bool\f[] |
| 3694 |
|
| 3695 |
.IP "Default:" 9 |
| 3696 |
\f[I]true\f[] |
| 3697 |
|
| 3698 |
.IP "Description:" 4 |
| 3699 |
Extract threads from Discord text channels. |
| 3700 |
|
| 3701 |
|
| 3702 |
.SS extractor.discord.token |
| 3703 |
.IP "Type:" 6 |
| 3704 |
\f[I]string\f[] |
| 3705 |
|
| 3706 |
.IP "Description:" 4 |
| 3707 |
Discord Bot Token for API requests. |
| 3708 |
|
| 3709 |
You can follow \f[I]this guide\f[] to get a token. |
| 3710 |
|
| 3711 |
|
| 3712 |
.SS extractor.dynastyscans.anthology.metadata |
| 3713 |
.IP "Type:" 6 |
| 3714 |
\f[I]bool\f[] |
| 3715 |
|
| 3716 |
.IP "Default:" 9 |
| 3717 |
\f[I]false\f[] |
| 3718 |
|
| 3719 |
.IP "Description:" 4 |
| 3720 |
Extract \f[I]alert\f[], \f[I]description\f[], and \f[I]status\f[] metadata |
| 3721 |
from an anthology's HTML page. |
| 3722 |
|
| 3723 |
|
| 3724 |
.SS extractor.[E621].metadata |
| 3725 |
.IP "Type:" 6 |
| 3726 |
.br |
| 3727 |
* \f[I]bool\f[] |
| 3728 |
.br |
| 3729 |
* \f[I]string\f[] |
| 3730 |
.br |
| 3731 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 3732 |
|
| 3733 |
.IP "Default:" 9 |
| 3734 |
\f[I]false\f[] |
| 3735 |
|
| 3736 |
.IP "Example:" 4 |
| 3737 |
.br |
| 3738 |
* "notes,pools" |
| 3739 |
.br |
| 3740 |
* ["notes", "pools"] |
| 3741 |
|
| 3742 |
.IP "Description:" 4 |
| 3743 |
Extract additional metadata (notes, pool metadata) if available. |
| 3744 |
|
| 3745 |
.IP "Note:" 4 |
| 3746 |
This requires 0-2 additional HTTP requests per post. |
| 3747 |
|
| 3748 |
|
| 3749 |
.SS extractor.[E621].threshold |
| 3750 |
.IP "Type:" 6 |
| 3751 |
.br |
| 3752 |
* \f[I]string\f[] |
| 3753 |
.br |
| 3754 |
* \f[I]integer\f[] |
| 3755 |
|
| 3756 |
.IP "Default:" 9 |
| 3757 |
\f[I]"auto"\f[] |
| 3758 |
|
| 3759 |
.IP "Description:" 4 |
| 3760 |
Stop paginating over API results if the length of a batch of returned |
| 3761 |
posts is less than the specified number. Defaults to the per-page limit |
| 3762 |
of the current instance, which is 320. |
| 3763 |
|
| 3764 |
.IP "Note:" 4 |
| 3765 |
Changing this setting is normally not necessary. When the value is |
| 3766 |
greater than the per-page limit, gallery-dl will stop after the first |
| 3767 |
batch. The value cannot be less than 1. |
| 3768 |
|
| 3769 |
|
| 3770 |
.SS extractor.erome.user.reposts |
| 3771 |
.IP "Type:" 6 |
| 3772 |
\f[I]bool\f[] |
| 3773 |
|
| 3774 |
.IP "Default:" 9 |
| 3775 |
\f[I]false\f[] |
| 3776 |
|
| 3777 |
.IP "Description:" 4 |
| 3778 |
Include reposts when extracting albums from a user profile. |
| 3779 |
|
| 3780 |
|
| 3781 |
.SS extractor.exhentai.domain |
| 3782 |
.IP "Type:" 6 |
| 3783 |
\f[I]string\f[] |
| 3784 |
|
| 3785 |
.IP "Default:" 9 |
| 3786 |
\f[I]"auto"\f[] |
| 3787 |
|
| 3788 |
.IP "Description:" 4 |
| 3789 |
\f[I]"auto"\f[] |
| 3790 |
Use \f[I]e-hentai.org\f[] or \f[I]exhentai.org\f[] |
| 3791 |
depending on the input URL |
| 3792 |
\f[I]"e-hentai.org"\f[] |
| 3793 |
Use \f[I]e-hentai.org\f[] for all URLs |
| 3794 |
\f[I]"exhentai.org"\f[] |
| 3795 |
Use \f[I]exhentai.org\f[] for all URLs |
| 3796 |
|
| 3797 |
|
| 3798 |
.SS extractor.exhentai.fallback-retries |
| 3799 |
.IP "Type:" 6 |
| 3800 |
\f[I]integer\f[] |
| 3801 |
|
| 3802 |
.IP "Default:" 9 |
| 3803 |
\f[I]2\f[] |
| 3804 |
|
| 3805 |
.IP "Description:" 4 |
| 3806 |
Number of times a failed image gets retried, |
| 3807 |
or \f[I]-1\f[] for infinite retries. |
| 3808 |
|
| 3809 |
|
| 3810 |
.SS extractor.exhentai.fav |
| 3811 |
.IP "Type:" 6 |
| 3812 |
\f[I]string\f[] |
| 3813 |
|
| 3814 |
.IP "Example:" 4 |
| 3815 |
"4" |
| 3816 |
|
| 3817 |
.IP "Description:" 4 |
| 3818 |
After downloading a gallery, |
| 3819 |
add it to your account's favorites as the given category number. |
| 3820 |
|
| 3821 |
.IP "Note:" 4 |
| 3822 |
Set this to "favdel" to remove galleries from your favorites. |
| 3823 |
|
| 3824 |
This will remove any Favorite Notes when applied |
| 3825 |
to already favorited galleries. |
| 3826 |
|
| 3827 |
|
| 3828 |
.SS extractor.exhentai.gp |
| 3829 |
.IP "Type:" 6 |
| 3830 |
\f[I]string\f[] |
| 3831 |
|
| 3832 |
.IP "Default:" 9 |
| 3833 |
\f[I]"resized"\f[] |
| 3834 |
|
| 3835 |
.IP "Description:" 4 |
| 3836 |
Selects how to handle "you do not have enough GP" errors. |
| 3837 |
|
| 3838 |
.br |
| 3839 |
* "resized": Continue downloading \f[I]non-original\f[] images. |
| 3840 |
.br |
| 3841 |
* "stop": Stop the current extractor run. |
| 3842 |
.br |
| 3843 |
* "wait": Wait for user input before retrying the current image. |
| 3844 |
|
| 3845 |
|
| 3846 |
.SS extractor.exhentai.limits |
| 3847 |
.IP "Type:" 6 |
| 3848 |
\f[I]integer\f[] |
| 3849 |
|
| 3850 |
.IP "Default:" 9 |
| 3851 |
\f[I]null\f[] |
| 3852 |
|
| 3853 |
.IP "Description:" 4 |
| 3854 |
Set a custom image download limit and perform |
| 3855 |
\f[I]limits-action\f[] |
| 3856 |
when it gets exceeded. |
| 3857 |
|
| 3858 |
|
| 3859 |
.SS extractor.exhentai.limits-action |
| 3860 |
.IP "Type:" 6 |
| 3861 |
\f[I]string\f[] |
| 3862 |
|
| 3863 |
.IP "Default:" 9 |
| 3864 |
\f[I]"stop"\f[] |
| 3865 |
|
| 3866 |
.IP "Description:" 4 |
| 3867 |
Action to perform when the image limit is exceeded. |
| 3868 |
|
| 3869 |
.br |
| 3870 |
* "stop": Stop the current extractor run. |
| 3871 |
.br |
| 3872 |
* "wait": Wait for user input. |
| 3873 |
.br |
| 3874 |
* "reset": Spend GP to reset your account's image limits. |
| 3875 |
|
| 3876 |
|
| 3877 |
.SS extractor.exhentai.metadata |
| 3878 |
.IP "Type:" 6 |
| 3879 |
\f[I]bool\f[] |
| 3880 |
|
| 3881 |
.IP "Default:" 9 |
| 3882 |
\f[I]false\f[] |
| 3883 |
|
| 3884 |
.IP "Description:" 4 |
| 3885 |
Load extended gallery metadata from the |
| 3886 |
\f[I]API\f[]. |
| 3887 |
|
| 3888 |
.br |
| 3889 |
* Adds \f[I]archiver_key\f[], \f[I]posted\f[], and \f[I]torrents\f[] |
| 3890 |
.br |
| 3891 |
* Provides exact \f[I]date\f[] and \f[I]filesize\f[] |
| 3892 |
|
| 3893 |
|
| 3894 |
.SS extractor.exhentai.original |
| 3895 |
.IP "Type:" 6 |
| 3896 |
\f[I]bool\f[] |
| 3897 |
|
| 3898 |
.IP "Default:" 9 |
| 3899 |
\f[I]true\f[] |
| 3900 |
|
| 3901 |
.IP "Description:" 4 |
| 3902 |
Download full-sized original images if available. |
| 3903 |
|
| 3904 |
|
| 3905 |
.SS extractor.exhentai.source |
| 3906 |
.IP "Type:" 6 |
| 3907 |
\f[I]string\f[] |
| 3908 |
|
| 3909 |
.IP "Default:" 9 |
| 3910 |
\f[I]"gallery"\f[] |
| 3911 |
|
| 3912 |
.IP "Description:" 4 |
| 3913 |
Selects an alternative source to download files from. |
| 3914 |
|
| 3915 |
\f[I]"hitomi"\f[] |
| 3916 |
Download the corresponding gallery from \f[I]hitomi.la\f[] |
| 3917 |
\f[I]"metadata"\f[] |
| 3918 |
Load only a gallery's metadata from the |
| 3919 |
\f[I]API\f[] |
| 3920 |
\f[I]"torrent"\f[] |
| 3921 |
Download a gallery's \f[I].torrent\f[] files |
| 3922 |
|
| 3923 |
|
| 3924 |
.SS extractor.exhentai.tags |
| 3925 |
.IP "Type:" 6 |
| 3926 |
\f[I]bool\f[] |
| 3927 |
|
| 3928 |
.IP "Default:" 9 |
| 3929 |
\f[I]true\f[] |
| 3930 |
|
| 3931 |
.IP "Description:" 4 |
| 3932 |
Group \f[I]tags\f[] by type and |
| 3933 |
provide them as \f[I]tags_<type>\f[] metadata fields, |
| 3934 |
for example \f[I]tags_artist\f[] or \f[I]tags_character\f[]. |
| 3935 |
|
| 3936 |
|
| 3937 |
.SS extractor.facebook.author-followups |
| 3938 |
.IP "Type:" 6 |
| 3939 |
\f[I]bool\f[] |
| 3940 |
|
| 3941 |
.IP "Default:" 9 |
| 3942 |
\f[I]false\f[] |
| 3943 |
|
| 3944 |
.IP "description:" 4 |
| 3945 |
Extract comments that include photo attachments made by the author of the post. |
| 3946 |
|
| 3947 |
|
| 3948 |
.SS extractor.facebook.fallback-retries |
| 3949 |
.IP "Type:" 6 |
| 3950 |
\f[I]integer\f[] |
| 3951 |
|
| 3952 |
.IP "Default:" 9 |
| 3953 |
\f[I]2\f[] |
| 3954 |
|
| 3955 |
.IP "Description:" 4 |
| 3956 |
Number of times empty pages get retried, |
| 3957 |
or \f[I]-1\f[] for infinite retries. |
| 3958 |
|
| 3959 |
|
| 3960 |
.SS extractor.facebook.include |
| 3961 |
.IP "Type:" 6 |
| 3962 |
.br |
| 3963 |
* \f[I]string\f[] |
| 3964 |
.br |
| 3965 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 3966 |
|
| 3967 |
.IP "Default:" 9 |
| 3968 |
\f[I]"photos"\f[] |
| 3969 |
|
| 3970 |
.IP "Example:" 4 |
| 3971 |
.br |
| 3972 |
* "avatar,photos" |
| 3973 |
.br |
| 3974 |
* ["avatar", "photos"] |
| 3975 |
|
| 3976 |
.IP "Description:" 4 |
| 3977 |
A (comma-separated) list of subcategories to include |
| 3978 |
when processing a user profile. |
| 3979 |
|
| 3980 |
.IP "Supported Values:" 4 |
| 3981 |
.br |
| 3982 |
* \f[I]info\f[] |
| 3983 |
.br |
| 3984 |
* \f[I]avatar\f[] |
| 3985 |
.br |
| 3986 |
* \f[I]photos\f[] |
| 3987 |
.br |
| 3988 |
* \f[I]albums\f[] |
| 3989 |
|
| 3990 |
.IP "Note:" 4 |
| 3991 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 3992 |
|
| 3993 |
|
| 3994 |
.SS extractor.facebook.loop |
| 3995 |
.IP "Type:" 6 |
| 3996 |
\f[I]bool\f[] |
| 3997 |
|
| 3998 |
.IP "Default:" 9 |
| 3999 |
\f[I]true\f[] |
| 4000 |
|
| 4001 |
.IP "Description:" 4 |
| 4002 |
Continue when detecting a possible jump to a set's beginning. |
| 4003 |
|
| 4004 |
|
| 4005 |
.SS extractor.facebook.videos |
| 4006 |
.IP "Type:" 6 |
| 4007 |
.br |
| 4008 |
* \f[I]bool\f[] |
| 4009 |
.br |
| 4010 |
* \f[I]string\f[] |
| 4011 |
|
| 4012 |
.IP "Default:" 9 |
| 4013 |
\f[I]true\f[] |
| 4014 |
|
| 4015 |
.IP "Description:" 4 |
| 4016 |
Control video download behavior. |
| 4017 |
|
| 4018 |
\f[I]true\f[] |
| 4019 |
Extract and download video & audio separately. |
| 4020 |
\f[I]"ytdl"\f[] |
| 4021 |
Let \f[I]ytdl\f[] handle video extraction and download, and merge video & audio streams. |
| 4022 |
\f[I]false\f[] |
| 4023 |
Ignore videos. |
| 4024 |
|
| 4025 |
|
| 4026 |
.SS extractor.fanbox.comments |
| 4027 |
.IP "Type:" 6 |
| 4028 |
\f[I]bool\f[] |
| 4029 |
|
| 4030 |
.IP "Default:" 9 |
| 4031 |
\f[I]false\f[] |
| 4032 |
|
| 4033 |
.IP "Description:" 4 |
| 4034 |
Extract \f[I]comments\f[] metadata. |
| 4035 |
|
| 4036 |
.IP "Note:" 4 |
| 4037 |
This requires 1 or more additional API requests per post, |
| 4038 |
depending on the number of comments. |
| 4039 |
|
| 4040 |
|
| 4041 |
.SS extractor.fanbox.embeds |
| 4042 |
.IP "Type:" 6 |
| 4043 |
.br |
| 4044 |
* \f[I]bool\f[] |
| 4045 |
.br |
| 4046 |
* \f[I]string\f[] |
| 4047 |
|
| 4048 |
.IP "Default:" 9 |
| 4049 |
\f[I]true\f[] |
| 4050 |
|
| 4051 |
.IP "Description:" 4 |
| 4052 |
Control behavior on embedded content from external sites. |
| 4053 |
|
| 4054 |
\f[I]true\f[] |
| 4055 |
Extract embed URLs and download them if supported |
| 4056 |
(videos are not downloaded). |
| 4057 |
\f[I]"ytdl"\f[] |
| 4058 |
Like \f[I]true\f[], but let \f[I]ytdl\f[] handle video |
| 4059 |
extraction and download for YouTube, Vimeo, and SoundCloud embeds. |
| 4060 |
\f[I]false\f[] |
| 4061 |
Ignore embeds. |
| 4062 |
|
| 4063 |
|
| 4064 |
.SS extractor.fanbox.fee-min |
| 4065 |
.IP "Type:" 6 |
| 4066 |
\f[I]integer\f[] |
| 4067 |
|
| 4068 |
.IP "Description:" 4 |
| 4069 |
Do not request API data or extract files from posts |
| 4070 |
that require a fee (\f[I]feeRequired\f[]) less than the specified amount. |
| 4071 |
|
| 4072 |
|
| 4073 |
.SS extractor.fanbox.fee-max |
| 4074 |
.IP "Type:" 6 |
| 4075 |
\f[I]integer\f[] |
| 4076 |
|
| 4077 |
.IP "Description:" 4 |
| 4078 |
Do not request API data or extract files from posts |
| 4079 |
that require a fee (\f[I]feeRequired\f[]) greater than the specified amount. |
| 4080 |
|
| 4081 |
|
| 4082 |
.SS extractor.fanbox.metadata |
| 4083 |
.IP "Type:" 6 |
| 4084 |
.br |
| 4085 |
* \f[I]bool\f[] |
| 4086 |
.br |
| 4087 |
* \f[I]string\f[] |
| 4088 |
.br |
| 4089 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 4090 |
|
| 4091 |
.IP "Default:" 9 |
| 4092 |
\f[I]false\f[] |
| 4093 |
|
| 4094 |
.IP "Example:" 4 |
| 4095 |
.br |
| 4096 |
* user,plan,comments |
| 4097 |
.br |
| 4098 |
* ["user", "plan", "comments"] |
| 4099 |
|
| 4100 |
.IP "Description:" 4 |
| 4101 |
Extract \f[I]plan\f[] and extended \f[I]user\f[] metadata. |
| 4102 |
|
| 4103 |
.IP "Supported Fields:" 4 |
| 4104 |
.br |
| 4105 |
* \f[I]comments\f[] |
| 4106 |
.br |
| 4107 |
* \f[I]plan\f[] |
| 4108 |
.br |
| 4109 |
* \f[I]user\f[] |
| 4110 |
|
| 4111 |
.IP "Note:" 4 |
| 4112 |
\f[I]comments\f[] can also be enabled via |
| 4113 |
\f[I]fanbox.comments\f[] |
| 4114 |
|
| 4115 |
|
| 4116 |
.SS extractor.fanbox.creator.offset |
| 4117 |
.IP "Type:" 6 |
| 4118 |
\f[I]integer\f[] |
| 4119 |
|
| 4120 |
.IP "Default:" 9 |
| 4121 |
\f[I]0\f[] |
| 4122 |
|
| 4123 |
.IP "Description:" 4 |
| 4124 |
Custom \f[I]offset\f[] starting value when paginating over posts. |
| 4125 |
|
| 4126 |
|
| 4127 |
.SS extractor.fansly.formats |
| 4128 |
.IP "Type:" 6 |
| 4129 |
\f[I]list\f[] of \f[I]integers\f[] |
| 4130 |
|
| 4131 |
.IP "Default:" 9 |
| 4132 |
\f[I]null\f[] |
| 4133 |
|
| 4134 |
.IP "Example:" 4 |
| 4135 |
[1, 2, 3, 4, 302, 303] |
| 4136 |
|
| 4137 |
.IP "Description:" 4 |
| 4138 |
List of file formats to consider during format selection. |
| 4139 |
|
| 4140 |
|
| 4141 |
.SS extractor.fansly.previews |
| 4142 |
.IP "Type:" 6 |
| 4143 |
\f[I]bool\f[] |
| 4144 |
|
| 4145 |
.IP "Default:" 9 |
| 4146 |
\f[I]true\f[] |
| 4147 |
|
| 4148 |
.IP "Description:" 4 |
| 4149 |
Download previews if no other format is available. |
| 4150 |
|
| 4151 |
|
| 4152 |
.SS extractor.fansly.token |
| 4153 |
.IP "Type:" 6 |
| 4154 |
\f[I]string\f[] |
| 4155 |
|
| 4156 |
.IP "Example:" 4 |
| 4157 |
"kX7pL9qW3zT2rY8mB5nJ4vC6xF1tA0hD8uE2wG9yR3sQ7iZ4oM5jN6cP8lV0bK2tU9aL1eW" |
| 4158 |
|
| 4159 |
.IP "Description:" 4 |
| 4160 |
\f[I]authorization\f[] header value |
| 4161 |
used for requests to \f[I]https://apiv3.fansly.com/api\f[] |
| 4162 |
to access locked content. |
| 4163 |
|
| 4164 |
|
| 4165 |
.SS extractor.filester.domain |
| 4166 |
.IP "Type:" 6 |
| 4167 |
\f[I]string\f[] |
| 4168 |
|
| 4169 |
.IP "Default:" 9 |
| 4170 |
\f[I]"filester.me"\f[] |
| 4171 |
|
| 4172 |
.IP "Description:" 4 |
| 4173 |
Specifies the domain used by \f[I]filester\f[] extractors. |
| 4174 |
|
| 4175 |
Setting this option to \f[I]"auto"\f[] |
| 4176 |
uses the same domain as a given input URL. |
| 4177 |
|
| 4178 |
|
| 4179 |
.SS extractor.flickr.access-token & .access-token-secret |
| 4180 |
.IP "Type:" 6 |
| 4181 |
\f[I]string\f[] |
| 4182 |
|
| 4183 |
.IP "Default:" 9 |
| 4184 |
\f[I]null\f[] |
| 4185 |
|
| 4186 |
.IP "Description:" 4 |
| 4187 |
The \f[I]access_token\f[] and \f[I]access_token_secret\f[] values you get |
| 4188 |
from \f[I]linking your Flickr account to gallery-dl\f[]. |
| 4189 |
|
| 4190 |
|
| 4191 |
.SS extractor.flickr.contexts |
| 4192 |
.IP "Type:" 6 |
| 4193 |
\f[I]bool\f[] |
| 4194 |
|
| 4195 |
.IP "Default:" 9 |
| 4196 |
\f[I]false\f[] |
| 4197 |
|
| 4198 |
.IP "Description:" 4 |
| 4199 |
For each photo, return the albums and pools it belongs to |
| 4200 |
as \f[I]set\f[] and \f[I]pool\f[] metadata. |
| 4201 |
|
| 4202 |
.IP "Note:" 4 |
| 4203 |
This requires 1 additional API call per photo. |
| 4204 |
See \f[I]flickr.photos.getAllContexts\f[] for details. |
| 4205 |
|
| 4206 |
|
| 4207 |
.SS extractor.flickr.exif |
| 4208 |
.IP "Type:" 6 |
| 4209 |
\f[I]bool\f[] |
| 4210 |
|
| 4211 |
.IP "Default:" 9 |
| 4212 |
\f[I]false\f[] |
| 4213 |
|
| 4214 |
.IP "Description:" 4 |
| 4215 |
For each photo, return its EXIF/TIFF/GPS tags |
| 4216 |
as \f[I]exif\f[] and \f[I]camera\f[] metadata. |
| 4217 |
|
| 4218 |
.IP "Note:" 4 |
| 4219 |
This requires 1 additional API call per photo. |
| 4220 |
See \f[I]flickr.photos.getExif\f[] for details. |
| 4221 |
|
| 4222 |
|
| 4223 |
.SS extractor.flickr.info |
| 4224 |
.IP "Type:" 6 |
| 4225 |
\f[I]bool\f[] |
| 4226 |
|
| 4227 |
.IP "Default:" 9 |
| 4228 |
\f[I]false\f[] |
| 4229 |
|
| 4230 |
.IP "Description:" 4 |
| 4231 |
For each photo, retrieve its "full" metadata as provided by |
| 4232 |
\f[I]flickr.photos.getInfo\f[] |
| 4233 |
|
| 4234 |
.IP "Note:" 4 |
| 4235 |
This requires 1 additional API call per photo. |
| 4236 |
|
| 4237 |
|
| 4238 |
.SS extractor.flickr.metadata |
| 4239 |
.IP "Type:" 6 |
| 4240 |
.br |
| 4241 |
* \f[I]bool\f[] |
| 4242 |
.br |
| 4243 |
* \f[I]string\f[] |
| 4244 |
.br |
| 4245 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 4246 |
|
| 4247 |
.IP "Default:" 9 |
| 4248 |
\f[I]false\f[] |
| 4249 |
|
| 4250 |
.IP "Example:" 4 |
| 4251 |
.br |
| 4252 |
* license,last_update,machine_tags |
| 4253 |
.br |
| 4254 |
* ["license", "last_update", "machine_tags"] |
| 4255 |
|
| 4256 |
.IP "Description:" 4 |
| 4257 |
Extract additional metadata |
| 4258 |
(license, date_taken, original_format, last_update, geo, machine_tags, o_dims) |
| 4259 |
|
| 4260 |
It is possible to specify a custom list of metadata includes. |
| 4261 |
See \f[I]the extras parameter\f[] |
| 4262 |
in \f[I]Flickr's API docs\f[] |
| 4263 |
for possible field names. |
| 4264 |
|
| 4265 |
|
| 4266 |
.SS extractor.flickr.profile |
| 4267 |
.IP "Type:" 6 |
| 4268 |
\f[I]bool\f[] |
| 4269 |
|
| 4270 |
.IP "Default:" 9 |
| 4271 |
\f[I]false\f[] |
| 4272 |
|
| 4273 |
.IP "Description:" 4 |
| 4274 |
Extract additional \f[I]user\f[] profile metadata. |
| 4275 |
|
| 4276 |
.IP "Note:" 4 |
| 4277 |
This requires 1 additional API call per user profile. |
| 4278 |
See \f[I]flickr.people.getInfo\f[] for details. |
| 4279 |
|
| 4280 |
|
| 4281 |
.SS extractor.flickr.size-max |
| 4282 |
.IP "Type:" 6 |
| 4283 |
.br |
| 4284 |
* \f[I]integer\f[] |
| 4285 |
.br |
| 4286 |
* \f[I]string\f[] |
| 4287 |
|
| 4288 |
.IP "Default:" 9 |
| 4289 |
\f[I]null\f[] |
| 4290 |
|
| 4291 |
.IP "Description:" 4 |
| 4292 |
Sets the maximum allowed size for downloaded images. |
| 4293 |
|
| 4294 |
.br |
| 4295 |
* If this is an \f[I]integer\f[], it specifies the maximum image dimension |
| 4296 |
(width and height) in pixels. |
| 4297 |
.br |
| 4298 |
* If this is a \f[I]string\f[], it should be one of Flickr's format specifiers |
| 4299 |
(\f[I]"Original"\f[], \f[I]"Large"\f[], ... or \f[I]"o"\f[], \f[I]"k"\f[], \f[I]"h"\f[], |
| 4300 |
\f[I]"l"\f[], ...) to use as an upper limit. |
| 4301 |
|
| 4302 |
|
| 4303 |
.SS extractor.flickr.videos |
| 4304 |
.IP "Type:" 6 |
| 4305 |
\f[I]bool\f[] |
| 4306 |
|
| 4307 |
.IP "Default:" 9 |
| 4308 |
\f[I]true\f[] |
| 4309 |
|
| 4310 |
.IP "Description:" 4 |
| 4311 |
Extract and download videos. |
| 4312 |
|
| 4313 |
|
| 4314 |
.SS extractor.flickr.urls |
| 4315 |
.IP "Type:" 6 |
| 4316 |
\f[I]string\f[] |
| 4317 |
|
| 4318 |
.IP "Default:" 9 |
| 4319 |
\f[I]null\f[] |
| 4320 |
|
| 4321 |
.IP "Description:" 4 |
| 4322 |
Transform image URLs. |
| 4323 |
|
| 4324 |
\f[I]"download"\f[] |
| 4325 |
Download URLs |
| 4326 |
(e.g. \f[I]https://live.staticflickr.com/123/456789_abcdef_o_d.jpg\f[]) |
| 4327 |
|
| 4328 |
|
| 4329 |
.SS extractor.foriio.audio |
| 4330 |
.IP "Type:" 6 |
| 4331 |
\f[I]bool\f[] |
| 4332 |
|
| 4333 |
.IP "Default:" 9 |
| 4334 |
\f[I]true\f[] |
| 4335 |
|
| 4336 |
.IP "Description:" 4 |
| 4337 |
Download embedded audio files using \f[I]ytdl\f[] |
| 4338 |
in \f[I]sound\f[] works |
| 4339 |
|
| 4340 |
|
| 4341 |
.SS extractor.foriio.external |
| 4342 |
.IP "Type:" 6 |
| 4343 |
\f[I]bool\f[] |
| 4344 |
|
| 4345 |
.IP "Default:" 9 |
| 4346 |
\f[I]true\f[] |
| 4347 |
|
| 4348 |
.IP "Description:" 4 |
| 4349 |
Follow external URLs |
| 4350 |
in \f[I]web_article\f[] works |
| 4351 |
|
| 4352 |
|
| 4353 |
.SS extractor.foriio.user.posts |
| 4354 |
.IP "Type:" 6 |
| 4355 |
.br |
| 4356 |
* \f[I]string\f[] |
| 4357 |
.br |
| 4358 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 4359 |
|
| 4360 |
.IP "Default:" 9 |
| 4361 |
\f[I]null\f[] |
| 4362 |
|
| 4363 |
.IP "Example:" 4 |
| 4364 |
.br |
| 4365 |
* "image,video,sound" |
| 4366 |
.br |
| 4367 |
* ["web_article", "copy_writing"] |
| 4368 |
|
| 4369 |
.IP "Description:" 4 |
| 4370 |
Only process works of the given types. |
| 4371 |
|
| 4372 |
|
| 4373 |
.SS extractor.foriio.previews |
| 4374 |
.IP "Type:" 6 |
| 4375 |
\f[I]bool\f[] |
| 4376 |
|
| 4377 |
.IP "Default:" 9 |
| 4378 |
\f[I]false\f[] |
| 4379 |
|
| 4380 |
.IP "Description:" 4 |
| 4381 |
Download preview images of embedded media. |
| 4382 |
|
| 4383 |
|
| 4384 |
.SS extractor.foriio.videos |
| 4385 |
.IP "Type:" 6 |
| 4386 |
\f[I]bool\f[] |
| 4387 |
|
| 4388 |
.IP "Default:" 9 |
| 4389 |
\f[I]true\f[] |
| 4390 |
|
| 4391 |
.IP "Description:" 4 |
| 4392 |
Download embedded (YouTube) videos using \f[I]ytdl\f[] |
| 4393 |
in \f[I]video\f[] works |
| 4394 |
|
| 4395 |
|
| 4396 |
.SS extractor.furaffinity.comments |
| 4397 |
.IP "Type:" 6 |
| 4398 |
\f[I]string\f[] |
| 4399 |
|
| 4400 |
.IP "Default:" 9 |
| 4401 |
\f[I]"text"\f[] |
| 4402 |
|
| 4403 |
.IP "Description:" 4 |
| 4404 |
Controls the format of \f[I]text\f[] entries in \f[I]comments\f[] metadata fields. |
| 4405 |
|
| 4406 |
\f[I]"text"\f[] |
| 4407 |
Plain text with HTML tags removed |
| 4408 |
\f[I]"html"\f[] |
| 4409 |
Raw HTML content |
| 4410 |
|
| 4411 |
|
| 4412 |
.SS extractor.furaffinity.descriptions |
| 4413 |
.IP "Type:" 6 |
| 4414 |
\f[I]string\f[] |
| 4415 |
|
| 4416 |
.IP "Default:" 9 |
| 4417 |
\f[I]"text"\f[] |
| 4418 |
|
| 4419 |
.IP "Description:" 4 |
| 4420 |
Controls the format of \f[I]description\f[] metadata fields. |
| 4421 |
|
| 4422 |
\f[I]"text"\f[] |
| 4423 |
Plain text with HTML tags removed |
| 4424 |
\f[I]"html"\f[] |
| 4425 |
Raw HTML content |
| 4426 |
|
| 4427 |
|
| 4428 |
.SS extractor.furaffinity.external |
| 4429 |
.IP "Type:" 6 |
| 4430 |
\f[I]bool\f[] |
| 4431 |
|
| 4432 |
.IP "Default:" 9 |
| 4433 |
\f[I]false\f[] |
| 4434 |
|
| 4435 |
.IP "Description:" 4 |
| 4436 |
Follow external URLs linked in descriptions. |
| 4437 |
|
| 4438 |
|
| 4439 |
.SS extractor.furaffinity.include |
| 4440 |
.IP "Type:" 6 |
| 4441 |
.br |
| 4442 |
* \f[I]string\f[] |
| 4443 |
.br |
| 4444 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 4445 |
|
| 4446 |
.IP "Default:" 9 |
| 4447 |
\f[I]"gallery"\f[] |
| 4448 |
|
| 4449 |
.IP "Example:" 4 |
| 4450 |
.br |
| 4451 |
* "scraps,favorite" |
| 4452 |
.br |
| 4453 |
* ["scraps", "favorite"] |
| 4454 |
|
| 4455 |
.IP "Description:" 4 |
| 4456 |
A (comma-separated) list of subcategories to include |
| 4457 |
when processing a user profile. |
| 4458 |
|
| 4459 |
.IP "Supported Values:" 4 |
| 4460 |
.br |
| 4461 |
* \f[I]gallery\f[] |
| 4462 |
.br |
| 4463 |
* \f[I]scraps\f[] |
| 4464 |
.br |
| 4465 |
* \f[I]favorite\f[] |
| 4466 |
.br |
| 4467 |
* \f[I]journals\f[] |
| 4468 |
|
| 4469 |
.IP "Note:" 4 |
| 4470 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 4471 |
|
| 4472 |
|
| 4473 |
.SS extractor.furaffinity.layout |
| 4474 |
.IP "Type:" 6 |
| 4475 |
\f[I]string\f[] |
| 4476 |
|
| 4477 |
.IP "Default:" 9 |
| 4478 |
\f[I]"auto"\f[] |
| 4479 |
|
| 4480 |
.IP "Description:" 4 |
| 4481 |
Selects which site layout to expect when parsing posts. |
| 4482 |
|
| 4483 |
\f[I]"auto"\f[] |
| 4484 |
Automatically differentiate between \f[I]"old"\f[] and \f[I]"new"\f[] |
| 4485 |
\f[I]"old"\f[] |
| 4486 |
Expect the *old* site layout |
| 4487 |
\f[I]"new"\f[] |
| 4488 |
Expect the *new* site layout |
| 4489 |
|
| 4490 |
|
| 4491 |
.SS extractor.gelbooru.api-key & .user-id |
| 4492 |
.IP "Type:" 6 |
| 4493 |
\f[I]string\f[] |
| 4494 |
|
| 4495 |
.IP "Default:" 9 |
| 4496 |
\f[I]null\f[] |
| 4497 |
|
| 4498 |
.IP "Description:" 4 |
| 4499 |
Values from the API Access Credentials section |
| 4500 |
found at the bottom of your account's |
| 4501 |
\f[I]Options\f[] |
| 4502 |
page. |
| 4503 |
|
| 4504 |
|
| 4505 |
.SS extractor.gelbooru.favorite.order-posts |
| 4506 |
.IP "Type:" 6 |
| 4507 |
\f[I]string\f[] |
| 4508 |
|
| 4509 |
.IP "Default:" 9 |
| 4510 |
\f[I]"desc"\f[] |
| 4511 |
|
| 4512 |
.IP "Description:" 4 |
| 4513 |
Controls the order in which favorited posts are returned. |
| 4514 |
|
| 4515 |
\f[I]"asc"\f[] |
| 4516 |
Ascending favorite date order (oldest first) |
| 4517 |
\f[I]"desc"\f[] | \f[I]"reverse"\f[] |
| 4518 |
Descending favorite date order (newest first) |
| 4519 |
|
| 4520 |
|
| 4521 |
.SS extractor.generic.enabled |
| 4522 |
.IP "Type:" 6 |
| 4523 |
\f[I]bool\f[] |
| 4524 |
|
| 4525 |
.IP "Default:" 9 |
| 4526 |
\f[I]false\f[] |
| 4527 |
|
| 4528 |
.IP "Description:" 4 |
| 4529 |
Match **all** URLs not otherwise supported by gallery-dl, |
| 4530 |
even ones without a \f[I]generic:\f[] prefix. |
| 4531 |
|
| 4532 |
|
| 4533 |
.SS extractor.gofile.api-token |
| 4534 |
.IP "Type:" 6 |
| 4535 |
\f[I]string\f[] |
| 4536 |
|
| 4537 |
.IP "Default:" 9 |
| 4538 |
\f[I]null\f[] |
| 4539 |
|
| 4540 |
.IP "Description:" 4 |
| 4541 |
API token value found at the bottom of your \f[I]profile page\f[]. |
| 4542 |
|
| 4543 |
If not set, a temporary guest token will be used. |
| 4544 |
|
| 4545 |
|
| 4546 |
.SS extractor.gofile.website-token |
| 4547 |
.IP "Type:" 6 |
| 4548 |
\f[I]string\f[] |
| 4549 |
|
| 4550 |
.IP "Description:" 4 |
| 4551 |
API token value used during API requests. |
| 4552 |
|
| 4553 |
An invalid or not up-to-date value |
| 4554 |
will result in \f[I]401 Unauthorized\f[] errors. |
| 4555 |
|
| 4556 |
Keeping this option unset will use an extra HTTP request |
| 4557 |
to attempt to fetch the current value used by gofile. |
| 4558 |
|
| 4559 |
|
| 4560 |
.SS extractor.gofile.recursive |
| 4561 |
.IP "Type:" 6 |
| 4562 |
\f[I]bool\f[] |
| 4563 |
|
| 4564 |
.IP "Default:" 9 |
| 4565 |
\f[I]true\f[] |
| 4566 |
|
| 4567 |
.IP "Description:" 4 |
| 4568 |
Recursively download files from subfolders. |
| 4569 |
|
| 4570 |
|
| 4571 |
.SS extractor.gofile.salt |
| 4572 |
.IP "Type:" 6 |
| 4573 |
\f[I]string\f[] |
| 4574 |
|
| 4575 |
.IP "Description:" 4 |
| 4576 |
Alternate salt value used during website token generation. |
| 4577 |
|
| 4578 |
|
| 4579 |
.SS extractor.hdoujin.cbz |
| 4580 |
.IP "Type:" 6 |
| 4581 |
\f[I]bool\f[] |
| 4582 |
|
| 4583 |
.IP "Default:" 9 |
| 4584 |
\f[I]false\f[] |
| 4585 |
|
| 4586 |
.IP "Description:" 4 |
| 4587 |
Download each gallery as a single \f[I].cbz\f[] file. |
| 4588 |
|
| 4589 |
.IP "Note:" 4 |
| 4590 |
Requires a |
| 4591 |
\f[I]token\f[] |
| 4592 |
|
| 4593 |
|
| 4594 |
.SS extractor.hdoujin.crt |
| 4595 |
.IP "Type:" 6 |
| 4596 |
\f[I]string\f[] |
| 4597 |
|
| 4598 |
.IP "Example:" 4 |
| 4599 |
.br |
| 4600 |
* "0542daa9-352c-4fd5-a497-6c6d5cf07423" |
| 4601 |
.br |
| 4602 |
* "/12345/a1b2c3d4e5f6?crt=0542daa9-352c-4fd5-a497-6c6d5cf07423" |
| 4603 |
|
| 4604 |
.IP "Description:" 4 |
| 4605 |
The \f[I]crt\f[] query parameter value |
| 4606 |
sent when fetching gallery data. |
| 4607 |
|
| 4608 |
To get this value: |
| 4609 |
|
| 4610 |
.br |
| 4611 |
* Open your browser's Developer Tools (F12) |
| 4612 |
.br |
| 4613 |
* Select Network → XHR |
| 4614 |
.br |
| 4615 |
* Open a gallery page |
| 4616 |
.br |
| 4617 |
* Select the last Network entry and copy its \f[I]crt\f[] value |
| 4618 |
|
| 4619 |
.IP "Note:" 4 |
| 4620 |
You will also need your browser's |
| 4621 |
\f[I]user-agent\f[] |
| 4622 |
|
| 4623 |
|
| 4624 |
.SS extractor.hdoujin.format |
| 4625 |
.IP "Type:" 6 |
| 4626 |
.br |
| 4627 |
* \f[I]string\f[] |
| 4628 |
.br |
| 4629 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 4630 |
|
| 4631 |
.IP "Default:" 9 |
| 4632 |
\f[I]["0", "1600", "1280", "980", "780"]\f[] |
| 4633 |
|
| 4634 |
.IP "Description:" 4 |
| 4635 |
Name(s) of the image format to download. |
| 4636 |
|
| 4637 |
When more than one format is given, the first available one is selected. |
| 4638 |
|
| 4639 |
Possible formats are |
| 4640 |
.br |
| 4641 |
\f[I]"780"\f[], \f[I]"980"\f[], \f[I]"1280"\f[], \f[I]"1600"\f[], \f[I]"0"\f[] (original) |
| 4642 |
.br |
| 4643 |
|
| 4644 |
|
| 4645 |
.SS extractor.hdoujin.tags |
| 4646 |
.IP "Type:" 6 |
| 4647 |
\f[I]bool\f[] |
| 4648 |
|
| 4649 |
.IP "Default:" 9 |
| 4650 |
\f[I]false\f[] |
| 4651 |
|
| 4652 |
.IP "Description:" 4 |
| 4653 |
Group \f[I]tags\f[] by type and |
| 4654 |
provide them as \f[I]tags_<type>\f[] metadata fields, |
| 4655 |
for example \f[I]tags_artist\f[] or \f[I]tags_character\f[]. |
| 4656 |
|
| 4657 |
|
| 4658 |
.SS extractor.hdoujin.token |
| 4659 |
.IP "Type:" 6 |
| 4660 |
\f[I]string\f[] |
| 4661 |
|
| 4662 |
.IP "Example:" 4 |
| 4663 |
.br |
| 4664 |
* "3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893" |
| 4665 |
.br |
| 4666 |
* "Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893" |
| 4667 |
.br |
| 4668 |
* "Authorization: Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893" |
| 4669 |
|
| 4670 |
.IP "Description:" 4 |
| 4671 |
\f[I]Authorization\f[] header value |
| 4672 |
used for requests to \f[I]https://api.hdoujin.org\f[] |
| 4673 |
to access \f[I]favorite\f[] galleries |
| 4674 |
or download |
| 4675 |
\f[I].cbz\f[] |
| 4676 |
archives. |
| 4677 |
|
| 4678 |
|
| 4679 |
.SS extractor.hentaifoundry.descriptions |
| 4680 |
.IP "Type:" 6 |
| 4681 |
\f[I]string\f[] |
| 4682 |
|
| 4683 |
.IP "Default:" 9 |
| 4684 |
\f[I]"text"\f[] |
| 4685 |
|
| 4686 |
.IP "Description:" 4 |
| 4687 |
Controls the format of \f[I]description\f[] metadata fields. |
| 4688 |
|
| 4689 |
\f[I]"text"\f[] |
| 4690 |
Plain text with HTML tags removed |
| 4691 |
\f[I]"html"\f[] |
| 4692 |
Raw HTML content |
| 4693 |
|
| 4694 |
|
| 4695 |
.SS extractor.hentaifoundry.include |
| 4696 |
.IP "Type:" 6 |
| 4697 |
.br |
| 4698 |
* \f[I]string\f[] |
| 4699 |
.br |
| 4700 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 4701 |
|
| 4702 |
.IP "Default:" 9 |
| 4703 |
\f[I]"pictures"\f[] |
| 4704 |
|
| 4705 |
.IP "Example:" 4 |
| 4706 |
.br |
| 4707 |
* "scraps,stories" |
| 4708 |
.br |
| 4709 |
* ["scraps", "stories"] |
| 4710 |
|
| 4711 |
.IP "Description:" 4 |
| 4712 |
A (comma-separated) list of subcategories to include |
| 4713 |
when processing a user profile. |
| 4714 |
|
| 4715 |
.IP "Supported Values:" 4 |
| 4716 |
.br |
| 4717 |
* \f[I]pictures\f[] |
| 4718 |
.br |
| 4719 |
* \f[I]scraps\f[] |
| 4720 |
.br |
| 4721 |
* \f[I]stories\f[] |
| 4722 |
.br |
| 4723 |
* \f[I]favorite\f[] |
| 4724 |
|
| 4725 |
.IP "Note:" 4 |
| 4726 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 4727 |
|
| 4728 |
|
| 4729 |
.SS extractor.hitomi.format |
| 4730 |
.IP "Type:" 6 |
| 4731 |
\f[I]string\f[] |
| 4732 |
|
| 4733 |
.IP "Default:" 9 |
| 4734 |
\f[I]"webp"\f[] |
| 4735 |
|
| 4736 |
.IP "Description:" 4 |
| 4737 |
Selects which image format to download. |
| 4738 |
|
| 4739 |
.IP "Available Formats:" 4 |
| 4740 |
.br |
| 4741 |
* \f[I]"webp"\f[] |
| 4742 |
.br |
| 4743 |
* \f[I]"avif"\f[] |
| 4744 |
|
| 4745 |
|
| 4746 |
.SS extractor.imagechest.access-token |
| 4747 |
.IP "Type:" 6 |
| 4748 |
\f[I]string\f[] |
| 4749 |
|
| 4750 |
.IP "Description:" 4 |
| 4751 |
Your personal Image Chest access token. |
| 4752 |
|
| 4753 |
These tokens allow using the API instead of having to scrape HTML pages, |
| 4754 |
providing more detailed metadata. |
| 4755 |
(\f[I]date\f[], \f[I]description\f[], etc) |
| 4756 |
|
| 4757 |
See https://imgchest.com/docs/api/1.0/general/authorization |
| 4758 |
for instructions on how to generate such a token. |
| 4759 |
|
| 4760 |
|
| 4761 |
.SS extractor.imgur.client-id |
| 4762 |
.IP "Type:" 6 |
| 4763 |
\f[I]string\f[] |
| 4764 |
|
| 4765 |
.IP "Description:" 4 |
| 4766 |
Custom Client ID value for API requests. |
| 4767 |
|
| 4768 |
|
| 4769 |
.SS extractor.imgur.mp4 |
| 4770 |
.IP "Type:" 6 |
| 4771 |
.br |
| 4772 |
* \f[I]bool\f[] |
| 4773 |
.br |
| 4774 |
* \f[I]string\f[] |
| 4775 |
|
| 4776 |
.IP "Default:" 9 |
| 4777 |
\f[I]true\f[] |
| 4778 |
|
| 4779 |
.IP "Description:" 4 |
| 4780 |
Controls whether to choose the GIF or MP4 version of an animation. |
| 4781 |
|
| 4782 |
\f[I]true\f[] |
| 4783 |
Follow Imgur's advice and choose MP4 if the |
| 4784 |
\f[I]prefer_video\f[] flag in an image's metadata is set. |
| 4785 |
\f[I]false\f[] |
| 4786 |
Always choose GIF. |
| 4787 |
\f[I]"always"\f[] |
| 4788 |
Always choose MP4. |
| 4789 |
|
| 4790 |
|
| 4791 |
.SS extractor.inkbunny.orderby |
| 4792 |
.IP "Type:" 6 |
| 4793 |
\f[I]string\f[] |
| 4794 |
|
| 4795 |
.IP "Default:" 9 |
| 4796 |
\f[I]"create_datetime"\f[] |
| 4797 |
|
| 4798 |
.IP "Description:" 4 |
| 4799 |
Value of the \f[I]orderby\f[] parameter for submission searches. |
| 4800 |
|
| 4801 |
(See \f[I]API#Search\f[] |
| 4802 |
for details) |
| 4803 |
|
| 4804 |
|
| 4805 |
.SS extractor.instagram.api |
| 4806 |
.IP "Type:" 6 |
| 4807 |
\f[I]string\f[] |
| 4808 |
|
| 4809 |
.IP "Default:" 9 |
| 4810 |
\f[I]"rest"\f[] |
| 4811 |
|
| 4812 |
.IP "Description:" 4 |
| 4813 |
Selects which API endpoints to use. |
| 4814 |
|
| 4815 |
\f[I]"rest"\f[] |
| 4816 |
REST API - higher-resolution media |
| 4817 |
\f[I]"graphql"\f[] |
| 4818 |
GraphQL API - lower-resolution media |
| 4819 |
|
| 4820 |
|
| 4821 |
.SS extractor.instagram.audio |
| 4822 |
.IP "Type:" 6 |
| 4823 |
.br |
| 4824 |
* \f[I]bool\f[] |
| 4825 |
.br |
| 4826 |
* \f[I]string\f[] |
| 4827 |
|
| 4828 |
.IP "Default:" 9 |
| 4829 |
\f[I]false\f[] |
| 4830 |
|
| 4831 |
.IP "Description:" 4 |
| 4832 |
Controls audio download behavior. |
| 4833 |
|
| 4834 |
\f[I]true\f[] \f[I] \f[I]"dash"\f[] \f[] \f[I]"ytdl"\f[] |
| 4835 |
Download audio from \f[I]dash_manifest\f[] data using \f[I]ytdl\f[] when available |
| 4836 |
and a non-DASH format otherwise |
| 4837 |
\f[I]"merged"\f[] |
| 4838 |
Download non-DASH formats |
| 4839 |
\f[I]false\f[] |
| 4840 |
Do not download audio files |
| 4841 |
|
| 4842 |
|
| 4843 |
.SS extractor.instagram.cursor |
| 4844 |
.IP "Type:" 6 |
| 4845 |
.br |
| 4846 |
* \f[I]bool\f[] |
| 4847 |
.br |
| 4848 |
* \f[I]string\f[] |
| 4849 |
|
| 4850 |
.IP "Default:" 9 |
| 4851 |
\f[I]true\f[] |
| 4852 |
|
| 4853 |
.IP "Example:" 4 |
| 4854 |
"3414259811154179155_25025320" |
| 4855 |
|
| 4856 |
.IP "Description:" 4 |
| 4857 |
Controls from which position to start the extraction process from. |
| 4858 |
|
| 4859 |
\f[I]true\f[] |
| 4860 |
Start from the beginning. |
| 4861 |
.br |
| 4862 |
Log the most recent \f[I]cursor\f[] value when interrupted before reaching the end. |
| 4863 |
.br |
| 4864 |
\f[I]false\f[] |
| 4865 |
Start from the beginning. |
| 4866 |
any \f[I]string\f[] |
| 4867 |
Start from the position defined by this value. |
| 4868 |
|
| 4869 |
|
| 4870 |
.SS extractor.instagram.include |
| 4871 |
.IP "Type:" 6 |
| 4872 |
.br |
| 4873 |
* \f[I]string\f[] |
| 4874 |
.br |
| 4875 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 4876 |
|
| 4877 |
.IP "Default:" 9 |
| 4878 |
\f[I]"posts"\f[] |
| 4879 |
|
| 4880 |
.IP "Example:" 4 |
| 4881 |
.br |
| 4882 |
* "stories,highlights,posts" |
| 4883 |
.br |
| 4884 |
* ["stories", "highlights", "posts"] |
| 4885 |
|
| 4886 |
.IP "Description:" 4 |
| 4887 |
A (comma-separated) list of subcategories to include |
| 4888 |
when processing a user profile. |
| 4889 |
|
| 4890 |
.IP "Supported Values:" 4 |
| 4891 |
.br |
| 4892 |
* \f[I]posts\f[] |
| 4893 |
.br |
| 4894 |
* \f[I]reels\f[] |
| 4895 |
.br |
| 4896 |
* \f[I]tagged\f[] |
| 4897 |
.br |
| 4898 |
* \f[I]stories\f[] |
| 4899 |
.br |
| 4900 |
* \f[I]highlights\f[] |
| 4901 |
.br |
| 4902 |
* \f[I]info\f[] |
| 4903 |
.br |
| 4904 |
* \f[I]avatar\f[] |
| 4905 |
|
| 4906 |
.IP "Note:" 4 |
| 4907 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 4908 |
|
| 4909 |
|
| 4910 |
.SS extractor.instagram.max-posts |
| 4911 |
.IP "Type:" 6 |
| 4912 |
\f[I]integer\f[] |
| 4913 |
|
| 4914 |
.IP "Default:" 9 |
| 4915 |
\f[I]null\f[] |
| 4916 |
|
| 4917 |
.IP "Description:" 4 |
| 4918 |
Limit the number of posts to download. |
| 4919 |
|
| 4920 |
|
| 4921 |
.SS extractor.instagram.metadata |
| 4922 |
.IP "Type:" 6 |
| 4923 |
\f[I]bool\f[] |
| 4924 |
|
| 4925 |
.IP "Default:" 9 |
| 4926 |
\f[I]false\f[] |
| 4927 |
|
| 4928 |
.IP "Description:" 4 |
| 4929 |
Provide extended \f[I]user\f[] metadata even when referring to a user by ID, |
| 4930 |
e.g. \f[I]instagram.com/id:12345678\f[]. |
| 4931 |
|
| 4932 |
.IP "Note:" 4 |
| 4933 |
This metadata is always available when referring to a user by name, |
| 4934 |
e.g. \f[I]instagram.com/USERNAME\f[]. |
| 4935 |
|
| 4936 |
|
| 4937 |
.SS extractor.instagram.order-files |
| 4938 |
.IP "Type:" 6 |
| 4939 |
\f[I]string\f[] |
| 4940 |
|
| 4941 |
.IP "Default:" 9 |
| 4942 |
\f[I]"asc"\f[] |
| 4943 |
|
| 4944 |
.IP "Description:" 4 |
| 4945 |
Controls the order in which files of each post are returned. |
| 4946 |
|
| 4947 |
\f[I]"asc"\f[] |
| 4948 |
Same order as displayed in a post |
| 4949 |
\f[I]"desc"\f[] | \f[I]"reverse"\f[] |
| 4950 |
Reverse order as displayed in a post |
| 4951 |
|
| 4952 |
.IP "Note:" 4 |
| 4953 |
This option does *not* affect \f[I]{num}\f[]. |
| 4954 |
To enumerate files in reverse order, use \f[I]count - num + 1\f[]. |
| 4955 |
|
| 4956 |
|
| 4957 |
.SS extractor.instagram.order-posts |
| 4958 |
.IP "Type:" 6 |
| 4959 |
\f[I]string\f[] |
| 4960 |
|
| 4961 |
.IP "Default:" 9 |
| 4962 |
\f[I]"asc"\f[] |
| 4963 |
|
| 4964 |
.IP "Description:" 4 |
| 4965 |
Controls the order in which posts are returned. |
| 4966 |
|
| 4967 |
\f[I]"asc"\f[] |
| 4968 |
Same order as displayed |
| 4969 |
\f[I]"desc"\f[] | \f[I]"reverse"\f[] |
| 4970 |
Reverse order as displayed |
| 4971 |
\f[I]"id"\f[] or \f[I]"id_asc"\f[] |
| 4972 |
Ascending order by ID |
| 4973 |
\f[I]"id_desc"\f[] |
| 4974 |
Descending order by ID |
| 4975 |
|
| 4976 |
.IP "Note:" 4 |
| 4977 |
This option only affects \f[I]highlights\f[]. |
| 4978 |
|
| 4979 |
|
| 4980 |
.SS extractor.instagram.pinned |
| 4981 |
.IP "Type:" 6 |
| 4982 |
\f[I]bool\f[] |
| 4983 |
|
| 4984 |
.IP "Default:" 9 |
| 4985 |
\f[I]true\f[] |
| 4986 |
|
| 4987 |
.IP "Description:" 4 |
| 4988 |
Process pinned posts. |
| 4989 |
|
| 4990 |
|
| 4991 |
.SS extractor.instagram.previews |
| 4992 |
.IP "Type:" 6 |
| 4993 |
.br |
| 4994 |
* \f[I]bool\f[] |
| 4995 |
.br |
| 4996 |
* \f[I]string\f[] |
| 4997 |
.br |
| 4998 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 4999 |
|
| 5000 |
.IP "Default:" 9 |
| 5001 |
\f[I]false\f[] |
| 5002 |
|
| 5003 |
.IP "Example:" 4 |
| 5004 |
.br |
| 5005 |
* "video" |
| 5006 |
.br |
| 5007 |
* ["audio", "video"] |
| 5008 |
|
| 5009 |
.IP "Description:" 4 |
| 5010 |
Download video previews and audio covers. |
| 5011 |
|
| 5012 |
|
| 5013 |
.SS extractor.instagram.static-videos |
| 5014 |
.IP "Type:" 6 |
| 5015 |
\f[I]bool\f[] |
| 5016 |
|
| 5017 |
.IP "Default:" 9 |
| 5018 |
\f[I]true\f[] |
| 5019 |
|
| 5020 |
.IP "Description:" 4 |
| 5021 |
Download static story/highlight "videos" generated from a photo. |
| 5022 |
|
| 5023 |
Disabling this option downloads the photo version instead. |
| 5024 |
|
| 5025 |
|
| 5026 |
.SS extractor.instagram.user-cache |
| 5027 |
.IP "Type:" 6 |
| 5028 |
.br |
| 5029 |
* \f[I]bool\f[] |
| 5030 |
.br |
| 5031 |
* \f[I]string\f[] |
| 5032 |
|
| 5033 |
.IP "Default:" 9 |
| 5034 |
\f[I]"disk"\f[] |
| 5035 |
|
| 5036 |
.IP "Description:" 4 |
| 5037 |
Selects how to cache user profile data. |
| 5038 |
|
| 5039 |
\f[I]true\f[] \f[I] \f[I]"disk"\f[] |
| 5040 |
Cache user data on disk |
| 5041 |
\f[I]false\f[] \f[] \f[I]"memory"\f[] |
| 5042 |
Cache user data in memory |
| 5043 |
|
| 5044 |
|
| 5045 |
.SS extractor.instagram.user-strategy |
| 5046 |
.IP "Type:" 6 |
| 5047 |
.br |
| 5048 |
* \f[I]string\f[] |
| 5049 |
.br |
| 5050 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 5051 |
|
| 5052 |
.IP "Default:" 9 |
| 5053 |
\f[I]["search", "web"]\f[] |
| 5054 |
|
| 5055 |
.IP "Example:" 4 |
| 5056 |
.br |
| 5057 |
* "web,info,search" |
| 5058 |
.br |
| 5059 |
* ["web", "info", "search"] |
| 5060 |
|
| 5061 |
.IP "Description:" 4 |
| 5062 |
Selects how to retrieve user IDs and profile data. |
| 5063 |
|
| 5064 |
\f[I]"search"\f[] \f[I] \f[I]"topsearch"\f[] |
| 5065 |
Use topsearch API results |
| 5066 |
\f[I]"info"\f[] \f[] \f[I]"web_profile_info"\f[] |
| 5067 |
Use web_profile_info API results |
| 5068 |
.br |
| 5069 |
(high liklyhood of \f[I]429 Too Many Requests\f[] errors) |
| 5070 |
.br |
| 5071 |
\f[I]"web"\f[] | \f[I]"webpage"\f[] |
| 5072 |
Extract minimal user information from profile webpage |
| 5073 |
|
| 5074 |
|
| 5075 |
.SS extractor.instagram.videos |
| 5076 |
.IP "Type:" 6 |
| 5077 |
.br |
| 5078 |
* \f[I]bool\f[] |
| 5079 |
.br |
| 5080 |
* \f[I]string\f[] |
| 5081 |
|
| 5082 |
.IP "Default:" 9 |
| 5083 |
\f[I]true\f[] |
| 5084 |
|
| 5085 |
.IP "Description:" 4 |
| 5086 |
Controls video download behavior. |
| 5087 |
|
| 5088 |
\f[I]true\f[] \f[I] \f[I]"dash"\f[] \f[] \f[I]"ytdl"\f[] |
| 5089 |
Download videos from \f[I]video_dash_manifest\f[] data using \f[I]ytdl\f[] |
| 5090 |
\f[I]"merged"\f[] |
| 5091 |
Download pre-merged video formats |
| 5092 |
\f[I]false\f[] |
| 5093 |
Do not download videos |
| 5094 |
|
| 5095 |
|
| 5096 |
.SS extractor.instagram.warn-images |
| 5097 |
.IP "Type:" 6 |
| 5098 |
.br |
| 5099 |
* \f[I]bool\f[] |
| 5100 |
.br |
| 5101 |
* \f[I]string\f[] |
| 5102 |
|
| 5103 |
.IP "Default:" 9 |
| 5104 |
\f[I]true\f[] |
| 5105 |
|
| 5106 |
.IP "Description:" 4 |
| 5107 |
Show a warning when downloading images |
| 5108 |
with a resolution smaller than the original. |
| 5109 |
|
| 5110 |
\f[I]true\f[] |
| 5111 |
Show a warning when at least one dimension |
| 5112 |
is smaller than the reported original resolution |
| 5113 |
\f[I]"all"\f[] | \f[I]"both"\f[] |
| 5114 |
Show a warning only when both \f[I]width\f[] and \f[I]height\f[] |
| 5115 |
are smaller than the reported original resolution |
| 5116 |
\f[I]false\f[] |
| 5117 |
Do not show a warning |
| 5118 |
|
| 5119 |
|
| 5120 |
.SS extractor.instagram.warn-videos |
| 5121 |
.IP "Type:" 6 |
| 5122 |
\f[I]bool\f[] |
| 5123 |
|
| 5124 |
.IP "Default:" 9 |
| 5125 |
\f[I]true\f[] |
| 5126 |
|
| 5127 |
.IP "Description:" 4 |
| 5128 |
Show a warning when downloading videos with a |
| 5129 |
\f[I]User-Agent\f[] |
| 5130 |
header causing potentially lowered video quality. |
| 5131 |
|
| 5132 |
|
| 5133 |
.SS extractor.instagram.wd |
| 5134 |
.IP "Type:" 6 |
| 5135 |
.br |
| 5136 |
* \f[I]bool\f[] |
| 5137 |
.br |
| 5138 |
* \f[I]string\f[] |
| 5139 |
|
| 5140 |
.IP "Default:" 9 |
| 5141 |
\f[I]false\f[] |
| 5142 |
|
| 5143 |
.IP "Description:" 4 |
| 5144 |
Controls how to handle \f[I]wd\f[] cookies, |
| 5145 |
.br |
| 5146 |
which possibly limit the dimensions of returned photos. |
| 5147 |
.br |
| 5148 |
|
| 5149 |
\f[I]true\f[] |
| 5150 |
Keep \f[I]wd\f[] cookie |
| 5151 |
\f[I]false\f[] |
| 5152 |
Unset/delete \f[I]wd\f[] cookie |
| 5153 |
any \f[I]string\f[] |
| 5154 |
Set \f[I]wd\f[] cookie to this value |
| 5155 |
|
| 5156 |
|
| 5157 |
.SS extractor.instagram.stories.split |
| 5158 |
.IP "Type:" 6 |
| 5159 |
.br |
| 5160 |
* \f[I]bool\f[] |
| 5161 |
|
| 5162 |
.IP "Default:" 9 |
| 5163 |
\f[I]false\f[] |
| 5164 |
|
| 5165 |
.IP "Description:" 4 |
| 5166 |
Split \f[I]stories\f[] elements into separate posts. |
| 5167 |
|
| 5168 |
|
| 5169 |
.SS extractor.itaku.include |
| 5170 |
.IP "Type:" 6 |
| 5171 |
.br |
| 5172 |
* \f[I]string\f[] |
| 5173 |
.br |
| 5174 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 5175 |
|
| 5176 |
.IP "Default:" 9 |
| 5177 |
\f[I]"gallery"\f[] |
| 5178 |
|
| 5179 |
.IP "Example:" 4 |
| 5180 |
.br |
| 5181 |
* "stars,gallery" |
| 5182 |
.br |
| 5183 |
* ["stars", "gallery"] |
| 5184 |
|
| 5185 |
.IP "Description:" 4 |
| 5186 |
A (comma-separated) list of subcategories to include |
| 5187 |
when processing a user profile. |
| 5188 |
|
| 5189 |
.IP "Supported Values:" 4 |
| 5190 |
.br |
| 5191 |
* \f[I]gallery\f[] |
| 5192 |
.br |
| 5193 |
* \f[I]posts\f[] |
| 5194 |
.br |
| 5195 |
* \f[I]followers\f[] |
| 5196 |
.br |
| 5197 |
* \f[I]following\f[] |
| 5198 |
.br |
| 5199 |
* \f[I]stars\f[] |
| 5200 |
|
| 5201 |
.IP "Note:" 4 |
| 5202 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 5203 |
|
| 5204 |
|
| 5205 |
.SS extractor.itaku.order |
| 5206 |
.IP "Type:" 6 |
| 5207 |
\f[I]string\f[] |
| 5208 |
|
| 5209 |
.IP "Default:" 9 |
| 5210 |
\f[I]"desc"\f[] |
| 5211 |
|
| 5212 |
.IP "Description:" 4 |
| 5213 |
Controls the order in which |
| 5214 |
images/posts/users are returned. |
| 5215 |
|
| 5216 |
\f[I]"asc"\f[] | \f[I]"reverse"\f[] |
| 5217 |
Ascending order (oldest first) |
| 5218 |
\f[I]"desc"\f[] |
| 5219 |
Descending order (newest first) |
| 5220 |
any other \f[I]string\f[] |
| 5221 |
Custom result order |
| 5222 |
|
| 5223 |
|
| 5224 |
.SS extractor.itaku.videos |
| 5225 |
.IP "Type:" 6 |
| 5226 |
\f[I]bool\f[] |
| 5227 |
|
| 5228 |
.IP "Default:" 9 |
| 5229 |
\f[I]true\f[] |
| 5230 |
|
| 5231 |
.IP "Description:" 4 |
| 5232 |
Download video files. |
| 5233 |
|
| 5234 |
|
| 5235 |
.SS extractor.iwara.embeds |
| 5236 |
.IP "Type:" 6 |
| 5237 |
\f[I]bool\f[] |
| 5238 |
|
| 5239 |
.IP "Default:" 9 |
| 5240 |
\f[I]false\f[] |
| 5241 |
|
| 5242 |
.IP "Description:" 4 |
| 5243 |
Downlload embedded external videos using \f[I]ytdl\f[]. |
| 5244 |
|
| 5245 |
|
| 5246 |
.SS extractor.iwara.format |
| 5247 |
.IP "Type:" 6 |
| 5248 |
.br |
| 5249 |
* \f[I]string\f[] |
| 5250 |
.br |
| 5251 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 5252 |
|
| 5253 |
.IP "Example:" 4 |
| 5254 |
.br |
| 5255 |
* "Source" |
| 5256 |
.br |
| 5257 |
* "360,540,Source" |
| 5258 |
.br |
| 5259 |
* ["360", "540", "Source"] |
| 5260 |
|
| 5261 |
.IP "Description:" 4 |
| 5262 |
Selects the preferred format for video downloads. |
| 5263 |
|
| 5264 |
When more than one format is given, the first available one is selected. |
| 5265 |
|
| 5266 |
|
| 5267 |
.SS extractor.iwara.include |
| 5268 |
.IP "Type:" 6 |
| 5269 |
.br |
| 5270 |
* \f[I]string\f[] |
| 5271 |
.br |
| 5272 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 5273 |
|
| 5274 |
.IP "Default:" 9 |
| 5275 |
\f[I]["user-images", "user-videos"]\f[] |
| 5276 |
|
| 5277 |
.IP "Description:" 4 |
| 5278 |
A (comma-separated) list of subcategories to include |
| 5279 |
when processing a user profile. |
| 5280 |
|
| 5281 |
.IP "Supported Values:" 4 |
| 5282 |
.br |
| 5283 |
* \f[I]user-images\f[] |
| 5284 |
.br |
| 5285 |
* \f[I]user-videos\f[] |
| 5286 |
.br |
| 5287 |
* \f[I]user-playlists\f[] |
| 5288 |
|
| 5289 |
.IP "Note:" 4 |
| 5290 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 5291 |
|
| 5292 |
|
| 5293 |
.SS extractor.joyreactor.embeds |
| 5294 |
.IP "Type:" 6 |
| 5295 |
\f[I]bool\f[] |
| 5296 |
|
| 5297 |
.IP "Default:" 9 |
| 5298 |
\f[I]false\f[] |
| 5299 |
|
| 5300 |
.IP "Description:" 4 |
| 5301 |
Downlload embedded external videos with \f[I]ytdl\f[]. |
| 5302 |
|
| 5303 |
|
| 5304 |
.SS extractor.joyreactor.formats |
| 5305 |
.IP "Type:" 6 |
| 5306 |
.br |
| 5307 |
* \f[I]string\f[] |
| 5308 |
.br |
| 5309 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 5310 |
|
| 5311 |
.IP "Default:" 9 |
| 5312 |
\f[I]["webm"]\f[] |
| 5313 |
|
| 5314 |
.IP "Example:" 4 |
| 5315 |
"gif,mp4,webm" |
| 5316 |
|
| 5317 |
.IP "Description:" 4 |
| 5318 |
A (comma-separated) list of video formats to download. |
| 5319 |
|
| 5320 |
.IP "Supported Values:" 4 |
| 5321 |
.br |
| 5322 |
* \f[I]webm\f[] |
| 5323 |
.br |
| 5324 |
* \f[I]mp4\f[] |
| 5325 |
.br |
| 5326 |
* \f[I]gif\f[] |
| 5327 |
|
| 5328 |
|
| 5329 |
.SS extractor.joyreactor.metadata |
| 5330 |
.IP "Type:" 6 |
| 5331 |
\f[I]bool\f[] |
| 5332 |
|
| 5333 |
.IP "Default:" 9 |
| 5334 |
\f[I]false\f[] |
| 5335 |
|
| 5336 |
.IP "Description:" 4 |
| 5337 |
Extract additional metadata. |
| 5338 |
|
| 5339 |
|
| 5340 |
.SS extractor.joyreactor.videos |
| 5341 |
.IP "Type:" 6 |
| 5342 |
\f[I]bool\f[] |
| 5343 |
|
| 5344 |
.IP "Default:" 9 |
| 5345 |
\f[I]true\f[] |
| 5346 |
|
| 5347 |
.IP "Description:" 4 |
| 5348 |
Download videos. |
| 5349 |
|
| 5350 |
|
| 5351 |
.SS extractor.kemono.archives |
| 5352 |
.IP "Type:" 6 |
| 5353 |
\f[I]bool\f[] |
| 5354 |
|
| 5355 |
.IP "Default:" 9 |
| 5356 |
\f[I]false\f[] |
| 5357 |
|
| 5358 |
.IP "Description:" 4 |
| 5359 |
Extract additional metadata for \f[I]archives\f[] files, including |
| 5360 |
\f[I]file\f[], \f[I]file_list\f[], and \f[I]password\f[]. |
| 5361 |
|
| 5362 |
.IP "Note:" 4 |
| 5363 |
This requires 1 additional HTTP request per \f[I]archives\f[] file. |
| 5364 |
|
| 5365 |
|
| 5366 |
.SS extractor.kemono.archives-format |
| 5367 |
.IP "Type:" 6 |
| 5368 |
\f[I]string\f[] |
| 5369 |
|
| 5370 |
.IP "Default:" 9 |
| 5371 |
\f[I]"list"\f[] |
| 5372 |
|
| 5373 |
.IP "Description:" 4 |
| 5374 |
Determines the format/type of the |
| 5375 |
\f[I]archives\f[] |
| 5376 |
metadata field. |
| 5377 |
|
| 5378 |
\f[I]"list"\f[] \f[I] \f[I]"array"\f[] |
| 5379 |
Plain \f[I]list\f[] with archive files as elements |
| 5380 |
\f[I]"dict"\f[] \f[] \f[I]"object"\f[] |
| 5381 |
A \f[I]dict\f[] with each archive file's \f[I]hash\f[] as key. |
| 5382 |
|
| 5383 |
|
| 5384 |
.SS extractor.kemono.comments |
| 5385 |
.IP "Type:" 6 |
| 5386 |
\f[I]bool\f[] |
| 5387 |
|
| 5388 |
.IP "Default:" 9 |
| 5389 |
\f[I]false\f[] |
| 5390 |
|
| 5391 |
.IP "Description:" 4 |
| 5392 |
Extract \f[I]comments\f[] metadata. |
| 5393 |
|
| 5394 |
.IP "Note:" 4 |
| 5395 |
This requires 1 additional HTTP request per post. |
| 5396 |
|
| 5397 |
|
| 5398 |
.SS extractor.kemono.duplicates |
| 5399 |
.IP "Type:" 6 |
| 5400 |
.br |
| 5401 |
* \f[I]bool\f[] |
| 5402 |
.br |
| 5403 |
* \f[I]string\f[] |
| 5404 |
.br |
| 5405 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 5406 |
|
| 5407 |
.IP "Default:" 9 |
| 5408 |
\f[I]false\f[] |
| 5409 |
|
| 5410 |
.IP "Example:" 4 |
| 5411 |
.br |
| 5412 |
* "attachment,inline" |
| 5413 |
.br |
| 5414 |
* ["file", "attachment"] |
| 5415 |
|
| 5416 |
.IP "Description:" 4 |
| 5417 |
Controls how to handle duplicate files in a post. |
| 5418 |
|
| 5419 |
\f[I]true\f[] |
| 5420 |
Download duplicates |
| 5421 |
\f[I]false\f[] |
| 5422 |
Ignore duplicates |
| 5423 |
any \f[I]list\f[] or \f[I]string\f[] |
| 5424 |
Download a duplicate file if its \f[I]type\f[] is in the given list |
| 5425 |
.br |
| 5426 |
Ignore it otherwise |
| 5427 |
.br |
| 5428 |
|
| 5429 |
|
| 5430 |
.SS extractor.kemono.dms |
| 5431 |
.IP "Type:" 6 |
| 5432 |
\f[I]bool\f[] |
| 5433 |
|
| 5434 |
.IP "Default:" 9 |
| 5435 |
\f[I]false\f[] |
| 5436 |
|
| 5437 |
.IP "Description:" 4 |
| 5438 |
Extract a user's direct messages as \f[I]dms\f[] metadata. |
| 5439 |
|
| 5440 |
|
| 5441 |
.SS extractor.kemono.announcements |
| 5442 |
.IP "Type:" 6 |
| 5443 |
\f[I]bool\f[] |
| 5444 |
|
| 5445 |
.IP "Default:" 9 |
| 5446 |
\f[I]false\f[] |
| 5447 |
|
| 5448 |
.IP "Description:" 4 |
| 5449 |
Extract a user's announcements as \f[I]announcements\f[] metadata. |
| 5450 |
|
| 5451 |
|
| 5452 |
.SS extractor.kemono.endpoint |
| 5453 |
.IP "Type:" 6 |
| 5454 |
\f[I]string\f[] |
| 5455 |
|
| 5456 |
.IP "Default:" 9 |
| 5457 |
\f[I]"posts"\f[] |
| 5458 |
|
| 5459 |
.IP "Description:" 4 |
| 5460 |
API endpoint to use for retrieving creator posts. |
| 5461 |
|
| 5462 |
\f[I]"posts"\f[] \f[I] \f[I]"legacy"\f[] |
| 5463 |
Provides only limited metadata. |
| 5464 |
\f[I]"posts+"\f[] \f[] \f[I]"legacy+"\f[] |
| 5465 |
Provides full metadata, |
| 5466 |
but requires an additional API request for each post. |
| 5467 |
|
| 5468 |
|
| 5469 |
.SS extractor.kemono.favorites |
| 5470 |
.IP "Type:" 6 |
| 5471 |
\f[I]string\f[] |
| 5472 |
|
| 5473 |
.IP "Default:" 9 |
| 5474 |
\f[I]"artist"\f[] |
| 5475 |
|
| 5476 |
.IP "Description:" 4 |
| 5477 |
Determines the type of favorites to be downloaded. |
| 5478 |
|
| 5479 |
Available types are \f[I]artist\f[] and \f[I]post\f[]. |
| 5480 |
|
| 5481 |
|
| 5482 |
.SS extractor.kemono.files |
| 5483 |
.IP "Type:" 6 |
| 5484 |
\f[I]list\f[] of \f[I]strings\f[] |
| 5485 |
|
| 5486 |
.IP "Default:" 9 |
| 5487 |
\f[I]["attachments", "file", "inline"]\f[] |
| 5488 |
|
| 5489 |
.IP "Description:" 4 |
| 5490 |
Determines the type and order of files to be downloaded. |
| 5491 |
|
| 5492 |
.IP "Available Types:" 4 |
| 5493 |
.br |
| 5494 |
* \f[I]file\f[] |
| 5495 |
.br |
| 5496 |
* \f[I]attachments\f[] |
| 5497 |
.br |
| 5498 |
* \f[I]inline\f[] |
| 5499 |
|
| 5500 |
|
| 5501 |
.SS extractor.kemono.max-posts |
| 5502 |
.IP "Type:" 6 |
| 5503 |
\f[I]integer\f[] |
| 5504 |
|
| 5505 |
.IP "Default:" 9 |
| 5506 |
\f[I]null\f[] |
| 5507 |
|
| 5508 |
.IP "Description:" 4 |
| 5509 |
Limit the number of posts to download. |
| 5510 |
|
| 5511 |
|
| 5512 |
.SS extractor.kemono.metadata |
| 5513 |
.IP "Type:" 6 |
| 5514 |
\f[I]bool\f[] |
| 5515 |
|
| 5516 |
.IP "Default:" 9 |
| 5517 |
\f[I]true\f[] |
| 5518 |
|
| 5519 |
.IP "Description:" 4 |
| 5520 |
Extract \f[I]username\f[] and \f[I]user_profile\f[] metadata. |
| 5521 |
|
| 5522 |
|
| 5523 |
.SS extractor.kemono.original |
| 5524 |
.IP "Type:" 6 |
| 5525 |
\f[I]bool\f[] |
| 5526 |
|
| 5527 |
.IP "Default:" 9 |
| 5528 |
\f[I]false\f[] |
| 5529 |
|
| 5530 |
.IP "Description:" 4 |
| 5531 |
Try to download original files. |
| 5532 |
|
| 5533 |
Download thumbnails/previews if available when this option is disabled. |
| 5534 |
|
| 5535 |
|
| 5536 |
.SS extractor.kemono.revisions |
| 5537 |
.IP "Type:" 6 |
| 5538 |
.br |
| 5539 |
* \f[I]bool\f[] |
| 5540 |
.br |
| 5541 |
* \f[I]string\f[] |
| 5542 |
|
| 5543 |
.IP "Default:" 9 |
| 5544 |
\f[I]false\f[] |
| 5545 |
|
| 5546 |
.IP "Description:" 4 |
| 5547 |
Extract post revisions. |
| 5548 |
|
| 5549 |
Set this to \f[I]"unique"\f[] to filter out duplicate revisions. |
| 5550 |
|
| 5551 |
.IP "Note:" 4 |
| 5552 |
This requires 1 additional HTTP request per post. |
| 5553 |
|
| 5554 |
|
| 5555 |
.SS extractor.kemono.order-revisions |
| 5556 |
.IP "Type:" 6 |
| 5557 |
\f[I]string\f[] |
| 5558 |
|
| 5559 |
.IP "Default:" 9 |
| 5560 |
\f[I]"desc"\f[] |
| 5561 |
|
| 5562 |
.IP "Description:" 4 |
| 5563 |
Controls the order in which |
| 5564 |
\f[I]revisions\f[] |
| 5565 |
are returned. |
| 5566 |
|
| 5567 |
\f[I]"asc"\f[] | \f[I]"reverse"\f[] |
| 5568 |
Ascending order (oldest first) |
| 5569 |
\f[I]"desc"\f[] |
| 5570 |
Descending order (newest first) |
| 5571 |
|
| 5572 |
|
| 5573 |
.SS extractor.kemono.discord.order-posts |
| 5574 |
.IP "Type:" 6 |
| 5575 |
\f[I]string\f[] |
| 5576 |
|
| 5577 |
.IP "Default:" 9 |
| 5578 |
\f[I]"asc"\f[] |
| 5579 |
|
| 5580 |
.IP "Description:" 4 |
| 5581 |
Controls the order in which |
| 5582 |
\f[I]discord\f[] posts |
| 5583 |
are returned. |
| 5584 |
|
| 5585 |
\f[I]"asc"\f[] |
| 5586 |
Ascending order (oldest first) |
| 5587 |
\f[I]"desc"\f[] | \f[I]"reverse"\f[] |
| 5588 |
Descending order (newest first) |
| 5589 |
|
| 5590 |
|
| 5591 |
.SS extractor.khinsider.covers |
| 5592 |
.IP "Type:" 6 |
| 5593 |
\f[I]bool\f[] |
| 5594 |
|
| 5595 |
.IP "Default:" 9 |
| 5596 |
\f[I]false\f[] |
| 5597 |
|
| 5598 |
.IP "Description:" 4 |
| 5599 |
Download album cover images. |
| 5600 |
|
| 5601 |
|
| 5602 |
.SS extractor.khinsider.format |
| 5603 |
.IP "Type:" 6 |
| 5604 |
\f[I]string\f[] |
| 5605 |
|
| 5606 |
.IP "Default:" 9 |
| 5607 |
\f[I]"mp3"\f[] |
| 5608 |
|
| 5609 |
.IP "Description:" 4 |
| 5610 |
The name of the preferred file format to download. |
| 5611 |
|
| 5612 |
Use \f[I]"all"\f[] to download all available formats, |
| 5613 |
or a (comma-separated) list to select multiple formats. |
| 5614 |
|
| 5615 |
If the selected format is not available, |
| 5616 |
the first in the list gets chosen (usually mp3). |
| 5617 |
|
| 5618 |
|
| 5619 |
.SS extractor.koofr.recursive |
| 5620 |
.IP "Type:" 6 |
| 5621 |
\f[I]bool\f[] |
| 5622 |
|
| 5623 |
.IP "Default:" 9 |
| 5624 |
\f[I]true\f[] |
| 5625 |
|
| 5626 |
.IP "Description:" 4 |
| 5627 |
\f[I]true\f[] |
| 5628 |
Recursively descent into subfolders |
| 5629 |
while downloading individual files. |
| 5630 |
\f[I]false\f[] |
| 5631 |
Download shared /links/ with multiple files as a single .zip file. |
| 5632 |
|
| 5633 |
|
| 5634 |
.SS extractor.lolisafe.domain |
| 5635 |
.IP "Type:" 6 |
| 5636 |
\f[I]string\f[] |
| 5637 |
|
| 5638 |
.IP "Default:" 9 |
| 5639 |
\f[I]null\f[] |
| 5640 |
|
| 5641 |
.IP "Description:" 4 |
| 5642 |
Specifies the domain used by a \f[I]lolisafe\f[] extractor |
| 5643 |
regardless of input URL. |
| 5644 |
|
| 5645 |
Setting this option to \f[I]"auto"\f[] |
| 5646 |
uses the same domain as a given input URL. |
| 5647 |
|
| 5648 |
|
| 5649 |
.SS extractor.luscious.gif |
| 5650 |
.IP "Type:" 6 |
| 5651 |
\f[I]bool\f[] |
| 5652 |
|
| 5653 |
.IP "Default:" 9 |
| 5654 |
\f[I]false\f[] |
| 5655 |
|
| 5656 |
.IP "Description:" 4 |
| 5657 |
Format in which to download animated images. |
| 5658 |
|
| 5659 |
Use \f[I]true\f[] to download animated images as gifs and \f[I]false\f[] |
| 5660 |
to download as mp4 videos. |
| 5661 |
|
| 5662 |
|
| 5663 |
.SS extractor.mangadex.api-server |
| 5664 |
.IP "Type:" 6 |
| 5665 |
\f[I]string\f[] |
| 5666 |
|
| 5667 |
.IP "Default:" 9 |
| 5668 |
\f[I]"https://api.mangadex.org"\f[] |
| 5669 |
|
| 5670 |
.IP "Description:" 4 |
| 5671 |
The server to use for API requests. |
| 5672 |
|
| 5673 |
|
| 5674 |
.SS extractor.mangadex.api-parameters |
| 5675 |
.IP "Type:" 6 |
| 5676 |
\f[I]object\f[] (name → value) |
| 5677 |
|
| 5678 |
.IP "Example:" 4 |
| 5679 |
{"order[updatedAt]": "desc"} |
| 5680 |
|
| 5681 |
.IP "Description:" 4 |
| 5682 |
Additional query parameters to send when fetching manga chapters. |
| 5683 |
|
| 5684 |
(See \f[I]/manga/{id}/feed\f[] |
| 5685 |
and \f[I]/user/follows/manga/feed\f[]) |
| 5686 |
|
| 5687 |
|
| 5688 |
.SS extractor.mangadex.data-saver |
| 5689 |
.IP "Type:" 6 |
| 5690 |
\f[I]bool\f[] |
| 5691 |
|
| 5692 |
.IP "Default:" 9 |
| 5693 |
\f[I]false\f[] |
| 5694 |
|
| 5695 |
.IP "Description:" 4 |
| 5696 |
Enable Data Saver mode and download lower quality versions of chapters. |
| 5697 |
|
| 5698 |
|
| 5699 |
.SS extractor.mangadex.lang |
| 5700 |
.IP "Type:" 6 |
| 5701 |
.br |
| 5702 |
* \f[I]string\f[] |
| 5703 |
.br |
| 5704 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 5705 |
|
| 5706 |
.IP "Example:" 4 |
| 5707 |
.br |
| 5708 |
* "en" |
| 5709 |
.br |
| 5710 |
* "fr,it" |
| 5711 |
.br |
| 5712 |
* ["fr", "it"] |
| 5713 |
|
| 5714 |
.IP "Description:" 4 |
| 5715 |
\f[I]ISO 639-1\f[] code(s) to filter chapters by. |
| 5716 |
|
| 5717 |
|
| 5718 |
.SS extractor.mangadex.ratings |
| 5719 |
.IP "Type:" 6 |
| 5720 |
.br |
| 5721 |
* \f[I]string\f[] |
| 5722 |
.br |
| 5723 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 5724 |
|
| 5725 |
.IP "Default:" 9 |
| 5726 |
\f[I]["safe", "suggestive", "erotica", "pornographic"]\f[] |
| 5727 |
|
| 5728 |
.IP "Example:" 4 |
| 5729 |
.br |
| 5730 |
* "safe" |
| 5731 |
.br |
| 5732 |
* "erotica,suggestive" |
| 5733 |
.br |
| 5734 |
* ["erotica", "suggestive"] |
| 5735 |
|
| 5736 |
.IP "Description:" 4 |
| 5737 |
List of acceptable content ratings for returned chapters. |
| 5738 |
|
| 5739 |
|
| 5740 |
.SS extractor.mangadex.manga.covers |
| 5741 |
.IP "Type:" 6 |
| 5742 |
\f[I]bool\f[] |
| 5743 |
|
| 5744 |
.IP "Default:" 9 |
| 5745 |
\f[I]false\f[] |
| 5746 |
|
| 5747 |
.IP "Description:" 4 |
| 5748 |
Download manga cover images. |
| 5749 |
|
| 5750 |
|
| 5751 |
.SS extractor.mangafire.manga.lang |
| 5752 |
.IP "Type:" 6 |
| 5753 |
\f[I]string\f[] |
| 5754 |
|
| 5755 |
.IP "Default:" 9 |
| 5756 |
\f[I]"en"\f[] |
| 5757 |
|
| 5758 |
.IP "Description:" 4 |
| 5759 |
\f[I]ISO 639-1\f[] code selecting which chapters to download. |
| 5760 |
|
| 5761 |
|
| 5762 |
.SS extractor.mangareader.manga.lang |
| 5763 |
.IP "Type:" 6 |
| 5764 |
\f[I]string\f[] |
| 5765 |
|
| 5766 |
.IP "Default:" 9 |
| 5767 |
\f[I]"en"\f[] |
| 5768 |
|
| 5769 |
.IP "Example:" 4 |
| 5770 |
"pt-br" |
| 5771 |
|
| 5772 |
.IP "Description:" 4 |
| 5773 |
\f[I]ISO 639-1\f[] code selecting which chapters to download. |
| 5774 |
|
| 5775 |
|
| 5776 |
.SS extractor.mangapark.source |
| 5777 |
.IP "Type:" 6 |
| 5778 |
.br |
| 5779 |
* \f[I]string\f[] |
| 5780 |
.br |
| 5781 |
* \f[I]integer\f[] |
| 5782 |
|
| 5783 |
.IP "Example:" 4 |
| 5784 |
.br |
| 5785 |
* "koala:en" |
| 5786 |
.br |
| 5787 |
* 15150116 |
| 5788 |
|
| 5789 |
.IP "Description:" 4 |
| 5790 |
Select chapter source and language for a manga. |
| 5791 |
|
| 5792 |
The general syntax is \f[I]"<source name>:<ISO 639-1 language code>"\f[]. |
| 5793 |
.br |
| 5794 |
Both are optional, meaning \f[I]"koala"\f[], \f[I]"koala:"\f[], \f[I]":en"\f[], |
| 5795 |
.br |
| 5796 |
or even just \f[I]":"\f[] are possible as well. |
| 5797 |
|
| 5798 |
Specifying the numeric \f[I]ID\f[] of a source is also supported. |
| 5799 |
|
| 5800 |
|
| 5801 |
.SS extractor.[mastodon].access-token |
| 5802 |
.IP "Type:" 6 |
| 5803 |
\f[I]string\f[] |
| 5804 |
|
| 5805 |
.IP "Default:" 9 |
| 5806 |
\f[I]null\f[] |
| 5807 |
|
| 5808 |
.IP "Description:" 4 |
| 5809 |
The \f[I]access-token\f[] value you get from \f[I]linking your account to |
| 5810 |
gallery-dl\f[]. |
| 5811 |
|
| 5812 |
.IP "Note:" 4 |
| 5813 |
gallery-dl comes with built-in tokens for |
| 5814 |
\f[I]mastodon.social\f[], \f[I]pawoo\f[], and \f[I]baraag\f[]. |
| 5815 |
|
| 5816 |
|
| 5817 |
.SS extractor.[mastodon].cards |
| 5818 |
.IP "Type:" 6 |
| 5819 |
\f[I]bool\f[] |
| 5820 |
|
| 5821 |
.IP "Default:" 9 |
| 5822 |
\f[I]false\f[] |
| 5823 |
|
| 5824 |
.IP "Description:" 4 |
| 5825 |
Fetch media from cards. |
| 5826 |
|
| 5827 |
|
| 5828 |
.SS extractor.[mastodon].reblogs |
| 5829 |
.IP "Type:" 6 |
| 5830 |
\f[I]bool\f[] |
| 5831 |
|
| 5832 |
.IP "Default:" 9 |
| 5833 |
\f[I]false\f[] |
| 5834 |
|
| 5835 |
.IP "Description:" 4 |
| 5836 |
Fetch media from reblogged posts. |
| 5837 |
|
| 5838 |
|
| 5839 |
.SS extractor.[mastodon].replies |
| 5840 |
.IP "Type:" 6 |
| 5841 |
\f[I]bool\f[] |
| 5842 |
|
| 5843 |
.IP "Default:" 9 |
| 5844 |
\f[I]true\f[] |
| 5845 |
|
| 5846 |
.IP "Description:" 4 |
| 5847 |
Fetch media from replies to other posts. |
| 5848 |
|
| 5849 |
|
| 5850 |
.SS extractor.[mastodon].text-posts |
| 5851 |
.IP "Type:" 6 |
| 5852 |
\f[I]bool\f[] |
| 5853 |
|
| 5854 |
.IP "Default:" 9 |
| 5855 |
\f[I]false\f[] |
| 5856 |
|
| 5857 |
.IP "Description:" 4 |
| 5858 |
Also emit metadata for text-only posts without media content. |
| 5859 |
|
| 5860 |
|
| 5861 |
.SS extractor.[misskey].access-token |
| 5862 |
.IP "Type:" 6 |
| 5863 |
\f[I]string\f[] |
| 5864 |
|
| 5865 |
.IP "Description:" 4 |
| 5866 |
Your access token, necessary to fetch favorited notes. |
| 5867 |
|
| 5868 |
|
| 5869 |
.SS extractor.[misskey].date-min & .date-max |
| 5870 |
.IP "Type:" 6 |
| 5871 |
\f[I]Date\f[] |
| 5872 |
|
| 5873 |
.IP "Default:" 9 |
| 5874 |
\f[I]null\f[] |
| 5875 |
|
| 5876 |
.IP "Description:" 4 |
| 5877 |
Retrieve only notes posted after/before this \f[I]Date\f[] |
| 5878 |
|
| 5879 |
|
| 5880 |
.SS extractor.[misskey].include |
| 5881 |
.IP "Type:" 6 |
| 5882 |
.br |
| 5883 |
* \f[I]string\f[] |
| 5884 |
.br |
| 5885 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 5886 |
|
| 5887 |
.IP "Default:" 9 |
| 5888 |
\f[I]"notes"\f[] |
| 5889 |
|
| 5890 |
.IP "Example:" 4 |
| 5891 |
.br |
| 5892 |
* "avatar,background,notes" |
| 5893 |
.br |
| 5894 |
* ["avatar", "background", "notes"] |
| 5895 |
|
| 5896 |
.IP "Description:" 4 |
| 5897 |
A (comma-separated) list of subcategories to include |
| 5898 |
when processing a user profile. |
| 5899 |
|
| 5900 |
.IP "Supported Values:" 4 |
| 5901 |
.br |
| 5902 |
* \f[I]info\f[] |
| 5903 |
.br |
| 5904 |
* \f[I]avatar\f[] |
| 5905 |
.br |
| 5906 |
* \f[I]background\f[] |
| 5907 |
.br |
| 5908 |
* \f[I]notes\f[] |
| 5909 |
|
| 5910 |
.IP "Note:" 4 |
| 5911 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 5912 |
|
| 5913 |
|
| 5914 |
.SS extractor.[misskey].order-posts |
| 5915 |
.IP "Type:" 6 |
| 5916 |
\f[I]string\f[] |
| 5917 |
|
| 5918 |
.IP "Default:" 9 |
| 5919 |
\f[I]"desc"\f[] |
| 5920 |
|
| 5921 |
.IP "Description:" 4 |
| 5922 |
Controls the order in which posts are processed. |
| 5923 |
|
| 5924 |
\f[I]"asc"\f[] | \f[I]"reverse"\f[] |
| 5925 |
Ascending order (oldest first) |
| 5926 |
\f[I]"desc"\f[] |
| 5927 |
Descending order (newest first) |
| 5928 |
|
| 5929 |
|
| 5930 |
.SS extractor.[misskey].renotes |
| 5931 |
.IP "Type:" 6 |
| 5932 |
\f[I]bool\f[] |
| 5933 |
|
| 5934 |
.IP "Default:" 9 |
| 5935 |
\f[I]false\f[] |
| 5936 |
|
| 5937 |
.IP "Description:" 4 |
| 5938 |
Fetch media from renoted notes. |
| 5939 |
|
| 5940 |
|
| 5941 |
.SS extractor.[misskey].replies |
| 5942 |
.IP "Type:" 6 |
| 5943 |
\f[I]bool\f[] |
| 5944 |
|
| 5945 |
.IP "Default:" 9 |
| 5946 |
\f[I]true\f[] |
| 5947 |
|
| 5948 |
.IP "Description:" 4 |
| 5949 |
Fetch media from replies to other notes. |
| 5950 |
|
| 5951 |
|
| 5952 |
.SS extractor.[misskey].text-posts |
| 5953 |
.IP "Type:" 6 |
| 5954 |
\f[I]bool\f[] |
| 5955 |
|
| 5956 |
.IP "Default:" 9 |
| 5957 |
\f[I]false\f[] |
| 5958 |
|
| 5959 |
.IP "Description:" 4 |
| 5960 |
Also retrieve text-only notes without media content. |
| 5961 |
|
| 5962 |
|
| 5963 |
.SS extractor.[moebooru].pool.metadata |
| 5964 |
.IP "Type:" 6 |
| 5965 |
\f[I]bool\f[] |
| 5966 |
|
| 5967 |
.IP "Default:" 9 |
| 5968 |
\f[I]false\f[] |
| 5969 |
|
| 5970 |
.IP "Description:" 4 |
| 5971 |
Extract extended \f[I]pool\f[] metadata. |
| 5972 |
|
| 5973 |
.IP "Note:" 4 |
| 5974 |
Not supported by all \f[I]moebooru\f[] instances. |
| 5975 |
|
| 5976 |
|
| 5977 |
.SS extractor.myfigurecollection.include |
| 5978 |
.IP "Type:" 6 |
| 5979 |
.br |
| 5980 |
* \f[I]string\f[] |
| 5981 |
.br |
| 5982 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 5983 |
|
| 5984 |
.IP "Default:" 9 |
| 5985 |
\f[I]"user-pictures"\f[] |
| 5986 |
|
| 5987 |
.IP "Description:" 4 |
| 5988 |
A (comma-separated) list of subcategories to include |
| 5989 |
when processing a user profile. |
| 5990 |
|
| 5991 |
.IP "Supported Values:" 4 |
| 5992 |
.br |
| 5993 |
* \f[I]user-collections\f[] |
| 5994 |
.br |
| 5995 |
* \f[I]user-pictures\f[] |
| 5996 |
.br |
| 5997 |
* \f[I]user-albums\f[] |
| 5998 |
|
| 5999 |
.IP "Note:" 4 |
| 6000 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 6001 |
|
| 6002 |
|
| 6003 |
.SS extractor.naver-blog.videos |
| 6004 |
.IP "Type:" 6 |
| 6005 |
\f[I]bool\f[] |
| 6006 |
|
| 6007 |
.IP "Default:" 9 |
| 6008 |
\f[I]true\f[] |
| 6009 |
|
| 6010 |
.IP "Description:" 4 |
| 6011 |
Download videos. |
| 6012 |
|
| 6013 |
|
| 6014 |
.SS extractor.naver-chzzk.offset |
| 6015 |
.IP "Type:" 6 |
| 6016 |
\f[I]integer\f[] |
| 6017 |
|
| 6018 |
.IP "Default:" 9 |
| 6019 |
\f[I]0\f[] |
| 6020 |
|
| 6021 |
.IP "Description:" 4 |
| 6022 |
Custom \f[I]offset\f[] starting value when paginating over comments. |
| 6023 |
|
| 6024 |
|
| 6025 |
.SS extractor.newgrounds.flash |
| 6026 |
.IP "Type:" 6 |
| 6027 |
\f[I]bool\f[] |
| 6028 |
|
| 6029 |
.IP "Default:" 9 |
| 6030 |
\f[I]true\f[] |
| 6031 |
|
| 6032 |
.IP "Description:" 4 |
| 6033 |
Download original Adobe Flash animations instead of pre-rendered videos. |
| 6034 |
|
| 6035 |
|
| 6036 |
.SS extractor.newgrounds.format |
| 6037 |
.IP "Type:" 6 |
| 6038 |
.br |
| 6039 |
* \f[I]string\f[] |
| 6040 |
.br |
| 6041 |
* \f[I]list\f[] of \f[I]string\f[] |
| 6042 |
|
| 6043 |
.IP "Default:" 9 |
| 6044 |
\f[I]"original"\f[] |
| 6045 |
|
| 6046 |
.IP "Example:" 4 |
| 6047 |
.br |
| 6048 |
* "720p" |
| 6049 |
.br |
| 6050 |
* ["mp4", "mov", "1080p", "720p"] |
| 6051 |
|
| 6052 |
.IP "Description:" 4 |
| 6053 |
Selects the preferred format for video downloads. |
| 6054 |
|
| 6055 |
If the selected format is not available, |
| 6056 |
the next smaller one gets chosen. |
| 6057 |
|
| 6058 |
If this is a \f[I]list\f[], try each given |
| 6059 |
filename extension in original resolution or recoded format |
| 6060 |
until an available format is found. |
| 6061 |
|
| 6062 |
|
| 6063 |
.SS extractor.newgrounds.include |
| 6064 |
.IP "Type:" 6 |
| 6065 |
.br |
| 6066 |
* \f[I]string\f[] |
| 6067 |
.br |
| 6068 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 6069 |
|
| 6070 |
.IP "Default:" 9 |
| 6071 |
\f[I]"art"\f[] |
| 6072 |
|
| 6073 |
.IP "Example:" 4 |
| 6074 |
.br |
| 6075 |
* "movies,audio" |
| 6076 |
.br |
| 6077 |
* ["movies", "audio"] |
| 6078 |
|
| 6079 |
.IP "Description:" 4 |
| 6080 |
A (comma-separated) list of subcategories to include |
| 6081 |
when processing a user profile. |
| 6082 |
|
| 6083 |
.IP "Supported Values:" 4 |
| 6084 |
.br |
| 6085 |
* \f[I]art\f[] |
| 6086 |
.br |
| 6087 |
* \f[I]audio\f[] |
| 6088 |
.br |
| 6089 |
* \f[I]games\f[] |
| 6090 |
.br |
| 6091 |
* \f[I]movies\f[] |
| 6092 |
|
| 6093 |
.IP "Note:" 4 |
| 6094 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 6095 |
|
| 6096 |
|
| 6097 |
.SS extractor.nijie.include |
| 6098 |
.IP "Type:" 6 |
| 6099 |
.br |
| 6100 |
* \f[I]string\f[] |
| 6101 |
.br |
| 6102 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 6103 |
|
| 6104 |
.IP "Default:" 9 |
| 6105 |
\f[I]"illustration,doujin"\f[] |
| 6106 |
|
| 6107 |
.IP "Description:" 4 |
| 6108 |
A (comma-separated) list of subcategories to include |
| 6109 |
when processing a user profile. |
| 6110 |
|
| 6111 |
.IP "Supported Values:" 4 |
| 6112 |
.br |
| 6113 |
* \f[I]illustration\f[] |
| 6114 |
.br |
| 6115 |
* \f[I]doujin\f[] |
| 6116 |
.br |
| 6117 |
* \f[I]favorite\f[] |
| 6118 |
.br |
| 6119 |
* \f[I]nuita\f[] |
| 6120 |
|
| 6121 |
.IP "Note:" 4 |
| 6122 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 6123 |
|
| 6124 |
|
| 6125 |
.SS extractor.[nitter].fallback-retries |
| 6126 |
.IP "Type:" 6 |
| 6127 |
\f[I]integer\f[] |
| 6128 |
|
| 6129 |
.IP "Default:" 9 |
| 6130 |
\f[I]2\f[] |
| 6131 |
|
| 6132 |
.IP "Description:" 4 |
| 6133 |
Number of times fetching a Tweets results page is retried |
| 6134 |
after receiving an empty response, |
| 6135 |
or \f[I]-1\f[] for infinite retries. |
| 6136 |
|
| 6137 |
|
| 6138 |
.SS extractor.[nitter].quoted |
| 6139 |
.IP "Type:" 6 |
| 6140 |
\f[I]bool\f[] |
| 6141 |
|
| 6142 |
.IP "Default:" 9 |
| 6143 |
\f[I]false\f[] |
| 6144 |
|
| 6145 |
.IP "Description:" 4 |
| 6146 |
Fetch media from quoted Tweets. |
| 6147 |
|
| 6148 |
|
| 6149 |
.SS extractor.[nitter].retweets |
| 6150 |
.IP "Type:" 6 |
| 6151 |
\f[I]bool\f[] |
| 6152 |
|
| 6153 |
.IP "Default:" 9 |
| 6154 |
\f[I]false\f[] |
| 6155 |
|
| 6156 |
.IP "Description:" 4 |
| 6157 |
Fetch media from Retweets. |
| 6158 |
|
| 6159 |
|
| 6160 |
.SS extractor.[nitter].videos |
| 6161 |
.IP "Type:" 6 |
| 6162 |
.br |
| 6163 |
* \f[I]bool\f[] |
| 6164 |
.br |
| 6165 |
* \f[I]string\f[] |
| 6166 |
|
| 6167 |
.IP "Default:" 9 |
| 6168 |
\f[I]true\f[] |
| 6169 |
|
| 6170 |
.IP "Description:" 4 |
| 6171 |
Control video download behavior. |
| 6172 |
|
| 6173 |
\f[I]true\f[] |
| 6174 |
Download videos |
| 6175 |
\f[I]"ytdl"\f[] |
| 6176 |
Download videos using \f[I]ytdl\f[] |
| 6177 |
\f[I]false\f[] |
| 6178 |
Skip video Tweets |
| 6179 |
|
| 6180 |
|
| 6181 |
.SS extractor.oauth.browser |
| 6182 |
.IP "Type:" 6 |
| 6183 |
\f[I]bool\f[] |
| 6184 |
|
| 6185 |
.IP "Default:" 9 |
| 6186 |
\f[I]true\f[] |
| 6187 |
|
| 6188 |
.IP "Description:" 4 |
| 6189 |
Controls how a user is directed to an OAuth authorization page. |
| 6190 |
|
| 6191 |
\f[I]true\f[] |
| 6192 |
Use Python's \f[I]webbrowser.open()\f[] method to automatically |
| 6193 |
open the URL in the user's default browser. |
| 6194 |
\f[I]false\f[] |
| 6195 |
Ask the user to copy & paste an URL from the terminal. |
| 6196 |
|
| 6197 |
|
| 6198 |
.SS extractor.oauth.cache |
| 6199 |
.IP "Type:" 6 |
| 6200 |
\f[I]bool\f[] |
| 6201 |
|
| 6202 |
.IP "Default:" 9 |
| 6203 |
\f[I]true\f[] |
| 6204 |
|
| 6205 |
.IP "Description:" 4 |
| 6206 |
Store tokens received during OAuth authorizations |
| 6207 |
in \f[I]cache\f[]. |
| 6208 |
|
| 6209 |
|
| 6210 |
.SS extractor.oauth.host |
| 6211 |
.IP "Type:" 6 |
| 6212 |
\f[I]string\f[] |
| 6213 |
|
| 6214 |
.IP "Default:" 9 |
| 6215 |
\f[I]"localhost"\f[] |
| 6216 |
|
| 6217 |
.IP "Description:" 4 |
| 6218 |
Host name / IP address to bind to during OAuth authorization. |
| 6219 |
|
| 6220 |
|
| 6221 |
.SS extractor.oauth.port |
| 6222 |
.IP "Type:" 6 |
| 6223 |
\f[I]integer\f[] |
| 6224 |
|
| 6225 |
.IP "Default:" 9 |
| 6226 |
\f[I]6414\f[] |
| 6227 |
|
| 6228 |
.IP "Description:" 4 |
| 6229 |
Port number to listen on during OAuth authorization. |
| 6230 |
|
| 6231 |
.IP "Note:" 4 |
| 6232 |
All redirects will go to port \f[I]6414\f[], regardless |
| 6233 |
of the port specified here. You'll have to manually adjust the |
| 6234 |
port number in your browser's address bar when using a different |
| 6235 |
port than the default. |
| 6236 |
|
| 6237 |
|
| 6238 |
.SS extractor.pawchive.archives |
| 6239 |
.IP "Type:" 6 |
| 6240 |
\f[I]bool\f[] |
| 6241 |
|
| 6242 |
.IP "Default:" 9 |
| 6243 |
\f[I]false\f[] |
| 6244 |
|
| 6245 |
.IP "Description:" 4 |
| 6246 |
Extract additional metadata for \f[I]archives\f[] files, including |
| 6247 |
\f[I]file\f[], \f[I]file_list\f[], and \f[I]password\f[]. |
| 6248 |
|
| 6249 |
.IP "Note:" 4 |
| 6250 |
This requires 1 additional HTTP request per \f[I]archives\f[] file. |
| 6251 |
|
| 6252 |
|
| 6253 |
.SS extractor.pawchive.archives-format |
| 6254 |
.IP "Type:" 6 |
| 6255 |
\f[I]string\f[] |
| 6256 |
|
| 6257 |
.IP "Default:" 9 |
| 6258 |
\f[I]"list"\f[] |
| 6259 |
|
| 6260 |
.IP "Description:" 4 |
| 6261 |
Determines the format/type of the |
| 6262 |
\f[I]archives\f[] |
| 6263 |
metadata field. |
| 6264 |
|
| 6265 |
\f[I]"list"\f[] \f[I] \f[I]"array"\f[] |
| 6266 |
Plain \f[I]list\f[] with archive files as elements |
| 6267 |
\f[I]"dict"\f[] \f[] \f[I]"object"\f[] |
| 6268 |
A \f[I]dict\f[] with each archive file's \f[I]hash\f[] as key. |
| 6269 |
|
| 6270 |
|
| 6271 |
.SS extractor.pawchive.comments |
| 6272 |
.IP "Type:" 6 |
| 6273 |
\f[I]bool\f[] |
| 6274 |
|
| 6275 |
.IP "Default:" 9 |
| 6276 |
\f[I]false\f[] |
| 6277 |
|
| 6278 |
.IP "Description:" 4 |
| 6279 |
Extract \f[I]comments\f[] metadata. |
| 6280 |
|
| 6281 |
.IP "Note:" 4 |
| 6282 |
This requires 1 additional HTTP request per post. |
| 6283 |
|
| 6284 |
|
| 6285 |
.SS extractor.pawchive.domain |
| 6286 |
.IP "Type:" 6 |
| 6287 |
\f[I]string\f[] |
| 6288 |
|
| 6289 |
.IP "Default:" 9 |
| 6290 |
\f[I]null\f[] |
| 6291 |
|
| 6292 |
.IP "Description:" 4 |
| 6293 |
Specifies the domain used by \f[I]pawchive\f[] extractors. |
| 6294 |
|
| 6295 |
Setting this option to \f[I]"auto"\f[] |
| 6296 |
uses the same domain as the given input URL. |
| 6297 |
|
| 6298 |
|
| 6299 |
.SS extractor.pawchive.duplicates |
| 6300 |
.IP "Type:" 6 |
| 6301 |
.br |
| 6302 |
* \f[I]bool\f[] |
| 6303 |
.br |
| 6304 |
* \f[I]string\f[] |
| 6305 |
.br |
| 6306 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 6307 |
|
| 6308 |
.IP "Default:" 9 |
| 6309 |
\f[I]false\f[] |
| 6310 |
|
| 6311 |
.IP "Example:" 4 |
| 6312 |
.br |
| 6313 |
* "attachment,inline" |
| 6314 |
.br |
| 6315 |
* ["file", "attachment"] |
| 6316 |
|
| 6317 |
.IP "Description:" 4 |
| 6318 |
Controls how to handle duplicate files in a post. |
| 6319 |
|
| 6320 |
\f[I]true\f[] |
| 6321 |
Download duplicates |
| 6322 |
\f[I]false\f[] |
| 6323 |
Ignore duplicates |
| 6324 |
any \f[I]list\f[] or \f[I]string\f[] |
| 6325 |
Download a duplicate file if its \f[I]type\f[] is in the given list |
| 6326 |
.br |
| 6327 |
Ignore it otherwise |
| 6328 |
.br |
| 6329 |
|
| 6330 |
|
| 6331 |
.SS extractor.pawchive.endpoint |
| 6332 |
.IP "Type:" 6 |
| 6333 |
\f[I]string\f[] |
| 6334 |
|
| 6335 |
.IP "Default:" 9 |
| 6336 |
\f[I]"posts"\f[] |
| 6337 |
|
| 6338 |
.IP "Description:" 4 |
| 6339 |
API endpoint to use when retrieving creator posts. |
| 6340 |
|
| 6341 |
\f[I]"posts"\f[] \f[I] \f[I]"legacy"\f[] |
| 6342 |
Provide regular metadata |
| 6343 |
\f[I]"posts+"\f[] \f[] \f[I]"legacy+"\f[] |
| 6344 |
Provide full metadata |
| 6345 |
by using an additional API request to fetch individual post data |
| 6346 |
|
| 6347 |
|
| 6348 |
.SS extractor.pawchive.favorites |
| 6349 |
.IP "Type:" 6 |
| 6350 |
\f[I]string\f[] |
| 6351 |
|
| 6352 |
.IP "Default:" 9 |
| 6353 |
\f[I]"artist"\f[] |
| 6354 |
|
| 6355 |
.IP "Description:" 4 |
| 6356 |
Determines the type of favorites to be downloaded. |
| 6357 |
|
| 6358 |
Available types are \f[I]artist\f[] and \f[I]post\f[]. |
| 6359 |
|
| 6360 |
|
| 6361 |
.SS extractor.pawchive.files |
| 6362 |
.IP "Type:" 6 |
| 6363 |
\f[I]list\f[] of \f[I]strings\f[] |
| 6364 |
|
| 6365 |
.IP "Default:" 9 |
| 6366 |
\f[I]["file", "attachments", "inline"]\f[] |
| 6367 |
|
| 6368 |
.IP "Description:" 4 |
| 6369 |
Determines the type and order of files to be downloaded. |
| 6370 |
|
| 6371 |
.IP "Available Types:" 4 |
| 6372 |
.br |
| 6373 |
* \f[I]file\f[] |
| 6374 |
.br |
| 6375 |
* \f[I]attachments\f[] |
| 6376 |
.br |
| 6377 |
* \f[I]inline\f[] |
| 6378 |
|
| 6379 |
|
| 6380 |
.SS extractor.pawchive.max-posts |
| 6381 |
.IP "Type:" 6 |
| 6382 |
\f[I]integer\f[] |
| 6383 |
|
| 6384 |
.IP "Default:" 9 |
| 6385 |
\f[I]null\f[] |
| 6386 |
|
| 6387 |
.IP "Description:" 4 |
| 6388 |
Limit the number of posts to download. |
| 6389 |
|
| 6390 |
|
| 6391 |
.SS extractor.pawchive.metadata |
| 6392 |
.IP "Type:" 6 |
| 6393 |
\f[I]bool\f[] |
| 6394 |
|
| 6395 |
.IP "Default:" 9 |
| 6396 |
\f[I]true\f[] |
| 6397 |
|
| 6398 |
.IP "Description:" 4 |
| 6399 |
Extract \f[I]username\f[] and \f[I]user_profile\f[] metadata. |
| 6400 |
|
| 6401 |
|
| 6402 |
.SS extractor.pawchive.original |
| 6403 |
.IP "Type:" 6 |
| 6404 |
\f[I]bool\f[] |
| 6405 |
|
| 6406 |
.IP "Default:" 9 |
| 6407 |
\f[I]true\f[] |
| 6408 |
|
| 6409 |
.IP "Description:" 4 |
| 6410 |
Download original files. |
| 6411 |
|
| 6412 |
Download thumbnails/previews if available when this option is disabled. |
| 6413 |
|
| 6414 |
|
| 6415 |
.SS extractor.pawchive.previews |
| 6416 |
.IP "Type:" 6 |
| 6417 |
\f[I]bool\f[] |
| 6418 |
|
| 6419 |
.IP "Default:" 9 |
| 6420 |
\f[I]false\f[] |
| 6421 |
|
| 6422 |
.IP "Description:" 4 |
| 6423 |
Download thumbnails/previews for files marked as \f[I]preview_only\f[].. |
| 6424 |
|
| 6425 |
|
| 6426 |
.SS extractor.pawchive.revisions |
| 6427 |
.IP "Type:" 6 |
| 6428 |
.br |
| 6429 |
* \f[I]bool\f[] |
| 6430 |
.br |
| 6431 |
* \f[I]string\f[] |
| 6432 |
|
| 6433 |
.IP "Default:" 9 |
| 6434 |
\f[I]false\f[] |
| 6435 |
|
| 6436 |
.IP "Description:" 4 |
| 6437 |
Extract post revisions. |
| 6438 |
|
| 6439 |
Set this to \f[I]"unique"\f[] to filter out duplicate revisions. |
| 6440 |
|
| 6441 |
.IP "Note:" 4 |
| 6442 |
This requires 1 additional HTTP request per post. |
| 6443 |
|
| 6444 |
|
| 6445 |
.SS extractor.pawchive.order-revisions |
| 6446 |
.IP "Type:" 6 |
| 6447 |
\f[I]string\f[] |
| 6448 |
|
| 6449 |
.IP "Default:" 9 |
| 6450 |
\f[I]"desc"\f[] |
| 6451 |
|
| 6452 |
.IP "Description:" 4 |
| 6453 |
Controls the order in which |
| 6454 |
\f[I]revisions\f[] |
| 6455 |
are returned. |
| 6456 |
|
| 6457 |
\f[I]"asc"\f[] | \f[I]"reverse"\f[] |
| 6458 |
Ascending order (oldest first) |
| 6459 |
\f[I]"desc"\f[] |
| 6460 |
Descending order (newest first) |
| 6461 |
|
| 6462 |
|
| 6463 |
.SS extractor.paheal.metadata |
| 6464 |
.IP "Type:" 6 |
| 6465 |
\f[I]bool\f[] |
| 6466 |
|
| 6467 |
.IP "Default:" 9 |
| 6468 |
\f[I]false\f[] |
| 6469 |
|
| 6470 |
.IP "Description:" 4 |
| 6471 |
Extract additional metadata (\f[I]source\f[], \f[I]uploader\f[]) |
| 6472 |
|
| 6473 |
.IP "Note:" 4 |
| 6474 |
This requires 1 additional HTTP request per post. |
| 6475 |
|
| 6476 |
|
| 6477 |
.SS extractor.patreon.cursor |
| 6478 |
.IP "Type:" 6 |
| 6479 |
.br |
| 6480 |
* \f[I]bool\f[] |
| 6481 |
.br |
| 6482 |
* \f[I]string\f[] |
| 6483 |
|
| 6484 |
.IP "Default:" 9 |
| 6485 |
\f[I]true\f[] |
| 6486 |
|
| 6487 |
.IP "Example:" 4 |
| 6488 |
"03:eyJ2IjoxLCJjIjoiMzU0NDQ1MjAiLCJ0IjoiIn0=:DTcmjBoVj01o_492YBYqHhqx" |
| 6489 |
|
| 6490 |
.IP "Description:" 4 |
| 6491 |
Controls from which position to start the extraction process from. |
| 6492 |
|
| 6493 |
\f[I]true\f[] |
| 6494 |
Start from the beginning. |
| 6495 |
.br |
| 6496 |
Log the most recent \f[I]cursor\f[] value when interrupted before reaching the end. |
| 6497 |
.br |
| 6498 |
\f[I]false\f[] |
| 6499 |
Start from the beginning. |
| 6500 |
any \f[I]string\f[] |
| 6501 |
Start from the position defined by this value. |
| 6502 |
|
| 6503 |
|
| 6504 |
.SS extractor.patreon.files |
| 6505 |
.IP "Type:" 6 |
| 6506 |
\f[I]list\f[] of \f[I]strings\f[] |
| 6507 |
|
| 6508 |
.IP "Default:" 9 |
| 6509 |
\f[I]["images", "image_large", "attachments", "postfile", "content"]\f[] |
| 6510 |
|
| 6511 |
.IP "Description:" 4 |
| 6512 |
Determines types and order of files to download. |
| 6513 |
|
| 6514 |
.IP "Available Types:" 4 |
| 6515 |
.br |
| 6516 |
* \f[I]postfile\f[] |
| 6517 |
.br |
| 6518 |
* \f[I]images\f[] |
| 6519 |
.br |
| 6520 |
* \f[I]image_large\f[] |
| 6521 |
.br |
| 6522 |
* \f[I]attachments\f[] |
| 6523 |
.br |
| 6524 |
* \f[I]content\f[] |
| 6525 |
|
| 6526 |
|
| 6527 |
.SS extractor.patreon.format-images |
| 6528 |
.IP "Type:" 6 |
| 6529 |
\f[I]string\f[] |
| 6530 |
|
| 6531 |
.IP "Default:" 9 |
| 6532 |
\f[I]"download_url"\f[] |
| 6533 |
|
| 6534 |
.IP "Description:" 4 |
| 6535 |
Selects the format of \f[I]images\f[] \f[I]files\f[]. |
| 6536 |
|
| 6537 |
.IP "Available Formats:" 4 |
| 6538 |
.br |
| 6539 |
* \f[I]download_url\f[] (\f[I]"a":1,"p":1\f[]) |
| 6540 |
.br |
| 6541 |
* \f[I]url\f[] (\f[I]"w":620\f[]) |
| 6542 |
.br |
| 6543 |
* \f[I]original\f[] (\f[I]"q":100,"webp":0\f[]) |
| 6544 |
.br |
| 6545 |
* \f[I]default\f[] (\f[I]"w":620\f[]) |
| 6546 |
.br |
| 6547 |
* \f[I]default_small\f[] (\f[I]"w":360\f[]) |
| 6548 |
.br |
| 6549 |
* \f[I]default_blurred\f[] (\f[I]"w":620\f[]) |
| 6550 |
.br |
| 6551 |
* \f[I]default_blurred_small\f[] (\f[I]"w":360\f[]) |
| 6552 |
.br |
| 6553 |
* \f[I]thumbnail\f[] (\f[I]"h":360,"w":360\f[]) |
| 6554 |
.br |
| 6555 |
* \f[I]thumbnail_large\f[] (\f[I]"h":1080,"w":1080\f[]) |
| 6556 |
.br |
| 6557 |
* \f[I]thumbnail_small\f[] (\f[I]"h":100,"w":100\f[]) |
| 6558 |
|
| 6559 |
|
| 6560 |
.SS extractor.patreon.order-posts |
| 6561 |
.IP "Type:" 6 |
| 6562 |
\f[I]string\f[] |
| 6563 |
|
| 6564 |
.IP "Default:" 9 |
| 6565 |
\f[I]collection\f[] |
| 6566 |
\f[I]"asc"\f[] |
| 6567 |
otherwise |
| 6568 |
\f[I]"desc"\f[] |
| 6569 |
|
| 6570 |
.IP "Example:" 4 |
| 6571 |
.br |
| 6572 |
* "-published_at" |
| 6573 |
.br |
| 6574 |
* "collection_order" |
| 6575 |
|
| 6576 |
.IP "Description:" 4 |
| 6577 |
Controls the order in which |
| 6578 |
posts are returned and processed. |
| 6579 |
|
| 6580 |
\f[I]"asc"\f[] |
| 6581 |
Ascending order (oldest first) |
| 6582 |
\f[I]"desc"\f[] |
| 6583 |
Descending order (newest first) |
| 6584 |
\f[I]"reverse"\f[] |
| 6585 |
Reverse order |
| 6586 |
any other \f[I]string\f[] |
| 6587 |
Custom \f[I]sort\f[] order |
| 6588 |
|
| 6589 |
|
| 6590 |
.SS extractor.patreon.user.date-max |
| 6591 |
.IP "Type:" 6 |
| 6592 |
\f[I]Date\f[] |
| 6593 |
|
| 6594 |
.IP "Default:" 9 |
| 6595 |
\f[I]0\f[] |
| 6596 |
|
| 6597 |
.IP "Description:" 4 |
| 6598 |
Sets the \f[I]Date\f[] to start from. |
| 6599 |
|
| 6600 |
|
| 6601 |
.SS extractor.[philomena].api-key |
| 6602 |
.IP "Type:" 6 |
| 6603 |
\f[I]string\f[] |
| 6604 |
|
| 6605 |
.IP "Default:" 9 |
| 6606 |
\f[I]null\f[] |
| 6607 |
|
| 6608 |
.IP "Description:" 4 |
| 6609 |
Your account's API Key, |
| 6610 |
to use your personal browsing settings and filters. |
| 6611 |
|
| 6612 |
|
| 6613 |
.SS extractor.[philomena].filter |
| 6614 |
.IP "Type:" 6 |
| 6615 |
\f[I]integer\f[] |
| 6616 |
|
| 6617 |
.IP "Default:" 9 |
| 6618 |
:\f[I]derpibooru\f[]: |
| 6619 |
\f[I]56027\f[] (\f[I]Everything\f[] filter) |
| 6620 |
:\f[I]ponybooru\f[]: |
| 6621 |
\f[I]3\f[] (\f[I]Nah.\f[] filter) |
| 6622 |
:otherwise: |
| 6623 |
\f[I]2\f[] |
| 6624 |
|
| 6625 |
|
| 6626 |
.IP "Description:" 4 |
| 6627 |
The content filter ID to use. |
| 6628 |
|
| 6629 |
Setting an explicit filter ID overrides any default filters and can be used |
| 6630 |
to access 18+ content without \f[I]API Key\f[]. |
| 6631 |
|
| 6632 |
See \f[I]Filters\f[] for details. |
| 6633 |
|
| 6634 |
|
| 6635 |
.SS extractor.[philomena].comments |
| 6636 |
.IP "Type:" 6 |
| 6637 |
\f[I]bool\f[] |
| 6638 |
|
| 6639 |
.IP "Default:" 9 |
| 6640 |
\f[I]false\f[] |
| 6641 |
|
| 6642 |
.IP "Description:" 4 |
| 6643 |
Extract \f[I]comments\f[] metadata. |
| 6644 |
|
| 6645 |
|
| 6646 |
.SS extractor.[philomena].svg |
| 6647 |
.IP "Type:" 6 |
| 6648 |
\f[I]bool\f[] |
| 6649 |
|
| 6650 |
.IP "Default:" 9 |
| 6651 |
\f[I]true\f[] |
| 6652 |
|
| 6653 |
.IP "Description:" 4 |
| 6654 |
Download SVG versions of images when available. |
| 6655 |
|
| 6656 |
Try to download the \f[I]view_url\f[] version of these posts |
| 6657 |
when this option is disabled. |
| 6658 |
|
| 6659 |
|
| 6660 |
.SS extractor.pillowfort.external |
| 6661 |
.IP "Type:" 6 |
| 6662 |
\f[I]bool\f[] |
| 6663 |
|
| 6664 |
.IP "Default:" 9 |
| 6665 |
\f[I]false\f[] |
| 6666 |
|
| 6667 |
.IP "Description:" 4 |
| 6668 |
Follow links to external sites, e.g. Twitter, |
| 6669 |
|
| 6670 |
|
| 6671 |
.SS extractor.pillowfort.inline |
| 6672 |
.IP "Type:" 6 |
| 6673 |
\f[I]bool\f[] |
| 6674 |
|
| 6675 |
.IP "Default:" 9 |
| 6676 |
\f[I]true\f[] |
| 6677 |
|
| 6678 |
.IP "Description:" 4 |
| 6679 |
Extract inline images. |
| 6680 |
|
| 6681 |
|
| 6682 |
.SS extractor.pillowfort.reblogs |
| 6683 |
.IP "Type:" 6 |
| 6684 |
\f[I]bool\f[] |
| 6685 |
|
| 6686 |
.IP "Default:" 9 |
| 6687 |
\f[I]false\f[] |
| 6688 |
|
| 6689 |
.IP "Description:" 4 |
| 6690 |
Extract media from reblogged posts. |
| 6691 |
|
| 6692 |
|
| 6693 |
.SS extractor.pinterest.domain |
| 6694 |
.IP "Type:" 6 |
| 6695 |
\f[I]string\f[] |
| 6696 |
|
| 6697 |
.IP "Default:" 9 |
| 6698 |
\f[I]"auto"\f[] |
| 6699 |
|
| 6700 |
.IP "Description:" 4 |
| 6701 |
Specifies the domain used by \f[I]pinterest\f[] extractors. |
| 6702 |
|
| 6703 |
Setting this option to \f[I]"auto"\f[] |
| 6704 |
uses the same domain as a given input URL. |
| 6705 |
|
| 6706 |
|
| 6707 |
.SS extractor.pinterest.sections |
| 6708 |
.IP "Type:" 6 |
| 6709 |
\f[I]bool\f[] |
| 6710 |
|
| 6711 |
.IP "Default:" 9 |
| 6712 |
\f[I]true\f[] |
| 6713 |
|
| 6714 |
.IP "Description:" 4 |
| 6715 |
Include pins from board sections. |
| 6716 |
|
| 6717 |
|
| 6718 |
.SS extractor.pinterest.stories |
| 6719 |
.IP "Type:" 6 |
| 6720 |
\f[I]bool\f[] |
| 6721 |
|
| 6722 |
.IP "Default:" 9 |
| 6723 |
\f[I]true\f[] |
| 6724 |
|
| 6725 |
.IP "Description:" 4 |
| 6726 |
Extract files from story pins. |
| 6727 |
|
| 6728 |
|
| 6729 |
.SS extractor.pinterest.videos |
| 6730 |
.IP "Type:" 6 |
| 6731 |
\f[I]bool\f[] |
| 6732 |
|
| 6733 |
.IP "Default:" 9 |
| 6734 |
\f[I]true\f[] |
| 6735 |
|
| 6736 |
.IP "Description:" 4 |
| 6737 |
Download from video pins. |
| 6738 |
|
| 6739 |
|
| 6740 |
.SS extractor.pixeldrain.api-key |
| 6741 |
.IP "Type:" 6 |
| 6742 |
\f[I]string\f[] |
| 6743 |
|
| 6744 |
.IP "Description:" 4 |
| 6745 |
Your account's \f[I]API key\f[] |
| 6746 |
|
| 6747 |
|
| 6748 |
.SS extractor.pixeldrain.recursive |
| 6749 |
.IP "Type:" 6 |
| 6750 |
\f[I]bool\f[] |
| 6751 |
|
| 6752 |
.IP "Default:" 9 |
| 6753 |
\f[I]true\f[] |
| 6754 |
|
| 6755 |
.IP "Description:" 4 |
| 6756 |
Recursively download files from subfolders. |
| 6757 |
|
| 6758 |
|
| 6759 |
.SS extractor.pixeldrain.zip |
| 6760 |
.IP "Type:" 6 |
| 6761 |
\f[I]bool\f[] |
| 6762 |
|
| 6763 |
.IP "Default:" 9 |
| 6764 |
\f[I]false\f[] |
| 6765 |
|
| 6766 |
.IP "Description:" 4 |
| 6767 |
Download albums as a single .zip file. |
| 6768 |
|
| 6769 |
|
| 6770 |
.SS extractor.pixiv.include |
| 6771 |
.IP "Type:" 6 |
| 6772 |
.br |
| 6773 |
* \f[I]string\f[] |
| 6774 |
.br |
| 6775 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 6776 |
|
| 6777 |
.IP "Default:" 9 |
| 6778 |
\f[I]"artworks"\f[] |
| 6779 |
|
| 6780 |
.IP "Example:" 4 |
| 6781 |
.br |
| 6782 |
* "avatar,background,artworks" |
| 6783 |
.br |
| 6784 |
* ["avatar", "background", "artworks"] |
| 6785 |
|
| 6786 |
.IP "Description:" 4 |
| 6787 |
A (comma-separated) list of subcategories to include |
| 6788 |
when processing a user profile. |
| 6789 |
|
| 6790 |
.IP "Supported Values:" 4 |
| 6791 |
.br |
| 6792 |
* \f[I]artworks\f[] |
| 6793 |
.br |
| 6794 |
* \f[I]avatar\f[] |
| 6795 |
.br |
| 6796 |
* \f[I]background\f[] |
| 6797 |
.br |
| 6798 |
* \f[I]favorite\f[] |
| 6799 |
.br |
| 6800 |
* \f[I]novel-user\f[] |
| 6801 |
.br |
| 6802 |
* \f[I]novel-bookmark\f[] |
| 6803 |
.br |
| 6804 |
* \f[I]sketch\f[] |
| 6805 |
|
| 6806 |
.IP "Note:" 4 |
| 6807 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 6808 |
|
| 6809 |
|
| 6810 |
.SS extractor.pixiv.refresh-token |
| 6811 |
.IP "Type:" 6 |
| 6812 |
\f[I]string\f[] |
| 6813 |
|
| 6814 |
.IP "Description:" 4 |
| 6815 |
The \f[I]refresh-token\f[] value you get |
| 6816 |
from running \f[I]gallery-dl oauth:pixiv\f[] (see OAuth_) or |
| 6817 |
by using a third-party tool like |
| 6818 |
\f[I]gppt\f[]. |
| 6819 |
|
| 6820 |
|
| 6821 |
.SS extractor.pixiv.metadata |
| 6822 |
.IP "Type:" 6 |
| 6823 |
\f[I]bool\f[] |
| 6824 |
|
| 6825 |
.IP "Default:" 9 |
| 6826 |
\f[I]false\f[] |
| 6827 |
|
| 6828 |
.IP "Description:" 4 |
| 6829 |
Fetch extended \f[I]user\f[] metadata. |
| 6830 |
|
| 6831 |
|
| 6832 |
.SS extractor.pixiv.metadata-bookmark |
| 6833 |
.IP "Type:" 6 |
| 6834 |
\f[I]bool\f[] |
| 6835 |
|
| 6836 |
.IP "Default:" 9 |
| 6837 |
\f[I]false\f[] |
| 6838 |
|
| 6839 |
.IP "Description:" 4 |
| 6840 |
For works bookmarked by |
| 6841 |
\f[I]your own account\f[], |
| 6842 |
fetch bookmark tags as \f[I]tags_bookmark\f[] metadata. |
| 6843 |
|
| 6844 |
.IP "Note:" 4 |
| 6845 |
This requires 1 additional API request per bookmarked post. |
| 6846 |
|
| 6847 |
|
| 6848 |
.SS extractor.pixiv.captions |
| 6849 |
.IP "Type:" 6 |
| 6850 |
\f[I]bool\f[] |
| 6851 |
|
| 6852 |
.IP "Default:" 9 |
| 6853 |
\f[I]false\f[] |
| 6854 |
|
| 6855 |
.IP "Description:" 4 |
| 6856 |
For works with seemingly empty \f[I]caption\f[] metadata, |
| 6857 |
try to grab the actual \f[I]caption\f[] value using the AJAX API. |
| 6858 |
|
| 6859 |
|
| 6860 |
.SS extractor.pixiv.comments |
| 6861 |
.IP "Type:" 6 |
| 6862 |
\f[I]bool\f[] |
| 6863 |
|
| 6864 |
.IP "Default:" 9 |
| 6865 |
\f[I]false\f[] |
| 6866 |
|
| 6867 |
.IP "Description:" 4 |
| 6868 |
Fetch \f[I]comments\f[] metadata. |
| 6869 |
|
| 6870 |
.IP "Note:" 4 |
| 6871 |
This requires 1 or more additional API requests per post, |
| 6872 |
depending on the number of comments. |
| 6873 |
|
| 6874 |
|
| 6875 |
.SS extractor.pixiv.work.related |
| 6876 |
.IP "Type:" 6 |
| 6877 |
\f[I]bool\f[] |
| 6878 |
|
| 6879 |
.IP "Default:" 9 |
| 6880 |
\f[I]false\f[] |
| 6881 |
|
| 6882 |
.IP "Description:" 4 |
| 6883 |
Also download related artworks. |
| 6884 |
|
| 6885 |
|
| 6886 |
.SS extractor.pixiv.tags |
| 6887 |
.IP "Type:" 6 |
| 6888 |
\f[I]string\f[] |
| 6889 |
|
| 6890 |
.IP "Default:" 9 |
| 6891 |
\f[I]"japanese"\f[] |
| 6892 |
|
| 6893 |
.IP "Description:" 4 |
| 6894 |
Controls the \f[I]tags\f[] metadata field. |
| 6895 |
|
| 6896 |
.br |
| 6897 |
* "japanese": List of Japanese tags |
| 6898 |
.br |
| 6899 |
* "translated": List of translated tags |
| 6900 |
.br |
| 6901 |
* "original": Unmodified list with both Japanese and translated tags |
| 6902 |
|
| 6903 |
|
| 6904 |
.SS extractor.pixiv.ugoira |
| 6905 |
.IP "Type:" 6 |
| 6906 |
.br |
| 6907 |
* \f[I]bool\f[] |
| 6908 |
.br |
| 6909 |
* \f[I]string\f[] |
| 6910 |
|
| 6911 |
.IP "Default:" 9 |
| 6912 |
\f[I]true\f[] |
| 6913 |
|
| 6914 |
.IP "Description:" 4 |
| 6915 |
Download Pixiv's Ugoira animations. |
| 6916 |
|
| 6917 |
These animations come as a \f[I].zip\f[] archive containing all |
| 6918 |
animation frames in JPEG format by default. |
| 6919 |
|
| 6920 |
Set this option to \f[I]"original"\f[] |
| 6921 |
to download them as individual, higher-quality frames. |
| 6922 |
|
| 6923 |
Use an ugoira post processor to convert them |
| 6924 |
to watchable animations. (Example__) |
| 6925 |
|
| 6926 |
|
| 6927 |
.SS extractor.pixiv.max-posts |
| 6928 |
.IP "Type:" 6 |
| 6929 |
\f[I]integer\f[] |
| 6930 |
|
| 6931 |
.IP "Default:" 9 |
| 6932 |
\f[I]0\f[] |
| 6933 |
|
| 6934 |
.IP "Description:" 4 |
| 6935 |
When downloading galleries, this sets the maximum number of posts to get. |
| 6936 |
A value of \f[I]0\f[] means no limit. |
| 6937 |
|
| 6938 |
|
| 6939 |
.SS extractor.pixiv.sanity |
| 6940 |
.IP "Type:" 6 |
| 6941 |
\f[I]bool\f[] |
| 6942 |
|
| 6943 |
.IP "Default:" 9 |
| 6944 |
\f[I]true\f[] |
| 6945 |
|
| 6946 |
.IP "Description:" 4 |
| 6947 |
Try to fetch \f[I]limit_sanity_level\f[] works via web API. |
| 6948 |
|
| 6949 |
|
| 6950 |
.SS extractor.pixiv.favorite.cursor |
| 6951 |
.IP "Type:" 6 |
| 6952 |
\f[I]string\f[] |
| 6953 |
|
| 6954 |
.IP "Description:" 4 |
| 6955 |
Start from the given bookmark ID. |
| 6956 |
|
| 6957 |
|
| 6958 |
.SS extractor.pixiv-novel.comments |
| 6959 |
.IP "Type:" 6 |
| 6960 |
\f[I]bool\f[] |
| 6961 |
|
| 6962 |
.IP "Default:" 9 |
| 6963 |
\f[I]false\f[] |
| 6964 |
|
| 6965 |
.IP "Description:" 4 |
| 6966 |
Fetch \f[I]comments\f[] metadata. |
| 6967 |
|
| 6968 |
.IP "Note:" 4 |
| 6969 |
This requires 1 or more additional API requests per novel, |
| 6970 |
depending on the number of comments. |
| 6971 |
|
| 6972 |
|
| 6973 |
.SS extractor.pixiv-novel.covers |
| 6974 |
.IP "Type:" 6 |
| 6975 |
\f[I]bool\f[] |
| 6976 |
|
| 6977 |
.IP "Default:" 9 |
| 6978 |
\f[I]false\f[] |
| 6979 |
|
| 6980 |
.IP "Description:" 4 |
| 6981 |
Download cover images. |
| 6982 |
|
| 6983 |
|
| 6984 |
.SS extractor.pixiv-novel.embeds |
| 6985 |
.IP "Type:" 6 |
| 6986 |
\f[I]bool\f[] |
| 6987 |
|
| 6988 |
.IP "Default:" 9 |
| 6989 |
\f[I]false\f[] |
| 6990 |
|
| 6991 |
.IP "Description:" 4 |
| 6992 |
Download embedded images. |
| 6993 |
|
| 6994 |
|
| 6995 |
.SS extractor.pixiv-novel.full-series |
| 6996 |
.IP "Type:" 6 |
| 6997 |
\f[I]bool\f[] |
| 6998 |
|
| 6999 |
.IP "Default:" 9 |
| 7000 |
\f[I]false\f[] |
| 7001 |
|
| 7002 |
.IP "Description:" 4 |
| 7003 |
When downloading a novel being part of a series, |
| 7004 |
download all novels of that series. |
| 7005 |
|
| 7006 |
|
| 7007 |
.SS extractor.pixiv-novel.max-posts |
| 7008 |
.IP "Type:" 6 |
| 7009 |
\f[I]integer\f[] |
| 7010 |
|
| 7011 |
.IP "Default:" 9 |
| 7012 |
\f[I]0\f[] |
| 7013 |
|
| 7014 |
.IP "Description:" 4 |
| 7015 |
When downloading multiple novels, |
| 7016 |
this sets the maximum number of novels to get. |
| 7017 |
|
| 7018 |
A value of \f[I]0\f[] means no limit. |
| 7019 |
|
| 7020 |
|
| 7021 |
.SS extractor.pixiv-novel.metadata |
| 7022 |
.IP "Type:" 6 |
| 7023 |
\f[I]bool\f[] |
| 7024 |
|
| 7025 |
.IP "Default:" 9 |
| 7026 |
\f[I]false\f[] |
| 7027 |
|
| 7028 |
.IP "Description:" 4 |
| 7029 |
Fetch extended \f[I]user\f[] metadata. |
| 7030 |
|
| 7031 |
|
| 7032 |
.SS extractor.pixiv-novel.metadata-bookmark |
| 7033 |
.IP "Type:" 6 |
| 7034 |
\f[I]bool\f[] |
| 7035 |
|
| 7036 |
.IP "Default:" 9 |
| 7037 |
\f[I]false\f[] |
| 7038 |
|
| 7039 |
.IP "Description:" 4 |
| 7040 |
For novels bookmarked by |
| 7041 |
\f[I]your own account\f[], |
| 7042 |
fetch bookmark tags as \f[I]tags_bookmark\f[] metadata. |
| 7043 |
|
| 7044 |
.IP "Note:" 4 |
| 7045 |
This requires 1 additional API request per bookmarked post. |
| 7046 |
|
| 7047 |
|
| 7048 |
.SS extractor.pixiv-novel.refresh-token |
| 7049 |
.IP "Type:" 6 |
| 7050 |
\f[I]string\f[] |
| 7051 |
|
| 7052 |
.IP "Description:" 4 |
| 7053 |
The \f[I]refresh-token\f[] value you get |
| 7054 |
from running \f[I]gallery-dl oauth:pixiv\f[] (see OAuth_) or |
| 7055 |
by using a third-party tool like |
| 7056 |
\f[I]gppt\f[]. |
| 7057 |
|
| 7058 |
This can be the same value as \f[I]extractor.pixiv.refresh-token\f[] |
| 7059 |
|
| 7060 |
|
| 7061 |
.SS extractor.pixiv-novel.tags |
| 7062 |
.IP "Type:" 6 |
| 7063 |
\f[I]string\f[] |
| 7064 |
|
| 7065 |
.IP "Default:" 9 |
| 7066 |
\f[I]"japanese"\f[] |
| 7067 |
|
| 7068 |
.IP "Description:" 4 |
| 7069 |
Controls the \f[I]tags\f[] metadata field. |
| 7070 |
|
| 7071 |
.br |
| 7072 |
* "japanese": List of Japanese tags |
| 7073 |
.br |
| 7074 |
* "translated": List of translated tags |
| 7075 |
.br |
| 7076 |
* "original": Unmodified list with both Japanese and translated tags |
| 7077 |
|
| 7078 |
|
| 7079 |
.SS extractor.pixiv-novel.bookmark.cursor |
| 7080 |
.IP "Type:" 6 |
| 7081 |
\f[I]string\f[] |
| 7082 |
|
| 7083 |
.IP "Description:" 4 |
| 7084 |
Start from the given bookmark ID. |
| 7085 |
|
| 7086 |
|
| 7087 |
.SS extractor.plurk.comments |
| 7088 |
.IP "Type:" 6 |
| 7089 |
\f[I]bool\f[] |
| 7090 |
|
| 7091 |
.IP "Default:" 9 |
| 7092 |
\f[I]false\f[] |
| 7093 |
|
| 7094 |
.IP "Description:" 4 |
| 7095 |
Also search Plurk comments for URLs. |
| 7096 |
|
| 7097 |
|
| 7098 |
.SS extractor.plurk.external |
| 7099 |
.IP "Type:" 6 |
| 7100 |
\f[I]bool\f[] |
| 7101 |
|
| 7102 |
.IP "Default:" 9 |
| 7103 |
\f[I]false\f[] |
| 7104 |
|
| 7105 |
.IP "Description:" 4 |
| 7106 |
Follow external links in Plurk posts that are not hosted on |
| 7107 |
\f[I]images.plurk.com\f[] or \f[I]imgs.plurk.com\f[]. |
| 7108 |
|
| 7109 |
|
| 7110 |
.SS extractor.plurk.replurk |
| 7111 |
.IP "Type:" 6 |
| 7112 |
\f[I]bool\f[] |
| 7113 |
|
| 7114 |
.IP "Default:" 9 |
| 7115 |
\f[I]false\f[] |
| 7116 |
|
| 7117 |
.IP "Description:" 4 |
| 7118 |
Process replurked posts in addition to original posts. |
| 7119 |
|
| 7120 |
|
| 7121 |
.SS extractor.[postmill].save-link-post-body |
| 7122 |
.IP "Type:" 6 |
| 7123 |
\f[I]bool\f[] |
| 7124 |
|
| 7125 |
.IP "Default:" 9 |
| 7126 |
\f[I]false\f[] |
| 7127 |
|
| 7128 |
.IP "Description:" 4 |
| 7129 |
Whether or not to save the body for link/image posts. |
| 7130 |
|
| 7131 |
|
| 7132 |
.SS extractor.reactor.gif |
| 7133 |
.IP "Type:" 6 |
| 7134 |
\f[I]bool\f[] |
| 7135 |
|
| 7136 |
.IP "Default:" 9 |
| 7137 |
\f[I]false\f[] |
| 7138 |
|
| 7139 |
.IP "Description:" 4 |
| 7140 |
Format in which to download animated images. |
| 7141 |
|
| 7142 |
Use \f[I]true\f[] to download animated images as gifs and \f[I]false\f[] |
| 7143 |
to download as mp4 videos. |
| 7144 |
|
| 7145 |
|
| 7146 |
.SS extractor.reddit.api |
| 7147 |
.IP "Type:" 6 |
| 7148 |
\f[I]string\f[] |
| 7149 |
|
| 7150 |
.IP "Default:" 9 |
| 7151 |
\f[I]"auto"\f[] |
| 7152 |
|
| 7153 |
.IP "Description:" 4 |
| 7154 |
Selects which API endpoints to use. |
| 7155 |
|
| 7156 |
\f[I]"auto"\f[] |
| 7157 |
Use \f[I]"oauth"\f[] when a |
| 7158 |
\f[I]client_id\f[] |
| 7159 |
is given, \f[I]"rest"\f[] otherwise. |
| 7160 |
|
| 7161 |
\f[I]"oauth"\f[] |
| 7162 |
Use the OAuth API at \f[I]https://oauth.reddit.com\f[] |
| 7163 |
|
| 7164 |
Requires |
| 7165 |
\f[I]client-id & user-agent |
| 7166 |
<extractor.reddit.client-id & .user-agent-oauth_>\f[] |
| 7167 |
and uses a |
| 7168 |
\f[I]refresh token\f[] |
| 7169 |
for authentication. |
| 7170 |
|
| 7171 |
\f[I]"rest"\f[] |
| 7172 |
Use the REST API at \f[I]https://www.reddit.com\f[] |
| 7173 |
|
| 7174 |
Uses |
| 7175 |
\f[I]cookies\f[] |
| 7176 |
for authentication. |
| 7177 |
|
| 7178 |
|
| 7179 |
.SS extractor.reddit.comments |
| 7180 |
.IP "Type:" 6 |
| 7181 |
\f[I]integer\f[] |
| 7182 |
|
| 7183 |
.IP "Default:" 9 |
| 7184 |
\f[I]0\f[] |
| 7185 |
|
| 7186 |
.IP "Description:" 4 |
| 7187 |
The value of the \f[I]limit\f[] parameter when loading |
| 7188 |
a submission and its comments. |
| 7189 |
This number (roughly) specifies the total amount of comments |
| 7190 |
being retrieved with the first API call. |
| 7191 |
|
| 7192 |
Reddit's internal default and maximum values for this parameter |
| 7193 |
appear to be 200 and 500 respectively. |
| 7194 |
|
| 7195 |
The value \f[I]0\f[] ignores all comments and significantly reduces the |
| 7196 |
time required when scanning a subreddit. |
| 7197 |
|
| 7198 |
|
| 7199 |
.SS extractor.reddit.morecomments |
| 7200 |
.IP "Type:" 6 |
| 7201 |
\f[I]bool\f[] |
| 7202 |
|
| 7203 |
.IP "Default:" 9 |
| 7204 |
\f[I]false\f[] |
| 7205 |
|
| 7206 |
.IP "Description:" 4 |
| 7207 |
Retrieve additional comments by resolving the \f[I]more\f[] comment |
| 7208 |
stubs in the base comment tree. |
| 7209 |
|
| 7210 |
.IP "Note:" 4 |
| 7211 |
This requires 1 additional API call for every 100 extra comments. |
| 7212 |
|
| 7213 |
|
| 7214 |
.SS extractor.reddit.embeds |
| 7215 |
.IP "Type:" 6 |
| 7216 |
\f[I]bool\f[] |
| 7217 |
|
| 7218 |
.IP "Default:" 9 |
| 7219 |
\f[I]true\f[] |
| 7220 |
|
| 7221 |
.IP "Description:" 4 |
| 7222 |
Download embedded comments media. |
| 7223 |
|
| 7224 |
|
| 7225 |
.SS extractor.reddit.date-min & .date-max |
| 7226 |
.IP "Type:" 6 |
| 7227 |
\f[I]Date\f[] |
| 7228 |
|
| 7229 |
.IP "Default:" 9 |
| 7230 |
\f[I]0\f[] and \f[I]253402210800\f[] (timestamp of \f[I]datetime.max\f[]) |
| 7231 |
|
| 7232 |
.IP "Description:" 4 |
| 7233 |
Ignore all submissions posted before/after this date. |
| 7234 |
|
| 7235 |
|
| 7236 |
.SS extractor.reddit.id-min & .id-max |
| 7237 |
.IP "Type:" 6 |
| 7238 |
\f[I]string\f[] |
| 7239 |
|
| 7240 |
.IP "Example:" 4 |
| 7241 |
"6kmzv2" |
| 7242 |
|
| 7243 |
.IP "Description:" 4 |
| 7244 |
Ignore all submissions posted before/after the submission with this ID. |
| 7245 |
|
| 7246 |
|
| 7247 |
.SS extractor.reddit.limit |
| 7248 |
.IP "Type:" 6 |
| 7249 |
\f[I]integer\f[] |
| 7250 |
|
| 7251 |
.IP "Default:" 9 |
| 7252 |
\f[I]null\f[] |
| 7253 |
|
| 7254 |
.IP "Description:" 4 |
| 7255 |
Number of results to return in a single API query. |
| 7256 |
|
| 7257 |
This value specifies the \f[I]limit\f[] parameter |
| 7258 |
used for API requests when retrieving paginated results. |
| 7259 |
|
| 7260 |
\f[I]null\f[] means not including this parameter at all |
| 7261 |
and letting Reddit chose a default. |
| 7262 |
|
| 7263 |
|
| 7264 |
.SS extractor.reddit.pinned |
| 7265 |
.IP "Type:" 6 |
| 7266 |
\f[I]bool\f[] |
| 7267 |
|
| 7268 |
.IP "Default:" 9 |
| 7269 |
\f[I]true\f[] |
| 7270 |
|
| 7271 |
.IP "Description:" 4 |
| 7272 |
Process pinned submissions. |
| 7273 |
|
| 7274 |
|
| 7275 |
.SS extractor.reddit.previews |
| 7276 |
.IP "Type:" 6 |
| 7277 |
\f[I]bool\f[] |
| 7278 |
|
| 7279 |
.IP "Default:" 9 |
| 7280 |
\f[I]true\f[] |
| 7281 |
|
| 7282 |
.IP "Description:" 4 |
| 7283 |
For failed downloads from external URLs / child extractors, |
| 7284 |
download Reddit's preview image/video if available. |
| 7285 |
|
| 7286 |
|
| 7287 |
.SS extractor.reddit.recursion |
| 7288 |
.IP "Type:" 6 |
| 7289 |
\f[I]integer\f[] |
| 7290 |
|
| 7291 |
.IP "Default:" 9 |
| 7292 |
\f[I]0\f[] |
| 7293 |
|
| 7294 |
.IP "Description:" 4 |
| 7295 |
Reddit extractors can recursively visit other submissions |
| 7296 |
linked to in the initial set of submissions. |
| 7297 |
This value sets the maximum recursion depth. |
| 7298 |
|
| 7299 |
.IP "Special Values:" 4 |
| 7300 |
\f[I]0\f[] |
| 7301 |
Recursion is disabled |
| 7302 |
\f[I]-1\f[] |
| 7303 |
Infinite recursion (don't do this) |
| 7304 |
|
| 7305 |
|
| 7306 |
.SS extractor.reddit.refresh-token |
| 7307 |
.IP "Type:" 6 |
| 7308 |
\f[I]string\f[] |
| 7309 |
|
| 7310 |
.IP "Default:" 9 |
| 7311 |
\f[I]null\f[] |
| 7312 |
|
| 7313 |
.IP "Description:" 4 |
| 7314 |
The \f[I]refresh-token\f[] value you get from |
| 7315 |
\f[I]linking your Reddit account to gallery-dl\f[]. |
| 7316 |
|
| 7317 |
Using a \f[I]refresh-token\f[] allows you to access private or otherwise |
| 7318 |
not publicly available subreddits, given that your account is |
| 7319 |
authorized to do so, |
| 7320 |
but requests to the reddit API are going to be rate limited |
| 7321 |
at 600 requests every 10 minutes/600 seconds. |
| 7322 |
|
| 7323 |
|
| 7324 |
.SS extractor.reddit.selftext |
| 7325 |
.IP "Type:" 6 |
| 7326 |
\f[I]bool\f[] |
| 7327 |
|
| 7328 |
.IP "Default:" 9 |
| 7329 |
.br |
| 7330 |
* \f[I]true\f[] if \f[I]comments\f[] are enabled |
| 7331 |
.br |
| 7332 |
* \f[I]false\f[] otherwise |
| 7333 |
|
| 7334 |
.IP "Description:" 4 |
| 7335 |
Follow links in the original post's \f[I]selftext\f[]. |
| 7336 |
|
| 7337 |
|
| 7338 |
.SS extractor.reddit.videos |
| 7339 |
.IP "Type:" 6 |
| 7340 |
.br |
| 7341 |
* \f[I]bool\f[] |
| 7342 |
.br |
| 7343 |
* \f[I]string\f[] |
| 7344 |
|
| 7345 |
.IP "Default:" 9 |
| 7346 |
\f[I]"dash"\f[] |
| 7347 |
|
| 7348 |
.IP "Description:" 4 |
| 7349 |
Control video download behavior. |
| 7350 |
|
| 7351 |
\f[I]true\f[] |
| 7352 |
Download videos and use \f[I]ytdl\f[] to handle |
| 7353 |
HLS and DASH manifests |
| 7354 |
\f[I]"ytdl"\f[] |
| 7355 |
Download videos and let \f[I]ytdl\f[] handle all of |
| 7356 |
video extraction and download |
| 7357 |
\f[I]"dash"\f[] |
| 7358 |
Extract DASH manifest URLs and use \f[I]ytdl\f[] |
| 7359 |
to download and merge them. (*) |
| 7360 |
\f[I]false\f[] |
| 7361 |
Ignore videos |
| 7362 |
|
| 7363 |
.IP "Note:" 4 |
| 7364 |
(*) |
| 7365 |
This saves 1 HTTP request per video |
| 7366 |
and might potentially be able to download otherwise deleted videos, |
| 7367 |
but it will not always get the best video quality available. |
| 7368 |
|
| 7369 |
|
| 7370 |
.SS extractor.reddit.user.only |
| 7371 |
.IP "Type:" 6 |
| 7372 |
\f[I]bool\f[] |
| 7373 |
|
| 7374 |
.IP "Default:" 9 |
| 7375 |
\f[I]user-saved\f[] \f[I] \f[I]user-upvoted\f[] \f[] \f[I]user-downvoted\f[] |
| 7376 |
\f[I]false\f[] |
| 7377 |
otherwise |
| 7378 |
\f[I]true\f[] |
| 7379 |
|
| 7380 |
.IP "Description:" 4 |
| 7381 |
Only process and return posts from the user specified in the input URL. |
| 7382 |
|
| 7383 |
|
| 7384 |
.SS extractor.redgifs.format |
| 7385 |
.IP "Type:" 6 |
| 7386 |
.br |
| 7387 |
* \f[I]string\f[] |
| 7388 |
.br |
| 7389 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 7390 |
|
| 7391 |
.IP "Default:" 9 |
| 7392 |
\f[I]["hd", "sd", "gif"]\f[] |
| 7393 |
|
| 7394 |
.IP "Description:" 4 |
| 7395 |
List of names of the preferred animation format.` |
| 7396 |
|
| 7397 |
If a selected format is not available, the next one in the list will be |
| 7398 |
tried until an available format is found. |
| 7399 |
|
| 7400 |
If the format is given as \f[I]string\f[], it will be extended with |
| 7401 |
\f[I]["hd", "sd", "gif"]\f[]. Use a list with one element to |
| 7402 |
restrict it to only one possible format. |
| 7403 |
|
| 7404 |
.IP "Available Formats:" 4 |
| 7405 |
.br |
| 7406 |
* \f[I]"hd"\f[] |
| 7407 |
.br |
| 7408 |
* \f[I]"sd"\f[] |
| 7409 |
.br |
| 7410 |
* \f[I]"gif"\f[] |
| 7411 |
.br |
| 7412 |
* \f[I]"thumbnail"\f[] |
| 7413 |
.br |
| 7414 |
* \f[I]"vthumbnail"\f[] |
| 7415 |
.br |
| 7416 |
* \f[I]"poster"\f[] |
| 7417 |
|
| 7418 |
|
| 7419 |
.SS extractor.rule34.api-key & .user-id |
| 7420 |
.IP "Type:" 6 |
| 7421 |
\f[I]string\f[] |
| 7422 |
|
| 7423 |
.IP "Default:" 9 |
| 7424 |
\f[I]null\f[] |
| 7425 |
|
| 7426 |
.IP "Description:" 4 |
| 7427 |
Values from the API Access Credentials section |
| 7428 |
found near the bottom of your account's |
| 7429 |
\f[I]Options\f[] |
| 7430 |
page. |
| 7431 |
|
| 7432 |
Enable Generate New Key? and click Save |
| 7433 |
if the value after \f[I]&api_key=\f[] is empty, |
| 7434 |
e.g. \f[I]&api_key=&user_id=12345\f[] |
| 7435 |
|
| 7436 |
|
| 7437 |
.SS extractor.rule34xyz.format |
| 7438 |
.IP "Type:" 6 |
| 7439 |
.br |
| 7440 |
* \f[I]string\f[] |
| 7441 |
.br |
| 7442 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 7443 |
|
| 7444 |
.IP "Default:" 9 |
| 7445 |
\f[I]["10", "40", "41", "2"]\f[] |
| 7446 |
|
| 7447 |
.IP "Example:" 4 |
| 7448 |
"33,34,4" |
| 7449 |
|
| 7450 |
.IP "Description:" 4 |
| 7451 |
Selects the file format to extract. |
| 7452 |
|
| 7453 |
When more than one format is given, the first available one is selected. |
| 7454 |
|
| 7455 |
|
| 7456 |
.SS extractor.sankaku.refresh |
| 7457 |
.IP "Type:" 6 |
| 7458 |
\f[I]bool\f[] |
| 7459 |
|
| 7460 |
.IP "Default:" 9 |
| 7461 |
\f[I]false\f[] |
| 7462 |
|
| 7463 |
.IP "Description:" 4 |
| 7464 |
Refresh download URLs before they expire. |
| 7465 |
|
| 7466 |
|
| 7467 |
.SS extractor.sankaku.tags |
| 7468 |
.IP "Type:" 6 |
| 7469 |
.br |
| 7470 |
* \f[I]bool\f[] |
| 7471 |
.br |
| 7472 |
* \f[I]string\f[] |
| 7473 |
|
| 7474 |
.IP "Default:" 9 |
| 7475 |
\f[I]false\f[] |
| 7476 |
|
| 7477 |
.IP "Description:" 4 |
| 7478 |
Group \f[I]tags\f[] by type and |
| 7479 |
.br |
| 7480 |
provide them as \f[I]tags_<type>\f[] and \f[I]tag_string_TYPE\f[] metadata fields, |
| 7481 |
for example \f[I]tags_artist\f[] and \f[I]tags_character\f[]. |
| 7482 |
.br |
| 7483 |
|
| 7484 |
\f[I]true\f[] |
| 7485 |
Enable general \f[I]tags\f[] categories |
| 7486 |
|
| 7487 |
Requires: |
| 7488 |
|
| 7489 |
.br |
| 7490 |
* 1 additional API request per 100 tags per post |
| 7491 |
|
| 7492 |
\f[I]"extended"\f[] |
| 7493 |
Group \f[I]tags\f[] by the new, extended tag category system |
| 7494 |
used on \f[I]chan.sankakucomplex.com\f[] |
| 7495 |
|
| 7496 |
Requires: |
| 7497 |
|
| 7498 |
.br |
| 7499 |
* 1 additional HTTP request per post |
| 7500 |
.br |
| 7501 |
* authenticated \f[I]cookies\f[] |
| 7502 |
to fetch full \f[I]tags\f[] category data |
| 7503 |
|
| 7504 |
\f[I]false\f[] |
| 7505 |
Disable \f[I]tags\f[] categories |
| 7506 |
|
| 7507 |
|
| 7508 |
.SS extractor.sankakucomplex.embeds |
| 7509 |
.IP "Type:" 6 |
| 7510 |
\f[I]bool\f[] |
| 7511 |
|
| 7512 |
.IP "Default:" 9 |
| 7513 |
\f[I]false\f[] |
| 7514 |
|
| 7515 |
.IP "Description:" 4 |
| 7516 |
Download video embeds from external sites. |
| 7517 |
|
| 7518 |
|
| 7519 |
.SS extractor.sankakucomplex.videos |
| 7520 |
.IP "Type:" 6 |
| 7521 |
\f[I]bool\f[] |
| 7522 |
|
| 7523 |
.IP "Default:" 9 |
| 7524 |
\f[I]true\f[] |
| 7525 |
|
| 7526 |
.IP "Description:" 4 |
| 7527 |
Download videos. |
| 7528 |
|
| 7529 |
|
| 7530 |
.SS extractor.schalenetwork.cbz |
| 7531 |
.IP "Type:" 6 |
| 7532 |
\f[I]bool\f[] |
| 7533 |
|
| 7534 |
.IP "Default:" 9 |
| 7535 |
\f[I]false\f[] |
| 7536 |
|
| 7537 |
.IP "Description:" 4 |
| 7538 |
Download each gallery as a single \f[I].cbz\f[] file. |
| 7539 |
|
| 7540 |
.IP "Note:" 4 |
| 7541 |
Requires a |
| 7542 |
\f[I]token\f[] |
| 7543 |
|
| 7544 |
|
| 7545 |
.SS extractor.schalenetwork.crt |
| 7546 |
.IP "Type:" 6 |
| 7547 |
\f[I]string\f[] |
| 7548 |
|
| 7549 |
.IP "Example:" 4 |
| 7550 |
.br |
| 7551 |
* "0542daa9-352c-4fd5-a497-6c6d5cf07423" |
| 7552 |
.br |
| 7553 |
* "/12345/a1b2c3d4e5f6?crt=0542daa9-352c-4fd5-a497-6c6d5cf07423" |
| 7554 |
|
| 7555 |
.IP "Description:" 4 |
| 7556 |
The \f[I]crt\f[] query parameter value |
| 7557 |
sent when fetching gallery data. |
| 7558 |
|
| 7559 |
To get this value: |
| 7560 |
|
| 7561 |
.br |
| 7562 |
* Open your browser's Developer Tools (F12) |
| 7563 |
.br |
| 7564 |
* Select Network → XHR |
| 7565 |
.br |
| 7566 |
* Open a gallery page |
| 7567 |
.br |
| 7568 |
* Select the last Network entry and copy its \f[I]crt\f[] value |
| 7569 |
|
| 7570 |
.IP "Note:" 4 |
| 7571 |
You will also need your browser's |
| 7572 |
\f[I]user-agent\f[] |
| 7573 |
|
| 7574 |
|
| 7575 |
.SS extractor.schalenetwork.format |
| 7576 |
.IP "Type:" 6 |
| 7577 |
.br |
| 7578 |
* \f[I]string\f[] |
| 7579 |
.br |
| 7580 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 7581 |
|
| 7582 |
.IP "Default:" 9 |
| 7583 |
\f[I]["0", "1600", "1280", "980", "780"]\f[] |
| 7584 |
|
| 7585 |
.IP "Description:" 4 |
| 7586 |
Name(s) of the image format to download. |
| 7587 |
|
| 7588 |
When more than one format is given, the first available one is selected. |
| 7589 |
|
| 7590 |
.IP "Formats:" 4 |
| 7591 |
.br |
| 7592 |
* \f[I]"780"\f[] |
| 7593 |
.br |
| 7594 |
* \f[I]"980"\f[] |
| 7595 |
.br |
| 7596 |
* \f[I]"1280"\f[] |
| 7597 |
.br |
| 7598 |
* \f[I]"1600"\f[] |
| 7599 |
.br |
| 7600 |
* \f[I]"0"\f[] (original) |
| 7601 |
|
| 7602 |
|
| 7603 |
.SS extractor.schalenetwork.tags |
| 7604 |
.IP "Type:" 6 |
| 7605 |
\f[I]bool\f[] |
| 7606 |
|
| 7607 |
.IP "Default:" 9 |
| 7608 |
\f[I]true\f[] |
| 7609 |
|
| 7610 |
.IP "Description:" 4 |
| 7611 |
Group \f[I]tags\f[] by type and |
| 7612 |
provide them as \f[I]tags_<type>\f[] metadata fields, |
| 7613 |
for example \f[I]tags_artist\f[] or \f[I]tags_character\f[]. |
| 7614 |
|
| 7615 |
|
| 7616 |
.SS extractor.schalenetwork.token |
| 7617 |
.IP "Type:" 6 |
| 7618 |
\f[I]string\f[] |
| 7619 |
|
| 7620 |
.IP "Example:" 4 |
| 7621 |
.br |
| 7622 |
* "3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893" |
| 7623 |
.br |
| 7624 |
* "Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893" |
| 7625 |
.br |
| 7626 |
* "Authorization: Bearer 3f1a9b72-4e4d-4f4e-9e5d-4a2b99f7c893" |
| 7627 |
|
| 7628 |
.IP "Description:" 4 |
| 7629 |
\f[I]Authorization\f[] header value |
| 7630 |
used for requests to \f[I]https://api.schale.network\f[] |
| 7631 |
to access \f[I]favorite\f[] galleries |
| 7632 |
or download |
| 7633 |
\f[I].cbz\f[] |
| 7634 |
archives. |
| 7635 |
|
| 7636 |
|
| 7637 |
.SS extractor.sexcom.gifs |
| 7638 |
.IP "Type:" 6 |
| 7639 |
\f[I]bool\f[] |
| 7640 |
|
| 7641 |
.IP "Default:" 9 |
| 7642 |
\f[I]true\f[] |
| 7643 |
|
| 7644 |
.IP "Description:" 4 |
| 7645 |
Download animated images as \f[I].gif\f[] instead of \f[I].webp\f[] |
| 7646 |
|
| 7647 |
|
| 7648 |
.SS extractor.sizebooru.metadata |
| 7649 |
.IP "Type:" 6 |
| 7650 |
\f[I]bool\f[] |
| 7651 |
|
| 7652 |
.IP "Default:" 9 |
| 7653 |
\f[I]false\f[] |
| 7654 |
|
| 7655 |
.IP "Description:" 4 |
| 7656 |
Extract additional metadata: |
| 7657 |
|
| 7658 |
.br |
| 7659 |
* \f[I]approver\f[] |
| 7660 |
.br |
| 7661 |
* \f[I]artist\f[] |
| 7662 |
.br |
| 7663 |
* \f[I]date\f[] |
| 7664 |
.br |
| 7665 |
* \f[I]date_approved\f[] |
| 7666 |
.br |
| 7667 |
* \f[I]favorite\f[] |
| 7668 |
.br |
| 7669 |
* \f[I]source\f[] |
| 7670 |
.br |
| 7671 |
* \f[I]tags\f[] |
| 7672 |
.br |
| 7673 |
* \f[I]uploader\f[] |
| 7674 |
.br |
| 7675 |
* \f[I]views\f[] |
| 7676 |
|
| 7677 |
.IP "Note:" 4 |
| 7678 |
This requires 1 additional HTTP request per post. |
| 7679 |
|
| 7680 |
|
| 7681 |
.SS extractor.skeb.article |
| 7682 |
.IP "Type:" 6 |
| 7683 |
\f[I]bool\f[] |
| 7684 |
|
| 7685 |
.IP "Default:" 9 |
| 7686 |
\f[I]false\f[] |
| 7687 |
|
| 7688 |
.IP "Description:" 4 |
| 7689 |
Download article images. |
| 7690 |
|
| 7691 |
|
| 7692 |
.SS extractor.skeb.include |
| 7693 |
.IP "Type:" 6 |
| 7694 |
.br |
| 7695 |
* \f[I]string\f[] |
| 7696 |
.br |
| 7697 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 7698 |
|
| 7699 |
.IP "Default:" 9 |
| 7700 |
.br |
| 7701 |
* \f[I]["works", "sentrequests"]\f[] |
| 7702 |
if \f[I]sent-requests\f[] are enabled |
| 7703 |
.br |
| 7704 |
* \f[I]["works"]\f[] otherwise |
| 7705 |
|
| 7706 |
.IP "Example:" 4 |
| 7707 |
.br |
| 7708 |
* "works,sentrequests" |
| 7709 |
.br |
| 7710 |
* ["works", "sentrequests"] |
| 7711 |
|
| 7712 |
.IP "Description:" 4 |
| 7713 |
A (comma-separated) list of subcategories to include |
| 7714 |
when processing a user profile. |
| 7715 |
|
| 7716 |
.IP "Supported Values:" 4 |
| 7717 |
.br |
| 7718 |
* \f[I]works\f[] |
| 7719 |
.br |
| 7720 |
* \f[I]sentrequests\f[] |
| 7721 |
|
| 7722 |
.IP "Note:" 4 |
| 7723 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 7724 |
|
| 7725 |
|
| 7726 |
.SS extractor.skeb.sent-requests |
| 7727 |
.IP "Type:" 6 |
| 7728 |
\f[I]bool\f[] |
| 7729 |
|
| 7730 |
.IP "Default:" 9 |
| 7731 |
\f[I]false\f[] |
| 7732 |
|
| 7733 |
.IP "Description:" 4 |
| 7734 |
Download sent requests. |
| 7735 |
|
| 7736 |
|
| 7737 |
.SS extractor.skeb.thumbnails |
| 7738 |
.IP "Type:" 6 |
| 7739 |
\f[I]bool\f[] |
| 7740 |
|
| 7741 |
.IP "Default:" 9 |
| 7742 |
\f[I]false\f[] |
| 7743 |
|
| 7744 |
.IP "Description:" 4 |
| 7745 |
Download thumbnails. |
| 7746 |
|
| 7747 |
|
| 7748 |
.SS extractor.skeb.search.filters |
| 7749 |
.IP "Type:" 6 |
| 7750 |
.br |
| 7751 |
* \f[I]string\f[] |
| 7752 |
.br |
| 7753 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 7754 |
|
| 7755 |
.IP "Default:" 9 |
| 7756 |
\f[I]["genre:art", "genre:voice", "genre:novel", "genre:video", "genre:music", "genre:correction"]\f[] |
| 7757 |
|
| 7758 |
.IP "Example:" 4 |
| 7759 |
"genre:music OR genre:voice" |
| 7760 |
|
| 7761 |
.IP "Description:" 4 |
| 7762 |
Filters used during searches. |
| 7763 |
|
| 7764 |
|
| 7765 |
.SS extractor.smugmug.videos |
| 7766 |
.IP "Type:" 6 |
| 7767 |
\f[I]bool\f[] |
| 7768 |
|
| 7769 |
.IP "Default:" 9 |
| 7770 |
\f[I]true\f[] |
| 7771 |
|
| 7772 |
.IP "Description:" 4 |
| 7773 |
Download video files. |
| 7774 |
|
| 7775 |
|
| 7776 |
.SS extractor.sofurry.include |
| 7777 |
.IP "Type:" 6 |
| 7778 |
.br |
| 7779 |
* \f[I]string\f[] |
| 7780 |
.br |
| 7781 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 7782 |
|
| 7783 |
.IP "Default:" 9 |
| 7784 |
\f[I]"gallery"\f[] |
| 7785 |
|
| 7786 |
.IP "Description:" 4 |
| 7787 |
A (comma-separated) list of subcategories to include |
| 7788 |
when processing a user profile. |
| 7789 |
|
| 7790 |
.IP "Supported Values:" 4 |
| 7791 |
.br |
| 7792 |
* \f[I]gallery\f[] |
| 7793 |
.br |
| 7794 |
* \f[I]favorite\f[] |
| 7795 |
|
| 7796 |
.IP "Note:" 4 |
| 7797 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 7798 |
|
| 7799 |
|
| 7800 |
.SS extractor.sofurry.original |
| 7801 |
.IP "Type:" 6 |
| 7802 |
\f[I]bool\f[] |
| 7803 |
|
| 7804 |
.IP "Default:" 9 |
| 7805 |
\f[I]true\f[] |
| 7806 |
|
| 7807 |
.IP "Description:" 4 |
| 7808 |
Download original files. |
| 7809 |
|
| 7810 |
Submissions containing more than one file |
| 7811 |
will be downloaded as \f[I].zip\f[] archive. |
| 7812 |
|
| 7813 |
Disabling this option will download files |
| 7814 |
via their display URL in \f[I].webp\f[] format. |
| 7815 |
|
| 7816 |
|
| 7817 |
.SS extractor.steamgriddb.animated |
| 7818 |
.IP "Type:" 6 |
| 7819 |
\f[I]bool\f[] |
| 7820 |
|
| 7821 |
.IP "Default:" 9 |
| 7822 |
\f[I]true\f[] |
| 7823 |
|
| 7824 |
.IP "Description:" 4 |
| 7825 |
Include \f[I]animated\f[] assets |
| 7826 |
when downloading from a list of assets. |
| 7827 |
|
| 7828 |
|
| 7829 |
.SS extractor.steamgriddb.epilepsy |
| 7830 |
.IP "Type:" 6 |
| 7831 |
\f[I]bool\f[] |
| 7832 |
|
| 7833 |
.IP "Default:" 9 |
| 7834 |
\f[I]true\f[] |
| 7835 |
|
| 7836 |
.IP "Description:" 4 |
| 7837 |
Include assets tagged with \f[I]epilepsy\f[] |
| 7838 |
when downloading from a list of assets. |
| 7839 |
|
| 7840 |
|
| 7841 |
.SS extractor.steamgriddb.dimensions |
| 7842 |
.IP "Type:" 6 |
| 7843 |
.br |
| 7844 |
* \f[I]string\f[] |
| 7845 |
.br |
| 7846 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 7847 |
|
| 7848 |
.IP "Default:" 9 |
| 7849 |
\f[I]"all"\f[] |
| 7850 |
|
| 7851 |
.IP "Example:" 4 |
| 7852 |
.br |
| 7853 |
* "1024x512,512x512" |
| 7854 |
.br |
| 7855 |
* ["460x215", "920x430"] |
| 7856 |
|
| 7857 |
.IP "Description:" 4 |
| 7858 |
Only include assets that are in the specified dimensions. \f[I]all\f[] can be |
| 7859 |
used to specify all dimensions. |
| 7860 |
|
| 7861 |
.IP "Valid Values:" 4 |
| 7862 |
Grids |
| 7863 |
\f[I]460x215\f[] \f[I] |
| 7864 |
\f[I]920x430\f[] \f[] |
| 7865 |
\f[I]342x482\f[] \f[I] |
| 7866 |
\f[I]600x900\f[] \f[] |
| 7867 |
\f[I]660x930\f[] \f[I] |
| 7868 |
\f[I]512x512\f[] \f[] |
| 7869 |
\f[I]1024x1024\f[] |
| 7870 |
Heroes |
| 7871 |
\f[I]1600x650\f[] \f[I] |
| 7872 |
\f[I]1920x620\f[] \f[] |
| 7873 |
\f[I]3840x1240\f[] |
| 7874 |
Logos |
| 7875 |
N/A (will be ignored) |
| 7876 |
Icons |
| 7877 |
\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[] |
| 7878 |
\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[] |
| 7879 |
\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[] |
| 7880 |
\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[] |
| 7881 |
\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] |
| 7882 |
\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[] |
| 7883 |
\f[I]512x512\f[] \f[I] \f[I]768x768\f[] \f[] \f[I]1024x1024\f[] |
| 7884 |
|
| 7885 |
|
| 7886 |
.SS extractor.steamgriddb.file-types |
| 7887 |
.IP "Type:" 6 |
| 7888 |
.br |
| 7889 |
* \f[I]string\f[] |
| 7890 |
.br |
| 7891 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 7892 |
|
| 7893 |
.IP "Default:" 9 |
| 7894 |
\f[I]"all"\f[] |
| 7895 |
|
| 7896 |
.IP "Example:" 4 |
| 7897 |
.br |
| 7898 |
* "png,jpeg" |
| 7899 |
.br |
| 7900 |
* ["jpeg", "webp"] |
| 7901 |
|
| 7902 |
.IP "Description:" 4 |
| 7903 |
Only include assets that are in the specified file types. \f[I]all\f[] can be |
| 7904 |
used to specify all file types. |
| 7905 |
|
| 7906 |
.IP "Valid Values:" 4 |
| 7907 |
Grids |
| 7908 |
\f[I]png\f[] \f[I] \f[I]jpeg\f[] \f[] \f[I]jpg\f[] \f[I] \f[I]webp\f[] |
| 7909 |
Heroes |
| 7910 |
\f[I]png\f[] \f[] \f[I]jpeg\f[] \f[I] \f[I]jpg\f[] \f[] \f[I]webp\f[] |
| 7911 |
Logos |
| 7912 |
\f[I]png\f[] \f[I] \f[I]webp\f[] |
| 7913 |
Icons |
| 7914 |
\f[I]png\f[] \f[] \f[I]ico\f[] |
| 7915 |
|
| 7916 |
|
| 7917 |
.SS extractor.steamgriddb.download-fake-png |
| 7918 |
.IP "Type:" 6 |
| 7919 |
\f[I]bool\f[] |
| 7920 |
|
| 7921 |
.IP "Default:" 9 |
| 7922 |
\f[I]true\f[] |
| 7923 |
|
| 7924 |
.IP "Description:" 4 |
| 7925 |
Download fake PNGs alongside the real file. |
| 7926 |
|
| 7927 |
|
| 7928 |
.SS extractor.steamgriddb.humor |
| 7929 |
.IP "Type:" 6 |
| 7930 |
\f[I]bool\f[] |
| 7931 |
|
| 7932 |
.IP "Default:" 9 |
| 7933 |
\f[I]true\f[] |
| 7934 |
|
| 7935 |
.IP "Description:" 4 |
| 7936 |
Include assets tagged with \f[I]humor\f[] |
| 7937 |
when downloading from a list of assets. |
| 7938 |
|
| 7939 |
|
| 7940 |
.SS extractor.steamgriddb.languages |
| 7941 |
.IP "Type:" 6 |
| 7942 |
.br |
| 7943 |
* \f[I]string\f[] |
| 7944 |
.br |
| 7945 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 7946 |
|
| 7947 |
.IP "Default:" 9 |
| 7948 |
\f[I]"all"\f[] |
| 7949 |
|
| 7950 |
.IP "Example:" 4 |
| 7951 |
.br |
| 7952 |
* "en,km" |
| 7953 |
.br |
| 7954 |
* ["fr", "it"] |
| 7955 |
|
| 7956 |
.IP "Description:" 4 |
| 7957 |
Only include assets that are in the specified languages. |
| 7958 |
|
| 7959 |
.IP "Valid Values:" 4 |
| 7960 |
\f[I]ISO 639-1\f[] codes |
| 7961 |
|
| 7962 |
.IP "Note:" 4 |
| 7963 |
\f[I]all\f[] can be used to specify all languages. |
| 7964 |
|
| 7965 |
|
| 7966 |
.SS extractor.steamgriddb.nsfw |
| 7967 |
.IP "Type:" 6 |
| 7968 |
\f[I]bool\f[] |
| 7969 |
|
| 7970 |
.IP "Default:" 9 |
| 7971 |
\f[I]true\f[] |
| 7972 |
|
| 7973 |
.IP "Description:" 4 |
| 7974 |
Include assets tagged with adult content when downloading from a list of assets. |
| 7975 |
|
| 7976 |
|
| 7977 |
.SS extractor.steamgriddb.sort |
| 7978 |
.IP "Type:" 6 |
| 7979 |
\f[I]string\f[] |
| 7980 |
|
| 7981 |
.IP "Default:" 9 |
| 7982 |
\f[I]"score_desc"\f[] |
| 7983 |
|
| 7984 |
.IP "Description:" 4 |
| 7985 |
Set the chosen sorting method when downloading from a list of assets. |
| 7986 |
|
| 7987 |
.IP "Supported Values:" 4 |
| 7988 |
.br |
| 7989 |
* \f[I]score_desc\f[] (Highest Score (Beta)) |
| 7990 |
.br |
| 7991 |
* \f[I]score_asc\f[] (Lowest Score (Beta)) |
| 7992 |
.br |
| 7993 |
* \f[I]score_old_desc\f[] (Highest Score (Old)) |
| 7994 |
.br |
| 7995 |
* \f[I]score_old_asc\f[] (Lowest Score (Old)) |
| 7996 |
.br |
| 7997 |
* \f[I]age_desc\f[] (Newest First) |
| 7998 |
.br |
| 7999 |
* \f[I]age_asc\f[] (Oldest First) |
| 8000 |
|
| 8001 |
|
| 8002 |
.SS extractor.steamgriddb.static |
| 8003 |
.IP "Type:" 6 |
| 8004 |
\f[I]bool\f[] |
| 8005 |
|
| 8006 |
.IP "Default:" 9 |
| 8007 |
\f[I]true\f[] |
| 8008 |
|
| 8009 |
.IP "Description:" 4 |
| 8010 |
Include static assets when downloading from a list of assets. |
| 8011 |
|
| 8012 |
|
| 8013 |
.SS extractor.steamgriddb.untagged |
| 8014 |
.IP "Type:" 6 |
| 8015 |
\f[I]bool\f[] |
| 8016 |
|
| 8017 |
.IP "Default:" 9 |
| 8018 |
\f[I]true\f[] |
| 8019 |
|
| 8020 |
.IP "Description:" 4 |
| 8021 |
Include untagged assets when downloading from a list of assets. |
| 8022 |
|
| 8023 |
|
| 8024 |
.SS extractor.[szurubooru].username & .token |
| 8025 |
.IP "Type:" 6 |
| 8026 |
\f[I]string\f[] |
| 8027 |
|
| 8028 |
.IP "Description:" 4 |
| 8029 |
Username and login token of your account to access private resources. |
| 8030 |
|
| 8031 |
To generate a token, visit \f[I]/user/USERNAME/list-tokens\f[] |
| 8032 |
and click \f[I]Create Token\f[]. |
| 8033 |
|
| 8034 |
|
| 8035 |
.SS extractor.tenor.format |
| 8036 |
.IP "Type:" 6 |
| 8037 |
.br |
| 8038 |
* \f[I]string\f[] |
| 8039 |
.br |
| 8040 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 8041 |
|
| 8042 |
.IP "Default:" 9 |
| 8043 |
\f[I]["gif", "mp4", "webm", "webp"]\f[] |
| 8044 |
|
| 8045 |
.IP "Description:" 4 |
| 8046 |
List of names of the preferred animation format. |
| 8047 |
|
| 8048 |
If a selected format is not available, the next one in the list will be |
| 8049 |
tried until a format is found. |
| 8050 |
|
| 8051 |
.IP "Available Formats:" 4 |
| 8052 |
.br |
| 8053 |
* \f[I]gif\f[] |
| 8054 |
.br |
| 8055 |
* \f[I]gif_transparent\f[] |
| 8056 |
.br |
| 8057 |
* \f[I]mediumgif\f[] |
| 8058 |
.br |
| 8059 |
* \f[I]gifpreview\f[] |
| 8060 |
.br |
| 8061 |
* \f[I]tinygif\f[] |
| 8062 |
.br |
| 8063 |
* \f[I]tinygif_transparent\f[] |
| 8064 |
.br |
| 8065 |
* \f[I]mp4\f[] |
| 8066 |
.br |
| 8067 |
* \f[I]tinymp4\f[] |
| 8068 |
.br |
| 8069 |
* \f[I]webm\f[] |
| 8070 |
.br |
| 8071 |
* \f[I]webp\f[] |
| 8072 |
.br |
| 8073 |
* \f[I]webp_transparent\f[] |
| 8074 |
.br |
| 8075 |
* \f[I]tinywebp\f[] |
| 8076 |
.br |
| 8077 |
* \f[I]tinywebp_transparent\f[] |
| 8078 |
|
| 8079 |
|
| 8080 |
.SS extractor.tiktok.audio |
| 8081 |
.IP "Type:" 6 |
| 8082 |
.br |
| 8083 |
* \f[I]bool\f[] |
| 8084 |
.br |
| 8085 |
* \f[I]string\f[] |
| 8086 |
|
| 8087 |
.IP "Default:" 9 |
| 8088 |
\f[I]true\f[] |
| 8089 |
|
| 8090 |
.IP "Description:" 4 |
| 8091 |
Controls audio download behavior. |
| 8092 |
|
| 8093 |
\f[I]true\f[] |
| 8094 |
Download audio tracks |
| 8095 |
\f[I]"ytdl"\f[] |
| 8096 |
Download audio tracks using \f[I]ytdl\f[] |
| 8097 |
\f[I]false\f[] |
| 8098 |
Ignore audio tracks |
| 8099 |
|
| 8100 |
|
| 8101 |
.SS extractor.tiktok.covers |
| 8102 |
.IP "Type:" 6 |
| 8103 |
.br |
| 8104 |
* \f[I]bool\f[] |
| 8105 |
.br |
| 8106 |
* \f[I]string\f[] |
| 8107 |
|
| 8108 |
.IP "Default:" 9 |
| 8109 |
\f[I]false\f[] |
| 8110 |
|
| 8111 |
.IP "Description:" 4 |
| 8112 |
Download video covers. |
| 8113 |
|
| 8114 |
\f[I]true\f[] |
| 8115 |
Download the first cover found in the following order: |
| 8116 |
|
| 8117 |
.br |
| 8118 |
* \f[I]thumbnail\f[] |
| 8119 |
.br |
| 8120 |
* \f[I]cover\f[] |
| 8121 |
.br |
| 8122 |
* \f[I]originCover\f[] |
| 8123 |
.br |
| 8124 |
* \f[I]dynamicCover\f[] |
| 8125 |
\f[I]false\f[] |
| 8126 |
Do not download covers |
| 8127 |
\f[I]"all"\f[] |
| 8128 |
Download all available covers |
| 8129 |
|
| 8130 |
|
| 8131 |
.SS extractor.tiktok.photos |
| 8132 |
.IP "Type:" 6 |
| 8133 |
\f[I]bool\f[] |
| 8134 |
|
| 8135 |
.IP "Default:" 9 |
| 8136 |
\f[I]true\f[] |
| 8137 |
|
| 8138 |
.IP "Description:" 4 |
| 8139 |
Download photos. |
| 8140 |
|
| 8141 |
|
| 8142 |
.SS extractor.tiktok.subtitles |
| 8143 |
.IP "Type:" 6 |
| 8144 |
.br |
| 8145 |
* \f[I]bool\f[] |
| 8146 |
.br |
| 8147 |
* \f[I]string\f[] |
| 8148 |
|
| 8149 |
.IP "Default:" 9 |
| 8150 |
\f[I]false\f[] |
| 8151 |
|
| 8152 |
.IP "Example:" 4 |
| 8153 |
.br |
| 8154 |
* "all" |
| 8155 |
.br |
| 8156 |
* "ASR,MT,LC" |
| 8157 |
.br |
| 8158 |
* "ASR,eng-US" |
| 8159 |
|
| 8160 |
.IP "Description:" 4 |
| 8161 |
Download video subtitles. |
| 8162 |
The subtitles can be filtered by source or language. |
| 8163 |
The following source types can be filtered: |
| 8164 |
|
| 8165 |
.br |
| 8166 |
* \f[I]ASR\f[] - Automatic Speech Recognition |
| 8167 |
.br |
| 8168 |
* \f[I]MT\f[] - Machine Translation |
| 8169 |
.br |
| 8170 |
* \f[I]LC\f[] - Local Captions / Creator Captions |
| 8171 |
|
| 8172 |
If both source types and language codes are provided, |
| 8173 |
only subtitles matching both are downloaded. |
| 8174 |
|
| 8175 |
\f[I]true\f[] |
| 8176 |
Download all subtitles tagged \f[I]ASR\f[] |
| 8177 |
\f[I]false\f[] |
| 8178 |
Do not download subtitles |
| 8179 |
\f[I]"all"\f[] |
| 8180 |
Download all available subtitles. |
| 8181 |
\f[I]"ASR,MT,eng-US,cmn-Hans-CN"\f[] |
| 8182 |
Download english and simplified chinese subtitles |
| 8183 |
that are either automatically recognized or machine translated. |
| 8184 |
|
| 8185 |
The source types and languages can be listed in any order. |
| 8186 |
|
| 8187 |
.IP "Note:" 4 |
| 8188 |
It is not possible to filter all subtitles of a specific source type, |
| 8189 |
while also filtering for additional languages of another source type. |
| 8190 |
(e.g. any ASR subtitle + fra-FR of any source type) |
| 8191 |
For this, refer to \f[I]extractor.*.file-filter\f[]. |
| 8192 |
|
| 8193 |
|
| 8194 |
.SS extractor.tiktok.videos |
| 8195 |
.IP "Type:" 6 |
| 8196 |
\f[I]bool\f[] |
| 8197 |
|
| 8198 |
.IP "Default:" 9 |
| 8199 |
\f[I]true\f[] |
| 8200 |
|
| 8201 |
.IP "Description:" 4 |
| 8202 |
Download videos using \f[I]ytdl\f[]. |
| 8203 |
|
| 8204 |
|
| 8205 |
.SS extractor.tiktok.tiktok-range |
| 8206 |
.IP "Type:" 6 |
| 8207 |
\f[I]string\f[] |
| 8208 |
|
| 8209 |
.IP "Default:" 9 |
| 8210 |
\f[I]""\f[] |
| 8211 |
|
| 8212 |
.IP "Example:" 4 |
| 8213 |
"1-20" |
| 8214 |
|
| 8215 |
.IP "Description:" 4 |
| 8216 |
Range or playlist indices of \f[I]tiktok\f[] posts to extract. |
| 8217 |
|
| 8218 |
When using ytdl, see |
| 8219 |
\f[I]ytdl/playlist_items\f[] |
| 8220 |
for details. |
| 8221 |
|
| 8222 |
|
| 8223 |
.SS extractor.tiktok.posts.order-posts |
| 8224 |
.IP "Type:" 6 |
| 8225 |
\f[I]string\f[] |
| 8226 |
|
| 8227 |
.IP "Default:" 9 |
| 8228 |
\f[I]"desc"\f[] |
| 8229 |
|
| 8230 |
.IP "Description:" 4 |
| 8231 |
Controls the order in which |
| 8232 |
posts are processed. |
| 8233 |
|
| 8234 |
\f[I]"asc"\f[] | \f[I]"reverse"\f[] |
| 8235 |
Ascending order (oldest first) |
| 8236 |
\f[I]"desc"\f[] |
| 8237 |
Descending order (newest first) |
| 8238 |
\f[I]"popular"\f[] |
| 8239 |
*Popular* order |
| 8240 |
|
| 8241 |
|
| 8242 |
.SS extractor.tiktok.posts.ytdl |
| 8243 |
.IP "Type:" 6 |
| 8244 |
\f[I]bool\f[] |
| 8245 |
|
| 8246 |
.IP "Default:" 9 |
| 8247 |
\f[I]false\f[] |
| 8248 |
|
| 8249 |
.IP "Description:" 4 |
| 8250 |
Extract user posts with \f[I]ytdl\f[] |
| 8251 |
|
| 8252 |
|
| 8253 |
.SS extractor.tiktok.posts.module |
| 8254 |
.IP "Type:" 6 |
| 8255 |
\f[I]Module\f[] |
| 8256 |
|
| 8257 |
.IP "Default:" 9 |
| 8258 |
\f[I]null\f[] |
| 8259 |
|
| 8260 |
.IP "Description:" 4 |
| 8261 |
The \f[I]ytdl\f[] \f[I]Module\f[] |
| 8262 |
to extract posts from a \f[I]tiktok\f[] user profile with. |
| 8263 |
|
| 8264 |
See \f[I]extractor.ytdl.module\f[]. |
| 8265 |
|
| 8266 |
|
| 8267 |
.SS extractor.tiktok.user.include |
| 8268 |
.IP "Type:" 6 |
| 8269 |
.br |
| 8270 |
* \f[I]string\f[] |
| 8271 |
.br |
| 8272 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 8273 |
|
| 8274 |
.IP "Default:" 9 |
| 8275 |
\f[I]["avatar", "posts"]\f[] |
| 8276 |
|
| 8277 |
.IP "Description:" 4 |
| 8278 |
A (comma-separated) list of subcategories to include |
| 8279 |
when processing a user profile. |
| 8280 |
|
| 8281 |
.IP "Supported Values:" 4 |
| 8282 |
.br |
| 8283 |
* \f[I]avatar\f[] |
| 8284 |
.br |
| 8285 |
* \f[I]posts\f[] |
| 8286 |
.br |
| 8287 |
* \f[I]reposts\f[] |
| 8288 |
.br |
| 8289 |
* \f[I]stories\f[] |
| 8290 |
.br |
| 8291 |
* \f[I]likes\f[] |
| 8292 |
.br |
| 8293 |
* \f[I]saved\f[] |
| 8294 |
|
| 8295 |
.IP "Note:" 4 |
| 8296 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 8297 |
|
| 8298 |
|
| 8299 |
.SS extractor.tumblr.avatar |
| 8300 |
.IP "Type:" 6 |
| 8301 |
\f[I]bool\f[] |
| 8302 |
|
| 8303 |
.IP "Default:" 9 |
| 8304 |
\f[I]false\f[] |
| 8305 |
|
| 8306 |
.IP "Description:" 4 |
| 8307 |
Download blog avatars. |
| 8308 |
|
| 8309 |
|
| 8310 |
.SS extractor.tumblr.date-min & .date-max |
| 8311 |
.IP "Type:" 6 |
| 8312 |
\f[I]Date\f[] |
| 8313 |
|
| 8314 |
.IP "Default:" 9 |
| 8315 |
\f[I]0\f[] and \f[I]null\f[] |
| 8316 |
|
| 8317 |
.IP "Description:" 4 |
| 8318 |
Ignore all posts published before/after this date. |
| 8319 |
|
| 8320 |
|
| 8321 |
.SS extractor.tumblr.external |
| 8322 |
.IP "Type:" 6 |
| 8323 |
\f[I]bool\f[] |
| 8324 |
|
| 8325 |
.IP "Default:" 9 |
| 8326 |
\f[I]false\f[] |
| 8327 |
|
| 8328 |
.IP "Description:" 4 |
| 8329 |
Follow external URLs (e.g. from "Link" posts) and try to extract |
| 8330 |
images from them. |
| 8331 |
|
| 8332 |
|
| 8333 |
.SS extractor.tumblr.inline |
| 8334 |
.IP "Type:" 6 |
| 8335 |
.br |
| 8336 |
* \f[I]bool\f[] |
| 8337 |
.br |
| 8338 |
* \f[I]string\f[] |
| 8339 |
|
| 8340 |
.IP "Default:" 9 |
| 8341 |
\f[I]true\f[] |
| 8342 |
|
| 8343 |
.IP "Description:" 4 |
| 8344 |
\f[I]true\f[] |
| 8345 |
Search posts for inline images and videos |
| 8346 |
\f[I]false\f[] |
| 8347 |
Don't extract inline files |
| 8348 |
\f[I]"original"\f[] |
| 8349 |
Extract inline media files. |
| 8350 |
For reblogged posts, extract them only from the original post text. |
| 8351 |
\f[I]"reblog"\f[] |
| 8352 |
Extract inline media files. |
| 8353 |
For reblogged posts, extract them only from the reblog text. |
| 8354 |
|
| 8355 |
|
| 8356 |
.SS extractor.tumblr.offset |
| 8357 |
.IP "Type:" 6 |
| 8358 |
\f[I]integer\f[] |
| 8359 |
|
| 8360 |
.IP "Default:" 9 |
| 8361 |
\f[I]0\f[] |
| 8362 |
|
| 8363 |
.IP "Description:" 4 |
| 8364 |
Custom \f[I]offset\f[] starting value when paginating over blog posts. |
| 8365 |
|
| 8366 |
Allows skipping over posts without having to waste API calls. |
| 8367 |
|
| 8368 |
|
| 8369 |
.SS extractor.tumblr.original |
| 8370 |
.IP "Type:" 6 |
| 8371 |
\f[I]bool\f[] |
| 8372 |
|
| 8373 |
.IP "Default:" 9 |
| 8374 |
\f[I]true\f[] |
| 8375 |
|
| 8376 |
.IP "Description:" 4 |
| 8377 |
Download full-resolution \f[I]photo\f[] and \f[I]inline\f[] images. |
| 8378 |
|
| 8379 |
For each photo with "maximum" resolution |
| 8380 |
(width equal to 2048 or height equal to 3072) |
| 8381 |
or each inline image, |
| 8382 |
use an extra HTTP request to find the URL to its full-resolution version. |
| 8383 |
|
| 8384 |
|
| 8385 |
.SS extractor.tumblr.pagination |
| 8386 |
.IP "Type:" 6 |
| 8387 |
\f[I]string\f[] |
| 8388 |
|
| 8389 |
.IP "Default:" 9 |
| 8390 |
.br |
| 8391 |
* \f[I]"before"\f[] if \f[I]date-max\f[] is set |
| 8392 |
.br |
| 8393 |
* \f[I]"offset"\f[] otherwise |
| 8394 |
|
| 8395 |
.IP "Description:" 4 |
| 8396 |
Controls how to paginate over blog posts. |
| 8397 |
|
| 8398 |
\f[I]"api"\f[] |
| 8399 |
\f[I]next\f[] parameter provided by the API |
| 8400 |
(potentially misses posts due to a |
| 8401 |
\f[I]bug\f[] |
| 8402 |
in Tumblr's API) |
| 8403 |
\f[I]"before"\f[] |
| 8404 |
Timestamp of last post |
| 8405 |
\f[I]"offset"\f[] |
| 8406 |
Post offset number |
| 8407 |
|
| 8408 |
|
| 8409 |
.SS extractor.tumblr.ratelimit |
| 8410 |
.IP "Type:" 6 |
| 8411 |
\f[I]string\f[] |
| 8412 |
|
| 8413 |
.IP "Default:" 9 |
| 8414 |
\f[I]"abort"\f[] |
| 8415 |
|
| 8416 |
.IP "Description:" 4 |
| 8417 |
Selects how to handle exceeding the daily API rate limit. |
| 8418 |
|
| 8419 |
\f[I]"abort"\f[] |
| 8420 |
Raise an error and stop extraction |
| 8421 |
\f[I]"wait"\f[] |
| 8422 |
Wait until rate limit reset |
| 8423 |
|
| 8424 |
|
| 8425 |
.SS extractor.tumblr.reblogs |
| 8426 |
.IP "Type:" 6 |
| 8427 |
.br |
| 8428 |
* \f[I]bool\f[] |
| 8429 |
.br |
| 8430 |
* \f[I]string\f[] |
| 8431 |
|
| 8432 |
.IP "Default:" 9 |
| 8433 |
\f[I]true\f[] |
| 8434 |
|
| 8435 |
.IP "Description:" 4 |
| 8436 |
\f[I]true\f[] |
| 8437 |
Extract media from reblogged posts |
| 8438 |
\f[I]false\f[] |
| 8439 |
Skip reblogged posts |
| 8440 |
\f[I]"same-blog"\f[] |
| 8441 |
Skip reblogged posts unless the original post |
| 8442 |
is from the same blog |
| 8443 |
|
| 8444 |
|
| 8445 |
.SS extractor.tumblr.posts |
| 8446 |
.IP "Type:" 6 |
| 8447 |
.br |
| 8448 |
* \f[I]string\f[] |
| 8449 |
.br |
| 8450 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 8451 |
|
| 8452 |
.IP "Default:" 9 |
| 8453 |
\f[I]"all"\f[] |
| 8454 |
|
| 8455 |
.IP "Example:" 4 |
| 8456 |
.br |
| 8457 |
* "video,audio,link" |
| 8458 |
.br |
| 8459 |
* ["video", "audio", "link"] |
| 8460 |
|
| 8461 |
.IP "Description:" 4 |
| 8462 |
A (comma-separated) list of post types to extract images, etc. from. |
| 8463 |
|
| 8464 |
Possible types are \f[I]text\f[], \f[I]quote\f[], \f[I]link\f[], \f[I]answer\f[], |
| 8465 |
\f[I]video\f[], \f[I]audio\f[], \f[I]photo\f[], \f[I]chat\f[]. |
| 8466 |
|
| 8467 |
It is possible to use \f[I]"all"\f[] instead of listing all types separately. |
| 8468 |
|
| 8469 |
|
| 8470 |
.SS extractor.tumblr.fallback-delay |
| 8471 |
.IP "Type:" 6 |
| 8472 |
\f[I]float\f[] |
| 8473 |
|
| 8474 |
.IP "Default:" 9 |
| 8475 |
\f[I]120.0\f[] |
| 8476 |
|
| 8477 |
.IP "Description:" 4 |
| 8478 |
Number of seconds to wait between retries |
| 8479 |
for fetching full-resolution images. |
| 8480 |
|
| 8481 |
|
| 8482 |
.SS extractor.tumblr.fallback-retries |
| 8483 |
.IP "Type:" 6 |
| 8484 |
\f[I]integer\f[] |
| 8485 |
|
| 8486 |
.IP "Default:" 9 |
| 8487 |
\f[I]2\f[] |
| 8488 |
|
| 8489 |
.IP "Description:" 4 |
| 8490 |
Number of retries for fetching full-resolution images, |
| 8491 |
or \f[I]-1\f[] for infinite retries. |
| 8492 |
|
| 8493 |
|
| 8494 |
.SS extractor.twibooru.api-key |
| 8495 |
.IP "Type:" 6 |
| 8496 |
\f[I]string\f[] |
| 8497 |
|
| 8498 |
.IP "Default:" 9 |
| 8499 |
\f[I]null\f[] |
| 8500 |
|
| 8501 |
.IP "Description:" 4 |
| 8502 |
Your \f[I]Twibooru API Key\f[], |
| 8503 |
to use your account's browsing settings and filters. |
| 8504 |
|
| 8505 |
|
| 8506 |
.SS extractor.twibooru.filter |
| 8507 |
.IP "Type:" 6 |
| 8508 |
\f[I]integer\f[] |
| 8509 |
|
| 8510 |
.IP "Default:" 9 |
| 8511 |
\f[I]2\f[] (\f[I]Everything\f[] filter) |
| 8512 |
|
| 8513 |
.IP "Description:" 4 |
| 8514 |
The content filter ID to use. |
| 8515 |
|
| 8516 |
Setting an explicit filter ID overrides any default filters and can be used |
| 8517 |
to access 18+ content without \f[I]API Key\f[]. |
| 8518 |
|
| 8519 |
See \f[I]Filters\f[] for details. |
| 8520 |
|
| 8521 |
|
| 8522 |
.SS extractor.twibooru.svg |
| 8523 |
.IP "Type:" 6 |
| 8524 |
\f[I]bool\f[] |
| 8525 |
|
| 8526 |
.IP "Default:" 9 |
| 8527 |
\f[I]true\f[] |
| 8528 |
|
| 8529 |
.IP "Description:" 4 |
| 8530 |
Download SVG versions of images when available. |
| 8531 |
|
| 8532 |
Try to download the \f[I]view_url\f[] version of these posts |
| 8533 |
when this option is disabled. |
| 8534 |
|
| 8535 |
|
| 8536 |
.SS extractor.twitter.ads |
| 8537 |
.IP "Type:" 6 |
| 8538 |
\f[I]bool\f[] |
| 8539 |
|
| 8540 |
.IP "Default:" 9 |
| 8541 |
\f[I]false\f[] |
| 8542 |
|
| 8543 |
.IP "Description:" 4 |
| 8544 |
Fetch media from promoted Tweets. |
| 8545 |
|
| 8546 |
|
| 8547 |
.SS extractor.twitter.articles |
| 8548 |
.IP "Type:" 6 |
| 8549 |
.br |
| 8550 |
* \f[I]bool\f[] |
| 8551 |
.br |
| 8552 |
* \f[I]string\f[] |
| 8553 |
.br |
| 8554 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 8555 |
|
| 8556 |
.IP "Default:" 9 |
| 8557 |
\f[I]true\f[] |
| 8558 |
|
| 8559 |
.IP "Example:" 4 |
| 8560 |
["media", "document", "metadata"] |
| 8561 |
|
| 8562 |
.IP "Description:" 4 |
| 8563 |
Process article Tweets. |
| 8564 |
|
| 8565 |
It is possible to select which files to download |
| 8566 |
and what article metadata to extract |
| 8567 |
by specifying a list of targets: |
| 8568 |
|
| 8569 |
\f[I]cover\f[] |
| 8570 |
Download article cover images |
| 8571 |
\f[I]media\f[] |
| 8572 |
Download article media files |
| 8573 |
\f[I]html\f[] |
| 8574 |
Extract article content as \f[I]html\f[] metadata |
| 8575 |
\f[I]metadata\f[] \f[I] \f[I]meta\f[] |
| 8576 |
Extract \f[I]article\f[] metadata |
| 8577 |
(\f[I]id\f[], \f[I]title\f[], \f[I]date\f[], \f[I]date_updated\f[]) |
| 8578 |
\f[I]document\f[] \f[] \f[I]doc\f[] |
| 8579 |
Download article contents as HTML document |
| 8580 |
|
| 8581 |
|
| 8582 |
.SS extractor.twitter.cards |
| 8583 |
.IP "Type:" 6 |
| 8584 |
.br |
| 8585 |
* \f[I]bool\f[] |
| 8586 |
.br |
| 8587 |
* \f[I]string\f[] |
| 8588 |
|
| 8589 |
.IP "Default:" 9 |
| 8590 |
\f[I]false\f[] |
| 8591 |
|
| 8592 |
.IP "Description:" 4 |
| 8593 |
Controls how to handle \f[I]Twitter Cards\f[]. |
| 8594 |
|
| 8595 |
\f[I]false\f[] |
| 8596 |
Ignore cards |
| 8597 |
\f[I]true\f[] |
| 8598 |
Download image content from supported cards |
| 8599 |
\f[I]"ytdl"\f[] |
| 8600 |
Additionally download video content from unsupported cards using \f[I]ytdl\f[] |
| 8601 |
|
| 8602 |
|
| 8603 |
.SS extractor.twitter.cards-blacklist |
| 8604 |
.IP "Type:" 6 |
| 8605 |
\f[I]list\f[] of \f[I]strings\f[] |
| 8606 |
|
| 8607 |
.IP "Example:" 4 |
| 8608 |
["summary", "youtube.com", "player:twitch.tv"] |
| 8609 |
|
| 8610 |
.IP "Description:" 4 |
| 8611 |
List of card types to ignore. |
| 8612 |
|
| 8613 |
Possible values are |
| 8614 |
|
| 8615 |
.br |
| 8616 |
* card names |
| 8617 |
.br |
| 8618 |
* card domains |
| 8619 |
.br |
| 8620 |
* \f[I]<card name>:<card domain>\f[] |
| 8621 |
|
| 8622 |
|
| 8623 |
.SS extractor.twitter.conversations |
| 8624 |
.IP "Type:" 6 |
| 8625 |
.br |
| 8626 |
* \f[I]bool\f[] |
| 8627 |
.br |
| 8628 |
* \f[I]string\f[] |
| 8629 |
|
| 8630 |
.IP "Default:" 9 |
| 8631 |
\f[I]false\f[] |
| 8632 |
|
| 8633 |
.IP "Description:" 4 |
| 8634 |
For input URLs pointing to a single Tweet, |
| 8635 |
e.g. https://twitter.com/i/web/status/<TweetID>, |
| 8636 |
fetch media from all Tweets and replies in this \f[I]conversation |
| 8637 |
<https://help.twitter.com/en/using-twitter/twitter-conversations>\f[]. |
| 8638 |
|
| 8639 |
If this option is equal to \f[I]"accessible"\f[], |
| 8640 |
only download from conversation Tweets |
| 8641 |
if the given initial Tweet is accessible. |
| 8642 |
|
| 8643 |
|
| 8644 |
.SS extractor.twitter.csrf |
| 8645 |
.IP "Type:" 6 |
| 8646 |
\f[I]string\f[] |
| 8647 |
|
| 8648 |
.IP "Default:" 9 |
| 8649 |
\f[I]"cookies"\f[] |
| 8650 |
|
| 8651 |
.IP "Description:" 4 |
| 8652 |
Controls how to handle Cross Site Request Forgery (CSRF) tokens. |
| 8653 |
|
| 8654 |
\f[I]"auto"\f[] |
| 8655 |
Always auto-generate a token. |
| 8656 |
\f[I]"cookies"\f[] |
| 8657 |
Use token given by the \f[I]ct0\f[] cookie if present. |
| 8658 |
|
| 8659 |
|
| 8660 |
.SS extractor.twitter.cursor |
| 8661 |
.IP "Type:" 6 |
| 8662 |
.br |
| 8663 |
* \f[I]bool\f[] |
| 8664 |
.br |
| 8665 |
* \f[I]string\f[] |
| 8666 |
|
| 8667 |
.IP "Default:" 9 |
| 8668 |
\f[I]true\f[] |
| 8669 |
|
| 8670 |
.IP "Example:" 4 |
| 8671 |
"1/DAABCgABGVKi5lE___oKAAIYbfYNcxrQLggAAwAAAAIAAA" |
| 8672 |
|
| 8673 |
.IP "Description:" 4 |
| 8674 |
Controls from which position to start the extraction process from. |
| 8675 |
|
| 8676 |
\f[I]true\f[] |
| 8677 |
Start from the beginning. |
| 8678 |
.br |
| 8679 |
Log the most recent \f[I]cursor\f[] value when interrupted before reaching the end. |
| 8680 |
.br |
| 8681 |
\f[I]false\f[] |
| 8682 |
Start from the beginning. |
| 8683 |
any \f[I]string\f[] |
| 8684 |
Start from the position defined by this value. |
| 8685 |
|
| 8686 |
.IP "Note:" 4 |
| 8687 |
A \f[I]cursor\f[] value from one timeline cannot be used with another. |
| 8688 |
|
| 8689 |
|
| 8690 |
.SS extractor.twitter.expand |
| 8691 |
.IP "Type:" 6 |
| 8692 |
\f[I]bool\f[] |
| 8693 |
|
| 8694 |
.IP "Default:" 9 |
| 8695 |
\f[I]false\f[] |
| 8696 |
|
| 8697 |
.IP "Description:" 4 |
| 8698 |
For each Tweet, return *all* Tweets from that initial Tweet's |
| 8699 |
conversation or thread, i.e. *expand* all Twitter threads. |
| 8700 |
|
| 8701 |
Going through a timeline with this option enabled is essentially the same |
| 8702 |
as running \f[I]gallery-dl https://twitter.com/i/web/status/<TweetID>\f[] |
| 8703 |
with enabled \f[I]conversations\f[] option |
| 8704 |
for each Tweet in said timeline. |
| 8705 |
|
| 8706 |
.IP "Note:" 4 |
| 8707 |
This requires at least 1 additional API call per initial Tweet. |
| 8708 |
|
| 8709 |
|
| 8710 |
.SS extractor.twitter.unavailable |
| 8711 |
.IP "Type:" 6 |
| 8712 |
\f[I]bool\f[] |
| 8713 |
|
| 8714 |
.IP "Default:" 9 |
| 8715 |
\f[I]false\f[] |
| 8716 |
|
| 8717 |
.IP "Description:" 4 |
| 8718 |
Try to download media marked as \f[I]Unavailable\f[], |
| 8719 |
e.g. \f[I]Geoblocked\f[] videos. |
| 8720 |
|
| 8721 |
|
| 8722 |
.SS extractor.twitter.include |
| 8723 |
.IP "Type:" 6 |
| 8724 |
.br |
| 8725 |
* \f[I]string\f[] |
| 8726 |
.br |
| 8727 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 8728 |
|
| 8729 |
.IP "Default:" 9 |
| 8730 |
\f[I]"timeline"\f[] |
| 8731 |
|
| 8732 |
.IP "Example:" 4 |
| 8733 |
.br |
| 8734 |
* "avatar,background,media" |
| 8735 |
.br |
| 8736 |
* ["avatar", "background", "media"] |
| 8737 |
|
| 8738 |
.IP "Description:" 4 |
| 8739 |
A (comma-separated) list of subcategories to include |
| 8740 |
when processing a user profile. |
| 8741 |
|
| 8742 |
.IP "Supported Values:" 4 |
| 8743 |
.br |
| 8744 |
* \f[I]info\f[] |
| 8745 |
.br |
| 8746 |
* \f[I]avatar\f[] |
| 8747 |
.br |
| 8748 |
* \f[I]background\f[] |
| 8749 |
.br |
| 8750 |
* \f[I]timeline\f[] |
| 8751 |
.br |
| 8752 |
* \f[I]tweets\f[] |
| 8753 |
.br |
| 8754 |
* \f[I]media\f[] |
| 8755 |
.br |
| 8756 |
* \f[I]with-replies\f[] |
| 8757 |
.br |
| 8758 |
* \f[I]highlights\f[] |
| 8759 |
.br |
| 8760 |
* \f[I]likes\f[] |
| 8761 |
|
| 8762 |
.IP "Note:" 4 |
| 8763 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 8764 |
|
| 8765 |
|
| 8766 |
.SS extractor.twitter.transform |
| 8767 |
.IP "Type:" 6 |
| 8768 |
\f[I]bool\f[] |
| 8769 |
|
| 8770 |
.IP "Default:" 9 |
| 8771 |
\f[I]true\f[] |
| 8772 |
|
| 8773 |
.IP "Description:" 4 |
| 8774 |
Transform Tweet and User metadata into a simpler, uniform format. |
| 8775 |
|
| 8776 |
|
| 8777 |
.SS extractor.twitter.tweet-endpoint |
| 8778 |
.IP "Type:" 6 |
| 8779 |
\f[I]string\f[] |
| 8780 |
|
| 8781 |
.IP "Default:" 9 |
| 8782 |
\f[I]"auto"\f[] |
| 8783 |
|
| 8784 |
.IP "Description:" 4 |
| 8785 |
Selects the API endpoint used to retrieve single Tweets. |
| 8786 |
|
| 8787 |
\f[I]"restid"\f[] |
| 8788 |
\f[I]/TweetResultByRestId\f[] - accessible to guest users |
| 8789 |
\f[I]"detail"\f[] |
| 8790 |
\f[I]/TweetDetail\f[] - more stable |
| 8791 |
\f[I]"auto"\f[] |
| 8792 |
\f[I]"detail"\f[] when logged in, \f[I]"restid"\f[] otherwise |
| 8793 |
|
| 8794 |
|
| 8795 |
.SS extractor.twitter.size |
| 8796 |
.IP "Type:" 6 |
| 8797 |
\f[I]list\f[] of \f[I]strings\f[] |
| 8798 |
|
| 8799 |
.IP "Default:" 9 |
| 8800 |
\f[I]["orig", "4096x4096", "large", "medium", "small"]\f[] |
| 8801 |
|
| 8802 |
.IP "Description:" 4 |
| 8803 |
The image version to download. |
| 8804 |
Any entries after the first one will be used for potential |
| 8805 |
\f[I]fallback\f[] URLs. |
| 8806 |
|
| 8807 |
Known available sizes are |
| 8808 |
|
| 8809 |
.br |
| 8810 |
* \f[I]orig\f[] |
| 8811 |
.br |
| 8812 |
* \f[I]large\f[] |
| 8813 |
.br |
| 8814 |
* \f[I]medium\f[] |
| 8815 |
.br |
| 8816 |
* \f[I]small\f[] |
| 8817 |
.br |
| 8818 |
* \f[I]4096x4096\f[] |
| 8819 |
.br |
| 8820 |
* \f[I]900x900\f[] |
| 8821 |
.br |
| 8822 |
* \f[I]360x360\f[] |
| 8823 |
|
| 8824 |
|
| 8825 |
.SS extractor.twitter.limit |
| 8826 |
.IP "Type:" 6 |
| 8827 |
.br |
| 8828 |
* \f[I]integer\f[] |
| 8829 |
.br |
| 8830 |
* \f[I]list\f[] of \f[I]integers\f[] |
| 8831 |
|
| 8832 |
.IP "Default:" 9 |
| 8833 |
\f[I]50\f[] |
| 8834 |
|
| 8835 |
.IP "Example:" 4 |
| 8836 |
[40, 30, 20, 10, 5] |
| 8837 |
|
| 8838 |
.IP "Description:" 4 |
| 8839 |
Number of requested results per API query. |
| 8840 |
|
| 8841 |
When given as a \f[I]list\f[], |
| 8842 |
start with the first element as \f[I]count\f[] parameter |
| 8843 |
and switch to the next element whenever no results are returned. |
| 8844 |
|
| 8845 |
|
| 8846 |
.SS extractor.twitter.logout |
| 8847 |
.IP "Type:" 6 |
| 8848 |
\f[I]bool\f[] |
| 8849 |
|
| 8850 |
.IP "Default:" 9 |
| 8851 |
\f[I]false\f[] |
| 8852 |
|
| 8853 |
.IP "Description:" 4 |
| 8854 |
Logout and retry as guest when access to another user's Tweets is blocked. |
| 8855 |
|
| 8856 |
|
| 8857 |
.SS extractor.twitter.metadata-user |
| 8858 |
.IP "Type:" 6 |
| 8859 |
\f[I]bool\f[] |
| 8860 |
|
| 8861 |
.IP "Default:" 9 |
| 8862 |
\f[I]false\f[] |
| 8863 |
|
| 8864 |
.IP "Description:" 4 |
| 8865 |
Extract additional metadata for user accounts (\f[I]author\f[], \f[I]user\f[]) |
| 8866 |
|
| 8867 |
.br |
| 8868 |
* \f[I]based_in\f[] |
| 8869 |
.br |
| 8870 |
* \f[I]friends_mutual\f[] |
| 8871 |
.br |
| 8872 |
* \f[I]location_accurate\f[] |
| 8873 |
.br |
| 8874 |
* \f[I]name_changes\f[] |
| 8875 |
.br |
| 8876 |
* \f[I]source\f[] |
| 8877 |
|
| 8878 |
.IP "Note:" 4 |
| 8879 |
This requires 2 additional HTTP request per user. |
| 8880 |
|
| 8881 |
|
| 8882 |
.SS extractor.twitter.pinned |
| 8883 |
.IP "Type:" 6 |
| 8884 |
\f[I]bool\f[] |
| 8885 |
|
| 8886 |
.IP "Default:" 9 |
| 8887 |
\f[I]false\f[] |
| 8888 |
|
| 8889 |
.IP "Description:" 4 |
| 8890 |
Fetch media from pinned Tweets. |
| 8891 |
|
| 8892 |
|
| 8893 |
.SS extractor.twitter.previews |
| 8894 |
.IP "Type:" 6 |
| 8895 |
\f[I]bool\f[] |
| 8896 |
|
| 8897 |
.IP "Default:" 9 |
| 8898 |
\f[I]false\f[] |
| 8899 |
|
| 8900 |
.IP "Description:" 4 |
| 8901 |
Download video previews. |
| 8902 |
|
| 8903 |
|
| 8904 |
.SS extractor.twitter.quoted |
| 8905 |
.IP "Type:" 6 |
| 8906 |
\f[I]bool\f[] |
| 8907 |
|
| 8908 |
.IP "Default:" 9 |
| 8909 |
\f[I]false\f[] |
| 8910 |
|
| 8911 |
.IP "Description:" 4 |
| 8912 |
Fetch media from quoted Tweets. |
| 8913 |
|
| 8914 |
If this option is enabled, gallery-dl will try to fetch |
| 8915 |
a quoted (original) Tweet when it sees the Tweet which quotes it. |
| 8916 |
|
| 8917 |
|
| 8918 |
.SS extractor.twitter.ratelimit |
| 8919 |
.IP "Type:" 6 |
| 8920 |
\f[I]string\f[] |
| 8921 |
|
| 8922 |
.IP "Default:" 9 |
| 8923 |
\f[I]"wait"\f[] |
| 8924 |
|
| 8925 |
.IP "Description:" 4 |
| 8926 |
Selects how to handle exceeding the API rate limit. |
| 8927 |
|
| 8928 |
\f[I]"abort"\f[] |
| 8929 |
Raise an error and stop extraction |
| 8930 |
\f[I]"abort:N"\f[] |
| 8931 |
Raise an error and stop extraction |
| 8932 |
after waiting \f[I]N\f[] times until rate limit reset |
| 8933 |
\f[I]"wait"\f[] |
| 8934 |
Wait until rate limit reset |
| 8935 |
\f[I]"wait:N"\f[] |
| 8936 |
Wait for \f[I]N\f[] seconds |
| 8937 |
|
| 8938 |
|
| 8939 |
.SS extractor.twitter.locked |
| 8940 |
.IP "Type:" 6 |
| 8941 |
\f[I]string\f[] |
| 8942 |
|
| 8943 |
.IP "Default:" 9 |
| 8944 |
\f[I]"abort"\f[] |
| 8945 |
|
| 8946 |
.IP "Description:" 4 |
| 8947 |
Selects how to handle "account is temporarily locked" errors. |
| 8948 |
|
| 8949 |
\f[I]"abort"\f[] |
| 8950 |
Raise an error and stop extraction |
| 8951 |
\f[I]"wait"\f[] |
| 8952 |
Wait until the account is unlocked and retry |
| 8953 |
|
| 8954 |
|
| 8955 |
.SS extractor.twitter.replies |
| 8956 |
.IP "Type:" 6 |
| 8957 |
\f[I]bool\f[] |
| 8958 |
|
| 8959 |
.IP "Default:" 9 |
| 8960 |
\f[I]true\f[] |
| 8961 |
|
| 8962 |
.IP "Description:" 4 |
| 8963 |
Fetch media from replies to other Tweets. |
| 8964 |
|
| 8965 |
If this value is \f[I]"self"\f[], only consider replies where |
| 8966 |
reply and original Tweet are from the same user. |
| 8967 |
|
| 8968 |
.IP "Note:" 4 |
| 8969 |
Twitter will automatically expand conversations if you |
| 8970 |
use the \f[I]/with_replies\f[] timeline while logged in. For example, |
| 8971 |
media from Tweets which the user replied to will also be downloaded. |
| 8972 |
|
| 8973 |
It is possible to exclude unwanted Tweets using \f[I]file-filter |
| 8974 |
<extractor.*.file-filter_>\f[]. |
| 8975 |
|
| 8976 |
|
| 8977 |
.SS extractor.twitter.retries-api |
| 8978 |
.IP "Type:" 6 |
| 8979 |
\f[I]integer\f[] |
| 8980 |
|
| 8981 |
.IP "Default:" 9 |
| 8982 |
\f[I]9\f[] |
| 8983 |
|
| 8984 |
.IP "Description:" 4 |
| 8985 |
Maximum number of retries |
| 8986 |
for API requests when encountering server \f[I]errors\f[], |
| 8987 |
or \f[I]-1\f[] for infinite retries. |
| 8988 |
|
| 8989 |
|
| 8990 |
.SS extractor.twitter.retweets |
| 8991 |
.IP "Type:" 6 |
| 8992 |
\f[I]bool\f[] |
| 8993 |
|
| 8994 |
.IP "Default:" 9 |
| 8995 |
\f[I]false\f[] |
| 8996 |
|
| 8997 |
.IP "Description:" 4 |
| 8998 |
Fetch media from Retweets. |
| 8999 |
|
| 9000 |
If this value is \f[I]"original"\f[], metadata for these files |
| 9001 |
will be taken from the original Tweets, not the Retweets. |
| 9002 |
|
| 9003 |
|
| 9004 |
.SS extractor.twitter.search-limit |
| 9005 |
.IP "Type:" 6 |
| 9006 |
.br |
| 9007 |
* \f[I]integer\f[] |
| 9008 |
.br |
| 9009 |
* \f[I]list\f[] of \f[I]integers\f[] |
| 9010 |
|
| 9011 |
.IP "Default:" 9 |
| 9012 |
\f[I]20\f[] |
| 9013 |
|
| 9014 |
.IP "Example:" 4 |
| 9015 |
[50, 20, 10, 5, 2] |
| 9016 |
|
| 9017 |
.IP "Description:" 4 |
| 9018 |
Number of requested results per search query. |
| 9019 |
|
| 9020 |
When given as a \f[I]list\f[], |
| 9021 |
start with the first element as \f[I]count\f[] parameter |
| 9022 |
and switch to the next element when |
| 9023 |
\f[I]search-stop\f[] |
| 9024 |
is reached. |
| 9025 |
|
| 9026 |
|
| 9027 |
.SS extractor.twitter.search-pagination |
| 9028 |
.IP "Type:" 6 |
| 9029 |
\f[I]string\f[] |
| 9030 |
|
| 9031 |
.IP "Default:" 9 |
| 9032 |
\f[I]"max_id"\f[] |
| 9033 |
|
| 9034 |
.IP "Description:" 4 |
| 9035 |
Selects how to paginate over search results. |
| 9036 |
|
| 9037 |
\f[I]"cursor"\f[] |
| 9038 |
Use \f[I]cursor\f[] values provided by the API |
| 9039 |
\f[I]"max_id"\f[] \f[I] \f[I]"maxid"\f[] \f[] \f[I]"id"\f[] |
| 9040 |
Update the \f[I]max_id\f[] search query parameter |
| 9041 |
to the Tweet ID value of the last retrieved Tweet. |
| 9042 |
\f[I]"until"\f[] \f[I] \f[I]"date"\f[] \f[] \f[I]"datetime"\f[] | \f[I]"dt"\f[] |
| 9043 |
Update the \f[I]until\f[] search query parameter |
| 9044 |
to the date value of the last retrieved Tweet. |
| 9045 |
|
| 9046 |
|
| 9047 |
.SS extractor.twitter.search-results |
| 9048 |
.IP "Type:" 6 |
| 9049 |
\f[I]string\f[] |
| 9050 |
|
| 9051 |
.IP "Default:" 9 |
| 9052 |
\f[I]"latest"\f[] |
| 9053 |
|
| 9054 |
.IP "Description:" 4 |
| 9055 |
Determines the target of search results. |
| 9056 |
|
| 9057 |
.IP "Supported Values:" 4 |
| 9058 |
.br |
| 9059 |
* \f[I]"top"\f[] |
| 9060 |
.br |
| 9061 |
* \f[I]"media"\f[] |
| 9062 |
.br |
| 9063 |
* \f[I]"latest"\f[] | \f[I]"live"\f[] |
| 9064 |
|
| 9065 |
|
| 9066 |
.SS extractor.twitter.search-stop |
| 9067 |
.IP "Type:" 6 |
| 9068 |
\f[I]integer\f[] |
| 9069 |
|
| 9070 |
.IP "Default:" 9 |
| 9071 |
\f[I]3\f[] |
| 9072 |
|
| 9073 |
.IP "Description:" 4 |
| 9074 |
Number of empty search result batches |
| 9075 |
to accept before stopping. |
| 9076 |
|
| 9077 |
|
| 9078 |
.SS extractor.twitter.showreplies |
| 9079 |
.IP "Type:" 6 |
| 9080 |
\f[I]bool\f[] |
| 9081 |
|
| 9082 |
.IP "Default:" 9 |
| 9083 |
\f[I]true\f[] |
| 9084 |
|
| 9085 |
.IP "Description:" 4 |
| 9086 |
Expand \f[I]Show replies\f[] stubs. |
| 9087 |
|
| 9088 |
|
| 9089 |
.SS extractor.twitter.timeline.strategy |
| 9090 |
.IP "Type:" 6 |
| 9091 |
\f[I]string\f[] |
| 9092 |
|
| 9093 |
.IP "Default:" 9 |
| 9094 |
\f[I]"auto"\f[] |
| 9095 |
|
| 9096 |
.IP "Description:" 4 |
| 9097 |
Controls the strategy / tweet source used for timeline URLs |
| 9098 |
(\f[I]https://twitter.com/USER/timeline\f[]). |
| 9099 |
|
| 9100 |
\f[I]"tweets"\f[] |
| 9101 |
\f[I]/tweets\f[] timeline + search |
| 9102 |
\f[I]"media"\f[] |
| 9103 |
\f[I]/media\f[] timeline + search |
| 9104 |
\f[I]"with_replies"\f[] |
| 9105 |
\f[I]/with_replies\f[] timeline + search |
| 9106 |
\f[I]"auto"\f[] |
| 9107 |
\f[I]"tweets"\f[] or \f[I]"media"\f[], depending on \f[I]retweets\f[] and \f[I]text-tweets\f[] settings |
| 9108 |
|
| 9109 |
|
| 9110 |
.SS extractor.twitter.text-tweets |
| 9111 |
.IP "Type:" 6 |
| 9112 |
\f[I]bool\f[] |
| 9113 |
|
| 9114 |
.IP "Default:" 9 |
| 9115 |
\f[I]false\f[] |
| 9116 |
|
| 9117 |
.IP "Description:" 4 |
| 9118 |
Also emit metadata for text-only Tweets without media content. |
| 9119 |
|
| 9120 |
This only has an effect with a \f[I]metadata\f[] (or \f[I]exec\f[]) post processor |
| 9121 |
with \f[I]"event": "post"\f[] |
| 9122 |
and appropriate \f[I]filename\f[]. |
| 9123 |
|
| 9124 |
|
| 9125 |
.SS extractor.twitter.twitpic |
| 9126 |
.IP "Type:" 6 |
| 9127 |
\f[I]bool\f[] |
| 9128 |
|
| 9129 |
.IP "Default:" 9 |
| 9130 |
\f[I]false\f[] |
| 9131 |
|
| 9132 |
.IP "Description:" 4 |
| 9133 |
Extract \f[I]TwitPic\f[] embeds. |
| 9134 |
|
| 9135 |
|
| 9136 |
.SS extractor.twitter.unique |
| 9137 |
.IP "Type:" 6 |
| 9138 |
\f[I]bool\f[] |
| 9139 |
|
| 9140 |
.IP "Default:" 9 |
| 9141 |
\f[I]true\f[] |
| 9142 |
|
| 9143 |
.IP "Description:" 4 |
| 9144 |
Ignore previously seen Tweets. |
| 9145 |
|
| 9146 |
|
| 9147 |
.SS extractor.twitter.users |
| 9148 |
.IP "Type:" 6 |
| 9149 |
\f[I]string\f[] |
| 9150 |
|
| 9151 |
.IP "Default:" 9 |
| 9152 |
\f[I]"user"\f[] |
| 9153 |
|
| 9154 |
.IP "Example:" 4 |
| 9155 |
"https://twitter.com/search?q=from:{core[screen_name]}" |
| 9156 |
|
| 9157 |
.IP "Description:" 4 |
| 9158 |
Basic format string for user URLs generated from |
| 9159 |
.br |
| 9160 |
\f[I]following\f[] and \f[I]list-members\f[] queries, |
| 9161 |
whose replacement field values come from Twitter \f[I]user\f[] objects |
| 9162 |
.br |
| 9163 |
(\f[I]Example\f[]) |
| 9164 |
|
| 9165 |
.IP "Special Values:" 4 |
| 9166 |
\f[I]"user"\f[] |
| 9167 |
\f[I]https://twitter.com/i/user/{rest_id}\f[] |
| 9168 |
\f[I]"timeline"\f[] |
| 9169 |
\f[I]https://twitter.com/id:{rest_id}/timeline\f[] |
| 9170 |
\f[I]"tweets"\f[] |
| 9171 |
\f[I]https://twitter.com/id:{rest_id}/tweets\f[] |
| 9172 |
\f[I]"media"\f[] |
| 9173 |
\f[I]https://twitter.com/id:{rest_id}/media\f[] |
| 9174 |
|
| 9175 |
.IP "Note:" 4 |
| 9176 |
To allow gallery-dl to follow custom URL formats, set the \f[I]blacklist\f[] |
| 9177 |
for \f[I]twitter\f[] to a non-default value, e.g. an empty string \f[I]""\f[]. |
| 9178 |
|
| 9179 |
|
| 9180 |
.SS extractor.twitter.videos |
| 9181 |
.IP "Type:" 6 |
| 9182 |
.br |
| 9183 |
* \f[I]bool\f[] |
| 9184 |
.br |
| 9185 |
* \f[I]string\f[] |
| 9186 |
|
| 9187 |
.IP "Default:" 9 |
| 9188 |
\f[I]true\f[] |
| 9189 |
|
| 9190 |
.IP "Description:" 4 |
| 9191 |
Control video download behavior. |
| 9192 |
|
| 9193 |
\f[I]true\f[] |
| 9194 |
Download videos |
| 9195 |
\f[I]"ytdl"\f[] |
| 9196 |
Download videos using \f[I]ytdl\f[] |
| 9197 |
\f[I]false\f[] |
| 9198 |
Skip video Tweets |
| 9199 |
|
| 9200 |
|
| 9201 |
.SS extractor.unsplash.format |
| 9202 |
.IP "Type:" 6 |
| 9203 |
\f[I]string\f[] |
| 9204 |
|
| 9205 |
.IP "Default:" 9 |
| 9206 |
\f[I]"raw"\f[] |
| 9207 |
|
| 9208 |
.IP "Description:" 4 |
| 9209 |
Name of the image format to download. |
| 9210 |
|
| 9211 |
.IP "Available Formats:" 4 |
| 9212 |
.br |
| 9213 |
* \f[I]"raw"\f[] |
| 9214 |
.br |
| 9215 |
* \f[I]"full"\f[] |
| 9216 |
.br |
| 9217 |
* \f[I]"regular"\f[] |
| 9218 |
.br |
| 9219 |
* \f[I]"small"\f[] |
| 9220 |
.br |
| 9221 |
* \f[I]"thumb"\f[] |
| 9222 |
|
| 9223 |
|
| 9224 |
.SS extractor.vipergirls.domain |
| 9225 |
.IP "Type:" 6 |
| 9226 |
\f[I]string\f[] |
| 9227 |
|
| 9228 |
.IP "Default:" 9 |
| 9229 |
\f[I]"viper.click"\f[] |
| 9230 |
|
| 9231 |
.IP "Description:" 4 |
| 9232 |
Specifies the domain used by \f[I]vipergirls\f[] extractors. |
| 9233 |
|
| 9234 |
For example \f[I]"viper.click"\f[] if the main domain is blocked or to bypass Cloudflare, |
| 9235 |
|
| 9236 |
|
| 9237 |
.SS extractor.vipergirls.like |
| 9238 |
.IP "Type:" 6 |
| 9239 |
\f[I]bool\f[] |
| 9240 |
|
| 9241 |
.IP "Default:" 9 |
| 9242 |
\f[I]false\f[] |
| 9243 |
|
| 9244 |
.IP "Description:" 4 |
| 9245 |
Automatically like posts after downloading their images. |
| 9246 |
|
| 9247 |
.IP "Note:" 4 |
| 9248 |
Requires \f[I]login\f[] |
| 9249 |
or \f[I]cookies\f[] |
| 9250 |
|
| 9251 |
|
| 9252 |
.SS extractor.vipergirls.order-posts |
| 9253 |
.IP "Type:" 6 |
| 9254 |
\f[I]string\f[] |
| 9255 |
|
| 9256 |
.IP "Default:" 9 |
| 9257 |
\f[I]"desc"\f[] |
| 9258 |
|
| 9259 |
.IP "Description:" 4 |
| 9260 |
Controls the order in which |
| 9261 |
posts of a \f[I]thread\f[] are processed. |
| 9262 |
|
| 9263 |
\f[I]"asc"\f[] |
| 9264 |
Ascending order (oldest first) |
| 9265 |
\f[I]"desc"\f[] | \f[I]"reverse"\f[] |
| 9266 |
Descending order (newest first) |
| 9267 |
|
| 9268 |
|
| 9269 |
.SS extractor.vk.domain |
| 9270 |
.IP "Type:" 6 |
| 9271 |
\f[I]string\f[] |
| 9272 |
|
| 9273 |
.IP "Default:" 9 |
| 9274 |
\f[I]"auto"\f[] |
| 9275 |
|
| 9276 |
.IP "Description:" 4 |
| 9277 |
Specifies the domain used by \f[I]cyberdrop\f[] regardless of input URL. |
| 9278 |
|
| 9279 |
Setting this option to \f[I]"auto"\f[] |
| 9280 |
uses the same domain as a given input URL. |
| 9281 |
|
| 9282 |
|
| 9283 |
.SS extractor.vk.offset |
| 9284 |
.IP "Type:" 6 |
| 9285 |
\f[I]integer\f[] |
| 9286 |
|
| 9287 |
.IP "Default:" 9 |
| 9288 |
\f[I]0\f[] |
| 9289 |
|
| 9290 |
.IP "Description:" 4 |
| 9291 |
Custom \f[I]offset\f[] starting value when paginating over image results. |
| 9292 |
|
| 9293 |
|
| 9294 |
.SS extractor.vsco.include |
| 9295 |
.IP "Type:" 6 |
| 9296 |
.br |
| 9297 |
* \f[I]string\f[] |
| 9298 |
.br |
| 9299 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 9300 |
|
| 9301 |
.IP "Default:" 9 |
| 9302 |
\f[I]"gallery"\f[] |
| 9303 |
|
| 9304 |
.IP "Example:" 4 |
| 9305 |
.br |
| 9306 |
* "avatar,collection" |
| 9307 |
.br |
| 9308 |
* ["avatar", "collection"] |
| 9309 |
|
| 9310 |
.IP "Description:" 4 |
| 9311 |
A (comma-separated) list of subcategories to include |
| 9312 |
when processing a user profile. |
| 9313 |
|
| 9314 |
.IP "Supported Values:" 4 |
| 9315 |
.br |
| 9316 |
* \f[I]avatar\f[] |
| 9317 |
.br |
| 9318 |
* \f[I]gallery\f[] |
| 9319 |
.br |
| 9320 |
* \f[I]spaces\f[] |
| 9321 |
.br |
| 9322 |
* \f[I]collection\f[] |
| 9323 |
|
| 9324 |
.IP "Note:" 4 |
| 9325 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 9326 |
|
| 9327 |
|
| 9328 |
.SS extractor.vsco.videos |
| 9329 |
.IP "Type:" 6 |
| 9330 |
\f[I]bool\f[] |
| 9331 |
|
| 9332 |
.IP "Default:" 9 |
| 9333 |
\f[I]true\f[] |
| 9334 |
|
| 9335 |
.IP "Description:" 4 |
| 9336 |
Download video files. |
| 9337 |
|
| 9338 |
|
| 9339 |
.SS extractor.wallhaven.api-key |
| 9340 |
.IP "Type:" 6 |
| 9341 |
\f[I]string\f[] |
| 9342 |
|
| 9343 |
.IP "Default:" 9 |
| 9344 |
\f[I]null\f[] |
| 9345 |
|
| 9346 |
.IP "Description:" 4 |
| 9347 |
Your \f[I]Wallhaven API Key\f[], |
| 9348 |
to use your account's browsing settings and default filters when searching. |
| 9349 |
|
| 9350 |
See https://wallhaven.cc/help/api for more information. |
| 9351 |
|
| 9352 |
|
| 9353 |
.SS extractor.wallhaven.include |
| 9354 |
.IP "Type:" 6 |
| 9355 |
.br |
| 9356 |
* \f[I]string\f[] |
| 9357 |
.br |
| 9358 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 9359 |
|
| 9360 |
.IP "Default:" 9 |
| 9361 |
\f[I]"uploads"\f[] |
| 9362 |
|
| 9363 |
.IP "Example:" 4 |
| 9364 |
.br |
| 9365 |
* "uploads,collections" |
| 9366 |
.br |
| 9367 |
* ["uploads", "collections"] |
| 9368 |
|
| 9369 |
.IP "Description:" 4 |
| 9370 |
A (comma-separated) list of subcategories to include |
| 9371 |
when processing a user profile. |
| 9372 |
|
| 9373 |
.IP "Supported Values:" 4 |
| 9374 |
.br |
| 9375 |
* \f[I]uploads\f[] |
| 9376 |
.br |
| 9377 |
* \f[I]collections\f[] |
| 9378 |
|
| 9379 |
.IP "Note:" 4 |
| 9380 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 9381 |
|
| 9382 |
|
| 9383 |
.SS extractor.wallhaven.metadata |
| 9384 |
.IP "Type:" 6 |
| 9385 |
\f[I]bool\f[] |
| 9386 |
|
| 9387 |
.IP "Default:" 9 |
| 9388 |
\f[I]false\f[] |
| 9389 |
|
| 9390 |
.IP "Description:" 4 |
| 9391 |
Extract additional metadata (tags, uploader) |
| 9392 |
|
| 9393 |
.IP "Note:" 4 |
| 9394 |
This requires 1 additional HTTP request per post. |
| 9395 |
|
| 9396 |
|
| 9397 |
.SS extractor.weasyl.api-key |
| 9398 |
.IP "Type:" 6 |
| 9399 |
\f[I]string\f[] |
| 9400 |
|
| 9401 |
.IP "Default:" 9 |
| 9402 |
\f[I]null\f[] |
| 9403 |
|
| 9404 |
.IP "Description:" 4 |
| 9405 |
Your \f[I]Weasyl API Key\f[], |
| 9406 |
to use your account's browsing settings and filters. |
| 9407 |
|
| 9408 |
|
| 9409 |
.SS extractor.weasyl.metadata |
| 9410 |
.IP "Type:" 6 |
| 9411 |
\f[I]bool\f[] |
| 9412 |
|
| 9413 |
.IP "Default:" 9 |
| 9414 |
\f[I]false\f[] |
| 9415 |
|
| 9416 |
.IP "Description:" 4 |
| 9417 |
Fetch extra submission metadata during gallery downloads. |
| 9418 |
.br |
| 9419 |
(\f[I]comments\f[], \f[I]description\f[], \f[I]favorites\f[], \f[I]folder_name\f[], |
| 9420 |
.br |
| 9421 |
\f[I]tags\f[], \f[I]views\f[]) |
| 9422 |
|
| 9423 |
.IP "Note:" 4 |
| 9424 |
This requires 1 additional HTTP request per submission. |
| 9425 |
|
| 9426 |
|
| 9427 |
.SS extractor.webtoons.bgm |
| 9428 |
.IP "Type:" 6 |
| 9429 |
.br |
| 9430 |
* \f[I]bool\f[] |
| 9431 |
.br |
| 9432 |
* \f[I]string\f[] |
| 9433 |
|
| 9434 |
.IP "Default:" 9 |
| 9435 |
\f[I]true\f[] |
| 9436 |
|
| 9437 |
.IP "Example:" 4 |
| 9438 |
"aac" |
| 9439 |
|
| 9440 |
.IP "Description:" 4 |
| 9441 |
Download an episode's background music if available. |
| 9442 |
|
| 9443 |
If this is a \f[I]string\f[], remux the downloaded background music file |
| 9444 |
into the given format. |
| 9445 |
|
| 9446 |
.IP "Note:" 4 |
| 9447 |
Requires \f[I]ytdl\f[] for downloads |
| 9448 |
and \f[I]ffmpeg\f[] for remuxing |
| 9449 |
|
| 9450 |
|
| 9451 |
.SS extractor.webtoons.quality |
| 9452 |
.IP "Type:" 6 |
| 9453 |
.br |
| 9454 |
* \f[I]integer\f[] |
| 9455 |
.br |
| 9456 |
* \f[I]string\f[] |
| 9457 |
.br |
| 9458 |
* \f[I]object\f[] (ext → type) |
| 9459 |
|
| 9460 |
.IP "Default:" 9 |
| 9461 |
\f[I]"original"\f[] |
| 9462 |
|
| 9463 |
.IP "Example:" 4 |
| 9464 |
.br |
| 9465 |
* 90 |
| 9466 |
.br |
| 9467 |
* "q50" |
| 9468 |
.br |
| 9469 |
* {"jpg": "q80", "jpeg": "q80", "png": false} |
| 9470 |
|
| 9471 |
.IP "Description:" 4 |
| 9472 |
Controls the quality of downloaded files by modifying URLs' \f[I]type\f[] parameter. |
| 9473 |
|
| 9474 |
\f[I]"original"\f[] |
| 9475 |
Download minimally compressed versions of JPG files |
| 9476 |
any \f[I]integer\f[] |
| 9477 |
Use \f[I]"q<VALUE>"\f[] as \f[I]type\f[] parameter for JPEG files |
| 9478 |
any \f[I]string\f[] |
| 9479 |
Use this value as \f[I]type\f[] parameter for JPEG files |
| 9480 |
any \f[I]object\f[] |
| 9481 |
Use the given values as \f[I]type\f[] parameter for URLs with the specified extensions |
| 9482 |
.br |
| 9483 |
- Set a value to \f[I]false\f[] to completely remove these extension's \f[I]type\f[] parameter |
| 9484 |
.br |
| 9485 |
- Omit an extension to leave its URLs unchanged |
| 9486 |
.br |
| 9487 |
|
| 9488 |
|
| 9489 |
.SS extractor.webtoons.banners |
| 9490 |
.IP "Type:" 6 |
| 9491 |
\f[I]bool\f[] |
| 9492 |
|
| 9493 |
.IP "Default:" 9 |
| 9494 |
\f[I]false\f[] |
| 9495 |
|
| 9496 |
.IP "Description:" 4 |
| 9497 |
Download the active comic's \f[I]banner\f[]. |
| 9498 |
|
| 9499 |
|
| 9500 |
.SS extractor.webtoons.thumbnails |
| 9501 |
.IP "Type:" 6 |
| 9502 |
\f[I]bool\f[] |
| 9503 |
|
| 9504 |
.IP "Default:" 9 |
| 9505 |
\f[I]false\f[] |
| 9506 |
|
| 9507 |
.IP "Description:" 4 |
| 9508 |
Download the active episode's \f[I]thumbnail\f[]. |
| 9509 |
|
| 9510 |
Useful for creating CBZ archives with actual source thumbnails. |
| 9511 |
|
| 9512 |
|
| 9513 |
.SS extractor.weibo.gifs |
| 9514 |
.IP "Type:" 6 |
| 9515 |
.br |
| 9516 |
* \f[I]bool\f[] |
| 9517 |
.br |
| 9518 |
* \f[I]string\f[] |
| 9519 |
|
| 9520 |
.IP "Default:" 9 |
| 9521 |
\f[I]true\f[] |
| 9522 |
|
| 9523 |
.IP "Description:" 4 |
| 9524 |
Download \f[I]gif\f[] files. |
| 9525 |
|
| 9526 |
Set this to \f[I]"video"\f[] to download GIFs as video files. |
| 9527 |
|
| 9528 |
|
| 9529 |
.SS extractor.weibo.include |
| 9530 |
.IP "Type:" 6 |
| 9531 |
.br |
| 9532 |
* \f[I]string\f[] |
| 9533 |
.br |
| 9534 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 9535 |
|
| 9536 |
.IP "Default:" 9 |
| 9537 |
\f[I]"feed"\f[] |
| 9538 |
|
| 9539 |
.IP "Description:" 4 |
| 9540 |
A (comma-separated) list of subcategories to include |
| 9541 |
when processing a user profile. |
| 9542 |
|
| 9543 |
.IP "Supported Values:" 4 |
| 9544 |
.br |
| 9545 |
* \f[I]home\f[] |
| 9546 |
.br |
| 9547 |
* \f[I]feed\f[] |
| 9548 |
.br |
| 9549 |
* \f[I]videos\f[] |
| 9550 |
.br |
| 9551 |
* \f[I]newvideo\f[] |
| 9552 |
.br |
| 9553 |
* \f[I]article\f[] |
| 9554 |
.br |
| 9555 |
* \f[I]album\f[] |
| 9556 |
.br |
| 9557 |
* \f[I]subalbums\f[] |
| 9558 |
|
| 9559 |
.IP "Note:" 4 |
| 9560 |
It is possible to use \f[I]"all"\f[] instead of listing all values separately. |
| 9561 |
|
| 9562 |
|
| 9563 |
.SS extractor.weibo.likes |
| 9564 |
.IP "Type:" 6 |
| 9565 |
\f[I]bool\f[] |
| 9566 |
|
| 9567 |
.IP "Default:" 9 |
| 9568 |
\f[I]false\f[] |
| 9569 |
|
| 9570 |
.IP "Description:" 4 |
| 9571 |
Download from \f[I]like\f[] (\f[I]赞过\f[]) posts. |
| 9572 |
|
| 9573 |
|
| 9574 |
.SS extractor.weibo.livephoto |
| 9575 |
.IP "Type:" 6 |
| 9576 |
\f[I]bool\f[] |
| 9577 |
|
| 9578 |
.IP "Default:" 9 |
| 9579 |
\f[I]true\f[] |
| 9580 |
|
| 9581 |
.IP "Description:" 4 |
| 9582 |
Download \f[I]livephoto\f[] files. |
| 9583 |
|
| 9584 |
|
| 9585 |
.SS extractor.weibo.movies |
| 9586 |
.IP "Type:" 6 |
| 9587 |
\f[I]bool\f[] |
| 9588 |
|
| 9589 |
.IP "Default:" 9 |
| 9590 |
\f[I]false\f[] |
| 9591 |
|
| 9592 |
.IP "Description:" 4 |
| 9593 |
Download \f[I]movie\f[] videos. |
| 9594 |
|
| 9595 |
|
| 9596 |
.SS extractor.weibo.retweets |
| 9597 |
.IP "Type:" 6 |
| 9598 |
\f[I]bool\f[] |
| 9599 |
|
| 9600 |
.IP "Default:" 9 |
| 9601 |
\f[I]false\f[] |
| 9602 |
|
| 9603 |
.IP "Description:" 4 |
| 9604 |
Fetch media from retweeted posts. |
| 9605 |
|
| 9606 |
If this value is \f[I]"original"\f[], metadata for these files |
| 9607 |
will be taken from the original posts, not the retweeted posts. |
| 9608 |
|
| 9609 |
|
| 9610 |
.SS extractor.weibo.text |
| 9611 |
.IP "Type:" 6 |
| 9612 |
\f[I]bool\f[] |
| 9613 |
|
| 9614 |
.IP "Default:" 9 |
| 9615 |
\f[I]false\f[] |
| 9616 |
|
| 9617 |
.IP "Description:" 4 |
| 9618 |
Extract full \f[I]text\f[] & \f[I]text_raw\f[] metadata |
| 9619 |
for statuses with truncated \f[I]text\f[]. |
| 9620 |
|
| 9621 |
|
| 9622 |
.SS extractor.weibo.videos |
| 9623 |
.IP "Type:" 6 |
| 9624 |
\f[I]bool\f[] |
| 9625 |
|
| 9626 |
.IP "Default:" 9 |
| 9627 |
\f[I]true\f[] |
| 9628 |
|
| 9629 |
.IP "Description:" 4 |
| 9630 |
Download video files. |
| 9631 |
|
| 9632 |
|
| 9633 |
.SS extractor.weibo.album.subalbums |
| 9634 |
.IP "Type:" 6 |
| 9635 |
\f[I]bool\f[] |
| 9636 |
|
| 9637 |
.IP "Default:" 9 |
| 9638 |
\f[I]false\f[] |
| 9639 |
|
| 9640 |
.IP "Description:" 4 |
| 9641 |
Extract subalbum media. |
| 9642 |
|
| 9643 |
|
| 9644 |
.SS extractor.wikimedia.format |
| 9645 |
.IP "Type:" 6 |
| 9646 |
\f[I]string\f[] |
| 9647 |
|
| 9648 |
.IP "Default:" 9 |
| 9649 |
\f[I]fandom\f[] | \f[I]wikigg\f[] |
| 9650 |
\f[I]"original"\f[] |
| 9651 |
otherwise |
| 9652 |
\f[I]""\f[] |
| 9653 |
|
| 9654 |
.IP "Description:" 4 |
| 9655 |
Sets the format query parameter value |
| 9656 |
added to all download URLs. |
| 9657 |
|
| 9658 |
|
| 9659 |
.SS extractor.wikimedia.image-revisions |
| 9660 |
.IP "Type:" 6 |
| 9661 |
\f[I]integer\f[] |
| 9662 |
|
| 9663 |
.IP "Default:" 9 |
| 9664 |
\f[I]1\f[] |
| 9665 |
|
| 9666 |
.IP "Description:" 4 |
| 9667 |
Number of revisions to return for a single image. |
| 9668 |
|
| 9669 |
The dafault value of 1 only returns the latest revision. |
| 9670 |
|
| 9671 |
The value must be between 1 and 500. |
| 9672 |
|
| 9673 |
.IP "Note:" 4 |
| 9674 |
The API sometimes returns image revisions on article pages even when this option is |
| 9675 |
set to 1. However, setting it to a higher value may reduce the number of API requests. |
| 9676 |
|
| 9677 |
|
| 9678 |
.SS extractor.wikimedia.limit |
| 9679 |
.IP "Type:" 6 |
| 9680 |
\f[I]integer\f[] |
| 9681 |
|
| 9682 |
.IP "Default:" 9 |
| 9683 |
\f[I]50\f[] |
| 9684 |
|
| 9685 |
.IP "Description:" 4 |
| 9686 |
Number of results to return in a single API query. |
| 9687 |
|
| 9688 |
The value must be between 10 and 500. |
| 9689 |
|
| 9690 |
|
| 9691 |
.SS extractor.wikimedia.subcategories |
| 9692 |
.IP "Type:" 6 |
| 9693 |
\f[I]bool\f[] |
| 9694 |
|
| 9695 |
.IP "Default:" 9 |
| 9696 |
\f[I]true\f[] |
| 9697 |
|
| 9698 |
.IP "Description:" 4 |
| 9699 |
For \f[I]Category:\f[] pages, recursively descent into subcategories. |
| 9700 |
|
| 9701 |
|
| 9702 |
.SS extractor.[xenforo].attachments |
| 9703 |
.IP "Type:" 6 |
| 9704 |
\f[I]bool\f[] |
| 9705 |
|
| 9706 |
.IP "Default:" 9 |
| 9707 |
\f[I]true\f[] |
| 9708 |
|
| 9709 |
.IP "Description:" 4 |
| 9710 |
Extract forum post attachments. |
| 9711 |
|
| 9712 |
|
| 9713 |
.SS extractor.[xenforo].embeds |
| 9714 |
.IP "Type:" 6 |
| 9715 |
\f[I]bool\f[] |
| 9716 |
|
| 9717 |
.IP "Default:" 9 |
| 9718 |
\f[I]true\f[] |
| 9719 |
|
| 9720 |
.IP "Description:" 4 |
| 9721 |
Extract URLs of forum post embeds. |
| 9722 |
|
| 9723 |
|
| 9724 |
.SS extractor.[xenforo].metadata |
| 9725 |
.IP "Type:" 6 |
| 9726 |
\f[I]bool\f[] |
| 9727 |
|
| 9728 |
.IP "Default:" 9 |
| 9729 |
\f[I]false\f[] |
| 9730 |
|
| 9731 |
.IP "Description:" 4 |
| 9732 |
Extract detailed metadata for media files. |
| 9733 |
|
| 9734 |
.IP "Note:" 4 |
| 9735 |
This requires 1 additional HTTP request per file. |
| 9736 |
|
| 9737 |
|
| 9738 |
.SS extractor.[xenforo].order-posts |
| 9739 |
.IP "Type:" 6 |
| 9740 |
\f[I]string\f[] |
| 9741 |
|
| 9742 |
.IP "Default:" 9 |
| 9743 |
\f[I]thread\f[] |
| 9744 |
\f[I]"desc"\f[] |
| 9745 |
otherwise |
| 9746 |
\f[I]"asc"\f[] |
| 9747 |
|
| 9748 |
.IP "Description:" 4 |
| 9749 |
Controls the order in which |
| 9750 |
posts of a \f[I]thread\f[] or media files are processed. |
| 9751 |
|
| 9752 |
\f[I]"asc"\f[] |
| 9753 |
Ascending order (oldest first) |
| 9754 |
\f[I]"desc"\f[] \f[I] \f[I]"reverse"\f[] |
| 9755 |
Descending order (newest first) |
| 9756 |
\f[I]"reaction"\f[] \f[] \f[I]"score"\f[] |
| 9757 |
Reaction Score order (\f[I]threads\f[] only) |
| 9758 |
|
| 9759 |
|
| 9760 |
.SS extractor.[xenforo].quoted |
| 9761 |
.IP "Type:" 6 |
| 9762 |
\f[I]bool\f[] |
| 9763 |
|
| 9764 |
.IP "Default:" 9 |
| 9765 |
\f[I]false\f[] |
| 9766 |
|
| 9767 |
.IP "Description:" 4 |
| 9768 |
Extract files from quoted content. |
| 9769 |
|
| 9770 |
|
| 9771 |
.SS extractor.xfolio.fullsize |
| 9772 |
.IP "Type:" 6 |
| 9773 |
\f[I]bool\f[] |
| 9774 |
|
| 9775 |
.IP "Default:" 9 |
| 9776 |
\f[I]true\f[] |
| 9777 |
|
| 9778 |
.IP "Description:" 4 |
| 9779 |
Download posts' files as Full Size Download ZIP container |
| 9780 |
if available and purchased. |
| 9781 |
|
| 9782 |
|
| 9783 |
.SS extractor.ytdl.cmdline-args |
| 9784 |
.IP "Type:" 6 |
| 9785 |
.br |
| 9786 |
* \f[I]string\f[] |
| 9787 |
.br |
| 9788 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 9789 |
|
| 9790 |
.IP "Example:" 4 |
| 9791 |
.br |
| 9792 |
* "--quiet --write-sub --merge-output-format mkv" |
| 9793 |
.br |
| 9794 |
* ["--quiet", "--write-sub", "--merge-output-format", "mkv"] |
| 9795 |
|
| 9796 |
.IP "Description:" 4 |
| 9797 |
Additional \f[I]ytdl\f[] options specified as command-line arguments. |
| 9798 |
|
| 9799 |
See |
| 9800 |
\f[I]yt-dlp options\f[] |
| 9801 |
/ |
| 9802 |
\f[I]youtube-dl options\f[] |
| 9803 |
|
| 9804 |
|
| 9805 |
.SS extractor.ytdl.config-file |
| 9806 |
.IP "Type:" 6 |
| 9807 |
\f[I]Path\f[] |
| 9808 |
|
| 9809 |
.IP "Example:" 4 |
| 9810 |
"~/.config/yt-dlp/config" |
| 9811 |
|
| 9812 |
.IP "Description:" 4 |
| 9813 |
Location of a \f[I]ytdl\f[] configuration file to load options from. |
| 9814 |
|
| 9815 |
|
| 9816 |
.SS extractor.ytdl.deprecations |
| 9817 |
.IP "Type:" 6 |
| 9818 |
´´bool´´ |
| 9819 |
|
| 9820 |
.IP "Default:" 9 |
| 9821 |
\f[I]false\f[] |
| 9822 |
|
| 9823 |
.IP "Description:" 4 |
| 9824 |
Allow \f[I]ytdl\f[] to warn about deprecated options and features. |
| 9825 |
|
| 9826 |
|
| 9827 |
.SS extractor.ytdl.enabled |
| 9828 |
.IP "Type:" 6 |
| 9829 |
\f[I]bool\f[] |
| 9830 |
|
| 9831 |
.IP "Default:" 9 |
| 9832 |
\f[I]false\f[] |
| 9833 |
|
| 9834 |
.IP "Description:" 4 |
| 9835 |
Process URLs otherwise unsupported by gallery-dl with \f[I]ytdl\f[]. |
| 9836 |
|
| 9837 |
|
| 9838 |
.SS extractor.ytdl.format |
| 9839 |
.IP "Type:" 6 |
| 9840 |
\f[I]string\f[] |
| 9841 |
|
| 9842 |
.IP "Default:" 9 |
| 9843 |
Default of the \f[I]ytdl\f[] \f[I]module\f[] used. |
| 9844 |
.br |
| 9845 |
(\f[I]"bestvideo*+bestaudio/best"\f[] for \f[I]yt_dlp\f[], |
| 9846 |
.br |
| 9847 |
\f[I]"bestvideo+bestaudio/best"\f[] for \f[I]youtube_dl\f[]) |
| 9848 |
|
| 9849 |
.IP "Description:" 4 |
| 9850 |
\f[I]ytdl\f[] format selection string. |
| 9851 |
|
| 9852 |
See |
| 9853 |
\f[I]yt-dlp format selection\f[] |
| 9854 |
/ |
| 9855 |
\f[I]youtube-dl format selection\f[] |
| 9856 |
|
| 9857 |
|
| 9858 |
.SS extractor.ytdl.generic |
| 9859 |
.IP "Type:" 6 |
| 9860 |
.br |
| 9861 |
* \f[I]bool\f[] |
| 9862 |
.br |
| 9863 |
* \f[I]string\f[] |
| 9864 |
|
| 9865 |
.IP "Default:" 9 |
| 9866 |
\f[I]true\f[] |
| 9867 |
|
| 9868 |
.IP "Description:" 4 |
| 9869 |
Enables the use of \f[I]ytdl's\f[] \f[I]Generic\f[] extractor. |
| 9870 |
|
| 9871 |
Set this option to \f[I]"force"\f[] for the same effect as |
| 9872 |
\f[I]--force-generic-extractor\f[]. |
| 9873 |
|
| 9874 |
|
| 9875 |
.SS extractor.ytdl.generic-category |
| 9876 |
.IP "Type:" 6 |
| 9877 |
\f[I]bool\f[] |
| 9878 |
|
| 9879 |
.IP "Default:" 9 |
| 9880 |
\f[I]true\f[] |
| 9881 |
|
| 9882 |
.IP "Description:" 4 |
| 9883 |
When using \f[I]ytdl's\f[] \f[I]Generic\f[] extractor, |
| 9884 |
change category to \f[I]"ytdl-generic"\f[] and |
| 9885 |
set subcategory to the input URL's domain. |
| 9886 |
|
| 9887 |
|
| 9888 |
.SS extractor.ytdl.logging |
| 9889 |
.IP "Type:" 6 |
| 9890 |
\f[I]bool\f[] |
| 9891 |
|
| 9892 |
.IP "Default:" 9 |
| 9893 |
\f[I]true\f[] |
| 9894 |
|
| 9895 |
.IP "Description:" 4 |
| 9896 |
Route \f[I]ytdl's\f[] output through gallery-dl's logging system. |
| 9897 |
Otherwise it will be written directly to stdout/stderr. |
| 9898 |
|
| 9899 |
.IP "Note:" 4 |
| 9900 |
Set \f[I]quiet\f[] and \f[I]no_warnings\f[] in |
| 9901 |
\f[I]extractor.ytdl.raw-options\f[] to \f[I]true\f[] to suppress all output. |
| 9902 |
|
| 9903 |
|
| 9904 |
.SS extractor.ytdl.module |
| 9905 |
.IP "Type:" 6 |
| 9906 |
\f[I]Module\f[] |
| 9907 |
|
| 9908 |
.IP "Default:" 9 |
| 9909 |
\f[I]null\f[] |
| 9910 |
|
| 9911 |
.IP "Example:" 4 |
| 9912 |
.br |
| 9913 |
* "yt-dlp" |
| 9914 |
.br |
| 9915 |
* "/home/user/.local/lib/python3.13/site-packages/youtube_dl" |
| 9916 |
|
| 9917 |
.IP "Description:" 4 |
| 9918 |
The \f[I]ytdl\f[] \f[I]Module\f[] to import. |
| 9919 |
|
| 9920 |
Setting this to \f[I]null\f[] will try to import \f[I]"yt_dlp"\f[] |
| 9921 |
followed by \f[I]"youtube_dl"\f[] as fallback. |
| 9922 |
|
| 9923 |
|
| 9924 |
.SS extractor.ytdl.raw-options |
| 9925 |
.IP "Type:" 6 |
| 9926 |
\f[I]object\f[] (name → value) |
| 9927 |
|
| 9928 |
.IP "Example:" 4 |
| 9929 |
.. code:: json |
| 9930 |
|
| 9931 |
{ |
| 9932 |
"quiet": true, |
| 9933 |
"writesubtitles": true, |
| 9934 |
"merge_output_format": "mkv" |
| 9935 |
} |
| 9936 |
|
| 9937 |
.IP "Description:" 4 |
| 9938 |
Additional options passed directly to the \f[I]YoutubeDL\f[] constructor. |
| 9939 |
|
| 9940 |
Available options can be found in |
| 9941 |
\f[I]yt-dlp's docstrings\f[] |
| 9942 |
/ |
| 9943 |
\f[I]youtube-dl's docstrings\f[] |
| 9944 |
|
| 9945 |
|
| 9946 |
.SS extractor.zerochan.extensions |
| 9947 |
.IP "Type:" 6 |
| 9948 |
.br |
| 9949 |
* \f[I]string\f[] |
| 9950 |
.br |
| 9951 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 9952 |
|
| 9953 |
.IP "Default:" 9 |
| 9954 |
\f[I]["jpg", "png", "webp", "gif"]\f[] |
| 9955 |
|
| 9956 |
.IP "Example:" 4 |
| 9957 |
.br |
| 9958 |
* "gif" |
| 9959 |
.br |
| 9960 |
* ["webp", "gif", "jpg"} |
| 9961 |
|
| 9962 |
.IP "Description:" 4 |
| 9963 |
List of filename extensions to try when dynamically building download URLs |
| 9964 |
(\f[I]"pagination": "api"\f[] + |
| 9965 |
\f[I]"metadata": false\f[]) |
| 9966 |
|
| 9967 |
|
| 9968 |
.SS extractor.zerochan.metadata |
| 9969 |
.IP "Type:" 6 |
| 9970 |
\f[I]bool\f[] |
| 9971 |
|
| 9972 |
.IP "Default:" 9 |
| 9973 |
\f[I]false\f[] |
| 9974 |
|
| 9975 |
.IP "Description:" 4 |
| 9976 |
Extract additional metadata (date, md5, tags, ...) |
| 9977 |
|
| 9978 |
.IP "Note:" 4 |
| 9979 |
This requires 1-2 additional HTTP requests per post. |
| 9980 |
|
| 9981 |
|
| 9982 |
.SS extractor.zerochan.pagination |
| 9983 |
.IP "Type:" 6 |
| 9984 |
\f[I]string\f[] |
| 9985 |
|
| 9986 |
.IP "Default:" 9 |
| 9987 |
\f[I]"api"\f[] |
| 9988 |
|
| 9989 |
.IP "Description:" 4 |
| 9990 |
Controls how to paginate over tag search results. |
| 9991 |
|
| 9992 |
\f[I]"api"\f[] |
| 9993 |
Use the \f[I]JSON API\f[] |
| 9994 |
(no \f[I]extension\f[] metadata) |
| 9995 |
\f[I]"html"\f[] |
| 9996 |
Parse HTML pages |
| 9997 |
(limited to 100 pages * 24 posts) |
| 9998 |
|
| 9999 |
|
| 10000 |
.SS extractor.zerochan.redirects |
| 10001 |
.IP "Type:" 6 |
| 10002 |
\f[I]bool\f[] |
| 10003 |
|
| 10004 |
.IP "Default:" 9 |
| 10005 |
\f[I]false\f[] |
| 10006 |
|
| 10007 |
.IP "Description:" 4 |
| 10008 |
Automatically follow tag redirects. |
| 10009 |
|
| 10010 |
|
| 10011 |
.SS extractor.[booru].tags |
| 10012 |
.IP "Type:" 6 |
| 10013 |
\f[I]bool\f[] |
| 10014 |
|
| 10015 |
.IP "Default:" 9 |
| 10016 |
\f[I]false\f[] |
| 10017 |
|
| 10018 |
.IP "Description:" 4 |
| 10019 |
Group \f[I]tags\f[] by type and |
| 10020 |
provide them as \f[I]tags_<type>\f[] metadata fields, |
| 10021 |
for example \f[I]tags_artist\f[] or \f[I]tags_character\f[]. |
| 10022 |
|
| 10023 |
.IP "Note:" 4 |
| 10024 |
This requires 1 additional HTTP request per post. |
| 10025 |
|
| 10026 |
|
| 10027 |
.SS extractor.[booru].notes |
| 10028 |
.IP "Type:" 6 |
| 10029 |
\f[I]bool\f[] |
| 10030 |
|
| 10031 |
.IP "Default:" 9 |
| 10032 |
\f[I]false\f[] |
| 10033 |
|
| 10034 |
.IP "Description:" 4 |
| 10035 |
Extract overlay notes (position and text). |
| 10036 |
|
| 10037 |
.IP "Note:" 4 |
| 10038 |
This requires 1 additional HTTP request per post. |
| 10039 |
|
| 10040 |
|
| 10041 |
.SS extractor.[booru].url |
| 10042 |
.IP "Type:" 6 |
| 10043 |
.br |
| 10044 |
* \f[I]string\f[] |
| 10045 |
.br |
| 10046 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 10047 |
|
| 10048 |
.IP "Default:" 9 |
| 10049 |
\f[I]"file_url"\f[] |
| 10050 |
|
| 10051 |
.IP "Example:" 4 |
| 10052 |
.br |
| 10053 |
* "preview_url" |
| 10054 |
.br |
| 10055 |
* ["sample_url", "preview_url", "file_url"] |
| 10056 |
|
| 10057 |
.IP "Description:" 4 |
| 10058 |
Alternate field name to retrieve download URLs from. |
| 10059 |
|
| 10060 |
When multiple names are given, download the first available one. |
| 10061 |
|
| 10062 |
|
| 10063 |
.SS extractor.[manga-extractor].chapter-reverse |
| 10064 |
.IP "Type:" 6 |
| 10065 |
\f[I]bool\f[] |
| 10066 |
|
| 10067 |
.IP "Default:" 9 |
| 10068 |
\f[I]false\f[] |
| 10069 |
|
| 10070 |
.IP "Description:" 4 |
| 10071 |
Reverse the order of chapter URLs extracted from manga pages. |
| 10072 |
|
| 10073 |
\f[I]true\f[] |
| 10074 |
Start with the latest chapter |
| 10075 |
\f[I]false\f[] |
| 10076 |
Start with the first chapter |
| 10077 |
|
| 10078 |
|
| 10079 |
.SS extractor.[manga-extractor].page-reverse |
| 10080 |
.IP "Type:" 6 |
| 10081 |
\f[I]bool\f[] |
| 10082 |
|
| 10083 |
.IP "Default:" 9 |
| 10084 |
\f[I]false\f[] |
| 10085 |
|
| 10086 |
.IP "Description:" 4 |
| 10087 |
Download manga chapter pages in reverse order. |
| 10088 |
|
| 10089 |
|
| 10090 |
.SH DOWNLOADER OPTIONS |
| 10091 |
.SS downloader.*.enabled |
| 10092 |
.IP "Type:" 6 |
| 10093 |
\f[I]bool\f[] |
| 10094 |
|
| 10095 |
.IP "Default:" 9 |
| 10096 |
\f[I]true\f[] |
| 10097 |
|
| 10098 |
.IP "Description:" 4 |
| 10099 |
Enable/Disable this downloader module. |
| 10100 |
|
| 10101 |
|
| 10102 |
.SS downloader.*.filesize-min & .filesize-max |
| 10103 |
.IP "Type:" 6 |
| 10104 |
\f[I]string\f[] |
| 10105 |
|
| 10106 |
.IP "Default:" 9 |
| 10107 |
\f[I]null\f[] |
| 10108 |
|
| 10109 |
.IP "Example:" 4 |
| 10110 |
"32000", "500k", "2.5M" |
| 10111 |
|
| 10112 |
.IP "Description:" 4 |
| 10113 |
Minimum/Maximum allowed file size in bytes. |
| 10114 |
Any file smaller/larger than this limit will not be downloaded. |
| 10115 |
|
| 10116 |
Possible values are valid integer or floating-point numbers |
| 10117 |
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[]. |
| 10118 |
These suffixes are case-insensitive. |
| 10119 |
|
| 10120 |
|
| 10121 |
.SS downloader.*.mtime |
| 10122 |
.IP "Type:" 6 |
| 10123 |
\f[I]bool\f[] |
| 10124 |
|
| 10125 |
.IP "Default:" 9 |
| 10126 |
\f[I]true\f[] |
| 10127 |
|
| 10128 |
.IP "Description:" 4 |
| 10129 |
Use \f[I]Last-Modified\f[] HTTP response headers |
| 10130 |
to set file modification times. |
| 10131 |
|
| 10132 |
|
| 10133 |
.SS downloader.*.part |
| 10134 |
.IP "Type:" 6 |
| 10135 |
\f[I]bool\f[] |
| 10136 |
|
| 10137 |
.IP "Default:" 9 |
| 10138 |
\f[I]true\f[] |
| 10139 |
|
| 10140 |
.IP "Description:" 4 |
| 10141 |
Controls the use of \f[I].part\f[] files during file downloads. |
| 10142 |
|
| 10143 |
\f[I]true\f[] |
| 10144 |
Write downloaded data into \f[I].part\f[] files and rename |
| 10145 |
them upon download completion. This mode additionally supports |
| 10146 |
resuming incomplete downloads. |
| 10147 |
\f[I]false\f[] |
| 10148 |
Do not use \f[I].part\f[] files and write data directly |
| 10149 |
into the actual output files. |
| 10150 |
|
| 10151 |
|
| 10152 |
.SS downloader.*.part-directory |
| 10153 |
.IP "Type:" 6 |
| 10154 |
.br |
| 10155 |
* \f[I]Path\f[] |
| 10156 |
.br |
| 10157 |
* \f[I]object\f[] (\f[I]Condition\f[] → \f[I]Path\f[]) |
| 10158 |
|
| 10159 |
.IP "Default:" 9 |
| 10160 |
\f[I]null\f[] |
| 10161 |
|
| 10162 |
.IP "Example:" 4 |
| 10163 |
.. code:: json |
| 10164 |
|
| 10165 |
"/tmp/.gdl" |
| 10166 |
|
| 10167 |
.. code:: json |
| 10168 |
|
| 10169 |
{ |
| 10170 |
"size > 100000": "~/.gdl/part", |
| 10171 |
"duration" : "/tmp/.gdl/video", |
| 10172 |
} |
| 10173 |
|
| 10174 |
|
| 10175 |
.IP "Description:" 4 |
| 10176 |
Alternate location(s) for \f[I].part\f[] files. |
| 10177 |
|
| 10178 |
.IP "Note:" 4 |
| 10179 |
If this value is \f[I]null\f[] or no \f[I]Conditions\f[] apply, |
| 10180 |
\f[I].part\f[] files are stored alongside the actual output files. |
| 10181 |
|
| 10182 |
For a single \f[I]Path\f[], missing directories will be created as needed |
| 10183 |
|
| 10184 |
|
| 10185 |
.SS downloader.*.progress |
| 10186 |
.IP "Type:" 6 |
| 10187 |
\f[I]float\f[] |
| 10188 |
|
| 10189 |
.IP "Default:" 9 |
| 10190 |
\f[I]3.0\f[] |
| 10191 |
|
| 10192 |
.IP "Description:" 4 |
| 10193 |
Number of seconds until a download progress indicator |
| 10194 |
for the current download is displayed. |
| 10195 |
|
| 10196 |
Set this option to \f[I]null\f[] to disable this indicator. |
| 10197 |
|
| 10198 |
|
| 10199 |
.SS downloader.*.rate |
| 10200 |
.IP "Type:" 6 |
| 10201 |
.br |
| 10202 |
* \f[I]string\f[] |
| 10203 |
.br |
| 10204 |
* \f[I]list\f[] with 2 \f[I]strings\f[] |
| 10205 |
|
| 10206 |
.IP "Default:" 9 |
| 10207 |
\f[I]null\f[] |
| 10208 |
|
| 10209 |
.IP "Example:" 4 |
| 10210 |
.br |
| 10211 |
* "32000" |
| 10212 |
.br |
| 10213 |
* "500k" |
| 10214 |
.br |
| 10215 |
* "1M - 2.5M" |
| 10216 |
.br |
| 10217 |
* ["1M", "2.5M"] |
| 10218 |
|
| 10219 |
.IP "Description:" 4 |
| 10220 |
Maximum download rate in bytes per second. |
| 10221 |
|
| 10222 |
Possible values are valid integer or floating-point numbers |
| 10223 |
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[]. |
| 10224 |
These suffixes are case-insensitive. |
| 10225 |
|
| 10226 |
If given as a range, the maximum download rate |
| 10227 |
will be randomly chosen before each download. |
| 10228 |
(see \f[I]random.randint()\f[]) |
| 10229 |
|
| 10230 |
|
| 10231 |
.SS downloader.*.retries |
| 10232 |
.IP "Type:" 6 |
| 10233 |
\f[I]integer\f[] |
| 10234 |
|
| 10235 |
.IP "Default:" 9 |
| 10236 |
\f[I]extractor.*.retries\f[] |
| 10237 |
|
| 10238 |
.IP "Description:" 4 |
| 10239 |
Maximum number of retries during file downloads, |
| 10240 |
or \f[I]-1\f[] for infinite retries. |
| 10241 |
|
| 10242 |
|
| 10243 |
.SS downloader.*.timeout |
| 10244 |
.IP "Type:" 6 |
| 10245 |
\f[I]float\f[] |
| 10246 |
|
| 10247 |
.IP "Default:" 9 |
| 10248 |
\f[I]extractor.*.timeout\f[] |
| 10249 |
|
| 10250 |
.IP "Description:" 4 |
| 10251 |
Connection timeout during file downloads. |
| 10252 |
|
| 10253 |
|
| 10254 |
.SS downloader.*.verify |
| 10255 |
.IP "Type:" 6 |
| 10256 |
.br |
| 10257 |
* \f[I]bool\f[] |
| 10258 |
.br |
| 10259 |
* \f[I]string\f[] |
| 10260 |
|
| 10261 |
.IP "Default:" 9 |
| 10262 |
\f[I]extractor.*.verify\f[] |
| 10263 |
|
| 10264 |
.IP "Description:" 4 |
| 10265 |
Certificate validation during file downloads. |
| 10266 |
|
| 10267 |
|
| 10268 |
.SS downloader.*.proxy |
| 10269 |
.IP "Type:" 6 |
| 10270 |
.br |
| 10271 |
* \f[I]string\f[] |
| 10272 |
.br |
| 10273 |
* \f[I]object\f[] (scheme → proxy) |
| 10274 |
|
| 10275 |
.IP "Default:" 9 |
| 10276 |
\f[I]extractor.*.proxy\f[] |
| 10277 |
|
| 10278 |
.IP "Description:" 4 |
| 10279 |
Proxy server used for file downloads. |
| 10280 |
|
| 10281 |
Disable the use of a proxy for file downloads |
| 10282 |
by explicitly setting this option to \f[I]null\f[]. |
| 10283 |
|
| 10284 |
|
| 10285 |
.SS downloader.http.adjust-extensions |
| 10286 |
.IP "Type:" 6 |
| 10287 |
\f[I]bool\f[] |
| 10288 |
|
| 10289 |
.IP "Default:" 9 |
| 10290 |
\f[I]true\f[] |
| 10291 |
|
| 10292 |
.IP "Description:" 4 |
| 10293 |
Check file headers of downloaded files |
| 10294 |
and adjust their filename extensions if they do not match. |
| 10295 |
|
| 10296 |
For example, this will change the filename extension (\f[I]{extension}\f[]) |
| 10297 |
of a file called \f[I]example.png\f[] from \f[I]png\f[] to \f[I]jpg\f[] when said file |
| 10298 |
contains JPEG/JFIF data. |
| 10299 |
|
| 10300 |
|
| 10301 |
.SS downloader.http.consume-content |
| 10302 |
.IP "Type:" 6 |
| 10303 |
\f[I]bool\f[] |
| 10304 |
|
| 10305 |
.IP "Default:" 9 |
| 10306 |
\f[I]false\f[] |
| 10307 |
|
| 10308 |
.IP "Description:" 4 |
| 10309 |
Controls the behavior when an HTTP response is considered |
| 10310 |
unsuccessful |
| 10311 |
|
| 10312 |
If the value is \f[I]true\f[], consume the response body. This |
| 10313 |
avoids closing the connection and therefore improves connection |
| 10314 |
reuse. |
| 10315 |
|
| 10316 |
If the value is \f[I]false\f[], immediately close the connection |
| 10317 |
without reading the response. This can be useful if the server |
| 10318 |
is known to send large bodies for error responses. |
| 10319 |
|
| 10320 |
|
| 10321 |
.SS downloader.http.chunk-size |
| 10322 |
.IP "Type:" 6 |
| 10323 |
.br |
| 10324 |
* \f[I]integer\f[] |
| 10325 |
.br |
| 10326 |
* \f[I]string\f[] |
| 10327 |
|
| 10328 |
.IP "Default:" 9 |
| 10329 |
\f[I]32768\f[] |
| 10330 |
|
| 10331 |
.IP "Example:" 4 |
| 10332 |
"50k", "0.8M" |
| 10333 |
|
| 10334 |
.IP "Description:" 4 |
| 10335 |
Number of bytes per downloaded chunk. |
| 10336 |
|
| 10337 |
Possible values are integer numbers |
| 10338 |
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[]. |
| 10339 |
These suffixes are case-insensitive. |
| 10340 |
|
| 10341 |
|
| 10342 |
.SS downloader.http.headers |
| 10343 |
.IP "Type:" 6 |
| 10344 |
\f[I]object\f[] (name → value) |
| 10345 |
|
| 10346 |
.IP "Example:" 4 |
| 10347 |
{"Accept": "image/webp,*/*", "Referer": "https://example.org/"} |
| 10348 |
|
| 10349 |
.IP "Description:" 4 |
| 10350 |
Additional HTTP headers to send when downloading files, |
| 10351 |
|
| 10352 |
|
| 10353 |
.SS downloader.http.retry-codes |
| 10354 |
.IP "Type:" 6 |
| 10355 |
\f[I]list\f[] of \f[I]integers\f[] |
| 10356 |
|
| 10357 |
.IP "Default:" 9 |
| 10358 |
\f[I]extractor.*.retry-codes\f[] |
| 10359 |
|
| 10360 |
.IP "Description:" 4 |
| 10361 |
Additional \f[I]HTTP response status codes\f[] |
| 10362 |
to retry a download on. |
| 10363 |
|
| 10364 |
Codes \f[I]200\f[], \f[I]206\f[], and \f[I]416\f[] (when resuming a \f[I]partial\f[] |
| 10365 |
download) will never be retried and always count as success, |
| 10366 |
regardless of this option. |
| 10367 |
|
| 10368 |
\f[I]5xx\f[] codes (server error responses) will always be retried, |
| 10369 |
regardless of this option. |
| 10370 |
|
| 10371 |
|
| 10372 |
.SS downloader.http.sleep-429 |
| 10373 |
.IP "Type:" 6 |
| 10374 |
\f[I]Duration\f[] |
| 10375 |
|
| 10376 |
.IP "Default:" 9 |
| 10377 |
\f[I]extractor.*.sleep-429\f[] |
| 10378 |
|
| 10379 |
.IP "Description:" 4 |
| 10380 |
Number of seconds to sleep when receiving a 429 Too Many Requests |
| 10381 |
response before \f[I]retrying\f[] the request. |
| 10382 |
|
| 10383 |
.IP "Note:" 4 |
| 10384 |
Requires |
| 10385 |
\f[I]retry-codes\f[] |
| 10386 |
to include \f[I]429\f[]. |
| 10387 |
|
| 10388 |
|
| 10389 |
.SS downloader.http.validate |
| 10390 |
.IP "Type:" 6 |
| 10391 |
\f[I]bool\f[] |
| 10392 |
|
| 10393 |
.IP "Default:" 9 |
| 10394 |
\f[I]true\f[] |
| 10395 |
|
| 10396 |
.IP "Description:" 4 |
| 10397 |
Check for invalid responses. |
| 10398 |
|
| 10399 |
Fail a download when a file does not pass |
| 10400 |
instead of downloading a potentially broken file. |
| 10401 |
|
| 10402 |
|
| 10403 |
.SS downloader.http.validate-html |
| 10404 |
.IP "Type:" 6 |
| 10405 |
\f[I]bool\f[] |
| 10406 |
|
| 10407 |
.IP "Default:" 9 |
| 10408 |
\f[I]true\f[] |
| 10409 |
|
| 10410 |
.IP "Description:" 4 |
| 10411 |
Check for unexpected HTML responses. |
| 10412 |
|
| 10413 |
Fail file downloads with a \f[I]text/html\f[] |
| 10414 |
\f[I]Content-Type header\f[] |
| 10415 |
when expecting a media file instead. |
| 10416 |
|
| 10417 |
|
| 10418 |
.SS downloader.ytdl.cmdline-args |
| 10419 |
.IP "Type:" 6 |
| 10420 |
.br |
| 10421 |
* \f[I]string\f[] |
| 10422 |
.br |
| 10423 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 10424 |
|
| 10425 |
.IP "Example:" 4 |
| 10426 |
.br |
| 10427 |
* "--quiet --write-sub --merge-output-format mkv" |
| 10428 |
.br |
| 10429 |
* ["--quiet", "--write-sub", "--merge-output-format", "mkv"] |
| 10430 |
|
| 10431 |
.IP "Description:" 4 |
| 10432 |
Additional \f[I]ytdl\f[] options specified as command-line arguments. |
| 10433 |
|
| 10434 |
See |
| 10435 |
\f[I]yt-dlp options\f[] |
| 10436 |
/ |
| 10437 |
\f[I]youtube-dl options\f[] |
| 10438 |
|
| 10439 |
|
| 10440 |
.SS downloader.ytdl.config-file |
| 10441 |
.IP "Type:" 6 |
| 10442 |
\f[I]Path\f[] |
| 10443 |
|
| 10444 |
.IP "Example:" 4 |
| 10445 |
"~/.config/yt-dlp/config" |
| 10446 |
|
| 10447 |
.IP "Description:" 4 |
| 10448 |
Location of a \f[I]ytdl\f[] configuration file to load options from. |
| 10449 |
|
| 10450 |
|
| 10451 |
.SS downloader.ytdl.deprecations |
| 10452 |
.IP "Type:" 6 |
| 10453 |
´´bool´´ |
| 10454 |
|
| 10455 |
.IP "Default:" 9 |
| 10456 |
\f[I]false\f[] |
| 10457 |
|
| 10458 |
.IP "Description:" 4 |
| 10459 |
Allow \f[I]ytdl\f[] to warn about deprecated options and features. |
| 10460 |
|
| 10461 |
|
| 10462 |
.SS downloader.ytdl.format |
| 10463 |
.IP "Type:" 6 |
| 10464 |
\f[I]string\f[] |
| 10465 |
|
| 10466 |
.IP "Default:" 9 |
| 10467 |
Default of the \f[I]ytdl\f[] \f[I]module\f[] used. |
| 10468 |
.br |
| 10469 |
(\f[I]"bestvideo*+bestaudio/best"\f[] for \f[I]yt_dlp\f[], |
| 10470 |
.br |
| 10471 |
\f[I]"bestvideo+bestaudio/best"\f[] for \f[I]youtube_dl\f[]) |
| 10472 |
|
| 10473 |
.IP "Description:" 4 |
| 10474 |
\f[I]ytdl\f[] format selection string. |
| 10475 |
|
| 10476 |
See |
| 10477 |
\f[I]yt-dlp format selection\f[] |
| 10478 |
/ |
| 10479 |
\f[I]youtube-dl format selection\f[] |
| 10480 |
|
| 10481 |
|
| 10482 |
.SS downloader.ytdl.forward-cookies |
| 10483 |
.IP "Type:" 6 |
| 10484 |
\f[I]bool\f[] |
| 10485 |
|
| 10486 |
.IP "Default:" 9 |
| 10487 |
\f[I]true\f[] |
| 10488 |
|
| 10489 |
.IP "Description:" 4 |
| 10490 |
Forward gallery-dl's cookies to \f[I]ytdl\f[]. |
| 10491 |
|
| 10492 |
|
| 10493 |
.SS downloader.ytdl.logging |
| 10494 |
.IP "Type:" 6 |
| 10495 |
\f[I]bool\f[] |
| 10496 |
|
| 10497 |
.IP "Default:" 9 |
| 10498 |
\f[I]true\f[] |
| 10499 |
|
| 10500 |
.IP "Description:" 4 |
| 10501 |
Route \f[I]ytdl's\f[] output through gallery-dl's logging system. |
| 10502 |
Otherwise it will be written directly to stdout/stderr. |
| 10503 |
|
| 10504 |
.IP "Note:" 4 |
| 10505 |
Set \f[I]quiet\f[] and \f[I]no_warnings\f[] in |
| 10506 |
\f[I]downloader.ytdl.raw-options\f[] to \f[I]true\f[] to suppress all output. |
| 10507 |
|
| 10508 |
|
| 10509 |
.SS downloader.ytdl.module |
| 10510 |
.IP "Type:" 6 |
| 10511 |
\f[I]Module\f[] |
| 10512 |
|
| 10513 |
.IP "Default:" 9 |
| 10514 |
\f[I]null\f[] |
| 10515 |
|
| 10516 |
.IP "Example:" 4 |
| 10517 |
.br |
| 10518 |
* "yt-dlp" |
| 10519 |
.br |
| 10520 |
* "/home/user/.local/lib/python3.13/site-packages/youtube_dl" |
| 10521 |
|
| 10522 |
.IP "Description:" 4 |
| 10523 |
The \f[I]ytdl\f[] \f[I]Module\f[] to import. |
| 10524 |
|
| 10525 |
Setting this to \f[I]null\f[] will try to import \f[I]"yt_dlp"\f[] |
| 10526 |
followed by \f[I]"youtube_dl"\f[] as fallback. |
| 10527 |
|
| 10528 |
|
| 10529 |
.SS downloader.ytdl.outtmpl |
| 10530 |
.IP "Type:" 6 |
| 10531 |
\f[I]string\f[] |
| 10532 |
|
| 10533 |
.IP "Default:" 9 |
| 10534 |
\f[I]null\f[] |
| 10535 |
|
| 10536 |
.IP "Description:" 4 |
| 10537 |
The Output Template |
| 10538 |
used to generate filenames for files downloaded with \f[I]ytdl\f[]. |
| 10539 |
|
| 10540 |
See |
| 10541 |
\f[I]yt-dlp output template\f[] |
| 10542 |
/ |
| 10543 |
\f[I]youtube-dl output template\f[]. |
| 10544 |
|
| 10545 |
.IP "Special Values:" 4 |
| 10546 |
\f[I]null\f[] |
| 10547 |
generate filenames with \f[I]extractor.*.filename\f[] |
| 10548 |
\f[I]"default"\f[] |
| 10549 |
use \f[I]ytdl's\f[] default, currently |
| 10550 |
\f[I]"%(title)s [%(id)s].%(ext)s"\f[] for \f[I]yt-dlp\f[] / |
| 10551 |
\f[I]"%(title)s-%(id)s.%(ext)s"\f[] for \f[I]youtube-dl\f[] |
| 10552 |
|
| 10553 |
.IP "Note:" 4 |
| 10554 |
An output template other than \f[I]null\f[] might |
| 10555 |
cause unexpected results in combination with certain options |
| 10556 |
(e.g. \f[I]"skip": "enumerate"\f[]) |
| 10557 |
|
| 10558 |
|
| 10559 |
.SS downloader.ytdl.raw-options |
| 10560 |
.IP "Type:" 6 |
| 10561 |
\f[I]object\f[] (name → value) |
| 10562 |
|
| 10563 |
.IP "Example:" 4 |
| 10564 |
.. code:: json |
| 10565 |
|
| 10566 |
{ |
| 10567 |
"quiet": true, |
| 10568 |
"writesubtitles": true, |
| 10569 |
"merge_output_format": "mkv" |
| 10570 |
} |
| 10571 |
|
| 10572 |
|
| 10573 |
.IP "Description:" 4 |
| 10574 |
Additional options passed directly to the \f[I]YoutubeDL\f[] constructor. |
| 10575 |
|
| 10576 |
Available options can be found in |
| 10577 |
\f[I]yt-dlp's docstrings\f[] |
| 10578 |
/ |
| 10579 |
\f[I]youtube-dl's docstrings\f[] |
| 10580 |
|
| 10581 |
|
| 10582 |
.SH OUTPUT OPTIONS |
| 10583 |
.SS output.mode |
| 10584 |
.IP "Type:" 6 |
| 10585 |
.br |
| 10586 |
* \f[I]string\f[] |
| 10587 |
.br |
| 10588 |
* \f[I]object\f[] (key → format string) |
| 10589 |
|
| 10590 |
.IP "Default:" 9 |
| 10591 |
\f[I]"auto"\f[] |
| 10592 |
|
| 10593 |
.IP "Description:" 4 |
| 10594 |
Controls the output string format and status indicators. |
| 10595 |
|
| 10596 |
\f[I]"null"\f[] |
| 10597 |
No output |
| 10598 |
\f[I]"pipe"\f[] |
| 10599 |
Suitable for piping to other processes or files |
| 10600 |
\f[I]"terminal"\f[] |
| 10601 |
Suitable for the standard Windows console |
| 10602 |
\f[I]"color"\f[] |
| 10603 |
Suitable for terminals that understand ANSI escape codes and colors |
| 10604 |
\f[I]"auto"\f[] |
| 10605 |
\f[I]"pipe"\f[] if not on a TTY, |
| 10606 |
\f[I]"terminal"\f[] on Windows with \f[I]output.ansi\f[] disabled, |
| 10607 |
\f[I]"color"\f[] otherwise. |
| 10608 |
|
| 10609 |
It is possible to use custom output format strings |
| 10610 |
.br |
| 10611 |
by setting this option to an \f[I]object\f[] and specifying |
| 10612 |
\f[I]start\f[], \f[I]success\f[], \f[I]skip\f[], \f[I]progress\f[], and \f[I]progress-total\f[]. |
| 10613 |
.br |
| 10614 |
|
| 10615 |
For example, the following will replicate the same output as \f[I]mode: color\f[]: |
| 10616 |
|
| 10617 |
.. code:: json |
| 10618 |
|
| 10619 |
{ |
| 10620 |
"start" : "{}", |
| 10621 |
"success": "\\r\\u001b[1;32m{}\\u001b[0m\\n", |
| 10622 |
"skip" : "\\u001b[2m{}\\u001b[0m\\n", |
| 10623 |
"progress" : "\\r{0:>7}B {1:>7}B/s ", |
| 10624 |
"progress-total": "\\r{3:>3}% {0:>7}B {1:>7}B/s " |
| 10625 |
} |
| 10626 |
|
| 10627 |
\f[I]start\f[], \f[I]success\f[], and \f[I]skip\f[] are used to output the current |
| 10628 |
filename, where \f[I]{}\f[] or \f[I]{0}\f[] is replaced with said filename. |
| 10629 |
If a given format string contains printable characters other than that, |
| 10630 |
their number needs to be specified as \f[I][<number>, <format string>]\f[] |
| 10631 |
to get the correct results for \f[I]output.shorten\f[]. For example |
| 10632 |
|
| 10633 |
.. code:: json |
| 10634 |
|
| 10635 |
"start" : [12, "Downloading {}"] |
| 10636 |
|
| 10637 |
\f[I]progress\f[] and \f[I]progress-total\f[] are used when displaying the |
| 10638 |
.br |
| 10639 |
\f[I]download progress indicator\f[], |
| 10640 |
\f[I]progress\f[] when the total number of bytes to download is unknown, |
| 10641 |
.br |
| 10642 |
\f[I]progress-total\f[] otherwise. |
| 10643 |
|
| 10644 |
For these format strings |
| 10645 |
|
| 10646 |
.br |
| 10647 |
* \f[I]{0}\f[] is number of bytes downloaded |
| 10648 |
.br |
| 10649 |
* \f[I]{1}\f[] is number of downloaded bytes per second |
| 10650 |
.br |
| 10651 |
* \f[I]{2}\f[] is total number of bytes |
| 10652 |
.br |
| 10653 |
* \f[I]{3}\f[] is percent of bytes downloaded to total bytes |
| 10654 |
|
| 10655 |
|
| 10656 |
.SS output.stdout & .stdin & .stderr |
| 10657 |
.IP "Type:" 6 |
| 10658 |
.br |
| 10659 |
* \f[I]string\f[] |
| 10660 |
.br |
| 10661 |
* \f[I]object\f[] |
| 10662 |
|
| 10663 |
.IP "Example:" 4 |
| 10664 |
.. code:: json |
| 10665 |
|
| 10666 |
"utf-8" |
| 10667 |
|
| 10668 |
.. code:: json |
| 10669 |
|
| 10670 |
{ |
| 10671 |
"encoding": "utf-8", |
| 10672 |
"errors": "replace", |
| 10673 |
"line_buffering": true |
| 10674 |
} |
| 10675 |
|
| 10676 |
|
| 10677 |
.IP "Description:" 4 |
| 10678 |
\f[I]Reconfigure\f[] |
| 10679 |
a \f[I]standard stream\f[]. |
| 10680 |
|
| 10681 |
Possible options are |
| 10682 |
|
| 10683 |
.br |
| 10684 |
* \f[I]encoding\f[] |
| 10685 |
.br |
| 10686 |
* \f[I]errors\f[] |
| 10687 |
.br |
| 10688 |
* \f[I]newline\f[] |
| 10689 |
.br |
| 10690 |
* \f[I]line_buffering\f[] |
| 10691 |
.br |
| 10692 |
* \f[I]write_through\f[] |
| 10693 |
|
| 10694 |
When this option is specified as a simple \f[I]string\f[], |
| 10695 |
it is interpreted as \f[I]{"encoding": "<string-value>", "errors": "replace"}\f[] |
| 10696 |
|
| 10697 |
.IP "Note:" 4 |
| 10698 |
\f[I]errors\f[] always defaults to \f[I]"replace"\f[] |
| 10699 |
|
| 10700 |
|
| 10701 |
.SS output.shorten |
| 10702 |
.IP "Type:" 6 |
| 10703 |
\f[I]bool\f[] |
| 10704 |
|
| 10705 |
.IP "Default:" 9 |
| 10706 |
\f[I]true\f[] |
| 10707 |
|
| 10708 |
.IP "Description:" 4 |
| 10709 |
Controls whether the output strings should be shortened to fit |
| 10710 |
on one console line. |
| 10711 |
|
| 10712 |
Set this option to \f[I]"eaw"\f[] (East Asian Width) |
| 10713 |
to display the correct result for east-asian characters |
| 10714 |
with a display width greater than 1. |
| 10715 |
|
| 10716 |
|
| 10717 |
.SS output.colors |
| 10718 |
.IP "Type:" 6 |
| 10719 |
.br |
| 10720 |
* \f[I]bool\f[] |
| 10721 |
.br |
| 10722 |
* \f[I]object\f[] (key → ANSI color) |
| 10723 |
|
| 10724 |
.IP "Default:" 9 |
| 10725 |
.. code:: json |
| 10726 |
|
| 10727 |
{ |
| 10728 |
"success": "1;32", |
| 10729 |
"skip" : "2", |
| 10730 |
"debug" : "0;37", |
| 10731 |
"info" : "1;37", |
| 10732 |
"warning": "1;33", |
| 10733 |
"error" : "1;31" |
| 10734 |
} |
| 10735 |
|
| 10736 |
|
| 10737 |
.IP "Description:" 4 |
| 10738 |
Controls the |
| 10739 |
\f[I]ANSI colors\f[] |
| 10740 |
used for various outputs. |
| 10741 |
|
| 10742 |
\f[I]true\f[] |
| 10743 |
Use default ANSI colors. |
| 10744 |
\f[I]false\f[] |
| 10745 |
Disable ANSI colors. |
| 10746 |
\f[I]object\f[] |
| 10747 |
Use custom ANSI colors. |
| 10748 |
|
| 10749 |
Keys for \f[I]mode: color\f[] |
| 10750 |
|
| 10751 |
.br |
| 10752 |
* \f[I]success\f[]: successfully downloaded files |
| 10753 |
.br |
| 10754 |
* \f[I]skip\f[]: skipped files |
| 10755 |
|
| 10756 |
Keys for Logging Messages |
| 10757 |
|
| 10758 |
.br |
| 10759 |
* \f[I]debug\f[]: debug logging messages |
| 10760 |
.br |
| 10761 |
* \f[I]info\f[]: info logging messages |
| 10762 |
.br |
| 10763 |
* \f[I]warning\f[]: warning logging messages |
| 10764 |
.br |
| 10765 |
* \f[I]error\f[]: error logging messages |
| 10766 |
|
| 10767 |
|
| 10768 |
.SS output.ansi |
| 10769 |
.IP "Type:" 6 |
| 10770 |
\f[I]bool\f[] |
| 10771 |
|
| 10772 |
.IP "Default:" 9 |
| 10773 |
\f[I]true\f[] |
| 10774 |
|
| 10775 |
.IP "Description:" 4 |
| 10776 |
On Windows, enable ANSI escape sequences and colored output |
| 10777 |
.br |
| 10778 |
by setting the \f[I]ENABLE_VIRTUAL_TERMINAL_PROCESSING\f[] flag for stdout and stderr. |
| 10779 |
.br |
| 10780 |
|
| 10781 |
.IP "Note:" 4 |
| 10782 |
To disable colored output, set \f[I]output.colors\f[] to \f[I]false\f[]. |
| 10783 |
|
| 10784 |
|
| 10785 |
.SS output.skip |
| 10786 |
.IP "Type:" 6 |
| 10787 |
\f[I]bool\f[] |
| 10788 |
|
| 10789 |
.IP "Default:" 9 |
| 10790 |
\f[I]true\f[] |
| 10791 |
|
| 10792 |
.IP "Description:" 4 |
| 10793 |
Show skipped file downloads. |
| 10794 |
|
| 10795 |
|
| 10796 |
.SS output.fallback |
| 10797 |
.IP "Type:" 6 |
| 10798 |
\f[I]bool\f[] |
| 10799 |
|
| 10800 |
.IP "Default:" 9 |
| 10801 |
\f[I]true\f[] |
| 10802 |
|
| 10803 |
.IP "Description:" 4 |
| 10804 |
Include fallback URLs in the output of \f[I]-g/--get-urls\f[]. |
| 10805 |
|
| 10806 |
|
| 10807 |
.SS output.jsonl |
| 10808 |
.IP "Type:" 6 |
| 10809 |
\f[I]bool\f[] |
| 10810 |
|
| 10811 |
.IP "Default:" 9 |
| 10812 |
\f[I]false\f[] |
| 10813 |
|
| 10814 |
.IP "Description:" 4 |
| 10815 |
Output \f[I]-j/--dump-json\f[] & \f[I]-J/--resolve-json\f[] |
| 10816 |
data in \f[I]JSON Lines\f[] format. |
| 10817 |
|
| 10818 |
|
| 10819 |
.SS output.private |
| 10820 |
.IP "Type:" 6 |
| 10821 |
\f[I]bool\f[] |
| 10822 |
|
| 10823 |
.IP "Default:" 9 |
| 10824 |
\f[I]false\f[] |
| 10825 |
|
| 10826 |
.IP "Description:" 4 |
| 10827 |
Include private fields, |
| 10828 |
i.e. fields whose name starts with an underscore, |
| 10829 |
in the output of \f[I]-K/--list-keywords\f[] and \f[I]-j/--dump-json\f[]. |
| 10830 |
|
| 10831 |
|
| 10832 |
.SS output.progress |
| 10833 |
.IP "Type:" 6 |
| 10834 |
.br |
| 10835 |
* \f[I]bool\f[] |
| 10836 |
.br |
| 10837 |
* \f[I]string\f[] |
| 10838 |
|
| 10839 |
.IP "Default:" 9 |
| 10840 |
\f[I]true\f[] |
| 10841 |
|
| 10842 |
.IP "Description:" 4 |
| 10843 |
Controls the progress indicator when *gallery-dl* is run with |
| 10844 |
multiple URLs as arguments. |
| 10845 |
|
| 10846 |
\f[I]true\f[] |
| 10847 |
Show the default progress indicator |
| 10848 |
(\f[I]"[{current}/{total}] {url}"\f[]) |
| 10849 |
\f[I]false\f[] |
| 10850 |
Do not show any progress indicator |
| 10851 |
Any \f[I]string\f[] |
| 10852 |
Show the progress indicator using this |
| 10853 |
as a custom \f[I]format string\f[]. Possible replacement keys are |
| 10854 |
\f[I]current\f[], \f[I]total\f[] and \f[I]url\f[]. |
| 10855 |
|
| 10856 |
|
| 10857 |
.SS output.log |
| 10858 |
.IP "Type:" 6 |
| 10859 |
.br |
| 10860 |
* \f[I]Format String\f[] |
| 10861 |
.br |
| 10862 |
* \f[I]Logging Configuration\f[] |
| 10863 |
|
| 10864 |
.IP "Default:" 9 |
| 10865 |
\f[I]"[{name}][{levelname}] {message}"\f[] |
| 10866 |
|
| 10867 |
.IP "Description:" 4 |
| 10868 |
Configuration for logging output to stderr. |
| 10869 |
|
| 10870 |
|
| 10871 |
.SS output.logfile |
| 10872 |
.IP "Type:" 6 |
| 10873 |
.br |
| 10874 |
* \f[I]Path\f[] |
| 10875 |
.br |
| 10876 |
* \f[I]Logging Configuration\f[] |
| 10877 |
|
| 10878 |
.IP "Description:" 4 |
| 10879 |
File to write logging output to. |
| 10880 |
|
| 10881 |
|
| 10882 |
.SS output.unsupportedfile |
| 10883 |
.IP "Type:" 6 |
| 10884 |
.br |
| 10885 |
* \f[I]Path\f[] |
| 10886 |
.br |
| 10887 |
* \f[I]Logging Configuration\f[] |
| 10888 |
|
| 10889 |
.IP "Description:" 4 |
| 10890 |
File to write external URLs unsupported by *gallery-dl* to. |
| 10891 |
|
| 10892 |
|
| 10893 |
.SS output.errorfile |
| 10894 |
.IP "Type:" 6 |
| 10895 |
.br |
| 10896 |
* \f[I]Path\f[] |
| 10897 |
.br |
| 10898 |
* \f[I]Logging Configuration\f[] |
| 10899 |
|
| 10900 |
.IP "Description:" 4 |
| 10901 |
File to write input URLs which returned an error to. |
| 10902 |
|
| 10903 |
When combined with |
| 10904 |
\f[I]-I\f[]/\f[I]--input-file-comment\f[] or |
| 10905 |
\f[I]-x\f[]/\f[I]--input-file-delete\f[], |
| 10906 |
this option will cause *all* input URLs from these files |
| 10907 |
to be commented/deleted after processing them |
| 10908 |
and not just successful ones. |
| 10909 |
|
| 10910 |
|
| 10911 |
.SS output.num-to-str |
| 10912 |
.IP "Type:" 6 |
| 10913 |
\f[I]bool\f[] |
| 10914 |
|
| 10915 |
.IP "Default:" 9 |
| 10916 |
\f[I]false\f[] |
| 10917 |
|
| 10918 |
.IP "Description:" 4 |
| 10919 |
Convert numeric values (\f[I]integer\f[] or \f[I]float\f[]) to \f[I]string\f[] |
| 10920 |
before outputting them as JSON. |
| 10921 |
|
| 10922 |
|
| 10923 |
.SH POSTPROCESSOR OPTIONS |
| 10924 |
.SS actions.action |
| 10925 |
.IP "Type:" 6 |
| 10926 |
\f[I]Action(s)\f[] |
| 10927 |
|
| 10928 |
.IP "Description:" 4 |
| 10929 |
The \f[I]Action(s)\f[] to perform. |
| 10930 |
|
| 10931 |
.IP "Note:" 4 |
| 10932 |
This option can also be set as \f[I]mode\f[], |
| 10933 |
making it possible to use \f[I]"name": "actions/<action>@<event>"\f[] |
| 10934 |
|
| 10935 |
|
| 10936 |
.SS actions.event |
| 10937 |
.IP "Type:" 6 |
| 10938 |
.br |
| 10939 |
* \f[I]string\f[] |
| 10940 |
.br |
| 10941 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 10942 |
|
| 10943 |
.IP "Default:" 9 |
| 10944 |
\f[I]"prepare"\f[] |
| 10945 |
|
| 10946 |
.IP "Description:" 4 |
| 10947 |
The event(s) for which \f[I]actions.action\f[] is triggered. |
| 10948 |
|
| 10949 |
See \f[I]metadata.event\f[] for a list of available events. |
| 10950 |
|
| 10951 |
|
| 10952 |
.SS classify.mapping |
| 10953 |
.IP "Type:" 6 |
| 10954 |
\f[I]object\f[] (directory → extensions) |
| 10955 |
|
| 10956 |
.IP "Default:" 9 |
| 10957 |
.. code:: json |
| 10958 |
|
| 10959 |
{ |
| 10960 |
"Pictures" : ["jpg", "jpeg", "png", "gif", "bmp", "svg", "webp", |
| 10961 |
"avif", "heic", "heif", "ico", "psd"], |
| 10962 |
"Video" : ["flv", "ogv", "avi", "mp4", "mpg", "mpeg", "3gp", "mkv", |
| 10963 |
"webm", "vob", "wmv", "m4v", "mov"], |
| 10964 |
"Music" : ["mp3", "aac", "flac", "ogg", "wma", "m4a", "wav"], |
| 10965 |
"Archives" : ["zip", "rar", "7z", "tar", "gz", "bz2"], |
| 10966 |
"Documents": ["txt", "pdf"] |
| 10967 |
} |
| 10968 |
|
| 10969 |
|
| 10970 |
.IP "Description:" 4 |
| 10971 |
A mapping from directory names to filename extensions that should |
| 10972 |
be stored in them. |
| 10973 |
|
| 10974 |
Files with an extension not listed will be ignored and stored |
| 10975 |
in their default location. |
| 10976 |
|
| 10977 |
|
| 10978 |
.SS compare.action |
| 10979 |
.IP "Type:" 6 |
| 10980 |
\f[I]string\f[] |
| 10981 |
|
| 10982 |
.IP "Default:" 9 |
| 10983 |
\f[I]"replace"\f[] |
| 10984 |
|
| 10985 |
.IP "Description:" 4 |
| 10986 |
The action to take when files do **not** compare as equal. |
| 10987 |
|
| 10988 |
\f[I]"replace"\f[] |
| 10989 |
Replace/Overwrite the old version with the new one |
| 10990 |
\f[I]"enumerate"\f[] |
| 10991 |
Add an enumeration index to the filename of the new |
| 10992 |
version like \f[I]skip = "enumerate"\f[] |
| 10993 |
|
| 10994 |
|
| 10995 |
.SS compare.equal |
| 10996 |
.IP "Type:" 6 |
| 10997 |
\f[I]string\f[] |
| 10998 |
|
| 10999 |
.IP "Default:" 9 |
| 11000 |
\f[I]"null"\f[] |
| 11001 |
|
| 11002 |
.IP "Description:" 4 |
| 11003 |
The action to take when files do compare as equal. |
| 11004 |
|
| 11005 |
\f[I]"abort:N"\f[] |
| 11006 |
Stop the current extractor run |
| 11007 |
after \f[I]N\f[] consecutive files compared as equal. |
| 11008 |
\f[I]"terminate:N"\f[] |
| 11009 |
Stop the current extractor run, |
| 11010 |
including parent extractors, |
| 11011 |
after \f[I]N\f[] consecutive files compared as equal. |
| 11012 |
\f[I]"exit:N"\f[] |
| 11013 |
Exit the program |
| 11014 |
after \f[I]N\f[] consecutive files compared as equal. |
| 11015 |
|
| 11016 |
|
| 11017 |
.SS compare.shallow |
| 11018 |
.IP "Type:" 6 |
| 11019 |
\f[I]bool\f[] |
| 11020 |
|
| 11021 |
.IP "Default:" 9 |
| 11022 |
\f[I]false\f[] |
| 11023 |
|
| 11024 |
.IP "Description:" 4 |
| 11025 |
Only compare file sizes. Do not read and compare their content. |
| 11026 |
|
| 11027 |
|
| 11028 |
.SS directory.event |
| 11029 |
.IP "Type:" 6 |
| 11030 |
.br |
| 11031 |
* \f[I]string\f[] |
| 11032 |
.br |
| 11033 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 11034 |
|
| 11035 |
.IP "Default:" 9 |
| 11036 |
\f[I]"prepare"\f[] |
| 11037 |
|
| 11038 |
.IP "Description:" 4 |
| 11039 |
The event(s) for which \f[I]directory\f[] \f[I]Format Strings\f[] are (re)evaluated. |
| 11040 |
|
| 11041 |
See \f[I]metadata.event\f[] for a list of available events. |
| 11042 |
|
| 11043 |
|
| 11044 |
.SS exec.archive |
| 11045 |
.IP "Type:" 6 |
| 11046 |
.br |
| 11047 |
* \f[I]string\f[] |
| 11048 |
.br |
| 11049 |
* \f[I]Path\f[] |
| 11050 |
|
| 11051 |
.IP "Description:" 4 |
| 11052 |
Database to store IDs of executed commands in, |
| 11053 |
similar to \f[I]extractor.*.archive\f[]. |
| 11054 |
|
| 11055 |
The following archive options are also supported: |
| 11056 |
|
| 11057 |
.br |
| 11058 |
* \f[I]archive-format\f[] |
| 11059 |
.br |
| 11060 |
* \f[I]archive-prefix\f[] |
| 11061 |
.br |
| 11062 |
* \f[I]archive-pragma\f[] |
| 11063 |
.br |
| 11064 |
* \f[I]archive-table \f[] |
| 11065 |
|
| 11066 |
|
| 11067 |
.SS exec.async |
| 11068 |
.IP "Type:" 6 |
| 11069 |
\f[I]bool\f[] |
| 11070 |
|
| 11071 |
.IP "Default:" 9 |
| 11072 |
\f[I]false\f[] |
| 11073 |
|
| 11074 |
.IP "Description:" 4 |
| 11075 |
Controls whether to wait for a subprocess to finish |
| 11076 |
or to let it run asynchronously. |
| 11077 |
|
| 11078 |
|
| 11079 |
.SS exec.command |
| 11080 |
.IP "Type:" 6 |
| 11081 |
.br |
| 11082 |
* \f[I]string\f[] |
| 11083 |
.br |
| 11084 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 11085 |
|
| 11086 |
.IP "Example:" 4 |
| 11087 |
.br |
| 11088 |
* "convert {} {}.png && rm {}" |
| 11089 |
.br |
| 11090 |
* ["echo", "{user[account]}", "{id}"] |
| 11091 |
|
| 11092 |
.IP "Description:" 4 |
| 11093 |
The command to run. |
| 11094 |
|
| 11095 |
.br |
| 11096 |
* If this is a \f[I]string\f[], it will be executed using the system's |
| 11097 |
shell, e.g. \f[I]/bin/sh\f[]. Any \f[I]{}\f[] will be replaced |
| 11098 |
with the full path of a file or target directory, depending on |
| 11099 |
\f[I]exec.event\f[] |
| 11100 |
|
| 11101 |
.br |
| 11102 |
* If this is a \f[I]list\f[], the first element specifies the program |
| 11103 |
name and any further elements its arguments. |
| 11104 |
|
| 11105 |
Each element of this list is evaluated as a \f[I]Format String\f[] using |
| 11106 |
the files' metadata as well as |
| 11107 |
\f[I]{_path}\f[], \f[I]{_temppath}\f[], \f[I]{_directory}\f[], and \f[I]{_filename}\f[]. |
| 11108 |
|
| 11109 |
|
| 11110 |
.SS exec.commands |
| 11111 |
.IP "Type:" 6 |
| 11112 |
\f[I]list\f[] of \f[I]commands\f[] |
| 11113 |
|
| 11114 |
.IP "Example:" 4 |
| 11115 |
.. code:: json |
| 11116 |
|
| 11117 |
[ |
| 11118 |
["echo", "{user[account]}", "{id}"] |
| 11119 |
["magick", "convert" "{_path}", "\\fF {_path.rpartition('.')[0]}.png"], |
| 11120 |
"rm {}", |
| 11121 |
] |
| 11122 |
|
| 11123 |
.IP "Description:" 4 |
| 11124 |
Multiple \f[I]commands\f[] to run in succession. |
| 11125 |
|
| 11126 |
All \f[I]commands\f[] after the first returning with a non-zero |
| 11127 |
exit status will not be run. |
| 11128 |
|
| 11129 |
|
| 11130 |
.SS exec.event |
| 11131 |
.IP "Type:" 6 |
| 11132 |
.br |
| 11133 |
* \f[I]string\f[] |
| 11134 |
.br |
| 11135 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 11136 |
|
| 11137 |
.IP "Default:" 9 |
| 11138 |
\f[I]"after"\f[] |
| 11139 |
|
| 11140 |
.IP "Description:" 4 |
| 11141 |
The event(s) for which \f[I]exec.command\f[] is run. |
| 11142 |
|
| 11143 |
See \f[I]metadata.event\f[] for a list of available events. |
| 11144 |
|
| 11145 |
|
| 11146 |
.SS exec.output |
| 11147 |
.IP "Type:" 6 |
| 11148 |
\f[I]boolean\f[] |
| 11149 |
|
| 11150 |
.IP "Default:" 9 |
| 11151 |
\f[I]true\f[] |
| 11152 |
|
| 11153 |
.IP "Description:" 4 |
| 11154 |
Show output of spawned subprocesses. |
| 11155 |
|
| 11156 |
|
| 11157 |
.SS exec.session |
| 11158 |
.IP "Type:" 6 |
| 11159 |
\f[I]bool\f[] |
| 11160 |
|
| 11161 |
.IP "Default:" 9 |
| 11162 |
\f[I]false\f[] |
| 11163 |
|
| 11164 |
.IP "Description:" 4 |
| 11165 |
Start subprocesses in a new session. |
| 11166 |
|
| 11167 |
On Windows, this means passing |
| 11168 |
\f[I]CREATE_NEW_PROCESS_GROUP\f[] |
| 11169 |
as a \f[I]creationflags\f[] argument to |
| 11170 |
\f[I]subprocess.Popen\f[] |
| 11171 |
|
| 11172 |
On POSIX systems, this means enabling the |
| 11173 |
\f[I]start_new_session\f[] argument of |
| 11174 |
\f[I]subprocess.Popen\f[] |
| 11175 |
to have it call \f[I]setsid()\f[]. |
| 11176 |
|
| 11177 |
|
| 11178 |
.SS exec.verbose |
| 11179 |
.IP "Type:" 6 |
| 11180 |
\f[I]bool\f[] |
| 11181 |
|
| 11182 |
.IP "Default:" 9 |
| 11183 |
\f[I]true\f[] |
| 11184 |
|
| 11185 |
.IP "Description:" 4 |
| 11186 |
Include \f[I]command\f[] |
| 11187 |
arguments in logging messages. |
| 11188 |
|
| 11189 |
|
| 11190 |
.SS exec.success |
| 11191 |
.IP "Type:" 6 |
| 11192 |
\f[I]Action(s)\f[] |
| 11193 |
|
| 11194 |
.IP "Description:" 4 |
| 11195 |
Run these \f[I]Action(s)\f[] when \f[I]command\f[] |
| 11196 |
succeeds and returns with exit status 0. |
| 11197 |
|
| 11198 |
|
| 11199 |
.SS exec.error |
| 11200 |
.IP "Type:" 6 |
| 11201 |
\f[I]Action(s)\f[] |
| 11202 |
|
| 11203 |
.IP "Description:" 4 |
| 11204 |
Run these \f[I]Action(s)\f[] when \f[I]command\f[] |
| 11205 |
fails and returns with a non-zero exit status. |
| 11206 |
|
| 11207 |
|
| 11208 |
.SS hash.chunk-size |
| 11209 |
.IP "Type:" 6 |
| 11210 |
\f[I]integer\f[] |
| 11211 |
|
| 11212 |
.IP "Default:" 9 |
| 11213 |
\f[I]32768\f[] |
| 11214 |
|
| 11215 |
.IP "Description:" 4 |
| 11216 |
Number of bytes read per chunk during file hash computation. |
| 11217 |
|
| 11218 |
|
| 11219 |
.SS hash.event |
| 11220 |
.IP "Type:" 6 |
| 11221 |
.br |
| 11222 |
* \f[I]string\f[] |
| 11223 |
.br |
| 11224 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 11225 |
|
| 11226 |
.IP "Default:" 9 |
| 11227 |
\f[I]"file"\f[] |
| 11228 |
|
| 11229 |
.IP "Description:" 4 |
| 11230 |
The event(s) for which \f[I]file hashes\f[] are computed. |
| 11231 |
|
| 11232 |
See \f[I]metadata.event\f[] for a list of available events. |
| 11233 |
|
| 11234 |
|
| 11235 |
.SS hash.filename |
| 11236 |
.IP "Type:" 6 |
| 11237 |
.br |
| 11238 |
* \f[I]bool\f[] |
| 11239 |
|
| 11240 |
.IP "Default:" 9 |
| 11241 |
\f[I]false\f[] |
| 11242 |
|
| 11243 |
.IP "Description:" 4 |
| 11244 |
Rebuild \f[I]filenames\f[] after computing |
| 11245 |
\f[I]hash digests\f[] and adding them to the metadata dict. |
| 11246 |
|
| 11247 |
|
| 11248 |
.SS hash.hashes |
| 11249 |
.IP "Type:" 6 |
| 11250 |
.br |
| 11251 |
* \f[I]string\f[] |
| 11252 |
.br |
| 11253 |
* \f[I]object\f[] (field name → hash algorithm) |
| 11254 |
|
| 11255 |
.IP "Default:" 9 |
| 11256 |
\f[I]"md5,sha1"\f[] |
| 11257 |
|
| 11258 |
.IP "Example:" 4 |
| 11259 |
.. code:: json |
| 11260 |
|
| 11261 |
"sha256:hash_sha,sha3_512:hash_sha3" |
| 11262 |
|
| 11263 |
.. code:: json |
| 11264 |
|
| 11265 |
{ |
| 11266 |
"hash_sha" : "sha256", |
| 11267 |
"hash_sha3": "sha3_512" |
| 11268 |
} |
| 11269 |
|
| 11270 |
|
| 11271 |
.IP "Description:" 4 |
| 11272 |
Hash digests to compute. |
| 11273 |
|
| 11274 |
For a list of available hash algorithms, run |
| 11275 |
|
| 11276 |
.. code:: |
| 11277 |
|
| 11278 |
python -c "import hashlib; print('\\n'.join(hashlib.algorithms_available))" |
| 11279 |
|
| 11280 |
or see \f[I]python/hashlib\f[]. |
| 11281 |
|
| 11282 |
.br |
| 11283 |
* If this is a \f[I]string\f[], |
| 11284 |
it is parsed as a a comma-separated list of algorthm-fieldname pairs: |
| 11285 |
|
| 11286 |
.. code:: |
| 11287 |
|
| 11288 |
[<hash algorithm> ":"] <field name> ["," ...] |
| 11289 |
|
| 11290 |
When \f[I]<hash algorithm>\f[] is omitted, |
| 11291 |
\f[I]<field name>\f[] is used as algorithm name. |
| 11292 |
|
| 11293 |
.br |
| 11294 |
* If this is an \f[I]object\f[], |
| 11295 |
it is a \f[I]<field name>\f[] to \f[I]<algorithm name>\f[] mapping |
| 11296 |
for hash digests to compute. |
| 11297 |
|
| 11298 |
.IP "Note:" 4 |
| 11299 |
This option can also be set as \f[I]mode\f[], |
| 11300 |
making it possible to use \f[I]"name": "hash/<fieldname>@<event>"\f[] |
| 11301 |
|
| 11302 |
|
| 11303 |
.SS metadata.mode |
| 11304 |
.IP "Type:" 6 |
| 11305 |
\f[I]string\f[] |
| 11306 |
|
| 11307 |
.IP "Default:" 9 |
| 11308 |
\f[I]"json"\f[] |
| 11309 |
|
| 11310 |
.IP "Description:" 4 |
| 11311 |
Selects how to process metadata. |
| 11312 |
|
| 11313 |
\f[I]"json"\f[] |
| 11314 |
Write metadata using \f[I]json.dump()\f[] |
| 11315 |
\f[I]"jsonl"\f[] |
| 11316 |
Write metadata in \f[I]JSON Lines\f[] format |
| 11317 |
\f[I]"tags"\f[] |
| 11318 |
Write \f[I]tags\f[] separated by newlines |
| 11319 |
\f[I]"print"\f[] |
| 11320 |
Write the result of applying |
| 11321 |
\f[I]content-format\f[] |
| 11322 |
to \f[I]stdout\f[] |
| 11323 |
\f[I]"custom"\f[] |
| 11324 |
Write the result of applying |
| 11325 |
\f[I]content-format\f[] |
| 11326 |
to \f[I]a file\f[] |
| 11327 |
\f[I]"modify"\f[] |
| 11328 |
Add or modify metadata entries |
| 11329 |
\f[I]"delete"\f[] |
| 11330 |
Remove metadata entries |
| 11331 |
|
| 11332 |
|
| 11333 |
.SS metadata.filename |
| 11334 |
.IP "Type:" 6 |
| 11335 |
\f[I]Format String\f[] |
| 11336 |
|
| 11337 |
.IP "Default:" 9 |
| 11338 |
\f[I]null\f[] |
| 11339 |
|
| 11340 |
.IP "Example:" 4 |
| 11341 |
"{id}.data.json" |
| 11342 |
|
| 11343 |
.IP "Description:" 4 |
| 11344 |
A \f[I]Format String\f[] to generate filenames for metadata files. |
| 11345 |
(see \f[I]extractor.filename\f[]) |
| 11346 |
|
| 11347 |
Using \f[I]"-"\f[] as filename will write all output to \f[I]stdout\f[]. |
| 11348 |
|
| 11349 |
If this option is set, \f[I]metadata.extension\f[] and |
| 11350 |
\f[I]metadata.extension-format\f[] will be ignored. |
| 11351 |
|
| 11352 |
|
| 11353 |
.SS metadata.directory |
| 11354 |
.IP "Type:" 6 |
| 11355 |
.br |
| 11356 |
* \f[I]string\f[] |
| 11357 |
.br |
| 11358 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 11359 |
|
| 11360 |
.IP "Default:" 9 |
| 11361 |
\f[I]"."\f[] |
| 11362 |
|
| 11363 |
.IP "Example:" 4 |
| 11364 |
.br |
| 11365 |
* "metadata" |
| 11366 |
.br |
| 11367 |
* ["..", "metadata", "\\fF {id // 500 * 500}"] |
| 11368 |
|
| 11369 |
.IP "Description:" 4 |
| 11370 |
Directory where metadata files are stored in |
| 11371 |
relative to \f[I]metadata.base-directory\f[]. |
| 11372 |
|
| 11373 |
|
| 11374 |
.SS metadata.base-directory |
| 11375 |
.IP "Type:" 6 |
| 11376 |
.br |
| 11377 |
* \f[I]bool\f[] |
| 11378 |
.br |
| 11379 |
* \f[I]Path\f[] |
| 11380 |
|
| 11381 |
.IP "Default:" 9 |
| 11382 |
\f[I]false\f[] |
| 11383 |
|
| 11384 |
.IP "Description:" 4 |
| 11385 |
Selects the relative location for metadata files. |
| 11386 |
|
| 11387 |
\f[I]false\f[] |
| 11388 |
Current target location for file downloads (\f[I]base-directory\f[] + directory_) |
| 11389 |
\f[I]true\f[] |
| 11390 |
Current \f[I]base-directory\f[] location |
| 11391 |
any \f[I]Path\f[] |
| 11392 |
Custom location |
| 11393 |
|
| 11394 |
|
| 11395 |
.SS metadata.extension |
| 11396 |
.IP "Type:" 6 |
| 11397 |
\f[I]string\f[] |
| 11398 |
|
| 11399 |
.IP "Default:" 9 |
| 11400 |
\f[I]"json"\f[] or \f[I]"txt"\f[] |
| 11401 |
|
| 11402 |
.IP "Description:" 4 |
| 11403 |
Filename extension for metadata files that will be appended to the |
| 11404 |
original file names. |
| 11405 |
|
| 11406 |
|
| 11407 |
.SS metadata.extension-format |
| 11408 |
.IP "Type:" 6 |
| 11409 |
\f[I]Format String\f[] |
| 11410 |
|
| 11411 |
.IP "Example:" 4 |
| 11412 |
.br |
| 11413 |
* "{extension}.json" |
| 11414 |
.br |
| 11415 |
* "json" |
| 11416 |
|
| 11417 |
.IP "Description:" 4 |
| 11418 |
Custom \f[I]Format String\f[] to generate filename extensions |
| 11419 |
for metadata files, which will replace the original filename extension. |
| 11420 |
|
| 11421 |
.IP "Note:" 4 |
| 11422 |
When this option is set, \f[I]metadata.extension\f[] is ignored. |
| 11423 |
|
| 11424 |
|
| 11425 |
.SS metadata.metadata-path |
| 11426 |
.IP "Type:" 6 |
| 11427 |
\f[I]string\f[] |
| 11428 |
|
| 11429 |
.IP "Example:" 4 |
| 11430 |
"_meta_path" |
| 11431 |
|
| 11432 |
.IP "Description:" 4 |
| 11433 |
Insert the path of generated files |
| 11434 |
into metadata dictionaries as the given name. |
| 11435 |
|
| 11436 |
|
| 11437 |
.SS metadata.event |
| 11438 |
.IP "Type:" 6 |
| 11439 |
.br |
| 11440 |
* \f[I]string\f[] |
| 11441 |
.br |
| 11442 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 11443 |
|
| 11444 |
.IP "Default:" 9 |
| 11445 |
\f[I]"file"\f[] |
| 11446 |
|
| 11447 |
.IP "Example:" 4 |
| 11448 |
.br |
| 11449 |
* "prepare,file,after" |
| 11450 |
.br |
| 11451 |
* ["prepare-after", "skip"] |
| 11452 |
|
| 11453 |
.IP "Description:" 4 |
| 11454 |
The event(s) for which metadata gets written to a file. |
| 11455 |
|
| 11456 |
Available events are: |
| 11457 |
|
| 11458 |
\f[I]init\f[] |
| 11459 |
After post processor initialization |
| 11460 |
and before the first file download |
| 11461 |
\f[I]finalize\f[] |
| 11462 |
On extractor shutdown, e.g. after all files were downloaded |
| 11463 |
\f[I]finalize-success\f[] |
| 11464 |
On extractor shutdown when no error occurred |
| 11465 |
\f[I]finalize-error\f[] |
| 11466 |
On extractor shutdown when at least one error occurred |
| 11467 |
\f[I]prepare\f[] |
| 11468 |
Before a file download |
| 11469 |
\f[I]prepare-after\f[] |
| 11470 |
Before a file download, |
| 11471 |
but after building and checking file paths |
| 11472 |
\f[I]file\f[] |
| 11473 |
When completing a file download, |
| 11474 |
but before it gets moved to its target location |
| 11475 |
\f[I]after\f[] |
| 11476 |
After a file got moved to its target location |
| 11477 |
\f[I]skip\f[] |
| 11478 |
When skipping a file download |
| 11479 |
\f[I]error\f[] |
| 11480 |
After a file download failed |
| 11481 |
\f[I]post\f[] |
| 11482 |
When starting to download all files of a post, |
| 11483 |
e.g. a Tweet on Twitter or a post on Patreon. |
| 11484 |
\f[I]post-after\f[] |
| 11485 |
After downloading all files of a post |
| 11486 |
\f[I]child\f[] |
| 11487 |
When spawning a new child extractor |
| 11488 |
\f[I]child-after\f[] |
| 11489 |
After a child extractor ran |
| 11490 |
|
| 11491 |
|
| 11492 |
.SS metadata.include |
| 11493 |
.IP "Type:" 6 |
| 11494 |
\f[I]list\f[] of \f[I]strings\f[] |
| 11495 |
|
| 11496 |
.IP "Example:" 4 |
| 11497 |
["id", "width", "height", "description"] |
| 11498 |
|
| 11499 |
.IP "Description:" 4 |
| 11500 |
Include only the given top-level keys when writing JSON data. |
| 11501 |
|
| 11502 |
.IP "Note:" 4 |
| 11503 |
Missing or undefined fields will be silently ignored. |
| 11504 |
|
| 11505 |
|
| 11506 |
.SS metadata.exclude |
| 11507 |
.IP "Type:" 6 |
| 11508 |
\f[I]list\f[] of \f[I]strings\f[] |
| 11509 |
|
| 11510 |
.IP "Example:" 4 |
| 11511 |
["blocked", "watching", "status"] |
| 11512 |
|
| 11513 |
.IP "Description:" 4 |
| 11514 |
Exclude all given keys from written JSON data. |
| 11515 |
|
| 11516 |
.IP "Note:" 4 |
| 11517 |
Cannot be used with \f[I]metadata.include\f[]. |
| 11518 |
|
| 11519 |
|
| 11520 |
.SS metadata.fields |
| 11521 |
.IP "Type:" 6 |
| 11522 |
.br |
| 11523 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 11524 |
.br |
| 11525 |
* \f[I]object\f[] (field name → \f[I]Format String\f[]) |
| 11526 |
|
| 11527 |
.IP "Example:" 4 |
| 11528 |
.. code:: json |
| 11529 |
|
| 11530 |
["blocked", "watching", "status[creator][name]"] |
| 11531 |
|
| 11532 |
.. code:: json |
| 11533 |
|
| 11534 |
{ |
| 11535 |
"blocked" : "***", |
| 11536 |
"watching" : "\\fE 'yes' if watching else 'no'", |
| 11537 |
"status[username]": "{status[creator][name]!l}" |
| 11538 |
} |
| 11539 |
|
| 11540 |
|
| 11541 |
.IP "Description:" 4 |
| 11542 |
\f[I]"mode": "delete"\f[] |
| 11543 |
A list of metadata field names to remove. |
| 11544 |
\f[I]"mode": "modify"\f[] |
| 11545 |
An object with metadata field names mapping to a \f[I]Format String\f[] |
| 11546 |
whose result is assigned to that field name. |
| 11547 |
|
| 11548 |
.IP "Note::" 4 |
| 11549 |
Unlike standard \f[I]Format Strings\f[], replacement fields here |
| 11550 |
preserve the original type of their value |
| 11551 |
instead of automatically converting it to \f[I]type-str\f[]. |
| 11552 |
|
| 11553 |
|
| 11554 |
.SS metadata.content-format |
| 11555 |
.IP "Type:" 6 |
| 11556 |
.br |
| 11557 |
* \f[I]Format String\f[] |
| 11558 |
.br |
| 11559 |
* \f[I]list\f[] of \f[I]Format Strings\f[] |
| 11560 |
|
| 11561 |
.IP "Example:" 4 |
| 11562 |
.br |
| 11563 |
* "tags:\\n\\n{tags:J\\n}\\n" |
| 11564 |
.br |
| 11565 |
* ["tags:", "", "{tags:J\\n}"] |
| 11566 |
|
| 11567 |
.IP "Description:" 4 |
| 11568 |
Custom \f[I]Format String(s)\f[] to build the content of metadata files with. |
| 11569 |
|
| 11570 |
.IP "Note:" 4 |
| 11571 |
Only applies to \f[I]"mode": "custom"\f[]. |
| 11572 |
|
| 11573 |
|
| 11574 |
.SS metadata.ascii |
| 11575 |
.IP "Type:" 6 |
| 11576 |
\f[I]bool\f[] |
| 11577 |
|
| 11578 |
.IP "Default:" 9 |
| 11579 |
\f[I]false\f[] |
| 11580 |
|
| 11581 |
.IP "Description:" 4 |
| 11582 |
Escape all non-ASCII characters. |
| 11583 |
|
| 11584 |
See the \f[I]ensure_ascii\f[] argument of \f[I]json.dump()\f[] for further details. |
| 11585 |
|
| 11586 |
.IP "Note:" 4 |
| 11587 |
Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[]. |
| 11588 |
|
| 11589 |
|
| 11590 |
.SS metadata.indent |
| 11591 |
.IP "Type:" 6 |
| 11592 |
.br |
| 11593 |
* \f[I]integer\f[] |
| 11594 |
.br |
| 11595 |
* \f[I]string\f[] |
| 11596 |
|
| 11597 |
.IP "Default:" 9 |
| 11598 |
\f[I]4\f[] |
| 11599 |
|
| 11600 |
.IP "Description:" 4 |
| 11601 |
Indentation level of JSON output. |
| 11602 |
|
| 11603 |
See the \f[I]indent\f[] argument of \f[I]json.dump()\f[] for further details. |
| 11604 |
|
| 11605 |
.IP "Note:" 4 |
| 11606 |
Only applies to \f[I]"mode": "json"\f[]. |
| 11607 |
|
| 11608 |
|
| 11609 |
.SS metadata.separators |
| 11610 |
.IP "Type:" 6 |
| 11611 |
\f[I]list\f[] with two \f[I]string\f[] elements |
| 11612 |
|
| 11613 |
.IP "Default:" 9 |
| 11614 |
\f[I][", ", ": "]\f[] |
| 11615 |
|
| 11616 |
.IP "Description:" 4 |
| 11617 |
\f[I]<item separator>\f[] - \f[I]<key separator>\f[] pair |
| 11618 |
to separate JSON keys and values with. |
| 11619 |
|
| 11620 |
See the \f[I]separators\f[] argument of \f[I]json.dump()\f[] for further details. |
| 11621 |
|
| 11622 |
.IP "Note:" 4 |
| 11623 |
Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[]. |
| 11624 |
|
| 11625 |
|
| 11626 |
.SS metadata.sort |
| 11627 |
.IP "Type:" 6 |
| 11628 |
\f[I]bool\f[] |
| 11629 |
|
| 11630 |
.IP "Default:" 9 |
| 11631 |
\f[I]false\f[] |
| 11632 |
|
| 11633 |
.IP "Description:" 4 |
| 11634 |
Sort output by key. |
| 11635 |
|
| 11636 |
See the \f[I]sort_keys\f[] argument of \f[I]json.dump()\f[] for further details. |
| 11637 |
|
| 11638 |
.IP "Note:" 4 |
| 11639 |
Only applies to \f[I]"mode": "json"\f[] and \f[I]"jsonl"\f[]. |
| 11640 |
|
| 11641 |
|
| 11642 |
.SS metadata.empty |
| 11643 |
.IP "Type:" 6 |
| 11644 |
\f[I]bool\f[] |
| 11645 |
|
| 11646 |
.IP "Default:" 9 |
| 11647 |
\f[I]false\f[] |
| 11648 |
|
| 11649 |
.IP "Description:" 4 |
| 11650 |
Write empty |
| 11651 |
JSON / \f[I]tags\f[] / \f[I]content-format\f[] |
| 11652 |
data and create empty files. |
| 11653 |
|
| 11654 |
|
| 11655 |
.SS metadata.open |
| 11656 |
.IP "Type:" 6 |
| 11657 |
\f[I]string\f[] |
| 11658 |
|
| 11659 |
.IP "Default:" 9 |
| 11660 |
\f[I]"w"\f[] |
| 11661 |
|
| 11662 |
.IP "Description:" 4 |
| 11663 |
The \f[I]mode\f[] in which metadata files get opened. |
| 11664 |
|
| 11665 |
For example, |
| 11666 |
use \f[I]"a"\f[] to append to a file's content |
| 11667 |
or \f[I]"w"\f[] to truncate it. |
| 11668 |
|
| 11669 |
See the \f[I]mode\f[] argument of \f[I]open()\f[] for further details. |
| 11670 |
|
| 11671 |
|
| 11672 |
.SS metadata.encoding |
| 11673 |
.IP "Type:" 6 |
| 11674 |
\f[I]string\f[] |
| 11675 |
|
| 11676 |
.IP "Default:" 9 |
| 11677 |
\f[I]"utf-8"\f[] |
| 11678 |
|
| 11679 |
.IP "Description:" 4 |
| 11680 |
Name of the encoding used to encode a file's content. |
| 11681 |
|
| 11682 |
See the \f[I]encoding\f[] argument of \f[I]open()\f[] for further details. |
| 11683 |
|
| 11684 |
|
| 11685 |
.SS metadata.newline |
| 11686 |
.IP "Type:" 6 |
| 11687 |
\f[I]string\f[] |
| 11688 |
|
| 11689 |
.IP "Default:" 9 |
| 11690 |
\f[I]null\f[] |
| 11691 |
|
| 11692 |
.IP "Description:" 4 |
| 11693 |
The newline sequence used in metadata files. |
| 11694 |
|
| 11695 |
If \f[I]null\f[], any \f[I]\\n\f[] characters |
| 11696 |
written are translated to the system default line separator. |
| 11697 |
|
| 11698 |
See the \f[I]newline\f[] argument of \f[I]open()\f[] for further details. |
| 11699 |
|
| 11700 |
.IP "Supported Values:" 4 |
| 11701 |
\f[I]null\f[] |
| 11702 |
Any \f[I]\\n\f[] characters |
| 11703 |
written are translated to the system default line separator. |
| 11704 |
\f[I]""\f[] \f[I] \f[I]"\\n"\f[] |
| 11705 |
Don't replace newline characters. |
| 11706 |
\f[I]"\\r"\f[] \f[] \f[I]"\\r\\n"\f[] |
| 11707 |
Replace newline characters with the given sequence. |
| 11708 |
|
| 11709 |
|
| 11710 |
.SS metadata.private |
| 11711 |
.IP "Type:" 6 |
| 11712 |
\f[I]bool\f[] |
| 11713 |
|
| 11714 |
.IP "Default:" 9 |
| 11715 |
\f[I]false\f[] |
| 11716 |
|
| 11717 |
.IP "Description:" 4 |
| 11718 |
Include private fields, |
| 11719 |
i.e. fields whose name starts with an underscore. |
| 11720 |
|
| 11721 |
|
| 11722 |
.SS metadata.skip |
| 11723 |
.IP "Type:" 6 |
| 11724 |
\f[I]bool\f[] |
| 11725 |
|
| 11726 |
.IP "Default:" 9 |
| 11727 |
\f[I]false\f[] |
| 11728 |
|
| 11729 |
.IP "Description:" 4 |
| 11730 |
Do not overwrite already existing files. |
| 11731 |
|
| 11732 |
|
| 11733 |
.SS metadata.archive |
| 11734 |
.IP "Type:" 6 |
| 11735 |
.br |
| 11736 |
* \f[I]string\f[] |
| 11737 |
.br |
| 11738 |
* \f[I]Path\f[] |
| 11739 |
|
| 11740 |
.IP "Description:" 4 |
| 11741 |
Database to store IDs of generated metadata files in, |
| 11742 |
similar to \f[I]extractor.*.archive\f[]. |
| 11743 |
|
| 11744 |
The following archive options are also supported: |
| 11745 |
|
| 11746 |
.br |
| 11747 |
* \f[I]archive-format\f[] |
| 11748 |
.br |
| 11749 |
* \f[I]archive-prefix\f[] |
| 11750 |
.br |
| 11751 |
* \f[I]archive-pragma\f[] |
| 11752 |
.br |
| 11753 |
* \f[I]archive-table \f[] |
| 11754 |
|
| 11755 |
|
| 11756 |
.SS metadata.mtime |
| 11757 |
.IP "Type:" 6 |
| 11758 |
\f[I]bool\f[] |
| 11759 |
|
| 11760 |
.IP "Default:" 9 |
| 11761 |
\f[I]false\f[] |
| 11762 |
|
| 11763 |
.IP "Description:" 4 |
| 11764 |
Set modification times of generated metadata files |
| 11765 |
according to the accompanying downloaded file. |
| 11766 |
|
| 11767 |
Enabling this option will only have an effect |
| 11768 |
*if* there is actual \f[I]mtime\f[] metadata available, that is |
| 11769 |
|
| 11770 |
.br |
| 11771 |
* after a file download (\f[I]"event": "file"\f[] (default), \f[I]"event": "after"\f[]) |
| 11772 |
.br |
| 11773 |
* when running *after* an \f[I]mtime\f[] post processes for the same \f[I]event\f[] |
| 11774 |
|
| 11775 |
For example, a \f[I]metadata\f[] post processor for \f[I]"event": "post"\f[] will |
| 11776 |
*not* be able to set its file's modification time unless an \f[I]mtime\f[] |
| 11777 |
post processor with \f[I]"event": "post"\f[] runs *before* it. |
| 11778 |
|
| 11779 |
|
| 11780 |
.SS mtime.event |
| 11781 |
.IP "Type:" 6 |
| 11782 |
.br |
| 11783 |
* \f[I]string\f[] |
| 11784 |
.br |
| 11785 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 11786 |
|
| 11787 |
.IP "Default:" 9 |
| 11788 |
\f[I]"post-after"\f[] |
| 11789 |
\f[I]"target": "directory"\f[] |
| 11790 |
\f[I]"file"\f[] |
| 11791 |
otherwise |
| 11792 |
|
| 11793 |
.IP "Description:" 4 |
| 11794 |
The event(s) for which \f[I]mtime.key\f[] or \f[I]mtime.value\f[] get evaluated. |
| 11795 |
|
| 11796 |
See \f[I]metadata.event\f[] for a list of available events. |
| 11797 |
|
| 11798 |
|
| 11799 |
.SS mtime.target |
| 11800 |
.IP "Type:" 6 |
| 11801 |
\f[I]string\f[] |
| 11802 |
|
| 11803 |
.IP "Default:" 9 |
| 11804 |
\f[I]"file"\f[] |
| 11805 |
|
| 11806 |
.IP "Description:" 4 |
| 11807 |
The target to which \f[I]mtime.key\f[] or \f[I]mtime.value\f[] is applied to. |
| 11808 |
|
| 11809 |
Supported values are \f[I]"file"\f[] and \f[I]"directory"\f[]. |
| 11810 |
|
| 11811 |
|
| 11812 |
.SS mtime.key |
| 11813 |
.IP "Type:" 6 |
| 11814 |
\f[I]string\f[] |
| 11815 |
|
| 11816 |
.IP "Default:" 9 |
| 11817 |
\f[I]"date"\f[] |
| 11818 |
|
| 11819 |
.IP "Description:" 4 |
| 11820 |
Name of the metadata field whose value should be used. |
| 11821 |
|
| 11822 |
This value must be either a Unix timestamp or a |
| 11823 |
\f[I]type-datetime\f[] object. |
| 11824 |
|
| 11825 |
.IP "Note:" 4 |
| 11826 |
This option is ignored if \f[I]mtime.value\f[] is set. |
| 11827 |
|
| 11828 |
|
| 11829 |
.SS mtime.value |
| 11830 |
.IP "Type:" 6 |
| 11831 |
\f[I]Format String\f[] |
| 11832 |
|
| 11833 |
.IP "Default:" 9 |
| 11834 |
\f[I]null\f[] |
| 11835 |
|
| 11836 |
.IP "Example:" 4 |
| 11837 |
.br |
| 11838 |
* "{status[date]}" |
| 11839 |
.br |
| 11840 |
* "{content[0:6]:R22/2022/D%Y%m%d/}" |
| 11841 |
|
| 11842 |
.IP "Description:" 4 |
| 11843 |
The \f[I]Format String\f[] whose value should be used. |
| 11844 |
|
| 11845 |
The resulting value must be either a Unix timestamp or a |
| 11846 |
\f[I]type-datetime\f[] object. |
| 11847 |
|
| 11848 |
.IP "Note::" 4 |
| 11849 |
Unlike standard \f[I]Format Strings\f[], replacement fields here |
| 11850 |
preserve the original type of their value |
| 11851 |
instead of automatically converting it to \f[I]type-str\f[]. |
| 11852 |
|
| 11853 |
|
| 11854 |
.SS python.archive |
| 11855 |
.IP "Type:" 6 |
| 11856 |
.br |
| 11857 |
* \f[I]string\f[] |
| 11858 |
.br |
| 11859 |
* \f[I]Path\f[] |
| 11860 |
|
| 11861 |
.IP "Description:" 4 |
| 11862 |
Database to store IDs of called Python functions in, |
| 11863 |
similar to \f[I]extractor.*.archive\f[]. |
| 11864 |
|
| 11865 |
The following archive options are also supported: |
| 11866 |
|
| 11867 |
.br |
| 11868 |
* \f[I]archive-format\f[] |
| 11869 |
.br |
| 11870 |
* \f[I]archive-prefix\f[] |
| 11871 |
.br |
| 11872 |
* \f[I]archive-pragma\f[] |
| 11873 |
.br |
| 11874 |
* \f[I]archive-table \f[] |
| 11875 |
|
| 11876 |
|
| 11877 |
.SS python.event |
| 11878 |
.IP "Type:" 6 |
| 11879 |
.br |
| 11880 |
* \f[I]string\f[] |
| 11881 |
.br |
| 11882 |
* \f[I]list\f[] of \f[I]strings\f[] |
| 11883 |
|
| 11884 |
.IP "Default:" 9 |
| 11885 |
\f[I]"file"\f[] |
| 11886 |
|
| 11887 |
.IP "Description:" 4 |
| 11888 |
The event(s) for which \f[I]python.function\f[] gets called. |
| 11889 |
|
| 11890 |
See \f[I]metadata.event\f[] for a list of available events. |
| 11891 |
|
| 11892 |
|
| 11893 |
.SS python.expression |
| 11894 |
.IP "Type:" 6 |
| 11895 |
\f[I]Expression\f[] |
| 11896 |
|
| 11897 |
.IP "Example:" 4 |
| 11898 |
.br |
| 11899 |
* "print('Foo Bar')" |
| 11900 |
.br |
| 11901 |
* "terminate()" |
| 11902 |
|
| 11903 |
.IP "Description:" 4 |
| 11904 |
A Python \f[I]Expression\f[] to |
| 11905 |
\f[I]evaluate\f[]. |
| 11906 |
|
| 11907 |
.IP "Note:" 4 |
| 11908 |
Only used with \f[I]"mode": "eval"\f[] |
| 11909 |
|
| 11910 |
|
| 11911 |
.SS python.function |
| 11912 |
.IP "Type:" 6 |
| 11913 |
\f[I]string\f[] |
| 11914 |
|
| 11915 |
.IP "Example:" 4 |
| 11916 |
.br |
| 11917 |
* "my_module:generate_text" |
| 11918 |
.br |
| 11919 |
* "~/.local/share/gdl_utils.py:resize" |
| 11920 |
|
| 11921 |
.IP "Description:" 4 |
| 11922 |
The Python function to call. |
| 11923 |
|
| 11924 |
This function is specified as \f[I]<module>:<function name>\f[], where |
| 11925 |
.br |
| 11926 |
\f[I]<module>\f[] is a \f[I]Module\f[] and |
| 11927 |
.br |
| 11928 |
\f[I]<function name>\f[] is the name of the function in that module. |
| 11929 |
|
| 11930 |
It gets called with the current metadata dict as argument. |
| 11931 |
|
| 11932 |
|
| 11933 |
.SS python.mode |
| 11934 |
.IP "Type:" 6 |
| 11935 |
\f[I]string\f[] |
| 11936 |
|
| 11937 |
.IP "Default:" 9 |
| 11938 |
\f[I]"function"\f[] |
| 11939 |
|
| 11940 |
.IP "Description:" 4 |
| 11941 |
Selects what Python code to run. |
| 11942 |
|
| 11943 |
\f[I]"eval"\f[] |
| 11944 |
Evaluate an |
| 11945 |
\f[I]expression\f[] |
| 11946 |
\f[I]function"\f[] |
| 11947 |
Call a |
| 11948 |
\f[I]function\f[] |
| 11949 |
|
| 11950 |
|
| 11951 |
.SS rename.from |
| 11952 |
.IP "Type:" 6 |
| 11953 |
\f[I]Format String\f[] |
| 11954 |
|
| 11955 |
.IP "Description:" 4 |
| 11956 |
The \f[I]Format String\f[] for filenames to rename. |
| 11957 |
|
| 11958 |
When no value is given, \f[I]extractor.*.filename\f[] is used. |
| 11959 |
|
| 11960 |
|
| 11961 |
.SS rename.to |
| 11962 |
.IP "Type:" 6 |
| 11963 |
\f[I]Format String\f[] |
| 11964 |
|
| 11965 |
.IP "Description:" 4 |
| 11966 |
The \f[I]Format String\f[] for target filenames. |
| 11967 |
|
| 11968 |
When no value is given, \f[I]extractor.*.filename\f[] is used. |
| 11969 |
|
| 11970 |
|
| 11971 |
.SS rename.skip |
| 11972 |
.IP "Type:" 6 |
| 11973 |
\f[I]bool\f[] |
| 11974 |
|
| 11975 |
.IP "Default:" 9 |
| 11976 |
\f[I]true\f[] |
| 11977 |
|
| 11978 |
.IP "Description:" 4 |
| 11979 |
Do not rename a file when another file with the target name already exists. |
| 11980 |
|
| 11981 |
|
| 11982 |
.SS ugoira.extension |
| 11983 |
.IP "Type:" 6 |
| 11984 |
\f[I]string\f[] |
| 11985 |
|
| 11986 |
.IP "Default:" 9 |
| 11987 |
\f[I]"webm"\f[] |
| 11988 |
|
| 11989 |
.IP "Description:" 4 |
| 11990 |
Filename extension for the resulting video files. |
| 11991 |
|
| 11992 |
|
| 11993 |
.SS ugoira.ffmpeg-args |
| 11994 |
.IP "Type:" 6 |
| 11995 |
\f[I]list\f[] of \f[I]strings\f[] |
| 11996 |
|
| 11997 |
.IP "Default:" 9 |
| 11998 |
\f[I]null\f[] |
| 11999 |
|
| 12000 |
.IP "Example:" 4 |
| 12001 |
["-c:v", "libvpx-vp9", "-an", "-b:v", "2M"] |
| 12002 |
|
| 12003 |
.IP "Description:" 4 |
| 12004 |
Additional \f[I]ffmpeg\f[] command-line arguments. |
| 12005 |
|
| 12006 |
|
| 12007 |
.SS ugoira.mode |
| 12008 |
.IP "Type:" 6 |
| 12009 |
\f[I]string\f[] |
| 12010 |
|
| 12011 |
.IP "Default:" 9 |
| 12012 |
\f[I]"auto"\f[] |
| 12013 |
|
| 12014 |
.IP "Description:" 4 |
| 12015 |
\f[I]ffmpeg\f[] demuxer to read and process input files with. |
| 12016 |
|
| 12017 |
.IP "Supported Values:" 4 |
| 12018 |
\f[I]"auto"\f[] |
| 12019 |
use \f[I]mkvmerge\f[] if available, fall back to \f[I]concat\f[] otherwise |
| 12020 |
\f[I]"concat"\f[] |
| 12021 |
https://ffmpeg.org/ffmpeg-formats.html#concat-1 |
| 12022 |
.br |
| 12023 |
Inaccurate frame timecodes for non-uniform frame delays |
| 12024 |
.br |
| 12025 |
\f[I]"image2"\f[] |
| 12026 |
https://ffmpeg.org/ffmpeg-formats.html#image2-1 |
| 12027 |
.br |
| 12028 |
Accurate timecodes, requires nanosecond file timestamps, i.e. no Windows or macOS) |
| 12029 |
.br |
| 12030 |
\f[I]"mkvmerge"\f[] |
| 12031 |
Accurate timecodes, only WebM or MKV, requires \f[I]mkvmerge\f[]) |
| 12032 |
\f[I]"archive"\f[] |
| 12033 |
Store "original" frames in a \f[I].zip\f[] archive |
| 12034 |
|
| 12035 |
|
| 12036 |
.SS ugoira.ffmpeg-location |
| 12037 |
.IP "Type:" 6 |
| 12038 |
\f[I]Path\f[] |
| 12039 |
|
| 12040 |
.IP "Default:" 9 |
| 12041 |
\f[I]"ffmpeg"\f[] |
| 12042 |
|
| 12043 |
.IP "Description:" 4 |
| 12044 |
Location of the \f[I]ffmpeg\f[] (or \f[I]avconv\f[]) executable to use. |
| 12045 |
|
| 12046 |
|
| 12047 |
.SS ugoira.mkvmerge-args |
| 12048 |
.IP "Type:" 6 |
| 12049 |
\f[I]list\f[] of \f[I]strings\f[] |
| 12050 |
|
| 12051 |
.IP "Default:" 9 |
| 12052 |
\f[I]null\f[] |
| 12053 |
|
| 12054 |
.IP "Example:" 4 |
| 12055 |
["--no-date", "--disable-lacing"] |
| 12056 |
|
| 12057 |
.IP "Description:" 4 |
| 12058 |
Additional \f[I]mkvmerge\f[] command-line arguments. |
| 12059 |
|
| 12060 |
|
| 12061 |
.SS ugoira.mkvmerge-location |
| 12062 |
.IP "Type:" 6 |
| 12063 |
\f[I]Path\f[] |
| 12064 |
|
| 12065 |
.IP "Default:" 9 |
| 12066 |
\f[I]"mkvmerge"\f[] |
| 12067 |
|
| 12068 |
.IP "Description:" 4 |
| 12069 |
Location of the \f[I]mkvmerge\f[] executable for use with the |
| 12070 |
\f[I]mkvmerge demuxer\f[]. |
| 12071 |
|
| 12072 |
|
| 12073 |
.SS ugoira.mkvmerge-metadata |
| 12074 |
.IP "Type:" 6 |
| 12075 |
\f[I]bool\f[] |
| 12076 |
|
| 12077 |
.IP "Default:" 9 |
| 12078 |
\f[I]true\f[] |
| 12079 |
|
| 12080 |
.IP "Description:" 4 |
| 12081 |
Let \f[I]mkvmerge\f[] write \f[I]BPS\f[], \f[I]DURATION\f[], \f[I]NUMBER_OF_BYTES\f[], |
| 12082 |
and \f[I]NUMBER_OF_FRAMES\f[] metadata tags. |
| 12083 |
|
| 12084 |
.IP "Implementation Detail:" 4 |
| 12085 |
Disabling this option passes |
| 12086 |
\f[I]--disable-track-statistics-tags\f[] to \f[I]mkvmerge\f[] |
| 12087 |
|
| 12088 |
|
| 12089 |
.SS ugoira.mkvmerge-mtime |
| 12090 |
.IP "Type:" 6 |
| 12091 |
\f[I]bool\f[] |
| 12092 |
|
| 12093 |
.IP "Default:" 9 |
| 12094 |
\f[I]false\f[] |
| 12095 |
|
| 12096 |
.IP "Description:" 4 |
| 12097 |
Set the date segment information field |
| 12098 |
of files processed with \f[I]mkvmerge\f[]. |
| 12099 |
|
| 12100 |
.IP "Note::" 4 |
| 12101 |
Requires \f[I]mkvmerge\f[] version 95.0 or higher |
| 12102 |
|
| 12103 |
|
| 12104 |
.SS ugoira.mkvmerge-output |
| 12105 |
.IP "Type:" 6 |
| 12106 |
\f[I]bool\f[] |
| 12107 |
|
| 12108 |
.IP "Default:" 9 |
| 12109 |
\f[I]false\f[] |
| 12110 |
|
| 12111 |
.IP "Description:" 4 |
| 12112 |
Enable \f[I]mkvmerge\f[] output. |
| 12113 |
|
| 12114 |
|
| 12115 |
.SS ugoira.ffmpeg-output |
| 12116 |
.IP "Type:" 6 |
| 12117 |
.br |
| 12118 |
* \f[I]bool\f[] |
| 12119 |
.br |
| 12120 |
* \f[I]string\f[] |
| 12121 |
|
| 12122 |
.IP "Default:" 9 |
| 12123 |
\f[I]"error"\f[] |
| 12124 |
|
| 12125 |
.IP "Description:" 4 |
| 12126 |
Controls \f[I]ffmpeg\f[] output. |
| 12127 |
|
| 12128 |
\f[I]true\f[] |
| 12129 |
Enable \f[I]ffmpeg\f[] output |
| 12130 |
\f[I]false\f[] |
| 12131 |
Disable all \f[I]ffmpeg\f[] output |
| 12132 |
any \f[I]string\f[] |
| 12133 |
Pass \f[I]-hide_banner\f[] and \f[I]-loglevel\f[] |
| 12134 |
with this value as argument to \f[I]ffmpeg\f[] |
| 12135 |
|
| 12136 |
|
| 12137 |
.SS ugoira.ffmpeg-twopass |
| 12138 |
.IP "Type:" 6 |
| 12139 |
\f[I]bool\f[] |
| 12140 |
|
| 12141 |
.IP "Default:" 9 |
| 12142 |
\f[I]false\f[] |
| 12143 |
|
| 12144 |
.IP "Description:" 4 |
| 12145 |
Enable Two-Pass encoding. |
| 12146 |
|
| 12147 |
|
| 12148 |
.SS ugoira.framerate |
| 12149 |
.IP "Type:" 6 |
| 12150 |
\f[I]string\f[] |
| 12151 |
|
| 12152 |
.IP "Default:" 9 |
| 12153 |
\f[I]"auto"\f[] |
| 12154 |
|
| 12155 |
.IP "Description:" 4 |
| 12156 |
Controls the frame rate argument (\f[I]-r\f[]) for \f[I]ffmpeg\f[] |
| 12157 |
|
| 12158 |
\f[I]"auto"\f[] |
| 12159 |
Automatically assign a fitting frame rate |
| 12160 |
based on delays between frames. |
| 12161 |
\f[I]"uniform"\f[] |
| 12162 |
Like \f[I]auto\f[], but assign an explicit frame rate |
| 12163 |
only to Ugoira with uniform frame delays. |
| 12164 |
any other \f[I]string\f[] |
| 12165 |
Use this value as argument for \f[I]-r\f[]. |
| 12166 |
\f[I]null\f[] or an empty \f[I]string\f[] |
| 12167 |
Don't set an explicit frame rate. |
| 12168 |
|
| 12169 |
|
| 12170 |
.SS ugoira.keep-files |
| 12171 |
.IP "Type:" 6 |
| 12172 |
\f[I]bool\f[] |
| 12173 |
|
| 12174 |
.IP "Default:" 9 |
| 12175 |
\f[I]false\f[] |
| 12176 |
|
| 12177 |
.IP "Description:" 4 |
| 12178 |
Keep ZIP archives after conversion. |
| 12179 |
|
| 12180 |
|
| 12181 |
.SS ugoira.libx264-prevent-odd |
| 12182 |
.IP "Type:" 6 |
| 12183 |
\f[I]bool\f[] |
| 12184 |
|
| 12185 |
.IP "Default:" 9 |
| 12186 |
\f[I]true\f[] |
| 12187 |
|
| 12188 |
.IP "Description:" 4 |
| 12189 |
Prevent \f[I]"width/height not divisible by 2"\f[] errors |
| 12190 |
when using \f[I]libx264\f[] or \f[I]libx265\f[] encoders |
| 12191 |
by applying a simple cropping filter. See this \f[I]Stack Overflow |
| 12192 |
thread\f[] |
| 12193 |
for more information. |
| 12194 |
|
| 12195 |
This option, when \f[I]libx264/5\f[] is used, automatically |
| 12196 |
adds \f[I]["-vf", "crop=iw-mod(iw\\\\,2):ih-mod(ih\\\\,2)"]\f[] |
| 12197 |
to the list of \f[I]ffmpeg\f[] command-line arguments |
| 12198 |
to reduce an odd width/height by 1 pixel and make them even. |
| 12199 |
|
| 12200 |
|
| 12201 |
.SS ugoira.metadata |
| 12202 |
.IP "Type:" 6 |
| 12203 |
.br |
| 12204 |
* \f[I]bool\f[] |
| 12205 |
.br |
| 12206 |
* \f[I]string\f[] |
| 12207 |
|
| 12208 |
.IP "Default:" 9 |
| 12209 |
\f[I]true\f[] |
| 12210 |
|
| 12211 |
.IP "Description:" 4 |
| 12212 |
When using \f[I]"mode": "archive"\f[], save Ugoira frame delay data as |
| 12213 |
\f[I]animation.json\f[] within the archive file. |
| 12214 |
|
| 12215 |
If this is a \f[I]string\f[], |
| 12216 |
use it as alternate filename for frame delay files. |
| 12217 |
|
| 12218 |
|
| 12219 |
.SS ugoira.mtime |
| 12220 |
.IP "Type:" 6 |
| 12221 |
\f[I]bool\f[] |
| 12222 |
|
| 12223 |
.IP "Default:" 9 |
| 12224 |
\f[I]true\f[] |
| 12225 |
|
| 12226 |
.IP "Description:" 4 |
| 12227 |
Set modification times of generated ugoira animations. |
| 12228 |
|
| 12229 |
|
| 12230 |
.SS ugoira.repeat-last-frame |
| 12231 |
.IP "Type:" 6 |
| 12232 |
\f[I]bool\f[] |
| 12233 |
|
| 12234 |
.IP "Default:" 9 |
| 12235 |
\f[I]true\f[] |
| 12236 |
|
| 12237 |
.IP "Description:" 4 |
| 12238 |
Allow repeating the last frame when necessary |
| 12239 |
to prevent it from only being displayed for a very short amount of time. |
| 12240 |
|
| 12241 |
|
| 12242 |
.SS ugoira.skip |
| 12243 |
.IP "Type:" 6 |
| 12244 |
\f[I]bool\f[] |
| 12245 |
|
| 12246 |
.IP "Default:" 9 |
| 12247 |
\f[I]true\f[] |
| 12248 |
|
| 12249 |
.IP "Description:" 4 |
| 12250 |
Do not convert frames if target file already exists. |
| 12251 |
|
| 12252 |
|
| 12253 |
.SS zip.compression |
| 12254 |
.IP "Type:" 6 |
| 12255 |
\f[I]string\f[] |
| 12256 |
|
| 12257 |
.IP "Default:" 9 |
| 12258 |
\f[I]"store"\f[] |
| 12259 |
|
| 12260 |
.IP "Description:" 4 |
| 12261 |
Compression method to use when writing the archive. |
| 12262 |
|
| 12263 |
.IP "Supported Values:" 4 |
| 12264 |
.br |
| 12265 |
* \f[I]"store"\f[] |
| 12266 |
.br |
| 12267 |
* \f[I]"zip"\f[] |
| 12268 |
.br |
| 12269 |
* \f[I]"bzip2"\f[] |
| 12270 |
.br |
| 12271 |
* \f[I]"lzma"\f[] |
| 12272 |
|
| 12273 |
|
| 12274 |
.SS zip.extension |
| 12275 |
.IP "Type:" 6 |
| 12276 |
\f[I]string\f[] |
| 12277 |
|
| 12278 |
.IP "Default:" 9 |
| 12279 |
\f[I]"zip"\f[] |
| 12280 |
|
| 12281 |
.IP "Description:" 4 |
| 12282 |
Filename extension for the created ZIP archive. |
| 12283 |
|
| 12284 |
|
| 12285 |
.SS zip.files |
| 12286 |
.IP "Type:" 6 |
| 12287 |
\f[I]list\f[] of \f[I]Path\f[] |
| 12288 |
|
| 12289 |
.IP "Example:" 4 |
| 12290 |
["info.json"] |
| 12291 |
|
| 12292 |
.IP "Description:" 4 |
| 12293 |
List of extra files to be added to a ZIP archive. |
| 12294 |
|
| 12295 |
.IP "Note:" 4 |
| 12296 |
Relative paths are relative to the current |
| 12297 |
\f[I]download directory\f[]. |
| 12298 |
|
| 12299 |
|
| 12300 |
.SS zip.keep-files |
| 12301 |
.IP "Type:" 6 |
| 12302 |
\f[I]bool\f[] |
| 12303 |
|
| 12304 |
.IP "Default:" 9 |
| 12305 |
\f[I]false\f[] |
| 12306 |
|
| 12307 |
.IP "Description:" 4 |
| 12308 |
Keep the actual files after writing them to a ZIP archive. |
| 12309 |
|
| 12310 |
|
| 12311 |
.SS zip.mode |
| 12312 |
.IP "Type:" 6 |
| 12313 |
\f[I]string\f[] |
| 12314 |
|
| 12315 |
.IP "Default:" 9 |
| 12316 |
\f[I]"default"\f[] |
| 12317 |
|
| 12318 |
.IP "Description:" 4 |
| 12319 |
\f[I]"default"\f[] |
| 12320 |
Write the central directory file header |
| 12321 |
once after everything is done or an exception is raised. |
| 12322 |
|
| 12323 |
\f[I]"safe"\f[] |
| 12324 |
Update the central directory file header |
| 12325 |
each time a file is stored in a ZIP archive. |
| 12326 |
|
| 12327 |
This greatly reduces the chance a ZIP archive gets corrupted in |
| 12328 |
case the Python interpreter gets shut down unexpectedly |
| 12329 |
(power outage, SIGKILL) but is also a lot slower. |
| 12330 |
|
| 12331 |
|
| 12332 |
.SH MISCELLANEOUS OPTIONS |
| 12333 |
.SS extractor.modules |
| 12334 |
.IP "Type:" 6 |
| 12335 |
\f[I]list\f[] of \f[I]strings\f[] |
| 12336 |
|
| 12337 |
.IP "Default:" 9 |
| 12338 |
The \f[I]modules\f[] list in |
| 12339 |
\f[I]extractor/__init__.py\f[] |
| 12340 |
|
| 12341 |
.IP "Example:" 4 |
| 12342 |
["reddit", "danbooru", "mangadex"] |
| 12343 |
|
| 12344 |
.IP "Description:" 4 |
| 12345 |
List of internal modules to load when searching for a suitable |
| 12346 |
extractor class. Useful to reduce startup time and memory usage. |
| 12347 |
|
| 12348 |
|
| 12349 |
.SS extractor.module-sources |
| 12350 |
.IP "Type:" 6 |
| 12351 |
.br |
| 12352 |
* \f[I]list\f[] of \f[I]Path\f[] instances |
| 12353 |
.br |
| 12354 |
* \f[I]list\f[] of \f[I]object\f[] |
| 12355 |
|
| 12356 |
.IP "Example:" 4 |
| 12357 |
.. code:: json |
| 12358 |
|
| 12359 |
["~/.config/gallery-dl/modules", null] |
| 12360 |
|
| 12361 |
.. code:: json |
| 12362 |
|
| 12363 |
[ |
| 12364 |
{ |
| 12365 |
"from": "~/.config/gallery-dl/modules", |
| 12366 |
"import": ["custom_module1", "custom_module2"] |
| 12367 |
}, |
| 12368 |
null |
| 12369 |
] |
| 12370 |
|
| 12371 |
|
| 12372 |
.IP "Description:" 4 |
| 12373 |
List of sources to load (external) extractor modules from. |
| 12374 |
|
| 12375 |
The following elements are supported: |
| 12376 |
|
| 12377 |
\f[I]Path\f[] |
| 12378 |
A path to a directory containing custom extractor modules. |
| 12379 |
.br |
| 12380 |
All files in this directory with a \f[I].py\f[] filename extension |
| 12381 |
.br |
| 12382 |
will be \f[I]imported\f[] |
| 12383 |
and searched for extractors, i.e. classes with a \f[I]pattern\f[] attribute. |
| 12384 |
\f[I]object\f[] |
| 12385 |
An object describing module |
| 12386 |
\f[I]imports\f[] |
| 12387 |
in a specific directory. |
| 12388 |
|
| 12389 |
The following keys are required: |
| 12390 |
|
| 12391 |
\f[I]from\f[] |
| 12392 |
A \f[I]Path\f[] to the directory the modules are located in. |
| 12393 |
.br |
| 12394 |
This directory will be available on the module search path (\f[I]sys.path\f[]) during import. |
| 12395 |
.br |
| 12396 |
\f[I]ìmport\f[] |
| 12397 |
A \f[I]list\f[] of \f[I]strings\f[] of filenames to import. |
| 12398 |
.br |
| 12399 |
The names must be given without \f[I].py\f[] extension. |
| 12400 |
.br |
| 12401 |
\f[I]null\f[] |
| 12402 |
Internal extractors defined in |
| 12403 |
\f[I]extractor/__init__.py\f[] |
| 12404 |
or by \f[I]extractor.modules\f[]. |
| 12405 |
|
| 12406 |
|
| 12407 |
.SS extractor.category-map |
| 12408 |
.IP "Type:" 6 |
| 12409 |
.br |
| 12410 |
* \f[I]object\f[] (category → category) |
| 12411 |
.br |
| 12412 |
* \f[I]string\f[] |
| 12413 |
|
| 12414 |
.IP "Example:" 4 |
| 12415 |
.. code:: json |
| 12416 |
|
| 12417 |
{ |
| 12418 |
"danbooru": "booru", |
| 12419 |
"gelbooru": "booru" |
| 12420 |
} |
| 12421 |
|
| 12422 |
.IP "Description:" 4 |
| 12423 |
A JSON object mapping category names to their replacements. |
| 12424 |
|
| 12425 |
.IP "Special Values:" 4 |
| 12426 |
.br |
| 12427 |
* \f[I]"compat"\f[] |
| 12428 |
.. code:: json |
| 12429 |
|
| 12430 |
{ |
| 12431 |
"coomer" : "coomerparty", |
| 12432 |
"kemono" : "kemonoparty", |
| 12433 |
"turbo" : "saint", |
| 12434 |
"schalenetwork": "koharu", |
| 12435 |
"naver-chzzk" : "chzzk", |
| 12436 |
"naver-blog" : "naver", |
| 12437 |
"naver-webtoon": "naverwebtoon", |
| 12438 |
"pixiv-novel" : "pixiv", |
| 12439 |
"pixiv-novel:novel" : ["pixiv", "novel"], |
| 12440 |
"pixiv-novel:user" : ["pixiv", "novel-user"], |
| 12441 |
"pixiv-novel:series" : ["pixiv", "novel-series"], |
| 12442 |
"pixiv-novel:bookmark": ["pixiv", "novel-bookmark"] |
| 12443 |
} |
| 12444 |
|
| 12445 |
|
| 12446 |
.SS extractor.config-map |
| 12447 |
.IP "Type:" 6 |
| 12448 |
.br |
| 12449 |
* \f[I]object\f[] (src-category → dest-category) |
| 12450 |
.br |
| 12451 |
* \f[I]list\f[] of [src-category, dest-category] pairs |
| 12452 |
|
| 12453 |
.IP "Default:" 9 |
| 12454 |
.. code:: json |
| 12455 |
|
| 12456 |
{ |
| 12457 |
"coomerparty" : "coomer", |
| 12458 |
"kemonoparty" : "kemono", |
| 12459 |
"giantessbooru": "sizebooru", |
| 12460 |
"koharu" : "schalenetwork", |
| 12461 |
"chzzk" : "naver-chzzk", |
| 12462 |
"naver" : "naver-blog", |
| 12463 |
"naverwebtoon" : "naver-webtoon", |
| 12464 |
"pixiv" : "pixiv-novel", |
| 12465 |
"saint" : "turbo" |
| 12466 |
} |
| 12467 |
|
| 12468 |
.IP "Description:" 4 |
| 12469 |
Duplicate the configuration settings of extractor categories |
| 12470 |
to other names. |
| 12471 |
|
| 12472 |
For example, a \f[I]"naver": "naver-blog"\f[] key-value pair will make all |
| 12473 |
\f[I]naver\f[] config settings available for \f[I]naver-blog\f[] extractors as well. |
| 12474 |
|
| 12475 |
|
| 12476 |
.SS jinja.environment |
| 12477 |
.IP "Type:" 6 |
| 12478 |
\f[I]object\f[] (name → value) |
| 12479 |
|
| 12480 |
.IP "Example:" 4 |
| 12481 |
.. code:: json |
| 12482 |
|
| 12483 |
{ |
| 12484 |
"variable_start_string": "(((", |
| 12485 |
"variable_end_string" : ")))", |
| 12486 |
"keep_trailing_newline": true |
| 12487 |
} |
| 12488 |
|
| 12489 |
.IP "Description:" 4 |
| 12490 |
Initialization parameters for the \f[I]jinja\f[] |
| 12491 |
\f[I]Environment\f[] |
| 12492 |
object. |
| 12493 |
|
| 12494 |
|
| 12495 |
.SS jinja.policies |
| 12496 |
.IP "Type:" 6 |
| 12497 |
\f[I]object\f[] (name → value) |
| 12498 |
|
| 12499 |
.IP "Example:" 4 |
| 12500 |
.. code:: json |
| 12501 |
|
| 12502 |
{ |
| 12503 |
"urlize.rel": "nofollow noopener", |
| 12504 |
"ext.i18n.trimmed": true |
| 12505 |
} |
| 12506 |
|
| 12507 |
.IP "Description:" 4 |
| 12508 |
\f[I]jinja\f[] |
| 12509 |
\f[I]Policies\f[] |
| 12510 |
|
| 12511 |
|
| 12512 |
.SS jinja.filters |
| 12513 |
.IP "Type:" 6 |
| 12514 |
\f[I]Module\f[] |
| 12515 |
|
| 12516 |
.IP "Description:" 4 |
| 12517 |
A Python \f[I]Module\f[] containing custom \f[I]jinja\f[] |
| 12518 |
\f[I]filters\f[] |
| 12519 |
|
| 12520 |
|
| 12521 |
.SS jinja.tests |
| 12522 |
.IP "Type:" 6 |
| 12523 |
\f[I]Module\f[] |
| 12524 |
|
| 12525 |
.IP "Description:" 4 |
| 12526 |
A Python \f[I]Module\f[] containing custom \f[I]jinja\f[] |
| 12527 |
\f[I]tests\f[] |
| 12528 |
|
| 12529 |
|
| 12530 |
.SS globals |
| 12531 |
.IP "Type:" 6 |
| 12532 |
\f[I]Module\f[] |
| 12533 |
|
| 12534 |
.IP "Description:" 4 |
| 12535 |
A Python \f[I]Module\f[] whose namespace, |
| 12536 |
in addition to the \f[I]GLOBALS\f[] dict in |
| 12537 |
\f[I]util.py\f[], |
| 12538 |
is used as \f[I]globals parameter\f[] for compiled Expressions_. |
| 12539 |
|
| 12540 |
|
| 12541 |
.SS cache.file |
| 12542 |
.IP "Type:" 6 |
| 12543 |
\f[I]Path\f[] |
| 12544 |
|
| 12545 |
.IP "Default:" 9 |
| 12546 |
.br |
| 12547 |
* (\f[I]%APPDATA%\f[] or \f[I]"~"\f[]) + \f[I]"/gallery-dl/cache.sqlite3"\f[] on Windows |
| 12548 |
.br |
| 12549 |
* (\f[I]$XDG_CACHE_HOME\f[] or \f[I]"~/.cache"\f[]) + \f[I]"/gallery-dl/cache.sqlite3"\f[] on all other platforms |
| 12550 |
|
| 12551 |
.IP "Description:" 4 |
| 12552 |
Path of the SQLite3 database used to cache login sessions, |
| 12553 |
cookies and API tokens across gallery-dl invocations. |
| 12554 |
|
| 12555 |
Set this option to \f[I]":memory:"\f[], \f[I]null\f[], or an invalid path |
| 12556 |
to disable creating a file for this cache. |
| 12557 |
|
| 12558 |
|
| 12559 |
.SS filters-environment |
| 12560 |
.IP "Type:" 6 |
| 12561 |
.br |
| 12562 |
* \f[I]bool\f[] |
| 12563 |
.br |
| 12564 |
* \f[I]string\f[] |
| 12565 |
|
| 12566 |
.IP "Default:" 9 |
| 12567 |
\f[I]true\f[] |
| 12568 |
|
| 12569 |
.IP "Description:" 4 |
| 12570 |
Evaluate \f[I]Expressions\f[] in a special environment |
| 12571 |
preventing them from raising fatal exceptions. |
| 12572 |
|
| 12573 |
\f[I]true\f[] \f[I] \f[I]"tryexcept"\f[] |
| 12574 |
Wrap expressions in a try/except block; |
| 12575 |
Evaluate expressions raising an exception as \f[I]false\f[] |
| 12576 |
\f[I]false\f[] \f[] \f[I]"raw"\f[] |
| 12577 |
Do not wrap expressions in a special environment |
| 12578 |
\f[I]"defaultdict"\f[] |
| 12579 |
Prevent exceptions when accessing undefined variables |
| 12580 |
by using a \f[I]defaultdict\f[] |
| 12581 |
|
| 12582 |
|
| 12583 |
.SS format-operator-dot |
| 12584 |
.IP "Type:" 6 |
| 12585 |
\f[I]bool\f[] |
| 12586 |
|
| 12587 |
.IP "Default:" 9 |
| 12588 |
\f[I]true\f[] |
| 12589 |
|
| 12590 |
.IP "Description:" 4 |
| 12591 |
In standard \f[I]Format Strings\f[], allow the dot operator \f[I].\f[] |
| 12592 |
to function as a general access operator |
| 12593 |
in addition to regular attribute access. |
| 12594 |
|
| 12595 |
.br |
| 12596 |
* \f[I]obj.attribute\f[] |
| 12597 |
.br |
| 12598 |
* \f[I]dict.fieldname\f[] |
| 12599 |
.br |
| 12600 |
* \f[I]list.123\f[] |
| 12601 |
|
| 12602 |
|
| 12603 |
.SS format-separator |
| 12604 |
.IP "Type:" 6 |
| 12605 |
\f[I]string\f[] |
| 12606 |
|
| 12607 |
.IP "Default:" 9 |
| 12608 |
\f[I]"/"\f[] |
| 12609 |
|
| 12610 |
.IP "Description:" 4 |
| 12611 |
Character(s) used as argument separator in \f[I]Format String\f[] |
| 12612 |
\f[I]format specifiers\f[]. |
| 12613 |
|
| 12614 |
For example, setting this option to \f[I]"#"\f[] would allow a replacement |
| 12615 |
operation to be \f[I]Rold#new#\f[] instead of the default \f[I]Rold/new/\f[] |
| 12616 |
|
| 12617 |
|
| 12618 |
.SS input-files |
| 12619 |
.IP "Type:" 6 |
| 12620 |
\f[I]list\f[] of \f[I]Path\f[] |
| 12621 |
|
| 12622 |
.IP "Example:" 4 |
| 12623 |
["~/urls.txt", "$HOME/input"] |
| 12624 |
|
| 12625 |
.IP "Description:" 4 |
| 12626 |
Additional input files. |
| 12627 |
|
| 12628 |
|
| 12629 |
.SS signals-ignore |
| 12630 |
.IP "Type:" 6 |
| 12631 |
\f[I]list\f[] of \f[I]strings\f[] |
| 12632 |
|
| 12633 |
.IP "Example:" 4 |
| 12634 |
["SIGTTOU", "SIGTTIN", "SIGTERM"] |
| 12635 |
|
| 12636 |
.IP "Description:" 4 |
| 12637 |
The list of signal names to ignore, i.e. set |
| 12638 |
\f[I]SIG_IGN\f[] |
| 12639 |
as signal handler for. |
| 12640 |
|
| 12641 |
|
| 12642 |
.SS signals-actions |
| 12643 |
.IP "Type:" 6 |
| 12644 |
\f[I]object\f[] (signal → \f[I]Action(s)\f[]) |
| 12645 |
|
| 12646 |
.IP "Example:" 4 |
| 12647 |
.. code:: json |
| 12648 |
|
| 12649 |
{ |
| 12650 |
"SIGINT" : "flag download = stop", |
| 12651 |
"SIGUSR1": [ |
| 12652 |
"print Received SIGUSR1", |
| 12653 |
"exec notify.sh", |
| 12654 |
"exit 127" |
| 12655 |
] |
| 12656 |
} |
| 12657 |
|
| 12658 |
.IP "Description:" 4 |
| 12659 |
\f[I]Action(s)\f[] to perform when a |
| 12660 |
\f[I]signal\f[] |
| 12661 |
is received. |
| 12662 |
|
| 12663 |
|
| 12664 |
.SS subconfigs |
| 12665 |
.IP "Type:" 6 |
| 12666 |
\f[I]list\f[] of \f[I]Path\f[] |
| 12667 |
|
| 12668 |
.IP "Example:" 4 |
| 12669 |
["~/cfg-twitter.json", "~/cfg-reddit.json"] |
| 12670 |
|
| 12671 |
.IP "Description:" 4 |
| 12672 |
Additional configuration files to load. |
| 12673 |
|
| 12674 |
|
| 12675 |
.SS warnings |
| 12676 |
.IP "Type:" 6 |
| 12677 |
\f[I]string\f[] |
| 12678 |
|
| 12679 |
.IP "Default:" 9 |
| 12680 |
\f[I]"default"\f[] |
| 12681 |
|
| 12682 |
.IP "Description:" 4 |
| 12683 |
The \f[I]Warnings Filter action\f[] |
| 12684 |
used for (urllib3) warnings. |
| 12685 |
|
| 12686 |
|
| 12687 |
.SS server.host |
| 12688 |
.IP "Type:" 6 |
| 12689 |
\f[I]string\f[] |
| 12690 |
|
| 12691 |
.IP "Default:" 9 |
| 12692 |
\f[I]"127.0.0.1"\f[] |
| 12693 |
|
| 12694 |
.IP "Description:" 4 |
| 12695 |
Host to bind the server/socket to. |
| 12696 |
|
| 12697 |
|
| 12698 |
.SS server.port |
| 12699 |
.IP "Type:" 6 |
| 12700 |
\f[I]int\f[] |
| 12701 |
|
| 12702 |
.IP "Default:" 9 |
| 12703 |
\f[I]64696\f[] |
| 12704 |
|
| 12705 |
.IP "Description:" 4 |
| 12706 |
Port to bind the server/socket to. |
| 12707 |
|
| 12708 |
|
| 12709 |
.SS server.key |
| 12710 |
.IP "Type:" 6 |
| 12711 |
\f[I]string\f[] |
| 12712 |
|
| 12713 |
.IP "Default:" 9 |
| 12714 |
\f[I]"gallery_dl"\f[] |
| 12715 |
|
| 12716 |
.IP "Description:" 4 |
| 12717 |
A string that is added to the front of each request to differentiate and |
| 12718 |
avoid random requests sent to the listener from the gallery_dl specific ones. |
| 12719 |
|
| 12720 |
|
| 12721 |
.SS server.enabled |
| 12722 |
.IP "Type:" 6 |
| 12723 |
\f[I]bool\f[] |
| 12724 |
|
| 12725 |
.IP "Default:" 9 |
| 12726 |
\f[I]false\f[] |
| 12727 |
|
| 12728 |
.IP "Description:" 4 |
| 12729 |
Send input URLs to a gallery-dl server queue. |
| 12730 |
|
| 12731 |
|
| 12732 |
.SS server.timeout |
| 12733 |
.IP "Type:" 6 |
| 12734 |
\f[I]int\f[] |
| 12735 |
|
| 12736 |
.IP "Default:" 9 |
| 12737 |
\f[I]10\f[] |
| 12738 |
|
| 12739 |
.IP "Description:" 4 |
| 12740 |
Sets maximum timeout before queue ends and turns off the server if |
| 12741 |
queue is empty. If set to -1, then the server will run forever. |
| 12742 |
|
| 12743 |
|
| 12744 |
.SH API TOKENS & IDS |
| 12745 |
.SS extractor.deviantart.client-id & .client-secret |
| 12746 |
.IP "Type:" 6 |
| 12747 |
\f[I]string\f[] |
| 12748 |
|
| 12749 |
.IP "How To:" 4 |
| 12750 |
.br |
| 12751 |
* login and visit DeviantArt's |
| 12752 |
\f[I]Applications & Keys\f[] |
| 12753 |
section |
| 12754 |
.br |
| 12755 |
* click "Register Application" |
| 12756 |
.br |
| 12757 |
* scroll to "OAuth2 Redirect URI Whitelist (Required)" |
| 12758 |
and enter "https://mikf.github.io/gallery-dl/oauth-redirect.html" |
| 12759 |
.br |
| 12760 |
* scroll to the bottom and agree to the API License Agreement. |
| 12761 |
Submission Policy, and Terms of Service. |
| 12762 |
.br |
| 12763 |
* click "Save" |
| 12764 |
.br |
| 12765 |
* copy \f[I]client_id\f[] and \f[I]client_secret\f[] of your new |
| 12766 |
application and put them in your configuration file |
| 12767 |
as \f[I]"client-id"\f[] and \f[I]"client-secret"\f[] |
| 12768 |
.br |
| 12769 |
* clear your \f[I]cache\f[] to delete any remaining |
| 12770 |
\f[I]access-token\f[] entries. (\f[I]gallery-dl --clear-cache deviantart\f[]) |
| 12771 |
.br |
| 12772 |
* get a new \f[I]refresh-token\f[] for the |
| 12773 |
new \f[I]client-id\f[] (\f[I]gallery-dl oauth:deviantart\f[]) |
| 12774 |
|
| 12775 |
|
| 12776 |
.SS extractor.flickr.api-key & .api-secret |
| 12777 |
.IP "Type:" 6 |
| 12778 |
\f[I]string\f[] |
| 12779 |
|
| 12780 |
.IP "How To:" 4 |
| 12781 |
.br |
| 12782 |
* login and \f[I]Create an App\f[] |
| 12783 |
in Flickr's \f[I]App Garden\f[] |
| 12784 |
.br |
| 12785 |
* click "APPLY FOR A NON-COMMERCIAL KEY" |
| 12786 |
.br |
| 12787 |
* fill out the form with a random name and description |
| 12788 |
and click "SUBMIT" |
| 12789 |
.br |
| 12790 |
* copy \f[I]Key\f[] and \f[I]Secret\f[] and put them in your configuration file |
| 12791 |
as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[] |
| 12792 |
|
| 12793 |
|
| 12794 |
.SS extractor.mangadex.client-id & .client-secret |
| 12795 |
.IP "Type:" 6 |
| 12796 |
\f[I]string\f[] |
| 12797 |
|
| 12798 |
.IP "How To:" 4 |
| 12799 |
.br |
| 12800 |
* login and go to your \f[I]User Settings\f[] |
| 12801 |
.br |
| 12802 |
* open the "API Clients" section |
| 12803 |
.br |
| 12804 |
* click "\f[I]+ Create\f[]" |
| 12805 |
.br |
| 12806 |
* choose a name |
| 12807 |
.br |
| 12808 |
* click "\f[I]✔️ Create\f[]" |
| 12809 |
.br |
| 12810 |
* wait for approval / reload the page |
| 12811 |
.br |
| 12812 |
* copy the value after "AUTOAPPROVED ACTIVE" in the form "personal-client-..." |
| 12813 |
and put it in your configuration file as \f[I]"client-id"\f[] |
| 12814 |
.br |
| 12815 |
* click "\f[I]Get Secret\f[]", then "\f[I]Copy Secret\f[]", |
| 12816 |
and paste it into your configuration file as \f[I]"client-secret"\f[] |
| 12817 |
|
| 12818 |
|
| 12819 |
.SS extractor.reddit.client-id & .user-agent-oauth |
| 12820 |
.IP "Type:" 6 |
| 12821 |
\f[I]string\f[] |
| 12822 |
|
| 12823 |
.IP "How To:" 4 |
| 12824 |
.br |
| 12825 |
* login and visit the \f[I]apps\f[] |
| 12826 |
section of your account's preferences |
| 12827 |
.br |
| 12828 |
* click the "are you a developer? create an app..." button |
| 12829 |
.br |
| 12830 |
* fill out the form: |
| 12831 |
|
| 12832 |
.br |
| 12833 |
* choose a name |
| 12834 |
.br |
| 12835 |
* select "installed app" |
| 12836 |
.br |
| 12837 |
* set "redirect uri" to http://localhost:6414/ |
| 12838 |
.br |
| 12839 |
* solve the "I'm not a robot" challenge if needed |
| 12840 |
.br |
| 12841 |
* click "create app" |
| 12842 |
|
| 12843 |
.br |
| 12844 |
* copy the client id (third line, under your application's name and |
| 12845 |
"installed app") and put it in your configuration file |
| 12846 |
as \f[I]"client-id"\f[] |
| 12847 |
.br |
| 12848 |
* use "\f[I]Python:<application name>:v1.0 (by /u/<username>)\f[]" as |
| 12849 |
\f[I]user-agent-oauth\f[] and replace \f[I]<application name>\f[] and \f[I]<username>\f[] |
| 12850 |
accordingly (see Reddit's |
| 12851 |
\f[I]API access rules\f[]) |
| 12852 |
.br |
| 12853 |
* clear your \f[I]cache\f[] to delete any remaining |
| 12854 |
\f[I]access-token\f[] entries. (\f[I]gallery-dl --clear-cache reddit\f[]) |
| 12855 |
.br |
| 12856 |
* get a \f[I]refresh-token\f[] for the |
| 12857 |
new \f[I]client-id\f[] (\f[I]gallery-dl oauth:reddit\f[]) |
| 12858 |
|
| 12859 |
|
| 12860 |
.SS extractor.smugmug.api-key & .api-secret |
| 12861 |
.IP "Type:" 6 |
| 12862 |
\f[I]string\f[] |
| 12863 |
|
| 12864 |
.IP "How To:" 4 |
| 12865 |
.br |
| 12866 |
* login and \f[I]Apply for an API Key\f[] |
| 12867 |
.br |
| 12868 |
* fill out the form: |
| 12869 |
|
| 12870 |
.br |
| 12871 |
* choose a random name and description |
| 12872 |
.br |
| 12873 |
* set "Type" to "Application" |
| 12874 |
.br |
| 12875 |
* set "Platform" to "All" |
| 12876 |
.br |
| 12877 |
* set "Use" to "Non-Commercial" |
| 12878 |
.br |
| 12879 |
* tick the two checkboxes at the bottom |
| 12880 |
.br |
| 12881 |
* click "Apply" |
| 12882 |
|
| 12883 |
.br |
| 12884 |
* copy \f[I]API Key\f[] and \f[I]API Secret\f[] |
| 12885 |
and put them in your configuration file |
| 12886 |
as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[] |
| 12887 |
|
| 12888 |
|
| 12889 |
.SS extractor.tumblr.api-key & .api-secret |
| 12890 |
.IP "Type:" 6 |
| 12891 |
\f[I]string\f[] |
| 12892 |
|
| 12893 |
.IP "How To:" 4 |
| 12894 |
.br |
| 12895 |
* login and visit Tumblr's |
| 12896 |
\f[I]Applications\f[] section |
| 12897 |
.br |
| 12898 |
* click "Register application" |
| 12899 |
.br |
| 12900 |
* fill out the form: |
| 12901 |
|
| 12902 |
.br |
| 12903 |
* choose a random name and description |
| 12904 |
.br |
| 12905 |
* set "Application Website" to https://example.org/ |
| 12906 |
.br |
| 12907 |
* set "Default callback URL" to https://example.org/ |
| 12908 |
.br |
| 12909 |
* solve the "I'm not a robot" challenge |
| 12910 |
.br |
| 12911 |
* click "Register" |
| 12912 |
|
| 12913 |
.br |
| 12914 |
* click "Show secret key" (below "OAuth Consumer Key") |
| 12915 |
.br |
| 12916 |
* copy your \f[I]OAuth Consumer Key\f[] and \f[I]Secret Key\f[] |
| 12917 |
and put them in your configuration file |
| 12918 |
as \f[I]"api-key"\f[] and \f[I]"api-secret"\f[] |
| 12919 |
|
| 12920 |
|
| 12921 |
.SH CUSTOM TYPES |
| 12922 |
.SS Date |
| 12923 |
.IP "Type:" 6 |
| 12924 |
.br |
| 12925 |
* \f[I]string\f[] |
| 12926 |
.br |
| 12927 |
* \f[I]integer\f[] |
| 12928 |
|
| 12929 |
.IP "Example:" 4 |
| 12930 |
.br |
| 12931 |
* "2019-01-01" |
| 12932 |
.br |
| 12933 |
* "2019-01-01 03:00:00" |
| 12934 |
.br |
| 12935 |
* "2019-03-08T12:30:00Z" |
| 12936 |
.br |
| 12937 |
* 1546297200 |
| 12938 |
|
| 12939 |
.IP "Description:" 4 |
| 12940 |
A \f[I]Date\f[] value represents a specific point in time. |
| 12941 |
|
| 12942 |
.br |
| 12943 |
* If given as \f[I]string\f[], it is parsed according to \f[I]ISO 8601\f[]. |
| 12944 |
.br |
| 12945 |
* If given as \f[I]integer\f[], it is interpreted as UTC timestamp. |
| 12946 |
|
| 12947 |
|
| 12948 |
.SS Duration |
| 12949 |
.IP "Type:" 6 |
| 12950 |
.br |
| 12951 |
* \f[I]float\f[] |
| 12952 |
.br |
| 12953 |
* \f[I]list\f[] with 2 \f[I]floats\f[] |
| 12954 |
.br |
| 12955 |
* \f[I]string\f[] |
| 12956 |
|
| 12957 |
.IP "Example:" 4 |
| 12958 |
.br |
| 12959 |
* 2.85 |
| 12960 |
.br |
| 12961 |
* [1.5, 3.0] |
| 12962 |
.br |
| 12963 |
* "2.85", "1.5-3.0" |
| 12964 |
|
| 12965 |
.IP "Description:" 4 |
| 12966 |
A \f[I]Duration\f[] represents a span of time in seconds. |
| 12967 |
|
| 12968 |
.br |
| 12969 |
* If given as a single \f[I]float\f[], it will be used as that exact value. |
| 12970 |
.br |
| 12971 |
* If given as a \f[I]list\f[] with 2 floating-point numbers \f[I]a\f[] & \f[I]b\f[] , |
| 12972 |
it will be randomly chosen with uniform distribution such that \f[I]a <= N <= b\f[]. |
| 12973 |
(see \f[I]random.uniform()\f[]) |
| 12974 |
.br |
| 12975 |
* If given as a \f[I]string\f[], it can either represent a single \f[I]float\f[] |
| 12976 |
value (\f[I]"2.85"\f[]) or a range (\f[I]"1.5-3.0"\f[]). |
| 12977 |
|
| 12978 |
|
| 12979 |
.SS Duration+ |
| 12980 |
.IP "Type:" 6 |
| 12981 |
.br |
| 12982 |
* \f[I]Duration\f[] |
| 12983 |
.br |
| 12984 |
* \f[I]string\f[] |
| 12985 |
|
| 12986 |
.IP "Example:" 4 |
| 12987 |
.br |
| 12988 |
* "1.5-3.0" |
| 12989 |
.br |
| 12990 |
* "lin=5" |
| 12991 |
.br |
| 12992 |
* "lin:20=30-60" |
| 12993 |
.br |
| 12994 |
* "exp:1.8=40" |
| 12995 |
|
| 12996 |
.IP "Description:" 4 |
| 12997 |
A \f[I]Duration\f[] value. |
| 12998 |
|
| 12999 |
When given as \f[I]string\f[], it can optionally be prefixed with |
| 13000 |
\f[I]lin[:START[:MAX]]=\f[] for linear or |
| 13001 |
\f[I]exp[:BASE[:START[:MAX]]]=\f[] for exponential growth. |
| 13002 |
|
| 13003 |
|
| 13004 |
.SS Module |
| 13005 |
.IP "Type:" 6 |
| 13006 |
.br |
| 13007 |
* \f[I]string\f[] |
| 13008 |
.br |
| 13009 |
* \f[I]Path\f[] |
| 13010 |
|
| 13011 |
.IP "Example:" 4 |
| 13012 |
.br |
| 13013 |
* "gdl_utils" |
| 13014 |
.br |
| 13015 |
* "~/.local/share/gdl/" |
| 13016 |
.br |
| 13017 |
* "~/.local/share/gdl_utils.py" |
| 13018 |
|
| 13019 |
.IP "Description:" 4 |
| 13020 |
A Python |
| 13021 |
\f[I]Module\f[] |
| 13022 |
|
| 13023 |
This can be one of |
| 13024 |
|
| 13025 |
.br |
| 13026 |
* the name of an |
| 13027 |
\f[I]importable\f[] |
| 13028 |
Python module |
| 13029 |
.br |
| 13030 |
* the \f[I]Path\f[] to a Python |
| 13031 |
\f[I]package\f[] |
| 13032 |
.br |
| 13033 |
* the \f[I]Path\f[] to a .py file |
| 13034 |
|
| 13035 |
See |
| 13036 |
\f[I]Python/Modules\f[] |
| 13037 |
for details. |
| 13038 |
|
| 13039 |
|
| 13040 |
.SS Path |
| 13041 |
.IP "Type:" 6 |
| 13042 |
\f[I]string\f[] |
| 13043 |
|
| 13044 |
.IP "Example:" 4 |
| 13045 |
.br |
| 13046 |
* "file.ext" |
| 13047 |
.br |
| 13048 |
* "~/path/to/file.ext" |
| 13049 |
.br |
| 13050 |
* "$HOME/path/to/file.ext" |
| 13051 |
.br |
| 13052 |
* "C:\\\\path\\\\to\\\\file.ext" |
| 13053 |
|
| 13054 |
.IP "Description:" 4 |
| 13055 |
A \f[I]Path\f[] is a \f[I]string\f[] representing the location |
| 13056 |
of a file or directory. |
| 13057 |
|
| 13058 |
Simple \f[I]tilde expansion\f[] |
| 13059 |
and \f[I]environment variable expansion\f[] |
| 13060 |
is supported. |
| 13061 |
|
| 13062 |
.IP "Note:" 4 |
| 13063 |
In Windows environments, |
| 13064 |
both backslashes \f[I]\\\f[] as well as forward slashes \f[I]/\f[] |
| 13065 |
can be used as path separators. |
| 13066 |
|
| 13067 |
However, since backslashes are JSON's escape character, |
| 13068 |
they themselves must be escaped as \f[I]\\\\\f[]. |
| 13069 |
|
| 13070 |
For example, a path like \f[I]C:\\path\\to\\file.ext\f[] has to be specified as |
| 13071 |
|
| 13072 |
.br |
| 13073 |
* \f[I]"C:\\\\path\\\\to\\\\file.ext"\f[] when using backslashes |
| 13074 |
.br |
| 13075 |
* \f[I]"C:/path/to/file.ext"\f[] when using forward slashes |
| 13076 |
|
| 13077 |
in a JSON file. |
| 13078 |
|
| 13079 |
|
| 13080 |
.SS Path+ |
| 13081 |
.IP "Type:" 6 |
| 13082 |
.br |
| 13083 |
* \f[I]Path\f[] |
| 13084 |
.br |
| 13085 |
* \f[I]list\f[] of \f[I]Format Strings\f[] |
| 13086 |
|
| 13087 |
.IP "Example:" 4 |
| 13088 |
.br |
| 13089 |
* "file.ext" |
| 13090 |
.br |
| 13091 |
* [":b", "{category}", "{user}.sqlite3"] |
| 13092 |
.br |
| 13093 |
* [":~", "gdl", "{category}", "{user}.sqlite3"] |
| 13094 |
.br |
| 13095 |
* [":$HOME", "gdl", "{category}", "{user}.sqlite3"] |
| 13096 |
.br |
| 13097 |
* ["/opt", "archives", "{category}", "{user}.sqlite3"] |
| 13098 |
.br |
| 13099 |
* ["C:", "archives", "{category}", "{user}.sqlite3"] |
| 13100 |
.br |
| 13101 |
* ["\\\\\\\\server\\\\archives", "{category}", "{user}.sqlite3"] |
| 13102 |
|
| 13103 |
.IP "Description:" 4 |
| 13104 |
A \f[I]Path\f[] that supports |
| 13105 |
\f[I]path-restricted\f[] |
| 13106 |
\f[I]Format String\f[] expansion |
| 13107 |
when given as a \f[I]list\f[] of \f[I]string\f[] values. |
| 13108 |
|
| 13109 |
Use a string starting with \f[I]:\f[] as first list element |
| 13110 |
to prefix the path with one of the following: |
| 13111 |
|
| 13112 |
\f[I]":"\f[] \f[I] \f[I]":b"\f[] \f[] \f[I]":base"\f[] |
| 13113 |
\f[I]base-directory\f[] |
| 13114 |
\f[I]":d"\f[] \f[I] \f[I]":dir"\f[] |
| 13115 |
\f[I]base-directory\f[] + |
| 13116 |
\f[I]directory\f[] |
| 13117 |
\f[I]":~"\f[] \f[] \f[I]":~USER"\f[] |
| 13118 |
home directory |
| 13119 |
(\f[I]os.path.expanduser\f[]) |
| 13120 |
\f[I]":$ENV"\f[] (\f[I]$\f[] + environment variable name) |
| 13121 |
value of environment variable |
| 13122 |
|
| 13123 |
Use \f[I]<drive-letter>:\f[] or \f[I]\\\\\f[] on Windows |
| 13124 |
or \f[I]/\f[] on other platforms |
| 13125 |
as starting characters of the first list element |
| 13126 |
to interpret this as an absolute path. |
| 13127 |
|
| 13128 |
Otherwise it is interpreted as a path |
| 13129 |
relative to the current working directory. |
| 13130 |
|
| 13131 |
|
| 13132 |
.SS Logging Configuration |
| 13133 |
.IP "Type:" 6 |
| 13134 |
\f[I]object\f[] |
| 13135 |
|
| 13136 |
.IP "Example:" 4 |
| 13137 |
.. code:: json |
| 13138 |
|
| 13139 |
{ |
| 13140 |
"format" : "{asctime} {name}: {message}", |
| 13141 |
"format-date": "%H:%M:%S", |
| 13142 |
"path" : "~/log.txt", |
| 13143 |
"encoding" : "ascii", |
| 13144 |
"defer" : true |
| 13145 |
} |
| 13146 |
|
| 13147 |
.. code:: json |
| 13148 |
|
| 13149 |
{ |
| 13150 |
"level" : "debug", |
| 13151 |
"format": { |
| 13152 |
"debug" : "debug: {message}", |
| 13153 |
"info" : "[{name}] {message}", |
| 13154 |
"warning": "Warning: {message}", |
| 13155 |
"error" : "ERROR: {message}" |
| 13156 |
} |
| 13157 |
} |
| 13158 |
|
| 13159 |
|
| 13160 |
.IP "Description:" 4 |
| 13161 |
Extended logging output configuration. |
| 13162 |
|
| 13163 |
.br |
| 13164 |
* format |
| 13165 |
.br |
| 13166 |
* General \f[I]Format String\f[] for logging messages |
| 13167 |
or an \f[I]object\f[] with \f[I]Format Strings\f[] for each loglevel. |
| 13168 |
|
| 13169 |
In addition to the default |
| 13170 |
\f[I]LogRecord attributes\f[], |
| 13171 |
it is also possible to access the current |
| 13172 |
\f[I]extractor\f[], |
| 13173 |
\f[I]job\f[], |
| 13174 |
\f[I]path\f[], |
| 13175 |
and keywords objects and their attributes, for example |
| 13176 |
\f[I]"{extractor.url}"\f[], \f[I]"{path.filename}"\f[], \f[I]"{keywords.title}"\f[] |
| 13177 |
.br |
| 13178 |
* Default: |
| 13179 |
\f[I]"[{name}][{levelname}] {message}"\f[] for |
| 13180 |
\f[I]logfile\f[], |
| 13181 |
\f[I]"{message}"\f[] for |
| 13182 |
\f[I]unsupportedfile\f[] and |
| 13183 |
\f[I]errorfile\f[] |
| 13184 |
.br |
| 13185 |
* format-date |
| 13186 |
.br |
| 13187 |
* Format string for \f[I]{asctime}\f[] fields in logging messages |
| 13188 |
(see \f[I]strftime() directives\f[]) |
| 13189 |
.br |
| 13190 |
* Default: \f[I]"%Y-%m-%d %H:%M:%S"\f[] |
| 13191 |
.br |
| 13192 |
* level |
| 13193 |
.br |
| 13194 |
* Minimum logging message level |
| 13195 |
(one of \f[I]"debug"\f[], \f[I]"info"\f[], \f[I]"warning"\f[], \f[I]"error"\f[], \f[I]"exception"\f[]) |
| 13196 |
.br |
| 13197 |
* Default: \f[I]"info"\f[] |
| 13198 |
.br |
| 13199 |
* path |
| 13200 |
.br |
| 13201 |
* \f[I]Path\f[] to the output file |
| 13202 |
.br |
| 13203 |
* mode |
| 13204 |
.br |
| 13205 |
* Mode in which the file is opened; |
| 13206 |
use \f[I]"w"\f[] to truncate or \f[I]"a"\f[] to append |
| 13207 |
(see \f[I]open()\f[]) |
| 13208 |
.br |
| 13209 |
* Default: |
| 13210 |
\f[I]"w"\f[] for |
| 13211 |
\f[I]logfile\f[] and |
| 13212 |
\f[I]unsupportedfile\f[], |
| 13213 |
\f[I]"a"\f[] for |
| 13214 |
\f[I]errorfile\f[] |
| 13215 |
.br |
| 13216 |
* encoding |
| 13217 |
.br |
| 13218 |
* File encoding |
| 13219 |
.br |
| 13220 |
* Default: \f[I]"utf-8"\f[] |
| 13221 |
.br |
| 13222 |
* defer |
| 13223 |
.br |
| 13224 |
* Defer file opening/creation until writing the first logging message |
| 13225 |
.br |
| 13226 |
* Default: |
| 13227 |
\f[I]false\f[] for |
| 13228 |
\f[I]logfile\f[], |
| 13229 |
\f[I]true\f[] for |
| 13230 |
\f[I]unsupportedfile\f[] and |
| 13231 |
\f[I]errorfile\f[] |
| 13232 |
|
| 13233 |
|
| 13234 |
.IP "Note:" 4 |
| 13235 |
path, mode, encoding, and defer |
| 13236 |
are only applied when configuring logging output to a file. |
| 13237 |
(See \f[I]logging.FileHandler\f[]) |
| 13238 |
|
| 13239 |
|
| 13240 |
.SS Postprocessor Configuration |
| 13241 |
.IP "Type:" 6 |
| 13242 |
\f[I]object\f[] |
| 13243 |
|
| 13244 |
.IP "Example:" 4 |
| 13245 |
.. code:: json |
| 13246 |
|
| 13247 |
{ "name": "mtime" } |
| 13248 |
|
| 13249 |
.. code:: json |
| 13250 |
|
| 13251 |
{ |
| 13252 |
"name" : "metadata/print@prepare", |
| 13253 |
"format": "{id}: {date}" |
| 13254 |
} |
| 13255 |
|
| 13256 |
.. code:: json |
| 13257 |
|
| 13258 |
{ |
| 13259 |
"name" : "zip", |
| 13260 |
"compression": "store", |
| 13261 |
"extension" : "cbz", |
| 13262 |
"filter" : "extension not in ('zip', 'rar')", |
| 13263 |
"whitelist" : ["mangadex", "exhentai", "nhentai"] |
| 13264 |
} |
| 13265 |
|
| 13266 |
.IP "Description:" 4 |
| 13267 |
An \f[I]object\f[] containing a \f[I]"name"\f[] attribute specifying the |
| 13268 |
post-processor type, as well as any of its \f[I]options\f[]. |
| 13269 |
|
| 13270 |
.br |
| 13271 |
* It is possible to set a \f[I]"filter"\f[] \f[I]Condition\f[] similar to |
| 13272 |
\f[I]file-filter\f[] |
| 13273 |
to only run a post-processor conditionally. |
| 13274 |
|
| 13275 |
.br |
| 13276 |
* It is possible set a \f[I]"whitelist"\f[] or \f[I]"blacklist"\f[] to |
| 13277 |
only enable or disable a post-processor for the specified |
| 13278 |
extractor categories. |
| 13279 |
|
| 13280 |
.br |
| 13281 |
* It is possible to specify a post-processor's \f[I]mode\f[] & \f[I]event\f[] |
| 13282 |
as part of its \f[I]name\f[] by adding \f[I]/MODE\f[] & \f[I]@EVENT\f[]. |
| 13283 |
For example |
| 13284 |
|
| 13285 |
.br |
| 13286 |
* \f[I]"name": "metadata/jsonl@post"\f[] |
| 13287 |
.br |
| 13288 |
* \f[I]"name": "ugoira/archive"\f[] |
| 13289 |
.br |
| 13290 |
* \f[I]"name": "exec@error"\f[] |
| 13291 |
|
| 13292 |
.br |
| 13293 |
* It is possible to inherit options from a post-processor preset defined |
| 13294 |
in the global \f[I]postprocessor\f[] block by using \f[I]"type": "NAME"\f[]. |
| 13295 |
For example |
| 13296 |
|
| 13297 |
.. code:: json |
| 13298 |
|
| 13299 |
{ |
| 13300 |
"extractor": { |
| 13301 |
"postprocessors": { |
| 13302 |
"#": "inherit from 'jl' preset", |
| 13303 |
"type": "jl", |
| 13304 |
"filename": "meta.jsonl" |
| 13305 |
} |
| 13306 |
}, |
| 13307 |
|
| 13308 |
"postprocessor": { |
| 13309 |
"jl": { |
| 13310 |
"name": "metadata/jsonl", |
| 13311 |
"open": "a" |
| 13312 |
} |
| 13313 |
} |
| 13314 |
} |
| 13315 |
|
| 13316 |
.IP "Available Post-Processor Types:" 4 |
| 13317 |
\f[I]actions\f[] |
| 13318 |
Perform \f[I]Action(s)\f[] |
| 13319 |
\f[I]classify\f[] |
| 13320 |
Categorize files by filename extension |
| 13321 |
\f[I]compare\f[] |
| 13322 |
Compare versions of the same file and replace/enumerate them on mismatch |
| 13323 |
.br |
| 13324 |
(requires \f[I]downloader.*.part\f[] = \f[I]true\f[] and \f[I]extractor.*.skip\f[] = \f[I]false\f[]) |
| 13325 |
.br |
| 13326 |
\f[I]directory\f[] |
| 13327 |
Reevaluate \f[I]directory\f[] \f[I]Format Strings\f[] |
| 13328 |
\f[I]exec\f[] |
| 13329 |
Execute external commands |
| 13330 |
\f[I]hash\f[] |
| 13331 |
Compute file hash digests |
| 13332 |
\f[I]metadata\f[] |
| 13333 |
Write metadata to separate files |
| 13334 |
\f[I]mtime\f[] |
| 13335 |
Set file modification time according to its metadata |
| 13336 |
\f[I]python\f[] |
| 13337 |
Call Python functions |
| 13338 |
\f[I]rename\f[] |
| 13339 |
Rename previously downloaded files |
| 13340 |
\f[I]ugoira\f[] |
| 13341 |
Convert Pixiv Ugoira to WebM using \f[I]ffmpeg\f[] |
| 13342 |
\f[I]zip\f[] |
| 13343 |
Store files in a ZIP archive |
| 13344 |
|
| 13345 |
|
| 13346 |
.SS Action |
| 13347 |
.IP "Type:" 6 |
| 13348 |
\f[I]string\f[] |
| 13349 |
|
| 13350 |
.IP "Example:" 4 |
| 13351 |
.br |
| 13352 |
* "exit" |
| 13353 |
.br |
| 13354 |
* "print Hello World" |
| 13355 |
.br |
| 13356 |
* "raise AbortExtraction an error occured" |
| 13357 |
.br |
| 13358 |
* "flag file = terminate" |
| 13359 |
.br |
| 13360 |
* "keyword title Hello World" |
| 13361 |
.br |
| 13362 |
* ["print Exiting", "exit 1"] |
| 13363 |
|
| 13364 |
.IP "Description:" 4 |
| 13365 |
An \f[I]Action\f[] is parsed as Action Type |
| 13366 |
followed by (optional) arguments: |
| 13367 |
\f[I]<type> <arg1> <arg2> …\f[] |
| 13368 |
|
| 13369 |
It is possible to specify more than one \f[I]action\f[] |
| 13370 |
by providing them as a \f[I]list\f[]: \f[I]["<action1>", "<action2>", …]\f[] |
| 13371 |
|
| 13372 |
Supported Action Types: |
| 13373 |
|
| 13374 |
\f[I]status\f[]: |
| 13375 |
Modify job exit status. |
| 13376 |
.br |
| 13377 |
Expected syntax is \f[I]<operator> <value>\f[] (e.g. \f[I]= 100\f[]). |
| 13378 |
.br |
| 13379 |
|
| 13380 |
Supported operators are |
| 13381 |
\f[I]=\f[] (assignment), |
| 13382 |
\f[I]&\f[] (bitwise AND), |
| 13383 |
\f[I]|\f[] (bitwise OR), |
| 13384 |
\f[I]^\f[] (bitwise XOR). |
| 13385 |
\f[I]level\f[]: |
| 13386 |
Modify severity level of the current logging message. |
| 13387 |
.br |
| 13388 |
Can be one of \f[I]debug\f[], \f[I]info\f[], \f[I]warning\f[], \f[I]error\f[] or an integer value. |
| 13389 |
.br |
| 13390 |
Use \f[I]0\f[] to ignore a message (\f[I]level = 0\f[]). |
| 13391 |
.br |
| 13392 |
\f[I]print\f[]: |
| 13393 |
Write argument to stdout. |
| 13394 |
\f[I]exec\f[]: |
| 13395 |
Run a shell command. |
| 13396 |
\f[I]abort\f[]: |
| 13397 |
Stop the current extractor run. |
| 13398 |
\f[I]terminate\f[]: |
| 13399 |
Stop the current extractor run, including parent extractors. |
| 13400 |
\f[I]restart\f[]: |
| 13401 |
Restart the current extractor run. |
| 13402 |
\f[I]raise\f[]: |
| 13403 |
Raise an exception. |
| 13404 |
|
| 13405 |
This can be an exception defined in |
| 13406 |
\f[I]exception.py\f[] |
| 13407 |
or a |
| 13408 |
\f[I]built-in exception\f[] |
| 13409 |
(e.g. \f[I]ZeroDivisionError\f[]) |
| 13410 |
\f[I]flag\f[]: |
| 13411 |
Set a \f[I]flag\f[]. |
| 13412 |
|
| 13413 |
Expected syntax is \f[I]<flag>[ = <value>]\f[] (e.g. \f[I]post = stop\f[]) |
| 13414 |
.br |
| 13415 |
\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[] |
| 13416 |
.br |
| 13417 |
\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[]) |
| 13418 |
.br |
| 13419 |
\f[I]keyword\f[]: |
| 13420 |
Set a \f[I]keyword\f[] value |
| 13421 |
\f[I]wait\f[]: |
| 13422 |
Sleep for a given \f[I]Duration\f[] or |
| 13423 |
.br |
| 13424 |
wait until Enter is pressed when no argument was given. |
| 13425 |
.br |
| 13426 |
\f[I]exit\f[]: |
| 13427 |
Exit the program with the given argument as exit status. |
| 13428 |
|
| 13429 |
|
| 13430 |
.SS Expression |
| 13431 |
.IP "Type:" 6 |
| 13432 |
\f[I]string\f[] |
| 13433 |
|
| 13434 |
.IP "Example:" 4 |
| 13435 |
.br |
| 13436 |
* "1 + 2 + 3" |
| 13437 |
.br |
| 13438 |
* "str(id) + '_' + title" |
| 13439 |
.br |
| 13440 |
* "' - '.join(tags[:3]) if tags else 'no tags'" |
| 13441 |
|
| 13442 |
.IP "Description:" 4 |
| 13443 |
A Python \f[I]Expression\f[] is a combination of |
| 13444 |
values, variables, operators, and function calls |
| 13445 |
that evaluate to a single value. |
| 13446 |
|
| 13447 |
.IP "Reference:" 4 |
| 13448 |
.br |
| 13449 |
* https://docs.python.org/3/reference/expressions.html |
| 13450 |
|
| 13451 |
|
| 13452 |
.SS Condition |
| 13453 |
.IP "Type:" 6 |
| 13454 |
.br |
| 13455 |
* \f[I]Expression\f[] |
| 13456 |
.br |
| 13457 |
* \f[I]list\f[] of \f[I]Expressions\f[] |
| 13458 |
|
| 13459 |
.IP "Example:" 4 |
| 13460 |
.br |
| 13461 |
* "not is_watching" |
| 13462 |
.br |
| 13463 |
* "locals().get('optional')" |
| 13464 |
.br |
| 13465 |
* "date >= datetime(2025, 7, 1) or abort()" |
| 13466 |
.br |
| 13467 |
* ["width > 800", "0.9 < width/height < 1.1"] |
| 13468 |
|
| 13469 |
.IP "Description:" 4 |
| 13470 |
A \f[I]Condition\f[] is an \f[I]Expression\f[] |
| 13471 |
whose result is evaluated as a \f[I]type-bool\f[] value. |
| 13472 |
|
| 13473 |
|
| 13474 |
.SS Format String |
| 13475 |
.IP "Type:" 6 |
| 13476 |
\f[I]string\f[] |
| 13477 |
|
| 13478 |
.IP "Example:" 4 |
| 13479 |
.br |
| 13480 |
* "foo" |
| 13481 |
.br |
| 13482 |
* "{username}" |
| 13483 |
.br |
| 13484 |
* "{title} ({id}).{extension}" |
| 13485 |
.br |
| 13486 |
* "\\fF {title.title()} ({num:>0{len(str(count))}} / {count}).{extension}" |
| 13487 |
|
| 13488 |
.IP "Description:" 4 |
| 13489 |
A \f[I]Format String\f[] allows creating dynamic text |
| 13490 |
by embedding metadata values directly into replacement fields |
| 13491 |
marked by curly braces \f[I]{...}\f[]. |
| 13492 |
|
| 13493 |
.IP "Reference:" 4 |
| 13494 |
.br |
| 13495 |
* \f[I]docs/formatting\f[] |
| 13496 |
.br |
| 13497 |
* https://docs.python.org/3/library/string.html#formatstrings |
| 13498 |
.br |
| 13499 |
* https://docs.python.org/3/library/string.html#formatspec |
| 13500 |
|
| 13501 |
|
| 13502 |
|
| 13503 |
.SH BUGS |
| 13504 |
https://codeberg.org/mikf/gallery-dl/issues |
| 13505 |
https://github.com/mikf/gallery-dl/issues |
| 13506 |
|
| 13507 |
.SH AUTHORS |
| 13508 |
Mike Fährmann <[email protected]> |
| 13509 |
.br |
| 13510 |
and https://github.com/mikf/gallery-dl/graphs/contributors |
| 13511 |
|
| 13512 |
.SH "SEE ALSO" |
| 13513 |
.BR gallery-dl (1) |