From bf3e5a022eee0ea8bbd2194125b76955206607e0 Mon Sep 17 00:00:00 2001 From: longchao <1432334894@qq.com> Date: Wed, 16 Jul 2025 10:56:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E4=B8=AD=E5=A2=9E=E5=8A=A0re?= =?UTF-8?q?dis=E8=AE=BE=E7=BD=AE=E7=BB=93=E6=9E=9C=E6=97=A5=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, 4 insertions(+) diff --git a/queue/deal/spider_weibo_comment.php b/queue/deal/spider_weibo_comment.php index 8c05808..3c98a04 100644 --- a/queue/deal/spider_weibo_comment.php +++ b/queue/deal/spider_weibo_comment.php @@ -44,6 +44,8 @@ class spiderWeiboComment extends dealBase { $rq_data = $rdobj->rpop(_RQ_SPIDER_WEIBO_COMMENT); if(empty($rq_data)) exit(); + $obj->writeLog(ZHISHIKU_SPIDER_LOG, ZHISHIKU_SPIDER_COMMENT, '抓取开始:'.$baselog.'|'.$rq_data); + $rq_data = json_decode($rq_data, true); $weibo_id = $rq_data['weibo_id']+0; @@ -64,6 +66,8 @@ class spiderWeiboComment extends dealBase { $res = $obj->spiderComments($cookie, $weibo_info['uid'], $weibo_info['wid'], $weibo_info['mblogid'], $max_id); + $obj->writeLog(ZHISHIKU_SPIDER_LOG, ZHISHIKU_SPIDER_COMMENT, '抓取准备数据完成:'.$baselog.'|'.$rq_data); + if (!$res) { $error = $obj->getError();