From acb8ef178c9c04e8b2cc3815e88c70022bd0dc69 Mon Sep 17 00:00:00 2001 From: longchao <1432334894@qq.com> Date: Tue, 15 Jul 2025 17:44:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BB=B6=E9=95=BF=E6=8A=93=E5=8F=96=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- queue/deal/spider_weibo_comment.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/queue/deal/spider_weibo_comment.php b/queue/deal/spider_weibo_comment.php index ac83fb0..e6fd97a 100644 --- a/queue/deal/spider_weibo_comment.php +++ b/queue/deal/spider_weibo_comment.php @@ -63,6 +63,8 @@ class spiderWeiboComment extends dealBase { } $res = $obj->spiderComments($cookie, $weibo_info['uid'], $weibo_info['wid'], $weibo_info['mblogid'], $max_id); + + $rdobj = $obj->initRedis(); if (!$res) { $error = $obj->getError(); $obj->writeLog(ZHISHIKU_SPIDER_LOG, ZHISHIKU_SPIDER_COMMENT, '队列评论抓取失败,重试中:'.$error.'|'.$baselog);