ShieldManga: fix chapter & page issue (#6530)

This commit is contained in:
Riztard Lanthorn 2021-04-14 00:18:31 +07:00 committed by GitHub
parent 526e0e0d90
commit d6859bf877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -13,4 +13,8 @@ class ShieldManga : Madara("Shield Manga", "https://shieldmanga.club", "en") {
.readTimeout(30, TimeUnit.SECONDS)
.addNetworkInterceptor(rateLimitInterceptor)
.build()
override fun chapterListSelector() = "li.wp-manga-hapter, .version-chap li"
override val pageListParseSelector = "div.page-beak, .reading-content div"
}

View File

@ -196,7 +196,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("S2Manga", "https://s2manga.com", "en"),
SingleLang("SamuraiScan", "https://samuraiscan.com", "es"),
SingleLang("Sekte Doujin", "https://sektedoujin.xyz", "id", isNsfw = true),
SingleLang("Shield Manga", "https://shieldmanga.club", "en", overrideVersionCode = 1),
SingleLang("Shield Manga", "https://shieldmanga.club", "en", overrideVersionCode = 2),
SingleLang("Shinzoo Scan", "https://shinzooscan.xyz", "pt-BR", overrideVersionCode = 1),
SingleLang("ShoujoHearts", "https://shoujohearts.com", "en", overrideVersionCode = 1),
SingleLang("SISI GELAP", "https://sisigelap.club/", "id"),