Nexo Scans: Fix chapter parsing (#262)

* Nexo Scans: Fix chapter parsing

* bump overrideVersionCode
This commit is contained in:
beerpsi 2024-01-15 12:58:44 +07:00 committed by Draff
parent 205e138dd2
commit 172d11d9ea
2 changed files with 8 additions and 1 deletions

View File

@ -3,15 +3,22 @@ package eu.kanade.tachiyomi.extension.pt.nexoscans
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class NexoScans : Madara(
"Nexo Scans",
"https://nexoscans.com",
"pt-BR",
SimpleDateFormat("dd/MM/yyyy", Locale.US),
) {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 2, TimeUnit.SECONDS)
.build()
override val useNewChapterEndpoint = true
override val chapterUrlSelector = "a:not(div.chapter-thumbnail a)"
}

View File

@ -372,7 +372,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("NekoPost.co (unoriginal)", "https://www.nekopost.co", "th", isNsfw = false, className = "NekoPostCo"),
SingleLang("NekoScan", "https://nekoscan.com", "en", overrideVersionCode = 2),
SingleLang("NewManhua", "https://newmanhua.com", "en", isNsfw = true),
SingleLang("Nexo Scans", "https://nexoscans.com", "pt-BR"),
SingleLang("Nexo Scans", "https://nexoscans.com", "pt-BR", overrideVersionCode = 1),
SingleLang("Night Comic", "https://www.nightcomic.com", "en", overrideVersionCode = 1),
SingleLang("Niji Translations", "https://niji-translations.com", "ar", overrideVersionCode = 1),
SingleLang("Nitro Manga", "https://nitromanga.com", "en", className = "NitroScans", overrideVersionCode = 1),