Skip to content

feat: add crawl delay option (closes #534)#805

Open
gratach wants to merge 2 commits into
JustinBeckwith:mainfrom
gratach:add-crawl-delay
Open

feat: add crawl delay option (closes #534)#805
gratach wants to merge 2 commits into
JustinBeckwith:mainfrom
gratach:add-crawl-delay

Conversation

@gratach
Copy link
Copy Markdown

@gratach gratach commented Apr 11, 2026

Closes #534

Adds support for a crawl delay option to control the request rate.

For example, to crawl a page with a delay of 0.5 seconds:

linkinator https://your-page.example.com -r --crawl-delay 0.5

@bravo-kernel
Copy link
Copy Markdown

I like this, how about ms instead of seconds?

@gratach
Copy link
Copy Markdown
Author

gratach commented May 17, 2026

I have chosen seconds because the "Crawl-delay" directive in the robots.txt is measured in seconds. However, milliseconds would be more consistent with the rest of the application so it could be also changed to milliseconds.

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.

Request: Rate Limit

2 participants