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

How to periodically crawl again #40

Closed
Hyra opened this issue Oct 2, 2019 · 3 comments · May be fixed by #43
Closed

How to periodically crawl again #40

Hyra opened this issue Oct 2, 2019 · 3 comments · May be fixed by #43

Comments

@Hyra
Copy link

Hyra commented Oct 2, 2019

I see in the database there is a field for nextRetryDate which i assume is used for failed requests.

How would one make it so that a domain/url can be "re-crawled" let's say every day?

At the moment, once a url is finished, it won't touch it again.

@hjr3
Copy link
Contributor

hjr3 commented Nov 9, 2019

The next crawl date logic is hard coded. I think it should should use the recrawlInMs option.

I will throw a PR up in a few days unless you get to it first.

hjr3 added a commit to hjr3/supercrawler that referenced this issue Nov 9, 2019
@brendonboshell
Copy link
Owner

DbUrlList takes a recrawlInMs option. This option is used when a URL is crawled successfully to schedule the next crawl. Please re-open if this does not work.

@Hyra
Copy link
Author

Hyra commented Dec 2, 2019

Very awesome :)

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 a pull request may close this issue.

3 participants