-
Notifications
You must be signed in to change notification settings - Fork 272
feat: added flaresolvrr #93
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
base: main
Are you sure you want to change the base?
Conversation
| services: | ||
| ladder: | ||
| image: ghcr.io/everywall/ladder:latest | ||
| # image: ghcr.io/everywall/ladder:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty sure this is leftover debugging changes
| - FLARESOLVERR_HOST=http://flaresolverr:8191 | ||
| ports: | ||
| - "8080:8080" | ||
| - "8088:8080" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as these changes
| domains: | ||
| - www.beispiel.de | ||
| googleCache: true | ||
| # useFlareSolverr: true # Optional: Set to true to bypass Cloudflare protection using FlareSolverr service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # useFlareSolverr: true # Optional: Set to true to bypass Cloudflare protection using FlareSolverr service | |
| useFlareSolverr: false |
| return "", fmt.Errorf("FLARESOLVERR_HOST environment variable not set") | ||
| } | ||
|
|
||
| reqBody := FlareSolverrRequest{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the only place you use FlareSolverrRequest, I don't know Go enough but maybe you can just inline it
| | `EXPOSE_RULESET` | Make your Ruleset available to other ladders | `true` | | ||
| | `ALLOWED_DOMAINS` | Comma separated list of allowed domains. Empty = no limitations | `` | | ||
| | `ALLOWED_DOMAINS_RULESET` | Allow Domains from Ruleset. false = no limitations | `false` | | ||
| | `FLARESOLVERR_URL` | URL for the FlareSolverr service for Cloudflare bypass (optional) | `http://localhost:8191` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FLARESOLVERR_HOST in your code
|
Not a maintainer but like this change. Gonna do a functional test this week |
No description provided.