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:
parent
72169cb64f
commit
1d18a39a13
|
@ -118,7 +118,7 @@ class KomikCast : MangaThemesia(
|
||||||
|
|
||||||
override fun pageListParse(document: Document): List<Page> {
|
override fun pageListParse(document: Document): List<Page> {
|
||||||
var doc = document
|
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 imageListRegex = Regex("chapterImages = (.*) \\|\\|")
|
||||||
val imageListMatchResult = imageListRegex.find(document.toString())
|
val imageListMatchResult = imageListRegex.find(document.toString())
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Kiryuu", "https://kiryuu.id", "id", overrideVersionCode = 6),
|
SingleLang("Kiryuu", "https://kiryuu.id", "id", overrideVersionCode = 6),
|
||||||
SingleLang("KlanKomik", "https://klankomik.com", "id", overrideVersionCode = 1),
|
SingleLang("KlanKomik", "https://klankomik.com", "id", overrideVersionCode = 1),
|
||||||
SingleLang("Komik AV", "https://komikav.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("Komik Station", "https://komikstation.co", "id", overrideVersionCode = 3),
|
||||||
SingleLang("KomikIndo.co", "https://komikindo.co", "id", className = "KomikindoCo", overrideVersionCode = 3),
|
SingleLang("KomikIndo.co", "https://komikindo.co", "id", className = "KomikindoCo", overrideVersionCode = 3),
|
||||||
SingleLang("KomikMama", "https://komikmama.co", "id", overrideVersionCode = 1),
|
SingleLang("KomikMama", "https://komikmama.co", "id", overrideVersionCode = 1),
|
||||||
|
|
Loading…
Reference in New Issue