Yes, you can do that with beautifulsoup.

A website page is HTML, and HTML is a tree of content, so just downloading a page produces a tree of HTML content. What beautifulsoup can do for you is fix any mistakes/inconsistencies in the html code and provide a python interface to interact with the tree.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence