Developer releases Python script to check robots.txt rules for AI crawlers
11/03/2026 — 11/03, 16:17·1 sources (all)·1 reports (all)
Key takeaways
- A developer on DEV Community published a Python script that uses only the standard library to check whether robots.txt allows or blocks AI c…
Background & analysis
On November 3, 2026, a post appeared in DEV Community's AI section describing a Python script that uses only the standard library to check, for any given URL path, whether a site's robots.txt allows or blocks AI crawlers such as GPTBot and CCBot. The author explains that most robots.txt files grow by accretion: someone adds a GPTBot block in 2023, someone else adds a wildcard rule, and nobody can say for sure which AI crawlers can fetch which section of the site today. For people working on GEO or AEO, this distinction matters, because a blocked search crawler means pages cannot be retrieved for AI answers, while a blocked training crawler is often a deliberate choice. The script is meant to answer that question for any URL path, using only the standard library. The author also stresses that the script should be run separately on the homepage and on key sections, since the same crawler may be allowed on the homepage yet blocked in directories such as a blog.
AI-generated from 1 reports · updated 3 days ago
- Heat index
- 25
- All sources
- 1
- All reports
- 1
- First seen
- 3 days ago
Reports on this story headlines open the original
A DEV Community author published a standard-library-only Python script that checks whether robots.txt allows or blocks AI crawlers such as GPTBot and CCBot for any URL path. The post warns that checking only the homepage can hide section-level rules, so site owners should test key pages and blog folders.
DEV Community · AIAI score 59
Other stories people are talking about
- Heat index 840OpenAI ships Images 2.6 with GIF and SVG output15 sources
- Heat index 675OpenAI says its cyber model pipeline confirmed 1,724 Linux kernel flaws and generated 948 privilege-escalation exploits11 sources
- Heat index 642RisingOpenAI GPT-5.6 Brings Major Agentic and Computer Use Upgrades13 sources
- Heat index 633RisingCat Wu, product lead for Claude Code, joins OpenAI9 sources
- Heat index 630NewSurgeOpenAI releases GPT-6 Cyber cybersecurity model7 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

