summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-05-09Added a diagnostic function for randomly generating a simple, invalid HTML ↵Leonard Richardson
document.
2013-05-09Thanks to data-*, there's now a good use for attrs again. This lets me clean ↵Leonard Richardson
up the docs quite a bit.
2013-05-09Added <body> tag to sample doc so it will work the same on all parsers.Leonard Richardson
2013-05-08Updated docs with new examples.Leonard Richardson
2013-05-08Updated docs with new examples.Leonard Richardson
2013-05-08A CSS selector should never match the same tag twice.Leonard Richardson
2013-05-08Refactored the CSS selector support, and added the sibling combinators.Leonard Richardson
2013-05-08Minor cleanup.Leonard Richardson
2013-05-08Added tests.Leonard Richardson
2013-05-08Fixed terminology.Leonard Richardson
2013-05-08Updated news.Leonard Richardson
2013-05-08Moved select() to Tag. It was always an error to call select() on a string, ↵Leonard Richardson
so there's no reason for it to be in PageElement.
2013-05-08Give the checker the ability to stop the iteration over the generator by ↵Leonard Richardson
raising StopIteration.
2013-05-08Aaand... it's now trivial to implement sibling selectors.Leonard Richardson
2013-05-08Once again, we're back to the steady state.Leonard Richardson
2013-05-08Got it all working again except for nth_child_of_type.Leonard Richardson
2013-05-08Refactored again to use iterators instead of calling find_all().Leonard Richardson
2013-05-08OK, the tests pass.Leonard Richardson
2013-05-08Almost there.Leonard Richardson
2013-05-08We're getting there.Leonard Richardson
2013-05-08Fixing test failures.Leonard Richardson
2013-05-08Initial refactoring.Leonard Richardson
2013-05-07Fixed up diagnose() and added it to the docs.Leonard Richardson
2013-05-07Since the string part of a NavigableString is immutable, gave it a simpler ↵Leonard Richardson
__copy__ implementation. [bug=682685]
2013-05-07Mentioned the CSS selector solution to searching for a tag by multiple CSS ↵Leonard Richardson
classes.
2013-05-07Fixed an exception when an overspecified CSS selector didn't matchLeonard Richardson
anything. Code by Stefaan Lippens. [bug=1168167]
2013-05-07Added 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-07The prettify() method now leaves the contents of <pre> tagsLeonard Richardson
alone. [bug=1095654]
2013-05-07Merged.Leonard Richardson
2013-05-07Aliased the BeautifulSoup class to the easier-to-type "_s" and "_soup".Leonard Richardson
2013-05-07Improved detection of lxml version number.Leonard Richardson
2013-05-07Now that lxml's segfault on invalid doctype has been fixed, fix aLeonard Richardson
corresponding problem on the Beautiful Soup end that was previously invisible. [bug=984936]
2013-05-06Stop a crash when unwisely messing with a tag that's beenLeonard Richardson
decomposed. [bug=1097699]
2013-05-06Methods like get_text() and properties like .strings now only giveLeonard 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-06In an HTML document, the contents of a <script> or <style> tag willLeonard Richardson
no longer undergo entity substitution by default. XML documents work the same way they did before. [bug=1085953]
2013-05-06Added failing test.Leonard Richardson
2013-05-06Added a library full of diagnostics to make tech support easier.Leonard Richardson
2013-05-06Changed Google Groups URL.Leonard Richardson
2013-01-09Fixed table.Leonard Richardson
2012-11-03Merged in changes made elsewhere.Leonard Richardson
2012-11-03Doc fixes.Leonard Richardson
2012-10-11Fix a bug in the lxml treebuilder which crashed when a tag includedLeonard Richardson
an attribute from the predefined xml: namespace. [bug=1065617]
2012-09-28Fixed package name.Leonard Richardson
2012-08-21Added bug reference.Leonard Richardson
2012-08-21We don't need a special insertComment method, we just need to make ↵Leonard Richardson
Element.appendChild call object_was_parsed.
2012-08-21Fixed a problem with the html5lib builder not handling comments correctly.Leonard Richardson
2012-08-20Prep for release.Leonard Richardson
2012-08-20Python 3.1 also needs to skip the unicode attribute name test.Leonard Richardson
2012-08-20Raise a more specific error (FeatureNotFound) when a requestedLeonard 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]