Shinigami: Fix chapter URL selector (#437)

This commit is contained in:
beerpsi 2024-01-21 13:40:06 +07:00 committed by Draff
parent 198c7f053f
commit 19a1dd9133
2 changed files with 3 additions and 1 deletions

View File

@ -51,6 +51,8 @@ class Shinigami : Madara("Shinigami", "https://shinigamitoon.com", "id") {
// Tags are useless as they are just SEO keywords.
override val mangaDetailsSelectorTag = ""
override val chapterUrlSelector = "a:not([href*=troll-page])"
override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply {
val urlElement = element.selectFirst(chapterUrlSelector)!!

View File

@ -442,7 +442,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Shayami", "https://shayami.com", "es"),
SingleLang("Shiba Manga", "https://shibamanga.com", "en"),
SingleLang("Shield Manga", "https://shieldmanga.io", "en", overrideVersionCode = 3),
SingleLang("Shinigami", "https://shinigamitoon.com", "id", overrideVersionCode = 12),
SingleLang("Shinigami", "https://shinigamitoon.com", "id", overrideVersionCode = 13),
SingleLang("Shooting Star Scans", "https://shootingstarscans.com", "en"),
SingleLang("ShoujoHearts", "https://shoujohearts.com", "en", overrideVersionCode = 2),
SingleLang("Sinensis Scan", "https://sinensisscan.net", "pt-BR", pkgName = "sinensis", overrideVersionCode = 6),