Registry / http-client / caffix-cloudflare-roundtripper

caffix-cloudflare-roundtripper

JSON →
library0.0.0-20181218223503-4c29d231c9cbgogounverified

An HTTP round tripper that bypasses Cloudflare anti-bot protection.

go get github.com/caffix/cloudflare-roundtripper
INSTALL
IMPORT
SIG · CAFFIX-CLOUDFLARE-
C
caffix-cloudflare-roundtripper
http-clientgov0.0.0-20181218223503-4c29d231c9cb
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

cloudflare
github.com/caffix/cloudflare-roundtripper

Use the custom HTTP transport to fetch a page protected by Cloudflare.

package main import ( "fmt" "io/ioutil" "net/http" "github.com/caffix/cloudflare-roundtripper" ) func main() { client := &http.Client{Transport: &cloudflare.RoundTripper{}} resp, err := client.Get("https://example.com") if err != nil { panic(err) } defer resp.Body.Close() body, _ := ioutil.ReadAll(resp.Body) fmt.Println(string(body)) }
Debug
Known issues
gotchaMay violate Cloudflare's terms of service; use responsibly.
fix
Ensure compliance with website policies before using.
affects: all
Upgrade
Version history
0.0.0-20181218223503-4c29d231c9cblatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
36
OpenAI (training)
1
Resources
caffix-cloudflare-roundtripper — go get caffix-cloudflare-roundtripper · libregistry