diff options
author | Leonard Richardson <leonardr@segfault.org> | 2012-09-28 09:27:05 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2012-09-28 09:27:05 -0400 |
commit | e70fd66040ef86193aa4e1b1d4d34a8e724ff666 (patch) | |
tree | 644c0e15f9620e3c84abf58691431dedd21ab06c /doc/source | |
parent | 1da396d4045e8a7840fcac24060f66a3c147fb81 (diff) |
Fixed package name.
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/index.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst index 7038bb1..7a516ef 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -156,7 +156,7 @@ Installing Beautiful Soup If you're using a recent version of Debian or Ubuntu Linux, you can install Beautiful Soup with the system package manager: -:kbd:`$ apt-get install python-beautifulsoup4` +:kbd:`$ apt-get install python-bs4` Beautiful Soup 4 is published through PyPi, so if you can't install it with the system packager, you can install it with ``easy_install`` or @@ -1256,7 +1256,7 @@ classes:: css_soup.find_all("p", class_="body") # [<p class="body strikeout"></p>] -You can also search for the exact string value of the ``class`` attribute: +You can also search for the exact string value of the ``class`` attribute:: css_soup.find_all("p", class_="body strikeout") # [<p class="body strikeout"></p>] @@ -1277,7 +1277,7 @@ string as a CSS class:: # <a class="sister" href="http://example.com/tillie" id="link3">Tillie</a>] You can also pass in a regular expression, a function or -True—anything except a dictionary. Whatever you pass in will be +True--anything except a dictionary. Whatever you pass in will be used to search against the CSS class, the same as if you'd passed it in for the ``class_`` keyword argument:: |