Update python-beautifulsoup4 to 4.8.0 Depends on D6736
Changes
- You can customize the TreeBuilder object by passing keyword arguments into the BeautifulSoup constructor.
- The role of Formatter objects has been greatly expanded
- Added a new method to the API, Tag.smooth(), which consolidates multiple adjacent NavigableString elements.
- Fixed an incorrectly raised exception when inserting a tag before or after an identical tag.
- Beautiful Soup will no longer try to keep track of namespaces that are not defined with a prefix; this can confuse soupselect.
- Tried even harder to avoid the deprecation warning originally fixed in 4.6.1.
- Beautiful Soup's CSS Selector implementation has been replaced by a dependency on Isaac Muse's SoupSieve project.
- Added the PageElement.extend() method, which works like list.append().
- PageElement.insert_before() and insert_after() now take a variable number of arguments.
- Fix a number of problems with the tree builder that caused trees that were superficially okay, but which fell apart when bits were extracted.
- Fixed a problem with the tree builder in which elements that contained no content (such as empty comments and all-whitespace elements) were not being treated as part of the tree.
- Fixed a problem with multi-valued attributes where the value contained whitespace
Detailed changelog available here