{"id":15715586,"url":"https://github.com/arshamroshannejad/cf-forbidden","last_synced_at":"2026-04-30T10:05:33.213Z","repository":{"id":254902258,"uuid":"847832639","full_name":"arshamroshannejad/cf-forbidden","owner":"arshamroshannejad","description":"Efficient methods to circumvent Cloudflare's 403 restrictions, allowing for seamless scraping of websites that implement these protections.","archived":false,"fork":false,"pushed_at":"2024-08-28T18:57:38.000Z","size":22,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-04T15:19:07.737Z","etag":null,"topics":["403-forbidden","captcha","client","cloudflare","golang","http","scrapper"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arshamroshannejad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-26T16:23:48.000Z","updated_at":"2024-12-01T02:33:30.000Z","dependencies_parsed_at":"2024-10-24T12:58:20.812Z","dependency_job_id":"a8fd64dc-b943-4bac-8c6a-b3944e1727c1","html_url":"https://github.com/arshamroshannejad/cf-forbidden","commit_stats":null,"previous_names":["iarsham/cf-foribbden","arshamroshannejad/cf-forbidden","iarsham/cf-forbidden"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/arshamroshannejad/cf-forbidden","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshamroshannejad%2Fcf-forbidden","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshamroshannejad%2Fcf-forbidden/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshamroshannejad%2Fcf-forbidden/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshamroshannejad%2Fcf-forbidden/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arshamroshannejad","download_url":"https://codeload.github.com/arshamroshannejad/cf-forbidden/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arshamroshannejad%2Fcf-forbidden/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["403-forbidden","captcha","client","cloudflare","golang","http","scrapper"],"created_at":"2024-10-03T21:42:03.178Z","updated_at":"2026-04-30T10:05:33.192Z","avatar_url":"https://github.com/arshamroshannejad.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Client for Bypassing Cloudflare\n\ncf_forbidden is a Go package designed to make HTTP requests to websites protected by Cloudflare.\n\n## Features\n\n- Make HTTP requests to Cloudflare-protected websites.\n- Set custom headers for each request.\n- Configure UserAgent and JA3 fingerprinting.\n\n## Installation\n\n```bash\ngo get -u github.com/iarsham/cf-forbidden\n```\n\n## Usage\n\n### 1. Create a Client:\n\n```go\npackage main\n\nimport (\n    cf \"github.com/iarsham/cf-forbidden\"\n)\n\nfunc main() {\n    client, err := cf.New()\n    if err != nil {\n        // handle error\n    }\n}\n```\n### 2. Set Custom Headers (Optional):\n```go\nclient.Headers = cf.M{\n    \"X-Custom-Header\": \"value\",\n}\n```\n\n\n### 3. Set UserAgent and JA3 Fingerprint (Optional):\n```go\nclient.UserAgent = \"My Custom User Agent\"\nclient.Ja3 = \"your_ja3_fingerprint\"\n```\n\n\n### 4. Make Requests:\n\n#### GET request:\n\n```go\nresponse, err := client.Get(\"https://target.com\", cf.M{\"Authorization\": \"Bearer your_token\"})\nif err != nil {\n    // handle error\n}\n// Access response body and headers\nbody := response.Body\nheaders := response.Headers\n```\n\n#### POST request:\n\n```go\nresponse, err := client.Post(\"https://target.com/api/endpoint\", cf.M{\"Content-Type\": \"application/json\"}, {\"data\": \"your_data\"} )\nif err != nil {\n// handle error\n}\n\n// Access response body and headers\nbody := response.Body\nheaders := response.Headers\n```\n\n**Note:** Refer to the documentation of the CycleTLS library [here](https://github.com/Danny-Dasilva/CycleTLS) for more\nadvanced configuration options.\n\n## Contributing\n\nWe welcome contributions to this project! Please see the `CONTRIBUTING.md` file (if available) for details.\n\n## License\n\nThis project is licensed under the MIT License.\n\n**Disclaimer:** This project is provided for educational purposes only. Use it responsibly and ethically. The authors\nare not responsible for any misuse of this tool.\nYou can copy this Markdown text into a .md file for your project. Let me know if you need any further modifications!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farshamroshannejad%2Fcf-forbidden","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farshamroshannejad%2Fcf-forbidden","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farshamroshannejad%2Fcf-forbidden/lists"}