摘要: 主要内容: 1 scrapy框架的详解:https://blog.csdn.net/qq_37143745/article/details/80996707 a : 各部分的功能: Spiders(爬虫):它负责处理所有Responses,从中分析提取数据,获取Item字段需要的数据,并将需要跟进的 阅读全文
posted @ 2019-01-14 21:23 ...绿茵 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 主要内容: 1 在scrapy框架中获取需要的字符串的方法: img_url = 'http://pic.netbian.com'+li.xpath("./a/span/img/@src").extract_first() img_url = 'http://pic.netbian.com'+li. 阅读全文
posted @ 2019-01-14 21:12 ...绿茵 阅读(104) 评论(0) 推荐(0) 编辑
1