Skip to content

Commit

Permalink
Nexo Scans: Fix chapter parsing (#262)
Browse files Browse the repository at this point in the history
* Nexo Scans: Fix chapter parsing

* bump overrideVersionCode
  • Loading branch information
beer-psi authored and cuong-tran committed Jan 15, 2024
1 parent 0c40e17 commit 948d168
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions multisrc/overrides/madara/nexoscans/src/NexoScans.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
}
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,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),
Expand Down

0 comments on commit 948d168

Please sign in to comment.