Hi, and welcome to this module on working with the parse tree in Beautiful Soup.
Now in the previous module,
we used different HTTP client libraries to download HTML content from websites.
Now we'll use the Beautiful Soup library to extract information from HTML.
We'll start off by understanding the HTML tree structure.
We'll understand the hierarchical structure of HTML.
We'll understand what nodes are, what child nodes are,
what parent nodes are, and siblings.
We'll then get introduced to the Beautiful Soup Python library to parse HTML.
We'll download and install different parsers for Beautiful
Soup and use them to create soup objects.
Within Beautiful Soup, we'll understand what tags,
attributes, NavigableStrings, and comments are.
We'll see how we can use filters with Beautiful Soup to parse and
search for specific content on our web page.
We'll use filters with tags, attribute values,
regular expressions, as well as custom functions.
We'll put all of what we've learned together in order to see how we
can extract links leading out from HTML documents.
And, finally, we'll use Soup Strainer to parse just parts of a document,
not the document in its entirety.