diff --git a/code/dark_visitors.py b/code/dark_visitors.py index e6f9c2e..484daa1 100644 --- a/code/dark_visitors.py +++ b/code/dark_visitors.py @@ -70,4 +70,4 @@ for section in soup.find_all("div", {"class": "agent-links-section"}): } print(f"Total: {len(existing_content)}") -Path("./robots.json").write_text(json.dumps(existing_content, indent=4)) \ No newline at end of file +Path("./robots.json").write_text(json.dumps(existing_content, indent=4, sort_keys=True)) \ No newline at end of file