Browse Source

Merge pull request '延长抓取时间' (#69) from xmz_weibo_demo into master

Reviewed-on: #69
pull/77/head
longchao 3 days ago
parent
commit
4295b026f6
  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