In this section, we will explore BeautifulSoup as a Python package that allows us to extract information from web pages and parse HTML in Python 3.7.
Extracting information from web pages and parsing HTML with BeautifulSoup
BeautifulSoup introduction
The BeautifulSoup package contains a library specialized in analyzing and searching data within an HTML file by means of various types of criteria such as the following:
- Searches of HTML elements by means of the structure of the DOM
- Searches through selectors
- Tag searches
BeautifulSoup is a library used to perform web scraping operations from Python, focused on the parsing of web content such as XML, HTML, and JSON.
This tool is not intended directly for web scraping. Instead...