Plot Twist No Fansub: fix browse and chapter list (#2176)

This commit is contained in:
Vetle Ledaal 2024-03-30 12:57:33 +00:00 committed by Draff
parent 6a8ab8c12e
commit 79bd3dbcca
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Plot Twist No Fansub'
extClass = '.PlotTwistNoFansub'
extVersionCode = 1
extVersionCode = 2
isNsfw = true
}

View File

@ -47,7 +47,7 @@ class PlotTwistNoFansub : ParsedHttpSource() {
override fun popularMangaRequest(page: Int): Request = GET(baseUrl, headers)
override fun popularMangaSelector(): String = "div.last-updates > div.item"
override fun popularMangaSelector(): String = "div.item"
override fun popularMangaNextPageSelector(): String? = null
@ -120,7 +120,7 @@ class PlotTwistNoFansub : ParsedHttpSource() {
val mangaId = document.selectFirst("div.td-ss-main-content > article[id^=post-]")!!.id().substringAfter("-")
val url = "$baseUrl/wp-admin/admin-ajax.php"
val formBody = FormBody.Builder()
.add("action", "lcap")
.add("action", "lcapl")
.add("manga_id", mangaId)
var page = 1