FreeMangaTop: Fix access denied in getPages

This commit is contained in:
dragonx943
2025-09-21 16:59:14 +07:00
parent 7cb069d108
commit de2289eb75

View File

@@ -9,4 +9,8 @@ import org.koitharu.kotatsu.parsers.site.madara.MadaraParser
internal class FreeMangaTop(context: MangaLoaderContext) :
MadaraParser(context, MangaParserSource.FREEMANGATOP, "freemangatop.com") {
override val datePattern = "MM/dd/yyyy"
override fun getRequestHeaders() = super.getRequestHeaders().newBuilder()
.add("Referer", "https://$domain/")
.build()
}