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
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