Python正则采集邮箱脚本
2016-05-29 / Python / 1979 次围观 / 0 次吐槽 /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.