Skip to content

Instantly share code, notes, and snippets.

@ZephrFish
Created May 31, 2025 11:30
Show Gist options
  • Save ZephrFish/4c594880f445355548329a9ac22b66db to your computer and use it in GitHub Desktop.
Save ZephrFish/4c594880f445355548329a9ac22b66db to your computer and use it in GitHub Desktop.
CloudFlare block AI crawlers
(http.user_agent contains "GPTBot") or (http.user_agent contains "ChatGPT-User") or (http.user_agent contains "ClaudeBot") or (http.user_agent contains "PerplexityBot") or (http.user_agent contains "cohere-ai") or (http.user_agent contains "CCBot") or (http.user_agent contains "Anthropic-AI") or (http.user_agent contains "Bytespider") or (http.user_agent contains "Applebot") or (http.user_agent contains "Diffbot") or (http.user_agent contains "YandexGPT") or (http.user_agent contains "GigaChat") or (http.user_agent contains "Manus") or (http.user_agent contains "Devin") or (starts_with(http.user_agent, "Operator")) or (starts_with(http.user_agent, "Gemini"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment