Python正则采集邮箱脚本
2016-05-29 / Python / 2069 次围观 / 0 次吐槽 /Python
def regcontent(urlstr):
respose=urllib.request.urlopen(urlstr)
html=respose.read()
f=re.compile(r'\d{3,12}@.{2,3}.com')
items=f.findall(str(html))
for item in items:
print(item)
Powered By Cheug's Blog
Copyright Cheug Rights Reserved.