def html(self):
     htmlfile = open("%s/%s.html" % (self.tmpdir, self.__name__), 'r')
     html = htmlfile.read()
     htmlfile.close()
     html = scrubHTML(html)
     body = bodyfinder(html)
     return body
Пример #2
0
 def html(self):
     htmlfile = open(self.outputfile, 'r')
     html = htmlfile.read()
     htmlfile.close()
     html = scrubHTML(html)
     body = bodyfinder(html)
     return body
Пример #3
0
 def html(self):
     htmlfile = open("%s/%s.html" % (self.tmpdir, self.__name__), 'r')
     html = htmlfile.read()
     htmlfile.close()
     html = scrubHTML(html)
     body = bodyfinder(html)
     return body
Пример #4
0
 def html(self):
     htmlfile = open(self.outputfile, 'r')
     html = htmlfile.read()
     htmlfile.close()
     html = scrubHTML(html)
     body = bodyfinder(html)
     return body
 def html(self):
     htmlfile = open(self.fullname + ".htm", "r")
     html = htmlfile.read()
     htmlfile.close()
     html = scrubHTML(html)
     body = bodyfinder(html)
     return body
 def _html(self):
     htmlfile = open(pjoin(self.tmpdir, self.__name__+".html"), 'r')
     html = htmlfile.read()
     if process_double_encoding:
         html = noDoubleEncoding(html)
     htmlfile.close()
     html = scrubHTML(html)
     body = bodyfinder(html)
     return body
Пример #7
0
 def _html(self):
     htmlfile = open(pjoin(self.tmpdir, self.__name__+".html"), 'r')
     html = htmlfile.read()
     if process_double_encoding:
         html = noDoubleEncoding(html)
     htmlfile.close()
     html = scrubHTML(html)
     body = bodyfinder(html)
     return body