Skip to main content

PRs Welcome License:MIT PyPi:Find-Sitemap Code style: black

Find-Sitemap

Find Sitemap is a simple SEO tool to help you find the sitemap.

>>> from Find_Sitemap import FindSitemap
>>> main = FindSitemap('google.com')
>>> main.crawl()
...
...
check 13801/13804: https://google.com/xmap.php
check 13802/13804: https://google.com/xmap.jsp
check 13803/13804: https://google.com/xmap.asp
check 13804/13804: https://google.com/xmap.html
--------------------
Find sitemap urls len: 1
Find sitemap urls list: ['https://www.google.com/sitemap.xml']

Getting Started

Installing Requests on PyPI:

$ pip install Find-Sitemap

Prerequisites

Usage

  1. Show the subdomains, slugs_L1, slugs_L2, filetypes parameters.

    >>> from Find_Sitemap import FindSitemap
    >>> main = FindSitemap('google.com')
    >>> main.subdomains
    {'www.'}
    
    >>> main.slugs_L1
    {'/default', '/sitemap', '/feeds', '/api', '/contents' ...}
    
    >>> main.slugs_L2
    {'/sitemap', '/stock', '/sitemap1', '/sitemap0', ...}
    
    >>> main.filetypes
    {'txt', 'xml', 'xml.gz', 'jsp', 'html', ...}
    
  2. Add the subdomains, slugs_L1, slugs_L2, filetypes parameters.

    >>> from Find_Sitemap import FindSitemap
    >>> main = FindSitemap('google.com')
    >>> main.subdomains.add("shop.")
    >>> main.slugs_L1.add("/node")
    >>> main.slugs_L2.add("/site")
    >>> main.filetypes.add("xml")
    
  3. Remove the subdomains, slugs_L1, slugs_L2, filetypes parameters.

    >>> from Find_Sitemap import FindSitemap
    >>> main = FindSitemap('google.com')
    >>> main.subdomains.remove("shop.")
    >>> main.slugs_L1.remove("/node")
    >>> main.slugs_L2.remove("/site")
    >>> main.filetypes.remove("xml")
    
  4. Run the crawler.

    >>> from Find_Sitemap import FindSitemap
    >>> main = FindSitemap('google.com')
    >>> main.crawl()
    ...
    ...
    check 13801/13804: https://google.com/xmap.php
    check 13802/13804: https://google.com/xmap.jsp
    check 13803/13804: https://google.com/xmap.asp
    check 13804/13804: https://google.com/xmap.html
    --------------------
    Find sitemap urls len: 1
    Find sitemap urls list: ['https://www.google.com/sitemap.xml']
    

Contributing

Authors

Metadata

Release files for Find-Sitemap 0.1.4

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

Source distribution (sdist)

Source distribution for Find-Sitemap 0.1.4
File Size Uploaded Provenance Actions
Find_Sitemap-0.1.4.tar.gz 8.8 kB Without provenance Details for Find_Sitemap-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Find-Sitemap 0.1.4
File Interpreter ABI Platform Actions
Find_Sitemap-0.1.4-py3-none-any.whl Python 3 none any Details for Find_Sitemap-0.1.4-py3-none-any.whl

Total release size: 19.0 kB

Release files / Find_Sitemap-0.1.4.tar.gz

Download URL Find_Sitemap-0.1.4.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1439978fa36e85f9fabafcf65654ba0cbc53824e09de96ecd3b7b0ee9d3c8514
BLAKE2b-256 checksum
How to use checksums
c4c627cb7cfcb5e86753477d77b3c6d0490e5274f1d6ace6d01d7136128d18fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.14

Release files / Find_Sitemap-0.1.4-py3-none-any.whl

Download URL Find_Sitemap-0.1.4-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1cc45c9eb9a395cb840a6224dd0d06b3ca339e1b26a39386aa1d66ba66bd2db8
BLAKE2b-256 checksum
How to use checksums
1039f403ef5f0e6adaed8ee7ff1327200e029e012e631525007cd07626195286
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.14

Security for Find-Sitemap 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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