Skip to the content.

SitemapGen - Code Documentation

sitemapgen/helper.py

A python file that contains some helper methods for the working of the library/tool.

method displayHelpMessage

A function to display a help message to the user.

Args:

method prepare

A function to check if the link is complete (it includes the protocol) and that it can be used by the library (it should not end with a slash)

Args:

Raises:

Returns:

method rectify

A function to check a link and verify that it should be captured or not. For e.g. any external URL would be blocked. It would also take care that all the urls are properly formatted.

Args:

Returns: