Skip to content

Fix 104 Cloudflare 403 with curl_cffi fallback - #6

Open
EthanNT1000 wants to merge 1 commit into
kevin333353:masterfrom
EthanNT1000:fix/104-cloudflare-403-fallback
Open

Fix 104 Cloudflare 403 with curl_cffi fallback#6
EthanNT1000 wants to merge 1 commit into
kevin333353:masterfrom
EthanNT1000:fix/104-cloudflare-403-fallback

Conversation

@EthanNT1000

Copy link
Copy Markdown

Keep requests as the default transport; only retry with curl_cffi when the 104 API returns HTTP 403 (Cloudflare bot protection). Gracefully degrades to blocked=True if curl_cffi is unavailable or also fails. Adds three tests covering the fallback paths.

Keep requests as the default transport; only retry with curl_cffi when
the 104 API returns HTTP 403 (Cloudflare bot protection). Gracefully
degrades to blocked=True if curl_cffi is unavailable or also fails.
Adds three tests covering the fallback paths.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.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.

1 participant