Beautiful Soup is a Python package for parsing HTML and XML documents (including having malformed markup, i.e. non-closed tags, so named after tag soup). It creates a parse tree for parsed pages that can be used to extract data from HTML, which is useful for web scraping.
Installation and Setup
pip install beautifulsoup4
See a usage example.
from langchain_community.document_loaders import BeautifulSoupTransformer