Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-21 | Copying a Tag preserves information that was originally obtained from | Leonard Richardson | |
the TreeBuilder used to build the original Tag. [bug=1838903] | |||
2019-08-21 | Fixed a crash when pretty-printing tags that were not created | Leonard Richardson | |
during initial parsing. [bug=1838903] | |||
2019-07-15 | Implemented Tag.smooth. | Leonard Richardson | |
2019-07-15 | Moved the formatter to its own class and updated its documentation. | Leonard Richardson | |
2019-07-15 | Improved comments in tests. | Leonard Richardson | |
2019-07-14 | Give the Formatter class more control over formatting decisions. | Leonard Richardson | |
2019-07-07 | A Formatter can now decide how (or whether) to order the attributes | Leonard Richardson | |
inside a tag. [bug=1812422] | |||
2019-07-07 | It's now possible to override a TreeBuilder's cdata_list_attributes ↵ | Leonard Richardson | |
dictionary by passing in a replacement. None will disable the feature altogether. [bug=1832978] | |||
2019-01-06 | Fixed an incorrectly raised exception when inserting a tag before or | Leonard Richardson | |
after an identical tag. [bug=1810692] | |||
2018-12-31 | Improved and tested error checking for insert_before and insert_after. | Leonard Richardson | |
2018-12-30 | Add convienances for inserting multiple tags | Isaac Muse | |
Add extend method to append a list of tags. Make insert_before and insert_after accept multiple arguments | |||
2018-12-19 | Add Soup Sieve support | Isaac Muse | |
2018-07-30 | Fix an exception when a custom formatter was asked to format a void | Leonard Richardson | |
element. [bug=1784408] | |||
2018-07-28 | When markup contains duplicate elements, a select() call that | Leonard Richardson | |
includes multiple match clauses will match all relevant elements. [bug=1770596] | |||
2018-07-28 | Correctly handle invalid HTML numeric character entities like “ | Leonard Richardson | |
which reference code points that are not Unicode code points. Note that this is only fixed when Beautiful Soup is used with the html.parser parser -- html5lib already worked and I couldn't fix it with lxml. [bug=1782933] | |||
2018-07-15 | You can pass a dictionary of into | Leonard Richardson | |
BeautifulSoup.new_tag. This makes it possible to create a tag with an attribute like 'name' that would otherwise be masked by another argument of new_tag. [bug=1779276] | |||
2018-07-15 | Introduced the Formatter system. [bug=1716272]. | Leonard Richardson | |
2018-07-14 | Fixed a disconnected parse tree when one BeautifulSoup object was | Leonard Richardson | |
inserted into another. [bug=1105148] | |||
2018-07-14 | Fixed code that was causing deprecation warnings in recent Python 3 | Leonard Richardson | |
versions. Includes a patch from Ville Skyttä. [bug=1778909] [bug=1689496] | |||
2017-05-06 | Replace get_attribute_text with get_attribute_list. | Leonard Richardson | |
2017-05-06 | Renamed convenience method to get_attribute_text. | Leonard Richardson | |
2017-05-06 | Added the method, which acts like for | Leonard Richardson | |
getting the value of an attribute, but which joins attribute multi-values into a single string value. [bug=1678589] | |||
2017-05-06 | It's now possible to use a tag's namespace prefix when searching, | Leonard Richardson | |
e.g. soup.find('namespace:tag') [bug=1655332] | |||
2016-07-26 | Spelling fixes | Ville Skyttä | |
2016-07-19 | Fixed test that fails in Python 3.5. | Leonard Richardson | |
2016-07-18 | Pass in bytes so that the BeautifulSoup object always has an original_encoding. | Leonard Richardson | |
2016-07-18 | If a search against each individual value of a multi-valued | Leonard Richardson | |
attribute fails, the search will be run one final time against the complete attribute value considered as a single string. [bug=1476868] | |||
2016-07-18 | Corrected an encoding error that happened when a BeautifulSoup | Leonard Richardson | |
object was copied. [bug=1554439] | |||
2016-07-18 | Added support for CSS selector values that contain quoted spaces, | Leonard Richardson | |
such as tag[style="display: foo"]. [bug=1540588] | |||
2016-07-18 | The argument to now works correctly, though it's | Leonard Richardson | |
not implemented very efficiently. [bug=1520530] | |||
2015-09-28 | Improved the implementation of CSS selector grouping. Thanks to Orangain for ↵ | Leonard Richardson | |
the patch. [bug=1484543] | |||
2015-09-28 | Corrected the output of Declaration objects. [bug=1477847] | Leonard Richardson | |
2015-09-28 | Fixed a bug that deranged the tree when part of it was | Leonard Richardson | |
removed. Thanks to Eric Weiser for the patch and John Wiseman for a test. [bug=1481520] | |||
2015-06-28 | Changed the way soup objects work under copy.copy(). Copying a | Leonard Richardson | |
NavigableString or a Tag will give you a new NavigableString that's equal to the old one but not connected to the parse tree. Patch by Martijn Peters. [bug=1307490] | |||
2015-06-28 | Copying a NavigableString will give you a new NavigableString that is not ↵ | Leonard Richardson | |
connected to the parse tree. | |||
2015-06-28 | Raise a NotImplementedError whenever an unsupported CSS pseudoclass | Leonard Richardson | |
is used in select(). Previously some cases did not result in a NotImplementedError. | |||
2015-06-25 | Introduced the select_one() method, which uses a CSS selector but | Leonard Richardson | |
only returns the first match, instead of a list of matches. [bug=1349367] | |||
2015-06-25 | The text argument to the find_* methods is now called string, | Leonard Richardson | |
which is more accurate. text still works, but is the argument described in the documentation. text may eventually change its meaning, but not for a very long time. [bug=1366856] | |||
2015-06-25 | Improved the exception raised when you call .unwrap() or | Leonard Richardson | |
.replace_with() on an element that's not attached to a tree. | |||
2015-06-25 | __repr__ now returns an ASCII bytestring in Python 2, and a Unicode string ↵ | Leonard Richardson | |
in Python 3, instead of a UTF8-encoded bytestring in both versions. [bug=1420131] | |||
2015-06-24 | The select() method can now find tags with attributes whose names | Leonard Richardson | |
contain dashes. Patch by Marek Kapolka. [bug=1304007] | |||
2015-06-23 | Force object_was_parsed() to keep the tree intact even when an element | Leonard Richardson | |
from later in the document is moved into place. [bug=1430633] | |||
2014-12-11 | The select() method can now find tags whose names contain | Leonard Richardson | |
dashes. Patch by Francisco Canas [bug=1276211] | |||
2014-12-10 | The select() method now supports selector grouping. Patch by | Leonard Richardson | |
Francisco Canas [bug=1191917] | |||
2014-12-07 | Issue a warning if the BeautifulSoup constructor arguments do not explicitly ↵ | Leonard Richardson | |
name a parser. | |||
2013-08-15 | Make sure the optimized find_all() ResultSets actually contain the right data. | Leonard Richardson | |
2013-08-12 | All find_all calls should now return a ResultSet object. Patch by | Leonard Richardson | |
Aaron DeVore. [bug=1194034] | |||
2013-06-03 | A NavigableString object now has an immutable '.name' property whose | Leonard Richardson | |
+ value is always None. This makes it easier to iterate over a mixed + list of tags and strings without having to check whether each + element is a tag or a string. | |||
2013-05-31 | Reverted the patch that gives NavigableString a .name property, because ↵ | Leonard Richardson | |
that's too big an API change for a bugfix release. | |||
2013-05-20 | A NavigableString object now has an immutable '.name' property whose | Leonard Richardson | |
value is always None. This makes it easier to iterate over a mixed list of tags and strings without having to check whether each element is a tag or a string. |