摘要: 有些你想爬取的页面数据并不在html里,而是由js动态加再出来,所以xpath不能提取出想要的数据,有些需要用到正则表达式,例如爬取丁香园疫情数据: import requests import re import json reault=requests.get('https://ncov.dxy 阅读全文
posted @ 2020-02-13 15:38 袁小丑 阅读(457) 评论(0) 推荐(0) 编辑