Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-18 | Fixed a bug where find_all() was not working when asked to find a | Leonard Richardson | |
tag with a namespaced name in an XML document that was parsed as HTML. [bug=1723783] | |||
2018-07-15 | Introduced the Formatter system. [bug=1716272]. | Leonard Richardson | |
2018-07-15 | It's possible for a TreeBuilder subclass to specify that void | Leonard Richardson | |
elements should be represented as <element> rather than <element/>, by setting TreeBuilder.void_element_close_prefix to the empty string. [bug=1716272] | |||
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-07 | Namespace prefix is preserved when an XML tag is copied. Thanks | Leonard Richardson | |
to Vikas for a patch and test. [bug=1685172] | |||
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] | |||
2017-05-06 | Implement ResultSet.__getattr__ to give a helpful message in a common error ↵ | Leonard Richardson | |
scenario. | |||
2016-07-26 | Spelling fixes | Ville Skyttä | |
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 | 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] | |||
2016-07-17 | Use known_xml instead of continually adding underscores to is_xml. | Leonard Richardson | |
2016-07-17 | Whenever possible, keep track ahead of time whether a PageElement is HTML or ↵ | Leonard Richardson | |
XML. | |||
2016-07-16 | Removed imports to pdb, since pdb is not available in some environments. ↵ | Leonard Richardson | |
[bug=1491700] | |||
2016-07-16 | The contents of <textarea> tags will no longer be modified when the | Leonard Richardson | |
tree is prettified. [bug=1555829] | |||
2016-07-16 | Added a separate class for XML processing instructions, which have a ↵ | Leonard Richardson | |
slightly different format from SGML processing instructions. [bug=1504383] | |||
2016-07-16 | Rename COPYING.txt to LICENSE. Add a reference to LICENSE in every source file. | Leonard Richardson | |
2015-09-28 | Add a __license__ statement to all source files. | Leonard Richardson | |
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-09-28 | Don't allow inserting None into a tag. | Leonard Richardson | |
2015-08-06 | Use identity comparisons for tree traversal | Eric Wieser | |
Otherwise, different NavigableStrings compare equal. Fixes 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 | Fixed a bug where Element.extract() could create an infinite loop in | Leonard Richardson | |
the remaining 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 | Make it possible to invoke the Tag() constructor without providing a ↵ | Leonard Richardson | |
builder. [bug=1307471] | |||
2015-06-25 | You can now create a NavigableString or a subclass just by invoking | Leonard Richardson | |
the constructor. [bug=1294315] | |||
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-24 | Improved docstring for encode_contents() and decode_contents(). [bug=1441543] | Leonard Richardson | |
2015-06-23 | Made the previous fix nicer by adding arguments to setup() that let us ↵ | Leonard Richardson | |
preserve a tag's existing place in the tree. | |||
2015-06-23 | Got a hacky fix for the latest html5lib problem. | Leonard Richardson | |
2014-12-11 | Improved the lxml tree builder's handling of processing | Leonard Richardson | |
instructions. [bug=1294645] | |||
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] | |||
2013-08-15 | Make sure the optimized find_all() ResultSets actually contain the right data. | Leonard Richardson | |
2013-08-13 | * Fixed yet another problem with the html5lib tree builder, caused by | Leonard Richardson | |
html5lib's tendency to rearrange the tree during parsing. [bug=1189267] | |||
2013-08-12 | Fixed incorrect superclass in super() Call. | 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-06-03 | _last_descendant can be optimized in some cases. | Leonard Richardson | |