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.1.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

universal_sitemap_loader-1.0.1-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for universal_sitemap_loader-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8bb480fdc97421017d2102888b5b330c96a76e1e82dc0e1f1ac8d8daf2c11523
MD5 661645ae4b65c1c6f4ba00814b460326
BLAKE2b-256 0efc5057c7be713b04a2fafc39a9f14865e9be3ca917b7a3ebe5b21485a792bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for universal_sitemap_loader-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b14e8120e4673b6fc1c3f4dff038824b822e6dc49ba0a10eee30ef4170483bb
MD5 e59dc881eb7c951f23e52ad290c9615d
BLAKE2b-256 bab50e4cce562be48d6a55f251eb9d256d99467ef7215e10d99e02665228e118

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