python爬虫框架scarpy之AttributeError: module 'scrapy' has no attribute 'spider'
用scrapy的spider做爬虫,发现运行有问题。源码:importscrapyclassPpdSpider(scrapy.spider):name='PpdSpider'start_url=['http://www.dailianmeng.com/p2pblacklist/index.html']defparse(self,response):XXXX报错:查了下,好像是写法比较旧,换新写法: