Skip to content

Commit

Permalink
Merge pull request #1292 from dragonx943/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Koitharu authored Dec 9, 2024
2 parents f1e66da + 56989c6 commit 336f647
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
}
}
Expand Down

0 comments on commit 336f647

Please sign in to comment.