From 77b9e1c4355a922a8f3bb979269f123681e56758 Mon Sep 17 00:00:00 2001 From: longchao <1432334894@qq.com> Date: Wed, 16 Jul 2025 10:37:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=8A=93=E5=8F=96=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- queue/deal/spider_weibo_comment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/queue/deal/spider_weibo_comment.php b/queue/deal/spider_weibo_comment.php index 91d8821..400b07d 100644 --- a/queue/deal/spider_weibo_comment.php +++ b/queue/deal/spider_weibo_comment.php @@ -13,6 +13,7 @@ class spiderWeiboComment extends dealBase { } public function deal() { + exit; $obj = new mSpider(); $rdobj = $obj->initRedis(); @@ -64,7 +65,6 @@ class spiderWeiboComment extends dealBase { $res = $obj->spiderComments($cookie, $weibo_info['uid'], $weibo_info['wid'], $weibo_info['mblogid'], $max_id); - if (!$res) { $error = $obj->getError(); @@ -122,7 +122,7 @@ class spiderWeiboComment extends dealBase { } $rdobj = $obj->initRedis(); - $rds = $rdobj->sRem(_RS_SPIDER_WEIBO_COMMENT, $weibo_id); + $rds = $rdobj->srem(_RS_SPIDER_WEIBO_COMMENT, $weibo_id); $obj->writeLog(ZHISHIKU_SPIDER_LOG, ZHISHIKU_SPIDER_COMMENT, '抓取成功:'.$baselog.'|redis:'.$rds); sleep(4); -- 1.8.3.1