update
This commit is contained in:
@ -65,7 +65,7 @@ class BaiduRecordCommand extends BaseSpider
|
|||||||
$query = $query->where('id', $id);
|
$query = $query->where('id', $id);
|
||||||
}
|
}
|
||||||
$query?->each(function($item) use (&$requestCookie, &$cache) {
|
$query?->each(function($item) use (&$requestCookie, &$cache) {
|
||||||
sleep(1);
|
sleep(3);
|
||||||
try {
|
try {
|
||||||
if (!$item->platform) {
|
if (!$item->platform) {
|
||||||
throw new \Exception('没找到平台!!');
|
throw new \Exception('没找到平台!!');
|
||||||
|
Reference in New Issue
Block a user