This commit is contained in:
Yure Gabriel 2022-10-13 09:49:15 -03:00 committed by GitHub
parent fe016713be
commit 4e46d33930
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class ReadAttackOnTitanShingekiNoKyojinManga : MangaCatalog("Read Attack on Tita
val urlElemnt = element.selectFirst("a")
name = listOfNotNull(
urlElemnt.text(),
element.selectFirst("div.xs").text().takeUnless { it.isBlank() }
element.selectFirst("div.text-xs").text().takeUnless { it.isBlank() }
).joinToString(" - ") { it.trim() }
url = urlElemnt.attr("abs:href")
}

View File

@ -12,7 +12,7 @@ class MangaCatalogGenerator : ThemeSourceGenerator {
override val baseVersionCode: Int = 3
override val sources = listOf(
SingleLang("Read Attack on Titan Shingeki no Kyojin Manga", "https://ww8.readsnk.com", "en", className = "ReadAttackOnTitanShingekiNoKyojinManga", overrideVersionCode = 3),
SingleLang("Read Attack on Titan Shingeki no Kyojin Manga", "https://ww8.readsnk.com", "en", className = "ReadAttackOnTitanShingekiNoKyojinManga", overrideVersionCode = 4),
SingleLang("Read Berserk Manga", "https://readberserk.com", "en"),
SingleLang("Read Boku no Hero Academia My Hero Academia Manga", "https://ww6.readmha.com", "en", className = "ReadBokuNoHeroAcademiaMyHeroAcademiaManga", overrideVersionCode = 2),
SingleLang("Read Chainsaw Man Manga Online", "https://ww1.readchainsawman.com", "en"),