- code description: find the subheadings in a privacy policy document. The local path of the crawled privacy policy is given to the
findTitleLabel
function to find all the subheadings on the privacy policy page - input: the raw HTML page of privacy policy document
- output: a list of subheadings in the privacy policy document. If no subheading cannot be found, a
TitleError
is given. We find this is very rare.