Skip to content

Instantly share code, notes, and snippets.

@arhambelal753-ui
Created September 11, 2025 16:27
Show Gist options
  • Save arhambelal753-ui/fbe5230e01ca7b38489988d8cdc7f927 to your computer and use it in GitHub Desktop.
Save arhambelal753-ui/fbe5230e01ca7b38489988d8cdc7f927 to your computer and use it in GitHub Desktop.
sitemap_check.py
import requests
# Apni site ka sitemap URL yahan likho
url = "https://holehouse.xyz/sitemap.xml"
try:
response = requests.get(url, timeout=10)
if response.status_code == 200:
print("✅ Sitemap Found!")
print("Here is a preview of your sitemap content:\n")
print(response.text[:500]) #
else:
print(f"⚠️ Sitemap not found! Status code: {response.status_code}")
except Exception as e:
print("❌ Error:", e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment