mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-10-04 22:04:16 +01:00
fix: set default CAPTCHA_RETRIES to 3
This commit is contained in:
@@ -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
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user