fixes image load (403) for MadaraDex (#6749)
fixes image-load (403), closes #6670
This commit is contained in:
parent
af92d1591d
commit
512716f5aa
|
@ -3,7 +3,7 @@ ext {
|
||||||
extClass = '.MadaraDex'
|
extClass = '.MadaraDex'
|
||||||
themePkg = 'madara'
|
themePkg = 'madara'
|
||||||
baseUrl = 'https://madaradex.org'
|
baseUrl = 'https://madaradex.org'
|
||||||
overrideVersionCode = 1
|
overrideVersionCode = 2
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,5 +10,7 @@ class MadaraDex : Madara(
|
||||||
"en",
|
"en",
|
||||||
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US),
|
dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.US),
|
||||||
) {
|
) {
|
||||||
|
override fun headersBuilder() = super.headersBuilder()
|
||||||
|
.set("sec-fetch-site", "same-site")
|
||||||
override val mangaSubString = "title"
|
override val mangaSubString = "title"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue