Scrapy spider not found error

后端 未结 21 2044
感情败类
感情败类 2021-02-02 06:58

This is Windows 7 with python 2.7

I have a scrapy project in a directory called caps (this is where scrapy.cfg is)

My spider is located in caps\\caps\\spiders\\c

21条回答
  •  悲&欢浪女
    2021-02-02 07:06

    I also had this problem,and it turned out to be rather small. Be sure your class inherits from scrapy.Spider

    my_class(scrapy.Spider):
    

提交回复
热议问题