Searched refs:SoupStrainer (Results 1 – 10 of 10) sorted by relevance
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/ |
D | test_html5lib.py | 10 from bs4.element import SoupStrainer 29 strainer = SoupStrainer("b")
|
D | test_soup.py | 16 SoupStrainer, 56 soup = self.soup("<a><b></b></a>", parseOnlyThese=SoupStrainer("b")) 107 strainer = SoupStrainer("b")
|
D | test_lxml.py | 21 from bs4.element import Comment, Doctype, SoupStrainer
|
D | test_tree.py | 26 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/ |
D | testing.py | 13 SoupStrainer, 294 strainer = SoupStrainer("b")
|
D | __init__.py | 42 SoupStrainer,
|
D | element.py | 481 if isinstance(name, SoupStrainer): 484 strainer = SoupStrainer(name, attrs, text, **kwargs) 1417 class SoupStrainer(object): class
|
/external/autotest/site_utils/rpm_control_system/ |
D | BeautifulSoup.py | 351 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/ |
D | index.rst | 2581 ``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/ |
D | NEWS.txt | 353 * 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]
|