Scrapy spider not found error

后端 未结 21 1997
感情败类
感情败类 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:08

    Try running scrapy list on the command line. If there is any error on the spider it will detect it.

    In my case, I was bluntly copy code from another project and forget to change the project name from the spider module import

提交回复
热议问题