scrapy中使用CrawlSpider,匹配不到urls,并且报如下错误:
[scrapy.spidermiddlewares.offsite] DEBUG: Filtered offsite request to 'www.xinpianchang.com': <GET h
原因是allowed_domains
设置的有问题,注释掉以后就可以了(或者修改为正确的域名)
scrapy中使用CrawlSpider,匹配不到urls,并且报如下错误:
[scrapy.spidermiddlewares.offsite] DEBUG: Filtered offsite request to 'www.xinpianchang.com': <GET h
原因是allowed_domains
设置的有问题,注释掉以后就可以了(或者修改为正确的域名)