Fix thumbnails

This commit is contained in:
bapeey 2024-01-13 23:56:20 -05:00
parent 8dc3485737
commit a3c4f75d95

View File

@ -14,6 +14,12 @@ class CarteldeManhwas : MangaThemesia(
override val hasProjectPage = true
override val projectPageString = "/proyectos"
override fun Element.imgAttr(): String = when {
hasAttr("data-lazy-src") -> attr("abs:data-lazy-src")
hasAttr("data-cfsrc") -> attr("abs:data-cfsrc")
hasAttr("data-src") -> attr("abs:data-src")
else -> attr("abs:src")
}
override fun searchMangaSelector() = ".utao .uta .imgu:not(:has(span.novelabel)), " +
".listupd .bs .bsx:not(:has(span.novelabel)), " +
".listo .bs .bsx:not(:has(span.novelabel))"