Skip to content

Commit 4d9b23d

Browse files
committed
fix book list retrieval. closes #109
1 parent de57859 commit 4d9b23d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/org/snd/metadata/providers/yenpress/YenPressClient.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class YenPressClient(
5656
}
5757

5858
fun getBookList(id: YenPressSeriesId): List<YenPressBookShort> {
59-
return generateSequence(getMoreBooks(id, 0)) { it.nextOrd?.let { next -> getMoreBooks(id, next) } }
59+
return generateSequence(getMoreBooks(id, 99999)) { it.nextOrd?.let { next -> getMoreBooks(id, next) } }
6060
.flatMap { it.books }
6161
.sortedBy { it.number?.start }
6262
.toList()

0 commit comments

Comments
 (0)