随笔分类 -  python之爬虫实战

摘要:python re模块与爬虫使用 re模块的使用 在 Python中,我们可以使用内置的 re 模块来使用正则表达式 import re """ re.findall通过正则表达式筛选出文本中所有符合条件的数据 """ # info = re.findall('python', 'hello thi 阅读全文
posted @ 2022-07-20 18:33 dy12138 阅读(387) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示