diff --git a/scrapy/commands/crawl.py b/scrapy/commands/crawl.py index 07409be1a..f97f907ee 100644 --- a/scrapy/commands/crawl.py +++ b/scrapy/commands/crawl.py @@ -27,6 +27,8 @@ class Command(ScrapyCommand): def run(self, args, opts): if len(args) < 1: raise UsageError() + elif len(args) > 1: + raise UsageError("running 'scrapy crawl' with more than one spider is no longer supported") for spname in args: spider = self.crawler.spiders.create(spname, **opts.spargs) self.crawler.crawl(spider)