code: def html_clean(html_code):
      
      temp = re.sub('<script([\s\S]*?)</script>', '', html_code)
      temp = re.sub('<style([\s\S]*?)</style>', '', temp)
      html_cleaned = re.sub('(?is)<.*?>', '', temp)
      for item in html_character:
          html_cleaned = html_cleaned.replace(item, html_character[item])
  
      log('debug', '网页源代码预处理完成：\n【{}】'.format(html_cleaned))
      return html_cleaned
docs: 获取网页源代码并进行预处理
  
      Keyword arguments:
      html_code           -- 网页源代码，字符串类型
      Return:
          清洗后的网页源代码（只包含文本和换行符\n）