#-*- coding:utf-8 -*- from scrapy import cmdline cmdline.execute("scrapy crawl dmoz".split()) 转载于:https://www.cnblogs.com/juedui0769/p/4903189.html