Bs4 Docs, com/software/BeautifulSoup/ Beautiful Soup parses a (possibly invalid) XML or HTML document into a .