Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2013-05-20 | Gave new_string() the ability to create subclasses of | Leonard Richardson | |
NavigableString. [bug=1181986] | |||
2013-05-20 | Fixed test failures when lxml is not installed. | Leonard Richardson | |
2013-05-14 | Added a deprecation warning to has_key(). | Leonard Richardson | |
2013-05-08 | A CSS selector should never match the same tag twice. | Leonard Richardson | |
2013-05-08 | Added tests. | Leonard Richardson | |
2013-05-08 | Aaand... it's now trivial to implement sibling selectors. | Leonard Richardson | |
2013-05-08 | OK, the tests pass. | Leonard Richardson | |
2013-05-08 | We're getting there. | Leonard Richardson | |
2013-05-07 | Fixed an exception when an overspecified CSS selector didn't match | Leonard Richardson | |
anything. Code by Stefaan Lippens. [bug=1168167] | |||
2013-05-07 | Added support for the "nth-of-type" CSS selector. The CSS selector ">" can ↵ | Leonard Richardson | |
now find a tag by means other than the tag name. Code by Sven Slootweg. | |||
2013-05-07 | The prettify() method now leaves the contents of <pre> tags | Leonard Richardson | |
alone. [bug=1095654] | |||
2013-05-06 | Methods like get_text() and properties like .strings now only give | Leonard Richardson | |
you strings that are visible in the document--no comments or processing commands. [bug=1050164] | |||
2013-05-06 | Fix a bug by which keyword arguments to find_parent() were not being passed ↵ | Leonard Richardson | |
on. [bug=1126734] | |||
2013-05-06 | In an HTML document, the contents of a <script> or <style> tag will | Leonard Richardson | |
no longer undergo entity substitution by default. XML documents work the same way they did before. [bug=1085953] | |||
2013-05-06 | Added failing test. | Leonard Richardson | |
2012-08-20 | Raise a more specific error (FeatureNotFound) when a requested | Leonard Richardson | |
parser or parser feature is not installed. Raise NotImplementedError instead of ValueError when the user calls insert_before() or insert_after() on the BeautifulSoup object itself. Patch by Aaron Devore. [bug=1038301] | |||
2012-08-16 | As per PEP-8, allow searching by CSS class using the 'class_' | Leonard Richardson | |
keyword argument. [bug=1037624] | |||
2012-05-24 | Fixed the inability to search for non-ASCII attribute | Leonard Richardson | |
values. [bug=1003974] This caused a major refactoring of the search code. All the tests pass, but it's possible that some searches will behave differently. | |||
2012-05-24 | Fixed the basic failure in [bug=1003974], but not more advanced cases. | Leonard Richardson | |
2012-05-24 | Fixed some edge-case bugs having to do with inserting an element | Leonard Richardson | |
into a tag it's already inside, and replacing one of a tag's children with another. [bug=997529] | |||
2012-04-26 | Added a new method, wrap(). | Leonard Richardson | |
2012-04-26 | Renamed replace_with_children() to the jQuery name, unwrap(). | Leonard Richardson | |
2012-04-26 | Upon document generation, CData objects are no longer run through the ↵ | Leonard Richardson | |
formatter. [bug=988905] | |||
2012-04-26 | Fixed test failure when lxml is not installed. | Leonard Richardson | |