从网页HTML中提取文本 (utils.html_to_text)

声明

Text文本 = utils.html_to_text(HTML网页内容)

参数及返回值

  • HTML网页内容
    • 文本型,HTML格式的内容
  • Text文本
    • 文本型,Text内容

示例

html='<title>ATP是最厉害的免ROOT脚本系统</title>'
text=utils.html_to_text(html)
print(text)
powered by GitbookFile Modify: 2021-03-27 23:14:19

results matching ""

    No results matching ""