bd_www.constants

Package constants.

View Source
"""
***Package constants.***
"""

SCRAPER_VERSION = '4.1.0'
"Version of the scraper code."
REPORT_VERSION = '2.0.1'
"Version of the reports."
WWW_SITE = 'https://www.belastingdienst.nl'
"Target site for which the scrape and reporting modules have been written."
ROOT_PATH = '/wps/wcm/connect'
"All url paths that start with this root will be considered internal and " \
    "in scope for a scrape."
ROOT_URL = WWW_SITE + ROOT_PATH
"Concatenation of `WWW_SITE` and `ROOT_PATH`."
DL_SITE = 'https://download.belastingdienst.nl'
"Site that sources all downloads."
CONFIG_NAME = 'bd_www.ini'
"Default name of the configuration file."
#   SCRAPER_VERSION = '4.1.0'

Version of the scraper code.

#   REPORT_VERSION = '2.0.1'

Version of the reports.

#   WWW_SITE = 'https://www.belastingdienst.nl'

Target site for which the scrape and reporting modules have been written.

#   ROOT_PATH = '/wps/wcm/connect'

All url paths that start with this root will be considered internal and in scope for a scrape.

#   ROOT_URL = 'https://www.belastingdienst.nl/wps/wcm/connect'

Concatenation of WWW_SITE and ROOT_PATH.

#   DL_SITE = 'https://download.belastingdienst.nl'

Site that sources all downloads.

#   CONFIG_NAME = 'bd_www.ini'

Default name of the configuration file.