fixes image load (403) for MadaraDex (#6749)

fixes image-load (403), closes #6670
This commit is contained in:
Chaos Pjeles 2024-12-22 16:19:27 +01:00 committed by Draff
parent af92d1591d
commit 512716f5aa
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.MadaraDex'
themePkg = 'madara'
baseUrl = 'https://madaradex.org'
overrideVersionCode = 1
overrideVersionCode = 2
isNsfw = true
}

View File

@ -10,5 +10,7 @@ class MadaraDex : Madara(
"en",
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US),
) {
override fun headersBuilder() = super.headersBuilder()
.set("sec-fetch-site", "same-site")
override val mangaSubString = "title"
}