diff options
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,7 +1,12 @@ -Introduction -============ += About Beautiful Soup 4 = - >>> from beautifulsoup import BeautifulSoup +Earlier versions of Beautiful Soup included a custom HTML +parser. Beautiful Soup 4 does not include a parser. You'll need to +install either lxml or html5lib. + += Introduction = + + >>> from bs4 import BeautifulSoup >>> soup = BeautifulSoup("<p>Some<b>bad<i>HTML") >>> print soup.prettify() <html> |