An alternative to FlareSolverr as a drop-in replacement, built with seleniumbase and FastAPI.
Important
Due to recent challenge changes, this software does not guarantee that the Cloudflare challenge will be bypassed. Cloudflare likely requires valid network traffic originating from the user’s public IP address to mark a connection as legitimate. While this tool may bypass the initial browser check, it does not ensure that requests will consistently pass Cloudflare's validation. More testing and data are required to understand how Cloudflare identifies connections and requests as valid. Invalid requests will result in Byparr's looping and eventually time-outing.
Important
Support for NAS devices (like Synology) is minimal. Please report issues, but do not expect it to be fixed quickly. The only ARM device I have is a free Ampere Oracle VM, so I can only test ARM support on that. See #22 and #3
Note
Thanks to FastAPI implementation, now you can also see the API documentation at /docs
or /
(redirect to /docs
) endpoints.
- Clone repo to the host that has issues with Byparr.
- Run
docker build --target test .
- Depending of the build success:
- If run successfully, try updating container or if already on newest stable release create an issue for creating new release with new dependencies
- If build fails, try troubleshooting on another host/using other method
- Download uv
- Download dependencies using
uv sync --group test
- Run tests with
uv run pytest --retries 3
(You can add-n auto
for parallelization) - If you see any
F
character in terminal, that means test failed even after retries. - Depending of the test success:
- If run successfully, try updating container or if already on newest stable release create an issue for creating new release with new dependencies
- If test fails, try troubleshooting on another host/using other method
Env | Default | Description |
---|---|---|
USE_XVFB |
SeleniumBase default |
Use virtual desktop with Xvfb. (Linux only) (Can cause performance hog #14) |
USE_HEADLESS |
SeleniumBase default |
Use headless chromium. |
PROXY |
None | Proxy to use. (format: username:password@host:port ) |
v*.*.*
/latest
- Releases considered stablemain
- Latest release from main branch (untested)
See compose.yaml
docker run -p 8191:8191 ghcr.io/thephaseless/byparr:latest
uv sync && ./cmd.sh
- Slimming container (only ~650 MB now!)
- Add more anti-bot challenges
- Add doc strings
- Implement versioning
- Proxy support
- Add more architectures support