Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2012-04-18 | Made encoding substitution in <meta> tags completely transparent (no more ↵ | Leonard Richardson | |
%SOUP-ENCODING%). | |||
2012-04-16 | Attribute values are now run through the provided output formatter. ↵ | Leonard Richardson | |
Previously they were always run through the 'minimal' formatter. [bug=980237] | |||
2012-04-16 | Fixed a bug with the string setter that moved a string around the | Leonard Richardson | |
tree instead of copying it. [bug=983050] | |||
2012-04-11 | Added renderContents back. | Leonard Richardson | |
2012-03-15 | Fixed a bug where specifying 'text' while searching for a tag only worked if ↵ | Leonard Richardson | |
'text' specified an exact string match. [bug=955942] | |||
2012-03-02 | Brought the soupselect port up to date. | Leonard Richardson | |
2012-03-02 | Fixed a bug that caused calling a tag to sometimes call find_all() with the ↵ | Leonard Richardson | |
wrong arguments. [bug=944426] | |||
2012-03-01 | Test that CSS selectors work within the tree as well as at the top level. | Leonard Richardson | |
2012-03-01 | Got tests to pass on Python 2 and Python 3. | Leonard Richardson | |
2012-03-01 | Initial port of code and tests. | Leonard Richardson | |
2012-02-27 | Make prettify() return Unicode by default, so it will look nice when passed ↵ | Leonard Richardson | |
into print() under Python 3. |