Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add CRAWL_ONCE_RESET setting #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SteveSmirnoff
Copy link

@SteveSmirnoff SteveSmirnoff commented Mar 17, 2021

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

@SteveSmirnoff SteveSmirnoff marked this pull request as ready for review March 17, 2021 10:01
@SteveSmirnoff SteveSmirnoff changed the title CRAWL_ONCE_RESET setting added add CRAWL_ONCE_RESET setting Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Alternative to DELTAFETCH_RESET not implemented
1 participant