No project description provided
Project description
Content map
A way to share content from a specific domain using SQLite as an alternative to RSS feeds. The purpose of this library is to simply create a dataset for all the content on your website, using the XML sitemap as a starting point.
Installation
pip install contentmap
Quickstart
To build your contentmap.db that will contain all your content using your XML sitemap as a starting point, you only need to write the following:
from contentmap.sitemap import SitemapToContentDatabase
database = SitemapToContentDatabase("https://yourblog.com/sitemap.xml")
database.load()
You can control how many urls can be crawled concurrently and also set some timeout.
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
contentmap-0.4.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for contentmap-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a8e2213b9fb4da052705d8537cad23e36c916f433b6d1b28a4889d3e9ee3a65 |
|
MD5 | a016a0c758fa2e69f0de7e0d9dee19e8 |
|
BLAKE2b-256 | e0f03cec4fa77200eb4200dcf094a4da39511a6a4010c164e7249e7046222bf6 |