DiskusScan: Fix headers (#4568)
CI / Prepare job (push) Successful in 6s Details
CI / Build individual modules (push) Successful in 4m11s Details
CI / Publish repo (push) Successful in 46s Details

Fix headers
This commit is contained in:
Chopper 2024-08-11 23:19:21 -03:00 committed by Draff
parent d2ad77c0a3
commit 5ecf338be0
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.DiskusScan'
themePkg = 'mangathemesia'
baseUrl = 'https://diskusscan.com'
overrideVersionCode = 9
overrideVersionCode = 10
}
apply from: "$rootDir/common.gradle"

View File

@ -25,7 +25,8 @@ class DiskusScan : MangaThemesia(
.build()
override fun headersBuilder() = super.headersBuilder()
.set("Dnt", "1")
.set("Accept-Language", "pt-BR,en-US;q=0.7,en;q=0.3")
.set("Alt-Used", baseUrl.substringAfterLast("/"))
.set("Sec-Fetch-Dest", "document")
.set("Sec-Fetch-Mode", "navigate")
.set("Sec-Fetch-Site", "same-origin")