摘要: scrapy 持久化存储 一.主要过程: 以爬取校花网为例 : http://www.xiaohuar.com/hua/ 1. spider 回调函数 返回item 时 要用yield item 不能用return item 爬虫 xiahua.py 1 # -*- coding: utf-8 -* 阅读全文
posted @ 2019-03-11 16:11 冰底熊 阅读(260) 评论(0) 推荐(0) 编辑