Skip to content

Instantly share code, notes, and snippets.

@0xdevalias
Last active July 27, 2026 05:17
Show Gist options
  • Select an option

  • Save 0xdevalias/b34feb567bd50b37161293694066dd53 to your computer and use it in GitHub Desktop.

Select an option

Save 0xdevalias/b34feb567bd50b37161293694066dd53 to your computer and use it in GitHub Desktop.
Some notes/resources for bypassing anti-bot/scraping features on Cloudflare, Akamai, etc.

Bypassing Cloudflare, Akamai, etc

Some notes/resources for bypassing anti-bot/scraping features on Cloudflare, Akamai, etc.

Table of Contents

Tools

  • https://github.com/ultrafunkamsterdam/undetected-chromedriver
    • Optimized Selenium Chromedriver patch which does not trigger anti-bot services like Distill Network / Imperva / DataDome / Botprotect.io Automatically downloads the driver binary and patches it.

  • https://github.com/berstend/puppeteer-extra/tree/master/packages/puppeteer-extra-plugin-stealth
    • A plugin for puppeteer-extra and playwright-extra to prevent detection.

    • puppeteer-extra with stealth passes all public bot tests.

      Please note: I consider this a friendly competition in a rather interesting cat and mouse game. If the other team (👋) wants to detect headless chromium there are still ways to do that (at least I noticed a few, which I'll tackle in future updates).

      It's probably impossible to prevent all ways to detect headless chromium, but it should be possible to make it so difficult that it becomes cost-prohibitive or triggers too many false-positives to be feasible.

      If something new comes up or you experience a problem, please do your homework and create a PR in a respectful way (this is Github, not reddit) or I might not be motivated to help. :)

    • https://github.com/berstend/puppeteer-extra/tree/master/packages/puppeteer-extra-plugin-stealth/evasions
  • https://github.com/FlareSolverr/FlareSolverr
    • Proxy server to bypass Cloudflare protection

    • FlareSolverr starts a proxy server, and it waits for user requests in an idle state using few resources. When some request arrives, it uses Selenium with the undetected-chromedriver to create a web browser (Chrome). It opens the URL with user parameters and waits until the Cloudflare challenge is solved (or timeout). The HTML code and the cookies are sent back to the user, and those cookies can be used to bypass Cloudflare using other HTTP clients.

  • https://github.com/ThePhaseless/Byparr
    • Byparr

    • Get your valid antibot cookies yourself!

    • This software does not guarantee (only greatly increases the chance) that any challenge will be bypassed. While this tool passes the initial browser check, Cloudflare and other captcha providers likely require valid network traffic originating from the user’s public IP address to mark a connection as legitimate. If any website does not pass the challenge, please run troubleshooting steps and check if other websites work before you create an GitHub issue.

  • https://github.com/guyg2232/byparr-proxy
    • byparr-proxy

    • HTTP passthrough that fronts Cloudflare-protected indexers via Byparr — defeats Prowlarr/Jackett's cookie-replay failure on sites like 1337x.

    • A 70-line HTTP passthrough that gets 1337x and other Cloudflare-protected indexers working again with Prowlarr/Jackett in 2026, when FlareSolverr and Byparr alone are no longer enough.

Unsorted

See Also

My Other Related Deepdive Gist's and Projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment