mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-03 01:15:57 +10:00
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"FORUMDL_ENABLED": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"x-aliases": ["SAVE_FORUMDL", "USE_FORUMDL"],
|
|
"description": "Enable forum downloading with forum-dl"
|
|
},
|
|
"FORUMDL_BINARY": {
|
|
"type": "string",
|
|
"default": "forum-dl",
|
|
"description": "Path to forum-dl binary"
|
|
},
|
|
"FORUMDL_TIMEOUT": {
|
|
"type": "integer",
|
|
"default": 3600,
|
|
"minimum": 30,
|
|
"x-fallback": "TIMEOUT",
|
|
"description": "Timeout for forum downloads in seconds"
|
|
},
|
|
"FORUMDL_OUTPUT_FORMAT": {
|
|
"type": "string",
|
|
"default": "jsonl",
|
|
"enum": ["jsonl", "warc", "mbox", "maildir", "mh", "mmdf", "babyl"],
|
|
"description": "Output format for forum downloads"
|
|
},
|
|
"FORUMDL_CHECK_SSL_VALIDITY": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"x-fallback": "CHECK_SSL_VALIDITY",
|
|
"description": "Whether to verify SSL certificates"
|
|
},
|
|
"FORUMDL_ARGS": {
|
|
"type": "array",
|
|
"items": {"type": "string"},
|
|
"default": [],
|
|
"x-aliases": ["FORUMDL_DEFAULT_ARGS"],
|
|
"description": "Default forum-dl arguments"
|
|
},
|
|
"FORUMDL_ARGS_EXTRA": {
|
|
"type": "array",
|
|
"items": {"type": "string"},
|
|
"default": [],
|
|
"x-aliases": ["FORUMDL_EXTRA_ARGS"],
|
|
"description": "Extra arguments to append to forum-dl command"
|
|
}
|
|
}
|
|
}
|