MangaCatalog: Change selected element to fix chapter loading (#19122)
Change selected element to fix chapter loading
This commit is contained in:
parent
ace18512db
commit
523ebc56f2
|
@ -88,14 +88,14 @@ abstract class MangaCatalog(
|
|||
|
||||
override fun chapterListSelector(): String = "div.w-full > div.bg-bg-secondary > div.grid"
|
||||
override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply {
|
||||
val name1 = element.select(".col-span-3 > a").text()
|
||||
val name1 = element.select(".col-span-4 > a").text()
|
||||
val name2 = element.select(".text-xs:not(a)").text()
|
||||
if (name2 == "") {
|
||||
name = name1
|
||||
} else {
|
||||
name = "$name1 - $name2"
|
||||
}
|
||||
url = element.select(".col-span-3 > a").attr("abs:href")
|
||||
url = element.select(".col-span-4 > a").attr("abs:href")
|
||||
date_upload = System.currentTimeMillis()
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ class MangaCatalogGenerator : ThemeSourceGenerator {
|
|||
|
||||
override val themeClass = "MangaCatalog"
|
||||
|
||||
override val baseVersionCode: Int = 3
|
||||
override val baseVersionCode: Int = 4
|
||||
|
||||
override val sources = listOf(
|
||||
SingleLang("Read Attack on Titan Shingeki no Kyojin Manga", "https://ww8.readsnk.com", "en", className = "ReadAttackOnTitanShingekiNoKyojinManga", overrideVersionCode = 4),
|
||||
|
|
Loading…
Reference in New Issue