diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2013-10-28 07:17:18 -0400 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2013-10-28 07:17:18 -0400 |
commit | 5bb4477e8438f50de0361d5260eabc6b2412af22 (patch) | |
tree | 03d33595f0d0485ccca3d074d28d46630c23dc8c /doc/source | |
parent | a8fbf5b6dfb1b37f85a5e130c2f385a704ab8c9b (diff) |
Made it as clear as possible the Beautiful Soup does not support any standardized subset of CSS selector syntax.
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/index.rst | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst index 1dc85a0..22a8453 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1619,10 +1619,9 @@ tag it contains. CSS selectors ------------- -Beautiful Soup supports the most commonly-used `CSS selectors -<http://www.w3.org/TR/CSS2/selector.html>`_. Just pass a string into -the ``.select()`` method of a ``Tag`` object or the ``BeautifulSoup`` -object itself. +Beautiful Soup supports the most commonly-used CSS selectors. Just +pass a string into the ``.select()`` method of a ``Tag`` object or the +``BeautifulSoup`` object itself. You can find tags:: @@ -1729,9 +1728,9 @@ Match language codes:: This is a convenience for users who know the CSS selector syntax. You can do all this stuff with the Beautiful Soup API. And if CSS -selectors are all you need, you might as well use lxml directly, -because it's faster. But this lets you `combine` simple CSS selectors -with the Beautiful Soup API. +selectors are all you need, you might as well use lxml directly: it's +a lot faster, and it supports more CSS selectors . But this lets you +`combine` simple CSS selectors with the Beautiful Soup API. Modifying the tree |