mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-03 01:15:57 +10:00
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"READABILITY_ENABLED": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"x-aliases": ["SAVE_READABILITY", "USE_READABILITY"],
|
|
"description": "Enable Readability text extraction"
|
|
},
|
|
"READABILITY_BINARY": {
|
|
"type": "string",
|
|
"default": "readability-extractor",
|
|
"description": "Path to readability-extractor binary"
|
|
},
|
|
"READABILITY_TIMEOUT": {
|
|
"type": "integer",
|
|
"default": 30,
|
|
"minimum": 5,
|
|
"x-fallback": "TIMEOUT",
|
|
"description": "Timeout for Readability in seconds"
|
|
},
|
|
"READABILITY_ARGS": {
|
|
"type": "array",
|
|
"items": {"type": "string"},
|
|
"default": [],
|
|
"x-aliases": ["READABILITY_DEFAULT_ARGS"],
|
|
"description": "Default Readability arguments"
|
|
},
|
|
"READABILITY_ARGS_EXTRA": {
|
|
"type": "array",
|
|
"items": {"type": "string"},
|
|
"default": [],
|
|
"x-aliases": ["READABILITY_EXTRA_ARGS"],
|
|
"description": "Extra arguments to append to Readability command"
|
|
}
|
|
}
|
|
}
|