Open SteveSmirnoff opened 3 years ago
Aimed to fix #4 Added setting similar to DELTAFETCH_RESET
Expected usage: in settings.py: CRAWL_ONCE_RESET = True or in terminal: scrapy crawl spider_name -a crawl_once_reset=True
CRAWL_ONCE_RESET = True
scrapy crawl spider_name -a crawl_once_reset=True
If True, SqliteDict.clear() is called on the db
SqliteDict.clear()
Aimed to fix #4 Added setting similar to DELTAFETCH_RESET
Expected usage: in settings.py:
CRAWL_ONCE_RESET = True
or in terminal:scrapy crawl spider_name -a crawl_once_reset=True
If True,
SqliteDict.clear()
is called on the db