Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-12-24 | Added docstrings to diagnose.py. | Leonard Richardson | |
2019-12-18 | Added Python docstrings to all public methods in element.py. | Leonard Richardson | |
2019-11-10 | Fix deprecation warning with Python >= 3.7. | Colin Watson | |
Python >= 3.7 issues a deprecation warning when using collections.Callable rather than collections.abc.Callable. Most of Beautiful Soup deals with this by using a conditional import, but the automatic Python 3 conversion apparently translates `callable(obj)` to `isinstance(obj, collections.Callable)` which trips this deprecation warning. `isinstance(obj, Callable)` works fine in Python 2 as well as 3, so just use it directly. | |||
2019-10-05 | Avoid a crash when unpickling certain parse trees generated using html5lib ↵ | Leonard Richardson | |
on Python 3. [bug=1843545] | |||
2019-08-26 | Fixed the definition of the default XML namespace when using | Leonard Richardson | |
lxml 4.4. Patch by Isaac Muse. [bug=1840141] | |||
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 | Explicitly set preserve_whitespace_tags to None if there is no TreeBuilder. | Leonard Richardson | |
2019-08-21 | Fixed a crash when pretty-printing tags that were not created | Leonard Richardson | |
during initial parsing. [bug=1838903] | |||
2019-07-22 | Added a section about project support to the README. | Leonard Richardson | |
2019-07-21 | Implemented line number tracking for html5lib. | Leonard Richardson | |
2019-07-21 | Adapt Chris Mayo's code to track line number and position when using ↵ | Leonard Richardson | |
html.parser. | |||
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-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 | Tried even harder to avoid the deprecation warning originally fixed in | Leonard Richardson | |
4.6.1. [bug=1778909] | |||
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-30 | Fixed a problem with multi-valued attributes where the value | Leonard Richardson | |
contained whitespace. Thanks to Jens Svalgaard for the fix. [bug=1787453] | |||
2018-12-24 | Clarified the software license. | Leonard Richardson | |
2018-12-24 | Issue a warning and raise a more useful exception if someone tries to call ↵ | Leonard Richardson | |
Tag.select() without SoupSieve installed. | |||
2018-12-24 | Keep track of the namespace abbreviations found while parsing the document. ↵ | Leonard Richardson | |
This makes select() work most of the time without requiring a value for 'namespaces'. | |||
2018-12-23 | Merging Isaac Muse's Soup Sieve branch as-is before making some modifications. | Leonard Richardson | |
2018-12-22 | Fix next and previous linkage issues. Fixes issues #1806598 and #1782928. | Isaac Muse | |
2018-12-20 | Pass flags to soupsieve. | Isaac Muse | |
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-21 | Clarified the deprecation warning when accessing tag.fooTag, to cover | Leonard Richardson | |
the possibility that you might really have been looking for a tag called 'fooTag'. | |||
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] |