Skip to content

Commit 57e4e8d

Browse files
committed
🐛 修复分页正则
1 parent 62dd14f commit 57e4e8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/pcdd/sonovel/parse/ChapterParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private String crawl(String url, long interval) {
134134
// 获取下一页链接
135135
Elements nextEls = JsoupUtils.select(document, ruleChapter.getNextPage());
136136
// 判断是否为章节最后一页
137-
if (nextEls.text().matches("下一章|没有了")) {
137+
if (nextEls.text().matches(".*(下一章|没有了|>>).*")) {
138138
isLastPage = true;
139139
}
140140
// 更新下一页链接

0 commit comments

Comments
 (0)