Skip to content

A Python script to open up a base sitemap then gather all URLs from the sub-sitemaps

Notifications You must be signed in to change notification settings

jonoellis/Python-Nested-Sitemap-Extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Python-Nested-Sitemap-Extractor

A Python script to open up a base sitemap then gather all URLs from the sub-sitemaps, exporting as a CSV. Accepts one URL as a parameter - URL should be an XML sitemap contianing further XML sitemaps.

Example command:

python sitemap-extract.py https://beta.gov.scot/sitemap.xml

About

A Python script to open up a base sitemap then gather all URLs from the sub-sitemaps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages