An alternative to FlareSolverr as a drop-in replacement, build with seleniumbase and FastAPI.
Warning
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.
Warning
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 the container has issues on.
- Using vscode and
SSH extention
, connect to the host and open repo in it. - Download
devcontainers
extention and reopen repo in container (withCTRL + SHIFT + P
->Reopen in devcontainer
) - Forward port 6080 from devcontainer (port of noVNC server) to the host.
- Open
http://localhost:6080
and connect to the virtual desktop. - Check if
chromium
works by running in VNC's terminal commandchromium --no-sandbox
. - If chromium works, run (or debug) tests from VS Code.
- If code works, congrats! (/s) You are on your own.
- If it does not, try another host or network, try again and create issue about the problem.
services:
byparr:
image: ghcr.io/thephaseless/byparr:latest
environment:
- LOG_LEVEL=INFO # optional
ports:
- "8191:8191" # Optional if needed to make make requests/check docs on host
- Slimming container (only ~650 mB now!)
- Add more anti-bot challenges
- Add docstrings
- Implement versioning
- Proxy support
- Add more architectures support