Skip to main content

A tool to crawl website sitemaps and create a CSV report of URLs and their metadata

Project description

🗺️ Sitemap Harvester

PyPI version Python Support License: Apache 2.0 PyPI - Downloads

🚀 A blazingly fast Python tool to harvest URLs and metadata from website sitemaps like a digital archaeologist!

🚀 Quick Start

Installation

pip install sitemap-harvester

Basic Usage

# Harvest a website's sitemap
sitemap-harvester --url https://example.com

# Custom output file and timeout
sitemap-harvester --url https://example.com --output my_data.csv --timeout 15

🎯 What Gets Extracted?

  • 📝 Page Title - The main title of each page
  • 📄 Meta Description - SEO descriptions
  • 🏷️ Keywords - Meta keywords (if present)
  • 👤 Author - Page author information
  • 🔗 Canonical URL - Canonical link references
  • 🖼️ Open Graph Data - Social media metadata
  • 🌐 Custom Meta Tags - Any additional meta information

💡 Pro Tips

  • Use --timeout for slower websites or large sitemaps
  • The tool automatically deduplicates URLs for you
  • Check the console output for real-time progress updates
  • Large sitemaps? Grab a coffee ☕ and let it work its magic!

🤝 Contributing

Found a bug? Have a feature request? Contributions are welcome! Feel free to open an issue or submit a pull request.

📜 License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.


Happy harvesting! 🌾

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sitemap_harvester-1.0.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sitemap_harvester-1.0.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file sitemap_harvester-1.0.0.tar.gz.

File metadata

  • Download URL: sitemap_harvester-1.0.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-83-generic

File hashes

Hashes for sitemap_harvester-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e18944e29283218c2a9d6d0e0dff8830b603c776243cabe2e4332ad4d1630303
MD5 bf51497be12d5c41236dc307ca48767e
BLAKE2b-256 88025588ef70b6a930a7492067664c04808023e6ac1fa52a810f6da486ac5011

See more details on using hashes here.

File details

Details for the file sitemap_harvester-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sitemap_harvester-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-83-generic

File hashes

Hashes for sitemap_harvester-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fcef0cd51632d2a0238bfef09961caa5a3dfe41d621a95396401283a47bcf1e2
MD5 1b46b50d4f129bd97f626a803aa5b5e5
BLAKE2b-256 d3692bef3c5e07e901ddd7b2483e260fe85eb5516d0c5473387c2b9607d958ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page