Fix Vortex Scans (#8645)
This commit is contained in:
parent
590f013578
commit
5818f1dc64
@ -2,4 +2,4 @@ plugins {
|
|||||||
id("lib-multisrc")
|
id("lib-multisrc")
|
||||||
}
|
}
|
||||||
|
|
||||||
baseVersionCode = 8
|
baseVersionCode = 9
|
||||||
|
@ -127,7 +127,7 @@ abstract class Iken(
|
|||||||
val userId = userIdRegex.find(response.body.string())?.groupValues?.get(1) ?: ""
|
val userId = userIdRegex.find(response.body.string())?.groupValues?.get(1) ?: ""
|
||||||
|
|
||||||
val id = response.request.url.fragment!!
|
val id = response.request.url.fragment!!
|
||||||
val chapterUrl = "$apiUrl/api/chapters?postId=$id&skip=0&take=1000&order=desc&userid=$userId"
|
val chapterUrl = "$apiUrl/api/chapters?postId=$id&skip=0&take=900&order=desc&userid=$userId"
|
||||||
val chapterResponse = client.newCall(GET(chapterUrl, headers)).execute()
|
val chapterResponse = client.newCall(GET(chapterUrl, headers)).execute()
|
||||||
|
|
||||||
val data = chapterResponse.parseAs<Post<ChapterListResponse>>()
|
val data = chapterResponse.parseAs<Post<ChapterListResponse>>()
|
||||||
|
@ -7,6 +7,7 @@ class VortexScans : Iken(
|
|||||||
"Vortex Scans",
|
"Vortex Scans",
|
||||||
"en",
|
"en",
|
||||||
"https://vortexscans.org",
|
"https://vortexscans.org",
|
||||||
|
"https://api.vortexscans.org",
|
||||||
) {
|
) {
|
||||||
override fun popularMangaRequest(page: Int) = GET(baseUrl, headers)
|
override fun popularMangaRequest(page: Int) = GET(baseUrl, headers)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user