首页 新闻 会员 周边
2
回答数

已关闭问题 5 正则匹配错误 expected string or bytes-like object是为什么

ls = ['<a href="/html/812/370374.html">下一页</a>'] r = re.compile(r'href') r.findall(ls) 因为beautifulso