Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add FlareSolverr solver to bypass CloudFlare protection #1439

Open
soredake opened this issue Jun 10, 2024 · 4 comments
Open

Comments

@soredake
Copy link

soredake commented Jun 10, 2024

Ther are a lot of sites that use cloudflare as protection, checking sites that use cloudflare can result in 403, would be nice to have support for FlareSolverr to fix this situation.

Related:
#1157
jobobby04/TachiyomiSY#1124

@mre
Copy link
Member

mre commented Jun 10, 2024

First time I hear of FlareSolverr, but it looks nice. We wanted to add proxy support anyway at some point. There's a proxy config file that browsers like Firefox use. Not sure if it could also be used to call FlareSolverr.

@mre
Copy link
Member

mre commented Jun 10, 2024

The proxy support request I was referring to: #869
Would it "just work" if we added support for that?

@mre
Copy link
Member

mre commented Jun 11, 2024

Looks like FlareSolverr requires data to be sent as a JSON POST request? So the proxy approach wouldn't work.
There's a prototype for WebAssembly support, which could be used to modify the request. @thomas-zahner, this should work, right?

@thomas-zahner
Copy link
Member

Yes this seems like a perfect use case of the recently implemented RequestChain. The WebAssembly part is indeed only a prototype and not merged yet. However, the request chain itself is already fully functional and available in lychee_lib through the ClientBuilder.

An example on how to make use of the RequestChain can be found here: https://github.com/lycheeverse/lychee/blob/master/examples/chain/chain.rs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants