Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Bring in some more code from warnings.py. | Leonard Richardson | 2018-07-14 | 1 | -0/+4 | |
| | | ||||||
* | | Improve the technique for finding the line number with the problematic ↵ | Leonard Richardson | 2018-07-14 | 1 | -3/+13 | |
| | | | | | | | | method call. | |||||
* | | Stopped HTMLParser from raising an exception in very rare cases of | Leonard Richardson | 2018-07-14 | 4 | -3/+31 | |
| | | | | | | bad markup. [bug=1708831] | |||||
* | | Fixed a Windows crash in diagnose() when checking whether a long | Leonard Richardson | 2018-07-14 | 2 | -7/+16 | |
| | | | | | | markup string is a filename. [bug=1737121] | |||||
* | | Fixed code that was causing deprecation warnings in recent Python 3 | Leonard Richardson | 2018-07-14 | 4 | -11/+17 | |
| | | | | | | versions. Includes a patch from Ville Skyttä. [bug=1778909] [bug=1689496] | |||||
* | | Improve the warning given when no parser is specified. [bug=1780571] | Leonard Richardson | 2018-07-14 | 3 | -6/+45 | |
| | | ||||||
* | | Prep for 4.6.0 release. | Leonard Richardson | 2017-05-07 | 3 | -3/+3 | |
|/ | ||||||
* | Namespace prefix is preserved when an XML tag is copied. Thanks | Leonard Richardson | 2017-05-07 | 3 | -2/+15 | |
| | | | to Vikas for a patch and test. [bug=1685172] | |||||
* | Corrected formatting of warning. | Leonard Richardson | 2017-05-07 | 1 | -2/+2 | |
| | ||||||
* | Replace get_attribute_text with get_attribute_list. | Leonard Richardson | 2017-05-06 | 4 | -14/+14 | |
| | ||||||
* | Improved the handling of empty-element tags like <br> when using the | Leonard Richardson | 2017-05-06 | 4 | -6/+67 | |
| | | | html.parser parser. [bug=1676935] | |||||
* | Renamed convenience method to get_attribute_text. | Leonard Richardson | 2017-05-06 | 4 | -5/+5 | |
| | ||||||
* | Added the method, which acts like for | Leonard Richardson | 2017-05-06 | 4 | -7/+28 | |
| | | | | getting the value of an attribute, but which joins attribute multi-values into a single string value. [bug=1678589] | |||||
* | HTML parsers treat all HTML4 and HTML5 empty element tags (aka void element ↵ | Leonard Richardson | 2017-05-06 | 3 | -4/+24 | |
| | | | | tags) correctly. [bug=1656909] | |||||
* | It's now possible to use a tag's namespace prefix when searching, | Leonard Richardson | 2017-05-06 | 4 | -10/+82 | |
| | | | e.g. soup.find('namespace:tag') [bug=1655332] | |||||
* | Implement ResultSet.__getattr__ to give a helpful message in a common error ↵ | Leonard Richardson | 2017-05-06 | 1 | -0/+5 | |
| | | | | scenario. | |||||
* | Change no-parser-specified warning to avoid the implication that you should ↵ | Leonard Richardson | 2017-05-06 | 1 | -1/+1 | |
| | | | | put your markup into square brackets. | |||||
* | I need to do another release because of an error while running the release ↵ | Leonard Richardson | 2017-01-02 | 4 | -7/+13 | |
| | | | | script. | |||||
* | Prep for 4.5.2 release. | Leonard Richardson | 2017-01-02 | 3 | -4/+4 | |
| | ||||||
* | Indentation change contributed by Pranav Salunke. | Leonard Richardson | 2016-12-19 | 1 | -2/+2 | |
|\ | ||||||
| * | Minor change. Extra indent for character so it looks nicer. | Pranav Salunke | 2016-04-06 | 1 | -2/+2 | |
| | | ||||||
* | | Fixed foster parenting when html5lib is the tree builder. Thanks to Geoffrey ↵ | Leonard Richardson | 2016-12-19 | 3 | -8/+77 | |
|\ \ | | | | | | | | | | Sneddon for a patch and test. | |||||
| * | | Fix foster parenting with html5lib. | Geoffrey Sneddon | 2015-12-08 | 2 | -3/+10 | |
| | | | | | | | | | | | | This makes all of the html5lib tests pass. Yay! | |||||
| * | | Make TreeBuilderForHtml5lib strictly follow the html5lib API. | Geoffrey Sneddon | 2015-12-08 | 1 | -5/+64 | |
| |/ | | | | | | | | | This slightly changes the constructor (to make soup optional), and adds a testSerializer method so the tests can be run against it. | |||||
* | | Remove breakpoint. | Leonard Richardson | 2016-12-19 | 1 | -1/+0 | |
| | | ||||||
* | | Fixed yet another problem that caused the html5lib tree builder to | Leonard Richardson | 2016-12-19 | 3 | -6/+37 | |
| | | ||||||
* | | Documentation fixes. [bug=1651050] | Leonard Richardson | 2016-12-19 | 1 | -4/+5 | |
| | | ||||||
* | | Show how to use the attrs argument to search by the 'name' attribute. ↵ | Leonard Richardson | 2016-12-11 | 1 | -0/+10 | |
| | | | | | | | | [bug=1639580] | |||||
* | | Corrected documentation left over from when class was treated as a ↵ | Leonard Richardson | 2016-12-10 | 1 | -11/+11 | |
| | | | | | | | | single-valued attribute. [bug=1631743] | |||||
* | | Bump version number. | Leonard Richardson | 2016-08-02 | 3 | -3/+3 | |
| | | ||||||
* | | Explained why we test both unicode and bytestring processing instructions. | Leonard Richardson | 2016-07-30 | 3 | -14/+24 | |
| | | ||||||
* | | Fixed a reported (but not duplicated) bug involving processing instructions ↵ | Leonard Richardson | 2016-07-26 | 2 | -1/+8 | |
| | | | | | | | | fed into the lxml HTML parser. | |||||
* | | Clarify installation differences between Python 2 and Python 3. Contributed ↵ | Leonard Richardson | 2016-07-26 | 1 | -2/+6 | |
|\ \ | | | | | | | | | | by James Lu. | |||||
| * | | doc: Mention installation differences between Python 2 and 3 | glolol@overdrivenetworks.com | 2016-05-11 | 1 | -2/+6 | |
| |/ | | | | | | | Earlier, someone asked about a Python 3 program not working because the docs told them to install python-bs4, when in reality, python3-bs4 should've been used instead. This hopefully clears up the different package names and commands that should be used by Python 3 users. | |||||
* | | Clarify that Beautiful Soup is no longer compatible with versions of Python ↵ | Leonard Richardson | 2016-07-26 | 3 | -4/+3 | |
|\ \ | | | | | | | | | | pre-2.7. Contributed by Ville Skyttä. | |||||
| * | | Clarify Python 2(.7) support status | Ville Skyttä | 2016-07-26 | 3 | -4/+3 | |
| | | | ||||||
* | | | Change the way open() is used. Code contributed by Ville Skyttä. | Leonard Richardson | 2016-07-26 | 2 | -3/+6 | |
|\ \ \ | ||||||
| * | | | Open/close files with "with" | Ville Skyttä | 2016-07-26 | 2 | -3/+6 | |
| |/ / | ||||||
* | | | Renamed deprecated method. Contributed by Ville Skyttä. | Leonard Richardson | 2016-07-26 | 1 | -1/+1 | |
|\ \ \ | ||||||
| * | | | Use assertEqual instead of deprecated assertEquals | Ville Skyttä | 2016-07-26 | 1 | -1/+1 | |
| |/ / | ||||||
* | | | Spelling cleanup contributed by Ville Skyttä. | Leonard Richardson | 2016-07-26 | 5 | -7/+7 | |
|\ \ \ | ||||||
| * | | | Spelling fixes | Ville Skyttä | 2016-07-26 | 5 | -7/+7 | |
| |/ / | ||||||
* | | | Updated release isntructions following a successful release. | Leonard Richardson | 2016-07-26 | 1 | -23/+43 | |
|/ / | ||||||
* | | Bump version number in setup.py. | Leonard Richardson | 2016-07-19 | 1 | -1/+1 | |
| | | ||||||
* | | Fixed test that fails in Python 3.5. | Leonard Richardson | 2016-07-19 | 2 | -5/+5 | |
| | | ||||||
* | | Updated NEWS in preparation for release. | Leonard Richardson | 2016-07-19 | 1 | -3/+6 | |
| | | ||||||
* | | Pass in bytes so that the BeautifulSoup object always has an original_encoding. | Leonard Richardson | 2016-07-18 | 1 | -1/+1 | |
| | | ||||||
* | | If a search against each individual value of a multi-valued | Leonard Richardson | 2016-07-18 | 3 | -18/+33 | |
| | | | | | | | | attribute fails, the search will be run one final time against the complete attribute value considered as a single string. [bug=1476868] | |||||
* | | Corrected an encoding error that happened when a BeautifulSoup | Leonard Richardson | 2016-07-18 | 3 | -1/+20 | |
| | | | | | | object was copied. [bug=1554439] | |||||
* | | Added support for CSS selector values that contain quoted spaces, | Leonard Richardson | 2016-07-18 | 3 | -8/+17 | |
| | | | | | | such as tag[style="display: foo"]. [bug=1540588] |