Merge pull request #1292 from dragonx943/patch-1

master
Koitharu 1 year ago committed by GitHub
commit 336f64712d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -7,7 +7,7 @@ import org.koitharu.kotatsu.parsers.site.madara.MadaraParser
@MangaSourceParser("FECOMICC", "Fecomicc", "vi")
internal class Fecomicc(context: MangaLoaderContext) :
MadaraParser(context, MangaParserSource.FECOMICC, "fecomicc.xyz", 9) {
MadaraParser(context, MangaParserSource.FECOMICC, "fftruyen.net", 9) {
override val listUrl = "comic/"
override val tagPrefix = "the-loai/"
override val datePattern = "dd/MM/yyyy"

@ -226,12 +226,12 @@ internal class DocTruyen3Q(context: MangaLoaderContext) :
val fullUrl = chapter.url.toAbsoluteUrl(domain)
val doc = webClient.httpGet(fullUrl).parseHtml()
return doc.select("div.page-chapter img").mapNotNull { img ->
val url = img.src()?.toRelativeUrl(domain) ?: return@mapNotNull null
val url = img.attr("src")?.toAbsoluteUrl(domain) ?: return@mapNotNull null
MangaPage(
id = generateUid(url),
url = url,
preview = null,
source = source,
source = source
)
}
}

Loading…
Cancel
Save