From ce55adfc40ec3b6b23743add424251760cd95e27 Mon Sep 17 00:00:00 2001 From: LamGC Date: Mon, 30 Mar 2020 11:34:39 +0800 Subject: [PATCH] =?UTF-8?q?[Change]=20=E5=AF=B9=E4=B8=A4=E4=B8=AAgetRankin?= =?UTF-8?q?g=E6=96=B9=E6=B3=95=E8=AE=BE=E7=BD=AE=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=A0=87=E5=BF=97;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/net/lamgc/cgj/pixiv/PixivDownload.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/lamgc/cgj/pixiv/PixivDownload.java b/src/main/java/net/lamgc/cgj/pixiv/PixivDownload.java index 29ec8d4..118dcab 100644 --- a/src/main/java/net/lamgc/cgj/pixiv/PixivDownload.java +++ b/src/main/java/net/lamgc/cgj/pixiv/PixivDownload.java @@ -267,7 +267,7 @@ public class PixivDownload { int authorId = rankInfo.get("user_id").getAsInt(); String authorName = rankInfo.get("user_name").getAsString(); String title = rankInfo.get("title").getAsString(); - log.info("当前到第 {}/{} 名(总共 {} 名), IllustID: {}, Author: ({}) {}, Title: {}", rank, rankStart + range - 1, range, illustId, authorId, authorName, title); + log.info("Array-当前到第 {}/{} 名(总共 {} 名), IllustID: {}, Author: ({}) {}, Title: {}", rank, rankStart + range - 1, range, illustId, authorId, authorName, title); results.add(rankInfo); } log.info("JsonArray读取完成."); @@ -326,7 +326,7 @@ public class PixivDownload { int authorId = rankInfo.get("user_id").getAsInt(); String authorName = rankInfo.get("user_name").getAsString(); String title = rankInfo.get("title").getAsString(); - log.info("当前到第 {}/{} 名(总共 {} 名), IllustID: {}, Author: ({}) {}, Title: {}", rank, rankStart + range - 1, range, illustId, authorId, authorName, title); + log.info("Download-当前到第 {}/{} 名(总共 {} 名), IllustID: {}, Author: ({}) {}, Title: {}", rank, rankStart + range - 1, range, illustId, authorId, authorName, title); results.add(rankInfo); } firstRequest = false; @@ -542,7 +542,7 @@ public class PixivDownload { * @throws IOException 当请求发生异常, 或接口返回错误信息时抛出. */ public JsonObject getIllustInfoByIllustId(int illustId) throws IOException { - HttpGet request = createHttpGetRequest(PixivURL.getPixivIllustInfoAPI(new int[] {illustId}));; + HttpGet request = createHttpGetRequest(PixivURL.getPixivIllustInfoAPI(new int[] {illustId})); HttpResponse response = httpClient.execute(request); String responseStr = EntityUtils.toString(response.getEntity()); log.debug("Response Content: {}", responseStr);