From c5d47cb7d066afa6d80e7f066e9962f2db09612d Mon Sep 17 00:00:00 2001 From: LuckyPuppy514 <53246532+LuckyPuppy514@users.noreply.github.com> Date: Mon, 15 Jan 2024 08:50:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E7=BD=AE=20Prowlarr=20=E5=88=86?= =?UTF-8?q?=E9=A1=B5=20offset=20=E4=B8=BA=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/lckp/jproxy/filter/IndexerFilter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/lckp/jproxy/filter/IndexerFilter.java b/src/main/java/com/lckp/jproxy/filter/IndexerFilter.java index 6ce2917..b2e9bb1 100644 --- a/src/main/java/com/lckp/jproxy/filter/IndexerFilter.java +++ b/src/main/java/com/lckp/jproxy/filter/IndexerFilter.java @@ -99,6 +99,7 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha if (count > indexerRequest.getLimit()) { count = indexerRequest.getLimit(); newXml = XmlUtil.remove(newXml, count); + offset = 0 - count; } if (count > 0 || xml == null) { xml = XmlUtil.merger(xml, newXml);