Skip to main content

Find the sitemap no matter where it is.

Project description

Universal Sitemap Loader

Universal Sitemap Loader the easiest way to find a Sitemap

   >>> from universal_sitemap_loader import UniversalSitemapLoader
   >>> loader = UniversalSitemapLoader("https://www.example.com/")
   >>> sitemap = loader.find_sitemap()

This tries to find the Sitemap no matter where the heck it is.

Key Features

  • Can handel compressed (.gz) files
  • Recursively gets the URL´s from all sitemaps
  • tries to find even the strangest placed sitemaps

Other functions include:

>>> urls = loader.get_urls()
or
>>> urls = loader.get_urls_from_sitemap("https://www.example.com/sitemap.xml")

Installing the Package

Universal Sitemap Loader is available on PyPI:

$ python -m pip install universal-sitemap-loader

Officially supports Python 3.7+.

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details

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

universal_sitemap_loader-1.0.0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

universal_sitemap_loader-1.0.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for universal_sitemap_loader-1.0.0.tar.gz
Algorithm Hash digest
SHA256 36ff83ab44d258dc3161cf72ff457a1dcded2f62c5af6ac7c5ac2176f3f221eb
MD5 95e714a3daae706243d3d17dfaffa061
BLAKE2b-256 92d88ffaaadc4a315dbaef7665d0684a6b2b82864956cd8bb72802a002b9dfc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for universal_sitemap_loader-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a2b029c28af08ea8d4b20bb2bf54186977df050c7dee63fc845ad70943eadd3
MD5 a2a0fd66f17fa1edbefa59e61fb38fbf
BLAKE2b-256 905aca154eb8e12c8f66164f507fd6a94fb4f648156f9412f31371e18e3818e1

See more details on using hashes here.

Supported by

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