摘要:
import re from bs4 import BeautifulSoup from lxml import etree html = '你好哈哈大家好' # 法一 pattern = re.compile(r']+>',re.S) result = pattern.sub('', html) print(result) # 法二 soup = BeautifulSoup(html,'... 阅读全文
posted @ 2019-01-17 22:49
DreamBoy_张亚飞
阅读(19645)
评论(0)
推荐(1)

浙公网安备 33010602011771号