Komik Cast: Relax page list parsing selector (#13677)

Some chapters are hosted on blogspot, where the `img` elements don't have any class attribute, causing the old selector to fail.
This commit is contained in:
Vetle Ledaal 2022-10-03 13:47:45 +02:00 committed by GitHub
parent 72169cb64f
commit 1d18a39a13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ class KomikCast : MangaThemesia(
override fun pageListParse(document: Document): List<Page> {
var doc = document
var cssQuery = "div#chapter_body .main-reading-area img.size-full"
var cssQuery = "div#chapter_body .main-reading-area img"
val imageListRegex = Regex("chapterImages = (.*) \\|\\|")
val imageListMatchResult = imageListRegex.find(document.toString())

View File

@ -44,7 +44,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
SingleLang("Kiryuu", "https://kiryuu.id", "id", overrideVersionCode = 6),
SingleLang("KlanKomik", "https://klankomik.com", "id", overrideVersionCode = 1),
SingleLang("Komik AV", "https://komikav.com", "id", overrideVersionCode = 1),
SingleLang("Komik Cast", "https://komikcast.me", "id", overrideVersionCode = 15),
SingleLang("Komik Cast", "https://komikcast.me", "id", overrideVersionCode = 16),
SingleLang("Komik Station", "https://komikstation.co", "id", overrideVersionCode = 3),
SingleLang("KomikIndo.co", "https://komikindo.co", "id", className = "KomikindoCo", overrideVersionCode = 3),
SingleLang("KomikMama", "https://komikmama.co", "id", overrideVersionCode = 1),