Skip to content
Simple sitemap generator with Python 3
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore gitignore created and crawler updated Mar 19, 2017 changed Mar 19, 2017 Fixed issue #1 Sep 16, 2017


Simple sitemap generator with Python 3


This is simple and easy sitemap generator written in python which can help you easily create sitemap of your website for SEO and other purposes.


Simply you can run with thisthis command and program will create sitemap.xml with links from url option

python --url=""

If you want custome path for sitemap file you can add --output option like below

python --url="" --output="/custom/path/sitemap.xml"

By default program will print parsing urls in console, but if you want to run siletnly you can add --no-verbose option.

python --url="" --output="/custom/path/sitemap.xml" --no-verbose

If you want to restrict some urls from being visited by crawler you can exclude them with regex pattern using --exclude option. Below code will exclude png or jpg files.

python --url="" --output="/custom/path/sitemap.xml" --exclude="\.jpg|\.png"
You can’t perform that action at this time.