fix: set default CAPTCHA_RETRIES to 3

This commit is contained in:
Alvaro Santos Andres
2025-08-12 07:16:33 +02:00
parent b153d4ae34
commit 6e1c073a6f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ Built with [seleniumbase](https://seleniumbase.io/) and [FastAPI](https://fastap
| `PROXY` | None | Proxy to use in format: `protocol://username:password@host:port`. [SOCKS5 with authentication is not supported by Chrome](https://stackoverflow.com/questions/75602916/connection-to-private-proxy-socks5-with-chrome-webrequest-onauthrequired-and), see `compose.yaml` file for a workaround |
| `USE_HEADLESS` | `SeleniumBase default` | Use headless chromium. |
| `USE_XVFB` | `SeleniumBase default` | Use activate the special virtual display. |
| `CAPTCHA_RETRIES` | 5 | Number of times to retry solving a CAPTCHA challenge before giving up. This helps in cases where CAPTCHA challenges fail intermittently and can be retried successfully. |
| `CAPTCHA_RETRIES` | 3 | Number of times to retry solving a CAPTCHA challenge before giving up. This helps in cases where CAPTCHA challenges fail intermittently and can be retried successfully. |
## Proxy Recommendation
+1 -1
View File
@@ -33,7 +33,7 @@ USE_HEADLESS = (
os.getenv("USE_HEADLESS") in ["true", "1"] if os.getenv("USE_HEADLESS") else None
)
CAPTCHA_RETRIES = int(os.getenv("CAPTCHA_RETRIES", "5"))
CAPTCHA_RETRIES = int(os.getenv("CAPTCHA_RETRIES", "3"))
PROXY = os.getenv("PROXY")