Lines Matching refs:soup
130 soup = BeautifulSoup(self._load_query(query))
134 for bug_link_cell in soup('td', "first-child")]
147 soup = BeautifulSoup(page, convertEntities=BeautifulSoup.HTML_ENTITIES)
148 quips = soup.find(text=re.compile(r"Existing quips:")).findNext("ul").findAll("li")
274 def _string_contents(self, soup):
280 return unicode(soup.string)
295 def _date_contents(self, soup):
296 return self._parse_date(self._string_contents(soup))
317 soup = BeautifulSoup(page)
320 return [Bug(self._parse_bug_dictionary_from_xml(unicode(bug_xml)), self) for bug_xml in soup('bug')]
323 soup = BeautifulStoneSoup(page, convertEntities=BeautifulStoneSoup.XML_ENTITIES)
325 bug["id"] = int(soup.find("bug_id").string)
326 bug["title"] = self._string_contents(soup.find("short_desc"))
327 bug["bug_status"] = self._string_contents(soup.find("bug_status"))
328 dup_id = soup.find("dup_id")
331 bug["reporter_email"] = self._string_contents(soup.find("reporter"))
332 bug["assigned_to_email"] = self._string_contents(soup.find("assigned_to"))
333 bug["cc_emails"] = [self._string_contents(element) for element in soup.findAll('cc')]
334 bug["attachments"] = [self._parse_attachment_element(element, bug["id"]) for element in soup.findAll('attachment')]