Skip to main content

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

Metadata

Release files for universal-sitemap-loader 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for universal-sitemap-loader 1.0.1
File Size Uploaded
universal_sitemap_loader-1.0.1.tar.gz 16.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for universal-sitemap-loader 1.0.1
File Interpreter ABI Platform
universal_sitemap_loader-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 33.1 kB

Release files / universal_sitemap_loader-1.0.1.tar.gz

Download URL universal_sitemap_loader-1.0.1.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8bb480fdc97421017d2102888b5b330c96a76e1e82dc0e1f1ac8d8daf2c11523
BLAKE2b-256 checksum
How to use checksums
0efc5057c7be713b04a2fafc39a9f14865e9be3ca917b7a3ebe5b21485a792bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / universal_sitemap_loader-1.0.1-py3-none-any.whl

Download URL universal_sitemap_loader-1.0.1-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b14e8120e4673b6fc1c3f4dff038824b822e6dc49ba0a10eee30ef4170483bb
BLAKE2b-256 checksum
How to use checksums
bab50e4cce562be48d6a55f251eb9d256d99467ef7215e10d99e02665228e118
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page