diff --git a/app/Command/spider/BaiduRecordCommand.php b/app/Command/spider/BaiduRecordCommand.php index f2a858f..fa4ceee 100644 --- a/app/Command/spider/BaiduRecordCommand.php +++ b/app/Command/spider/BaiduRecordCommand.php @@ -65,7 +65,7 @@ class BaiduRecordCommand extends BaseSpider $query = $query->where('id', $id); } $query?->each(function($item) use (&$requestCookie, &$cache) { - sleep(1); + sleep(3); try { if (!$item->platform) { throw new \Exception('没找到平台!!');