Skip to content

gh-141444: Replace dead robotstxt.org URL with RFC 9309 in urllib.robotparser docs#148627

Open
yosofbadr wants to merge 1 commit intopython:mainfrom
yosofbadr:fix/robotparser-dead-url
Open

gh-141444: Replace dead robotstxt.org URL with RFC 9309 in urllib.robotparser docs#148627
yosofbadr wants to merge 1 commit intopython:mainfrom
yosofbadr:fix/robotparser-dead-url

Conversation

@yosofbadr
Copy link
Copy Markdown

@yosofbadr yosofbadr commented Apr 15, 2026

Summary

  • Replace dead http://www.robotstxt.org/orig.html URL with https://datatracker.ietf.org/doc/html/rfc9309 in the urllib.robotparser documentation
  • The robotstxt.org domain now returns 403 Forbidden errors
  • RFC 9309 ("Robots Exclusion Protocol") is the official IETF standard for robots.txt and is a permanent, authoritative reference

Note: The example code URLs (musi-cal.com -> pythontest.net) were already fixed by GH-144443. This PR addresses the remaining dead URL in the module description paragraph.

Test plan

  • Verified https://datatracker.ietf.org/doc/html/rfc9309 is accessible and is the correct RFC for the Robots Exclusion Protocol
  • Verified http://www.robotstxt.org/orig.html returns 403 Forbidden
  • Documentation-only change; no code logic affected

📚 Documentation preview 📚: https://cpython-previews--148627.org.readthedocs.build/

@python-cla-bot
Copy link
Copy Markdown

python-cla-bot bot commented Apr 15, 2026

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news labels Apr 15, 2026
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Apr 15, 2026
@yosofbadr yosofbadr marked this pull request as draft April 15, 2026 18:37
@yosofbadr yosofbadr marked this pull request as ready for review April 15, 2026 18:56
@StanFromIreland
Copy link
Copy Markdown
Member

https://www.robotstxt.org/orig.html is up for me? Maybe it was just temporary downtime.

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

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants