In the scrapy tutorial we see the project command crawl
being run:
scrapy crawl quotes
and I wonder about the argument quotes
because earlier in the tutorial the spider was named quotes_spider.py
.
In the scrapy tutorial we see the project command crawl
being run:
scrapy crawl quotes
and I wonder about the argument quotes
because earlier in the tutorial the spider was named quotes_spider.py
.
在文档中列出了“草率爬网引号”之后,下一行对此进行了说明。
蜘蛛的名称在上面显示的类中定义为name =“ quotes”。
您现在正在运行该Spider类,因此参数是您要运行的Spider的名称。