Plot Twist No Fansub: Update domain and fix chapter list (#3848)

Update domain
This commit is contained in:
Yush0DAN 2024-07-03 10:21:11 -06:00 committed by Draff
parent 7445751170
commit 077c62543e
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -40,7 +40,7 @@ class PlotTwistNoFansub : ParsedHttpSource(), ConfigurableSource {
override val name = "Plot Twist No Fansub"
override val baseUrl = "https://www.plotfansub.com"
override val baseUrl = "https://plotnf.com"
override val lang = "es"
@ -77,7 +77,7 @@ class PlotTwistNoFansub : ParsedHttpSource(), ConfigurableSource {
val mangaUrl = selectFirst("a")!!.attr("href")
.removeSuffix("/")
.substringBeforeLast("/")
.replaceFirst("/reader/", "/plot/manga/")
.replaceFirst("/reader/", "/plotwist/manga/")
setUrlWithoutDomain(mangaUrl)
thumbnail_url = select("img").imgAttr()
title = select("img").attr("title")