bug修复

This commit is contained in:
xiongxiaoyang 2020-01-17 12:36:46 +08:00
parent 507a10077d
commit bb83f5628b

View File

@ -38,7 +38,7 @@ public class BiquCrawlSource extends BaseHtmlCrawlSource {
Date updateTime = lastUpdateTime;
int page = 1;
do{
String catBookListUrl = getListPageUrl().replace("{0}", "0").replace("{1}", page + "");
String catBookListUrl = getListPageUrl().replace("{0}", i+"").replace("{1}", page + "");
page++;
String forObject = RestTemplateUtil.getBodyByUtf8(catBookListUrl);
if (forObject != null) {