Browse Source

延长抓取时间

pull/69/head
longchao 3 days ago
parent
commit
acb8ef178c
  1. 2
      queue/deal/spider_weibo_comment.php

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

Loading…
Cancel
Save