Scrapy spider not found error

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

    Have you set up the SPIDER_MODULES setting?

    SPIDER_MODULES

    Default: []

    A list of modules where Scrapy will look for spiders.

    Example:

    SPIDER_MODULES = ['mybot.spiders_prod', 'mybot.spiders_dev']

提交回复
热议问题