python 爬虫 使用xpath模块爬取猪八戒网站信息
python 爬虫 使用xpath模块爬取猪八戒网站信息# coding:utf-8#1.拿到页面源代码#2.提取和解析数据import requestsfrom lxml import etreeimport csvurl = "https://qingdao.zbj.com/search/f/?type=new&kw=saas"resp=requests.get(url)# print(resp.text)html=etree.HTML(resp.text)f = (ope





