Skip to content

Fix Cloudflare 403 by updating curl_cffi - #80

Merged
ClementJ18 merged 3 commits into
ClementJ18:developfrom
Tosox:develop
Nov 6, 2026
Merged

ClementJ18 merged 3 commits into
ClementJ18:developfrom
Tosox:develop

Conversation

@Tosox

@Tosox Tosox commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Requests to ModDB are getting blocked because I believe the curl_cffi that is installed is too old. Its browser fingerprints are probably flagged by Cloudflare now. Updating curl_adapter to 1.2.3 and curl_cffi to 0.16 seems to have fixed it.

I also replaced the random browser types with a fixed Chrome fingerprint and a matching Chrome User-Agent, because I think picking a browser at random doesn't help against Cloudflare. It just means requests sometimes maybe fail depending on which browser was chosen and the random User-Agent often doesn't match the fingerprint.

This worked on all of my devices, but it would be great if you could test it on your side if you find the time.

Fixes #79

@ClementJ18

Copy link
Copy Markdown
Owner

Seems to be working for me

@ClementJ18
ClementJ18 merged commit c95d48a into ClementJ18:develop Nov 6, 2026
1 check passed
ClementJ18 added a commit that referenced this pull request Nov 6, 2026
* Clear freeman cookie on unsuccessful login (#76)

* Use Curl cffi impersonate browser type to bypass cloudflare captcha (#78)

* ratelimit bugfixes

* Fix Cloudflare 403 by updating curl_cffi (#80)

* Fix Cloudflare 403 by updating curl_cffi

* Fix tests due to removed content

* Fix community rating parsing

* version

---------

Co-authored-by: Tosox <57193602+Tosox@users.noreply.github.com>
Co-authored-by: AG <148010807+antglobes@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

403 Error Workaround Not Working

2 participants