Files
ArchiveBox/archivebox/plugins/mercury/config.json
Nick Sweeting f0aa19fa7d wip
2025-12-28 17:51:54 -08:00

32 lines
829 B
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"
},
"NODE_BINARY": {
"type": "string",
"default": "node",
"description": "Path to Node.js binary"
},
"MERCURY_TIMEOUT": {
"type": "integer",
"default": 30,
"minimum": 5,
"x-fallback": "TIMEOUT",
"description": "Timeout for Mercury in seconds"
}
}
}