run scrapy from terminal set arguments code example Example: genspider scrapy scrapy genspider mydomain mydomain.com