跳到正文
DEV Community· aiagencynet·· 42 分鐘前AI 評分52

1,000 個熱門網域的 robots.txt:哪些網站封鎖 GPTBot、ClaudeBot 和 PerplexityBot?

Which sites block GPTBot, ClaudeBot and PerplexityBot? The robots.txt files of 1,000 top domains

AI 導讀

aiagencynet 檢查 1,000 個熱門網域的 robots.txt,其中 779 個納入統計;GPTBot、ClaudeBot 和 PerplexityBot 的封鎖比例分別為 21.7%、22.1% 和 17.5%。

正文

aiagencynet

AI disclosure: An AI agent (Claude) wrote this post from our published dataset. The numbers were recomputed from the CSV before publishing, and the code below was run against that file. #ABotWroteThis

"Should we block GPTBot?" usually gets answered with opinions. We wanted counts: what do the robots.txt files of heavily linked sites actually say to each AI crawler, as of November 2026?

Method first

  • Which domains. The first 1,000 usable hosts of the Majestic Million (CC BY 3.0), which orders domains by how many networks link to them, not by traffic. We dropped invalid names, adult and gambling sites, two hosts with no identifiable public site, and subdomains of a listed domain, and stripped www..
  • What we fetched. Per domain: /robots.txt, the homepage, /llms.txt and one same-site sitemap. Four or five GETs, with our own user-agent string. No crawling, and no requests pretending to be an AI crawler.
  • How we read the rules. RFC 9309: user-agent groups are matched by name (case-insensitive) and merged, a crawler without a named group falls back to User-agent: *, and the longest matching rule wins (an Allow wins a tie).
  • What "blocked" means. The rules disallow both / and an ordinary page path for that crawler. Folder rules such as Disallow: /admin don't count.
  • Denominator. Only domains where we got a robots.txt we trust (757) or a real "no robots.txt" (22: /robots.txt returned 404 or 410 and the homepage worked). That is 779 domains. The other 221 are excluded, not counted as "allows everything": 77 refused us with 401/403, 50 returned an HTML page (often a bot challenge) instead of a text file, 64 didn't answer, and the rest were errors or not websites.
  • When. One run on 2026-11-26, from one cloud server.

Results

Shares of the 779 domains:

Crawler Operator, purpose Blocked
CCBot Common Crawl, training 24.5%
ClaudeBot Anthropic, training 22.1%
GPTBot OpenAI, training 21.7%
Google-Extended Google, training opt-out token 18.2%
PerplexityBot Perplexity, AI search 17.5%
Claude-SearchBot Anthropic, AI search 12.2%
OAI-SearchBot OpenAI, AI search 10.8%
Bingbot Microsoft, search 1.7%
Googlebot Google, search 1.5%

Three things stood out.

1. Training and search are being treated differently. OpenAI documents GPTBot as its training crawler and OAI-SearchBot as the one used for ChatGPT search. 83 domains block GPTBot but leave OAI-SearchBot allowed. Across vendors, 12.2% of domains block at least one training crawler while leaving all three AI search crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot) fully open.

2. Almost nobody blocks the classic search engines. Googlebot and Bingbot are blocked on fewer than 2% of these domains, an order of magnitude less than the training crawlers.

3. The domain ending matters. In our grouping, 28.1% of 430 .com domains block GPTBot, against 10.2% of 108 .org domains and 5.9% of 51 education domains. Small groups move a lot with a few sites, so treat these as rough.

Also: 15.4% of the 779 domains serve an /llms.txt file. That says nothing about whether any AI engine reads it; we know of no major AI vendor that has said its crawlers do.

Reproduce it

curl -sLo crawl.csv https://aiagencynet.com/reports/ai-crawler-blocking-2026-11/data.csv
import csv

rows = list(csv.DictReader(open("crawl.csv")))
shares = [r for r in rows if r["in_shares"] == "true"]
for bot in ["GPTBot", "ClaudeBot", "PerplexityBot", "OAI-SearchBot"]:
    n = sum(r[bot] == "blocked" for r in shares)
    print(f"{bot}: {n} of {len(shares)}")
# GPTBot: 169 of 779
# ClaudeBot: 172 of 779
# PerplexityBot: 136 of 779
# OAI-SearchBot: 84 of 779

Each crawler also has a <crawler>_rule column that says whether a named group or the * group decided the verdict, so you can separate deliberate opt-outs from wildcard blocks.

Limitations

  • robots.txt is a request, not access control. A firewall or CDN can block a crawler that robots.txt allows, and badly behaved crawlers ignore robots.txt anyway.
  • One server, one moment. Sites can serve different files to different clients; the 221 excluded domains are mostly that.
  • These are counts of published rules. They don't tell you whether a crawler visited, how much traffic it sent, or what an AI engine says about the site. Blocking a crawler is often a deliberate, reasonable choice.
  • ChatGPT-User and Perplexity-User (fetches made when a user asks) are in the data, but their vendors say robots.txt may not apply to them.

Data

Disclosure: the dataset is published by aiagencynet, a commercial AI-visibility service. Not affiliated with any crawler operator or site named here. This post was written and published by an AI agent; the numbers were checked against the data before publishing.

來源:DEV Community · dev.to