Home
last modified time | relevance | path

Searched refs:SoupStrainer (Results 1 – 10 of 10) sorted by relevance

/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/
Dtest_html5lib.py10 from bs4.element import SoupStrainer
29 strainer = SoupStrainer("b")
Dtest_soup.py16 SoupStrainer,
56 soup = self.soup("<a><b></b></a>", parseOnlyThese=SoupStrainer("b"))
107 strainer = SoupStrainer("b")
Dtest_lxml.py21 from bs4.element import Comment, Doctype, SoupStrainer
Dtest_tree.py26 SoupStrainer,
184 self.tree.find_all(SoupStrainer('a')),
325 strainer = SoupStrainer(attrs={'id' : 'first'})
1439 strainer = SoupStrainer('pre')
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/
Dtesting.py13 SoupStrainer,
294 strainer = SoupStrainer("b")
D__init__.py42 SoupStrainer,
Delement.py481 if isinstance(name, SoupStrainer):
484 strainer = SoupStrainer(name, attrs, text, **kwargs)
1417 class SoupStrainer(object): class
/external/autotest/site_utils/rpm_control_system/
DBeautifulSoup.py351 if isinstance(name, SoupStrainer):
365 strainer = SoupStrainer(name, attrs, text, **kwargs)
368 strainer = SoupStrainer(name, attrs, text, **kwargs)
889 class SoupStrainer: class
/external/chromium-trace/catapult/third_party/beautifulsoup4/doc/source/
Dindex.rst2581 ``SoupStrainer`` class allows you to choose which parts of an incoming
2582 document are parsed. You just create a ``SoupStrainer`` and pass it in
2593 ``SoupStrainer``
2596 The ``SoupStrainer`` class takes the same arguments as a typical
2599 three ``SoupStrainer`` objects::
2601 from bs4 import SoupStrainer
2603 only_a_tags = SoupStrainer("a")
2605 only_tags_with_id_link2 = SoupStrainer(id="link2")
2610 only_short_strings = SoupStrainer(text=is_short_string)
2614 three ``SoupStrainer`` objects::
[all …]
/external/chromium-trace/catapult/third_party/beautifulsoup4/
DNEWS.txt353 * Issue a warning if the user tries to use a SoupStrainer in
718 but a SoupStrainer tells it not to parse that tag, Beautiful Soup will
761 You can use a SoupStrainer to tell Beautiful Soup to parse only part
764 SoupStrainer reference]