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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file universal_sitemap_loader-1.0.0.tar.gz
.
File metadata
- Download URL: universal_sitemap_loader-1.0.0.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36ff83ab44d258dc3161cf72ff457a1dcded2f62c5af6ac7c5ac2176f3f221eb |
|
MD5 | 95e714a3daae706243d3d17dfaffa061 |
|
BLAKE2b-256 | 92d88ffaaadc4a315dbaef7665d0684a6b2b82864956cd8bb72802a002b9dfc5 |
File details
Details for the file universal_sitemap_loader-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: universal_sitemap_loader-1.0.0-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2b029c28af08ea8d4b20bb2bf54186977df050c7dee63fc845ad70943eadd3 |
|
MD5 | a2a0fd66f17fa1edbefa59e61fb38fbf |
|
BLAKE2b-256 | 905aca154eb8e12c8f66164f507fd6a94fb4f648156f9412f31371e18e3818e1 |