config.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "type": "object",
  4. "additionalProperties": false,
  5. "required_plugins": ["chrome"],
  6. "properties": {
  7. "TWOCAPTCHA_ENABLED": {
  8. "type": "boolean",
  9. "default": true,
  10. "x-aliases": ["CAPTCHA2_ENABLED", "USE_CAPTCHA2", "USE_TWOCAPTCHA"],
  11. "description": "Enable 2captcha browser extension for automatic CAPTCHA solving"
  12. },
  13. "TWOCAPTCHA_API_KEY": {
  14. "type": "string",
  15. "default": "",
  16. "x-aliases": ["API_KEY_2CAPTCHA", "CAPTCHA2_API_KEY"],
  17. "x-sensitive": true,
  18. "description": "2captcha API key for CAPTCHA solving service (get from https://2captcha.com)"
  19. },
  20. "TWOCAPTCHA_RETRY_COUNT": {
  21. "type": "integer",
  22. "default": 3,
  23. "minimum": 0,
  24. "maximum": 10,
  25. "x-aliases": ["CAPTCHA2_RETRY_COUNT"],
  26. "description": "Number of times to retry CAPTCHA solving on error"
  27. },
  28. "TWOCAPTCHA_RETRY_DELAY": {
  29. "type": "integer",
  30. "default": 5,
  31. "minimum": 0,
  32. "maximum": 60,
  33. "x-aliases": ["CAPTCHA2_RETRY_DELAY"],
  34. "description": "Delay in seconds between CAPTCHA solving retries"
  35. },
  36. "TWOCAPTCHA_TIMEOUT": {
  37. "type": "integer",
  38. "default": 60,
  39. "minimum": 5,
  40. "x-fallback": "TIMEOUT",
  41. "x-aliases": ["CAPTCHA2_TIMEOUT"],
  42. "description": "Timeout for CAPTCHA solving in seconds"
  43. },
  44. "TWOCAPTCHA_AUTO_SUBMIT": {
  45. "type": "boolean",
  46. "default": false,
  47. "description": "Automatically submit forms after CAPTCHA is solved"
  48. }
  49. }
  50. }