scrapy-redis
scrapy-redis copied to clipboard
Redis data persistence
I hope to add a function of persistence of fingerprint in scrapy-redis after the end of the crawl.
a function of persistence of fingerprint in scrapy-redis
set SCHEDULER_PERSIST = True in scrapy settings.py , It will works.
I prefer to store in a database or file,there are many data in Redis, but I don't want to delete them. If you read the fingerprint file before running, then store it again, this is very convenient.
@MRPTY1 Sorry for late reply. Pull Requests are welcome! Or we will schedule it to our TODO list.
IMO, this more like a documentation feature. We could add exmaple relate to this. PRs are welcome!
For now you can add correspond data persistence code in close_spider of your item pipeline.