config.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "type": "object",
  4. "additionalProperties": false,
  5. "properties": {
  6. "SINGLEFILE_ENABLED": {
  7. "type": "boolean",
  8. "default": true,
  9. "x-aliases": ["SAVE_SINGLEFILE", "USE_SINGLEFILE"],
  10. "description": "Enable SingleFile archiving"
  11. },
  12. "SINGLEFILE_BINARY": {
  13. "type": "string",
  14. "default": "single-file",
  15. "x-aliases": ["SINGLE_FILE_BINARY"],
  16. "description": "Path to single-file binary"
  17. },
  18. "SINGLEFILE_NODE_BINARY": {
  19. "type": "string",
  20. "default": "node",
  21. "x-fallback": "NODE_BINARY",
  22. "description": "Path to Node.js binary"
  23. },
  24. "SINGLEFILE_CHROME_BINARY": {
  25. "type": "string",
  26. "default": "",
  27. "x-fallback": "CHROME_BINARY",
  28. "description": "Path to Chrome/Chromium binary"
  29. },
  30. "SINGLEFILE_TIMEOUT": {
  31. "type": "integer",
  32. "default": 60,
  33. "minimum": 10,
  34. "x-fallback": "TIMEOUT",
  35. "description": "Timeout for SingleFile in seconds"
  36. },
  37. "SINGLEFILE_USER_AGENT": {
  38. "type": "string",
  39. "default": "",
  40. "x-fallback": "USER_AGENT",
  41. "description": "User agent string"
  42. },
  43. "SINGLEFILE_COOKIES_FILE": {
  44. "type": "string",
  45. "default": "",
  46. "x-fallback": "COOKIES_FILE",
  47. "description": "Path to cookies file"
  48. },
  49. "SINGLEFILE_CHECK_SSL_VALIDITY": {
  50. "type": "boolean",
  51. "default": true,
  52. "x-fallback": "CHECK_SSL_VALIDITY",
  53. "description": "Whether to verify SSL certificates"
  54. },
  55. "SINGLEFILE_ARGS": {
  56. "type": "array",
  57. "items": {"type": "string"},
  58. "default": ["--browser-headless"],
  59. "x-aliases": ["SINGLEFILE_DEFAULT_ARGS"],
  60. "description": "Default single-file arguments"
  61. },
  62. "SINGLEFILE_ARGS_EXTRA": {
  63. "type": "array",
  64. "items": {"type": "string"},
  65. "default": [],
  66. "x-aliases": ["SINGLEFILE_EXTRA_ARGS"],
  67. "description": "Extra arguments to append to single-file command"
  68. }
  69. }
  70. }