瀏覽代碼

历史补漏下载记录存储到spider_listdata

maxiaoshan 3 年之前
父節點
當前提交
c180aa6bc8
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/spider/spider.go

+ 1 - 0
src/spider/spider.go

@@ -370,6 +370,7 @@ func (s *Spider) HistoricalMendDownloadDetailItem(p interface{}) {
 		return
 	}
 	db := HexToBigIntMod(href)
+	SaveListPageData(paramdata)                                                         //存储采集记录
 	isExist, _ := util.ExistRedis("title_repeat_fulljudgement", db, "url_repeat_"+href) //取全量redis
 	//log.Println("full href:", href, " isExist:", isExist)
 	logger.Debug("full href:", href, " isExist:", isExist)