优化爬虫,增加缓存,线程池,保存浏览器用户信息
This commit is contained in:
@@ -5,6 +5,7 @@ declare(strict_types=1);
|
||||
namespace app\common\library\scrm\spider;
|
||||
|
||||
use app\common\library\scrm\AbstractScrmSpider;
|
||||
use app\common\library\scrm\AntiBotConfigBuilder;
|
||||
use app\common\library\scrm\UnifiedScrmData;
|
||||
|
||||
/**
|
||||
@@ -48,6 +49,7 @@ class ChatknowSpider extends AbstractScrmSpider
|
||||
'authActions' => [
|
||||
['type' => 'wait', 'ms' => 4000],
|
||||
],
|
||||
'antiBot' => AntiBotConfigBuilder::build('chatknow', $this->pageUrl),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user