diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-27 16:54:36 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-27 16:54:36 -0500 |
commit | bcf2351c87eb2535acfffdf9d2767c8847ca390c (patch) | |
tree | 6f0d20e8440240ffe4b88dc2a48893431dc81240 /README.txt | |
parent | dc5682014c7360e723d4861d32ee933eea8fcd5d (diff) | |
parent | dc682f38b36294d9b102aed3be506d46f8d37b59 (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> |