标签:print list nbsp sts 转义 返回 res content int
import re
r = requests.post(url)
res = r.content.decode("utf_8")
result = re.findall("a(.+?)c",res) 有括号或者逗号,要加转义\ 返回的是个list
print(result[0])
标签:print list nbsp sts 转义 返回 res content int
原文地址:https://www.cnblogs.com/daxiaxiuxian/p/12218861.html