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);