diff --git a/src/Crawler.php b/src/Crawler.php index 3830663..6938618 100644 --- a/src/Crawler.php +++ b/src/Crawler.php @@ -271,7 +271,7 @@ private function isExternalLink(string $url): bool private function loadUrl(string $url): HttpResponse { if ($this->config->getSleepBetweenRequests()) { - sleep($this->config->getSleepBetweenRequests()); + usleep($this->config->getSleepBetweenRequests() * 1000); } self::timer($url);