mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-03 01:15:57 +10:00
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"MERCURY_ENABLED": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"x-aliases": ["SAVE_MERCURY", "USE_MERCURY"],
|
|
"description": "Enable Mercury text extraction"
|
|
},
|
|
"MERCURY_BINARY": {
|
|
"type": "string",
|
|
"default": "postlight-parser",
|
|
"x-aliases": ["POSTLIGHT_PARSER_BINARY"],
|
|
"description": "Path to Mercury/Postlight parser binary"
|
|
},
|
|
"MERCURY_TIMEOUT": {
|
|
"type": "integer",
|
|
"default": 30,
|
|
"minimum": 5,
|
|
"x-fallback": "TIMEOUT",
|
|
"description": "Timeout for Mercury in seconds"
|
|
},
|
|
"MERCURY_ARGS": {
|
|
"type": "array",
|
|
"items": {"type": "string"},
|
|
"default": [],
|
|
"x-aliases": ["MERCURY_DEFAULT_ARGS"],
|
|
"description": "Default Mercury parser arguments"
|
|
},
|
|
"MERCURY_ARGS_EXTRA": {
|
|
"type": "array",
|
|
"items": {"type": "string"},
|
|
"default": [],
|
|
"x-aliases": ["MERCURY_EXTRA_ARGS"],
|
|
"description": "Extra arguments to append to Mercury parser command"
|
|
}
|
|
}
|
|
}
|