And this demo brings us to the very end of this module where we saw how
we could use advanced functionality in Beautiful Soup.
We saw that Beautiful Soup can be used not just for navigating the parse tree,
but also to modify the parse tree.
And you can save out these modifications to a file.
Beautiful Soup supports a variety of functions to
modify the parse tree such as extend, insert,
decompose, extract, wrap, and unwrap.
And we saw how we could use all of these and what exactly they do.
We saw that we could use the Python copy function to copy
Beautiful Soup objects and the equality comparison operator
to compare Beautiful Soup objects.
We also saw how Beautiful Soup can work with different
parser libraries and the resulting parse XML.
We also discussed the strengths and weaknesses of each of these parsers.
We also used the Soup Strainer class in Beautiful Soup
to parse only parts of a document, rather than the document as a whole.
And we got a quick look at how encodings work in Beautiful Soup.
And with this,
we come to the very end of this course on extracting HTML
content in Python with Beautiful Soup.
If you're looking to study further,
here are some other courses on Pluralsight that you might find interesting.
Extracting Structured Data from the Web Using Scrapy will
introduce you to the Scrapy framework.
Or if you want to be able to extract data from dynamic
pages as opposed to static pages,
Scraping Dynamic Web Pages with Python and Selenium is the course for you.
That's it from me here today.
I hope you enjoyed this course.
Thank you for listening.