Searched refs:parseOnlyThese (Results 1 – 2 of 2) sorted by relevance
1164 def __init__(self, markup="", parseOnlyThese=None, fromEncoding=None, argument1193 self.parseOnlyThese = parseOnlyThese1317 if self.parseOnlyThese and len(self.tagStack) <= 1 and \1318 (not self.parseOnlyThese.text or \1319 not self.parseOnlyThese.search(currentData)):1410 if self.parseOnlyThese and len(self.tagStack) <= 1 \1411 and (self.parseOnlyThese.text or not self.parseOnlyThese.searchTag(name, attrs)):
141 for tag in BeautifulSoup(page, parseOnlyThese=attachment_links)]