Exemplo n.º 1
0
 def show_detail(self):
     self.check()
     detail = self.soup.find("div", id="zh-question-detail")
     from Answer import print_content
     if detail.find("div", class_="zm-editable-content"):
         detail = detail.find("div", class_="zm-editable-content")
     elif detail.find("div", class_="zh-summary summary clearfix"):
         detail = detail.find("div", class_="zh-summary summary clearfix")
     print_content(detail.contents)
Exemplo n.º 2
0
 def get_content(self):
     self.check()
     from Answer import print_content
     print_content(self.soup.contents)
Exemplo n.º 3
0
 def get_content(self):
     self.check()
     from Answer import print_content
     print_content(self.soup.contents)