

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")
    spname = spname[0]
    self.crawler_process.crawl(spname, **opts.spargs)
    self.crawler_process.start()

dataset/ETHPy150Open scrapy/scrapy/scrapy/commands/crawl.py Command.run/VarMisuse@53/88 `args`->`spname`