Plot Twist No Fansub: fix browse and chapter list (#2176)
This commit is contained in:
parent
6a8ab8c12e
commit
79bd3dbcca
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'Plot Twist No Fansub'
|
extName = 'Plot Twist No Fansub'
|
||||||
extClass = '.PlotTwistNoFansub'
|
extClass = '.PlotTwistNoFansub'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ class PlotTwistNoFansub : ParsedHttpSource() {
|
||||||
|
|
||||||
override fun popularMangaRequest(page: Int): Request = GET(baseUrl, headers)
|
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
|
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 mangaId = document.selectFirst("div.td-ss-main-content > article[id^=post-]")!!.id().substringAfter("-")
|
||||||
val url = "$baseUrl/wp-admin/admin-ajax.php"
|
val url = "$baseUrl/wp-admin/admin-ajax.php"
|
||||||
val formBody = FormBody.Builder()
|
val formBody = FormBody.Builder()
|
||||||
.add("action", "lcap")
|
.add("action", "lcapl")
|
||||||
.add("manga_id", mangaId)
|
.add("manga_id", mangaId)
|
||||||
|
|
||||||
var page = 1
|
var page = 1
|
||||||
|
|
Loading…
Reference in New Issue