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.1.tar.gz
.
File metadata
- Download URL: universal_sitemap_loader-1.0.1.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bb480fdc97421017d2102888b5b330c96a76e1e82dc0e1f1ac8d8daf2c11523 |
|
MD5 | 661645ae4b65c1c6f4ba00814b460326 |
|
BLAKE2b-256 | 0efc5057c7be713b04a2fafc39a9f14865e9be3ca917b7a3ebe5b21485a792bc |
File details
Details for the file universal_sitemap_loader-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: universal_sitemap_loader-1.0.1-py3-none-any.whl
- Upload date:
- Size: 16.4 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 | 6b14e8120e4673b6fc1c3f4dff038824b822e6dc49ba0a10eee30ef4170483bb |
|
MD5 | e59dc881eb7c951f23e52ad290c9615d |
|
BLAKE2b-256 | bab50e4cce562be48d6a55f251eb9d256d99467ef7215e10d99e02665228e118 |