diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-27 16:51:56 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-27 16:51:56 -0500 |
commit | dc682f38b36294d9b102aed3be506d46f8d37b59 (patch) | |
tree | 6f0d20e8440240ffe4b88dc2a48893431dc81240 /README.txt | |
parent | d9f49a66e4a7dfd93823f2396796ed6c55f69648 (diff) |
Renamed the beautifulsoup module to bs4 to save typing.
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> |