elastic / elastic/crawler

Add a general delay between crawl requests

Open
#49 1 comment 0 reactions 0 assignees View on GitHub
complexity:low enhancement good first issue priority:medium
Dominant language
Ruby
Stars
224
Forks
48
Avg merge
23h 16m
Merged PRs (30d)
18

Description

### Problem Description

Currently users cannot configure a delay between crawl requests. A simple x seconds delay configurable from the yaml file would allow users to slow down crawls.

This is similar to https://github.com/elastic/crawler/issues/46 (abiding by `Crawl-delay` in robots.txt). However, a general delay would be useful for users who can't or don't want to change the robots.txt.

When both are implemented, the highest value of the two should be used for the crawl delay.

### Proposed Solution

Add a configurable crawl delay in yaml file.

### Additional Context

Link to discuss forum: https://discuss.elastic.co/t/apply-delay-between-requests-in-elastic-crawler/361375/4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.