摘要: 在“Scrapy入门教程”中,在创建的“dmoz_spider.py”文件中是通过import scrapyclass DmozSpider(scrapy.Spider):的方式导入。但是用这种方法会出现错误: class DmozSpider(scrapy.Spider):AttributeErr... 阅读全文
posted @ 2014-06-14 16:30 bore3601 阅读(3398) 评论(1) 推荐(0) 编辑
摘要: 准备做一个爬虫,看了一下Python比较合适,花了一天时间学了一下语法,又找了一下有专门的爬虫框架Scrapy。以下是学习过程。1. 安装Scrapy 中文说明:http://scrapy-chs.readthedocs.org/zh_CN/latest/intro/install.html Re... 阅读全文
posted @ 2014-06-14 15:46 bore3601 阅读(4223) 评论(0) 推荐(0) 编辑