MangaFire: related manga author language filter

This commit is contained in:
AwkwardPeak7
2024-05-24 21:11:56 +05:00
committed by Koitharu
parent a5e6e4255d
commit e391ed52f3

View File

@@ -331,7 +331,10 @@ internal abstract class MangaFireParser(
// fallback: author's other works
document.select("div.meta a[href*=/author/]").map {
async {
val url = it.attrAsAbsoluteUrl("href")
val url = it.attrAsAbsoluteUrl("href").toHttpUrl()
.newBuilder()
.addQueryParameter("language[]", siteLang)
.build()
webClient.httpGet(url)
.parseHtml().parseMangaList()