Преглед изворни кода

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

maxiaoshan пре 2 година
родитељ
комит
6a28139247
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(k,list) --推送下载量
+					sendListNum(pageno,list) --推送下载量
 					local timeType="%s"
 					item["publishtime"]=com.parseDate(item["publishtime"],timeType)--时间格式
 					item["href"]=com.gethref(spiderTargetChannelUrl,item["href"])