Shinigami: Fix chapter URL selector (#437)
This commit is contained in:
parent
198c7f053f
commit
19a1dd9133
|
@ -51,6 +51,8 @@ class Shinigami : Madara("Shinigami", "https://shinigamitoon.com", "id") {
|
||||||
// Tags are useless as they are just SEO keywords.
|
// Tags are useless as they are just SEO keywords.
|
||||||
override val mangaDetailsSelectorTag = ""
|
override val mangaDetailsSelectorTag = ""
|
||||||
|
|
||||||
|
override val chapterUrlSelector = "a:not([href*=troll-page])"
|
||||||
|
|
||||||
override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply {
|
override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply {
|
||||||
val urlElement = element.selectFirst(chapterUrlSelector)!!
|
val urlElement = element.selectFirst(chapterUrlSelector)!!
|
||||||
|
|
||||||
|
|
|
@ -442,7 +442,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Shayami", "https://shayami.com", "es"),
|
SingleLang("Shayami", "https://shayami.com", "es"),
|
||||||
SingleLang("Shiba Manga", "https://shibamanga.com", "en"),
|
SingleLang("Shiba Manga", "https://shibamanga.com", "en"),
|
||||||
SingleLang("Shield Manga", "https://shieldmanga.io", "en", overrideVersionCode = 3),
|
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("Shooting Star Scans", "https://shootingstarscans.com", "en"),
|
||||||
SingleLang("ShoujoHearts", "https://shoujohearts.com", "en", overrideVersionCode = 2),
|
SingleLang("ShoujoHearts", "https://shoujohearts.com", "en", overrideVersionCode = 2),
|
||||||
SingleLang("Sinensis Scan", "https://sinensisscan.net", "pt-BR", pkgName = "sinensis", overrideVersionCode = 6),
|
SingleLang("Sinensis Scan", "https://sinensisscan.net", "pt-BR", pkgName = "sinensis", overrideVersionCode = 6),
|
||||||
|
|
Loading…
Reference in New Issue