浏览代码

修改sendListNum(k,list)方法模板

maxiaoshan 2 年之前
父节点
当前提交
ffaa0da87e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/spiderutil/template.go

+ 1 - 1
src/spiderutil/template.go

@@ -74,7 +74,7 @@ function downloadAndParseListPage(pageno)
 				item=findMap(item,"<table><tr>"..v.."</tr></table>")
 				if item["title"]~=nil and item["title"]~="" then --title校验
 					item["title"]=com.trim(item["title"])
-					sendListNum(pageno,list) --推送下载量
+					sendListNum(k,list) --推送下载量
 					local timeType="%s"
 					item["publishtime"]=com.parseDate(item["publishtime"],timeType)--时间格式
 					item["href"]=com.gethref(spiderTargetChannelUrl,item["href"])