run scrapy from command line code example Example: genspider scrapy scrapy genspider mydomain mydomain.com