use cases - scraping isolated categories
-a
- arguments, use to replace the start_urls by override the init method and assign argument to the array element
scrapy crawl spiderbot -a category='http://example.com/sci-fi'
# overrided inside class
def __init__ (self, category):
self.start_urls = [category]