From c43c5afd07d37bc001dfb98394c93092b57b53b4 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Wed, 8 Jul 2026 15:43:07 -0400 Subject: [PATCH] More name changes --- .github/workflows/ai_robots_update.yml | 4 ++-- code/robots.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ai_robots_update.yml b/.github/workflows/ai_robots_update.yml index 87fc72a..a75d205 100644 --- a/.github/workflows/ai_robots_update.yml +++ b/.github/workflows/ai_robots_update.yml @@ -14,9 +14,9 @@ jobs: fetch-depth: 0 - run: | pip install beautifulsoup4 requests - git config --global user.name "knownagents" + git config --global user.name "Known Agents" git config --global user.email "knownagents@users.noreply.github.com" - echo "Updating robots.json with data from knownagents.com ..." + echo "Updating robots.json with data from Known Agents ..." python code/robots.py --update echo "Updating generated files from robots.json ..." python code/robots.py --convert diff --git a/code/robots.py b/code/robots.py index f698c5e..95754e0 100755 --- a/code/robots.py +++ b/code/robots.py @@ -54,7 +54,7 @@ def load_robots_json(): return json.loads(Path("./robots.json").read_text(encoding="utf-8")) def get_agent_soup(): - """Retrieve current known agents from knownagents.com""" + """Retrieve current agent data from Known Agents.""" session = requests.Session() try: response = session.get("https://knownagents.com/agents") @@ -67,7 +67,7 @@ def get_agent_soup(): def updated_robots_json(soup): - """Update AI scraper information with data from knownagents.""" + """Update AI scraper information with data from Known Agents.""" existing_content = load_robots_json() for section in soup.find_all("div", {"class": "agent-links-section"}): @@ -265,7 +265,7 @@ if __name__ == "__main__": parser.add_argument( "--update", action="store_true", - help="Update the robots.json file with data from knownagents.com/agents", + help="Update the robots.json file with data from Known Agents", ) parser.add_argument( "--convert",