![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
爬虫
_秋风_
这个作者很懒,什么都没留下…
展开
-
爬虫 -- 正则小结
见下网址: https://blog.csdn.net/yezhenquan123/article/details/78978088转载 2018-07-09 20:31:50 · 126 阅读 · 0 评论 -
爬虫 -- 数据保存
保存为Excel 方法一:使用xlwt 方法二:使用pyxlwt原创 2018-07-16 19:43:40 · 373 阅读 · 0 评论 -
爬虫 -- cookie自动化管理
原创 2018-07-16 20:51:40 · 345 阅读 · 0 评论 -
爬虫 -- Xpath篇
xpath根据属性查找:例:xpath('//div[@class="c"]') xpath('//div[@id="name"]')xpath根据属性包含元素查找:例: xpath('//li[contains(@class, "site")]')(注: . 表示文本 xpath('//li[contains(., "评论")]'))xpath组合查询:同时符合两个条件例: x...原创 2018-07-10 21:32:21 · 294 阅读 · 0 评论