1234567891011121314 |
- from utils.washutil import HtmlWash
- class WordParseStructure:
- def __init__(self, html, wordid, subject="", is_reparse=0):
- self.html = html
- self.is_reparse = is_reparse
- self.wordid = wordid
- self.subject = subject
- # 清洗
- self.row_list, self.subs2src, self.new_html = HtmlWash(self.html, self.wordid,
- self.subject, self.is_reparse).html_cleal()
|