Bläddra i källkod

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

maxiaoshan 2 år sedan
förälder
incheckning
ffaa0da87e
1 ändrade filer med 1 tillägg och 1 borttagningar
  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"])