config.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "type": "object",
  4. "additionalProperties": false,
  5. "properties": {
  6. "FORUMDL_ENABLED": {
  7. "type": "boolean",
  8. "default": true,
  9. "x-aliases": ["SAVE_FORUMDL", "USE_FORUMDL"],
  10. "description": "Enable forum downloading with forum-dl"
  11. },
  12. "FORUMDL_BINARY": {
  13. "type": "string",
  14. "default": "forum-dl",
  15. "description": "Path to forum-dl binary"
  16. },
  17. "FORUMDL_TIMEOUT": {
  18. "type": "integer",
  19. "default": 3600,
  20. "minimum": 30,
  21. "x-fallback": "TIMEOUT",
  22. "description": "Timeout for forum downloads in seconds"
  23. },
  24. "FORUMDL_OUTPUT_FORMAT": {
  25. "type": "string",
  26. "default": "jsonl",
  27. "enum": ["jsonl", "warc", "mbox", "maildir", "mh", "mmdf", "babyl"],
  28. "description": "Output format for forum downloads"
  29. },
  30. "FORUMDL_CHECK_SSL_VALIDITY": {
  31. "type": "boolean",
  32. "default": true,
  33. "x-fallback": "CHECK_SSL_VALIDITY",
  34. "description": "Whether to verify SSL certificates"
  35. },
  36. "FORUMDL_ARGS": {
  37. "type": "array",
  38. "items": {"type": "string"},
  39. "default": [],
  40. "x-aliases": ["FORUMDL_DEFAULT_ARGS"],
  41. "description": "Default forum-dl arguments"
  42. },
  43. "FORUMDL_ARGS_EXTRA": {
  44. "type": "array",
  45. "items": {"type": "string"},
  46. "default": [],
  47. "x-aliases": ["FORUMDL_EXTRA_ARGS"],
  48. "description": "Extra arguments to append to forum-dl command"
  49. }
  50. }
  51. }