Skip to main content
Version: Next

SupportsDomainThrottling

A request manager that can pace requests per domain, as ThrottlingRequestManager does.

The crawlers detect this structurally rather than by type, so a wrapper can opt in by forwarding these three methods without IRequestManager having to know that throttling exists.

Implemented by

Index

Methods

assertNoStalledDomains

  • assertNoStalledDomains(): Promise<void>

recordDomainDelay

  • recordDomainDelay(url, retryAfterMs): boolean

setCrawlDelay

  • setCrawlDelay(url, delaySeconds): boolean