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": {
|
|
"PAPERSDL_ENABLED": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"x-aliases": ["SAVE_PAPERSDL", "USE_PAPERSDL"],
|
|
"description": "Enable paper downloading with papers-dl"
|
|
},
|
|
"PAPERSDL_BINARY": {
|
|
"type": "string",
|
|
"default": "papers-dl",
|
|
"description": "Path to papers-dl binary"
|
|
},
|
|
"PAPERSDL_TIMEOUT": {
|
|
"type": "integer",
|
|
"default": 300,
|
|
"minimum": 30,
|
|
"x-fallback": "TIMEOUT",
|
|
"description": "Timeout for paper downloads in seconds"
|
|
},
|
|
"PAPERSDL_ARGS": {
|
|
"type": "array",
|
|
"items": {"type": "string"},
|
|
"default": ["fetch"],
|
|
"x-aliases": ["PAPERSDL_DEFAULT_ARGS"],
|
|
"description": "Default papers-dl arguments"
|
|
},
|
|
"PAPERSDL_ARGS_EXTRA": {
|
|
"type": "array",
|
|
"items": {"type": "string"},
|
|
"default": [],
|
|
"x-aliases": ["PAPERSDL_EXTRA_ARGS"],
|
|
"description": "Extra arguments to append to papers-dl command"
|
|
}
|
|
}
|
|
}
|