fix(fr/ScanManga): fix detection (#10373)

fix(ScanManga): fix detection by Accept-Language

Now, it is the same one as chrome :)
This commit is contained in:
Romain 2025-09-06 07:39:10 +02:00 committed by Draff
parent 076f114469
commit 859d5c5007
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Scan-Manga'
extClass = '.ScanManga'
extVersionCode = 10
extVersionCode = 11
isNsfw = true
}

View File

@ -31,7 +31,7 @@ class ScanManga : HttpSource() {
override val supportsLatest = true
override fun headersBuilder(): Headers.Builder = super.headersBuilder()
.add("Accept-Language", "fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3")
.add("Accept-Language", "fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7")
.set("User-Agent", "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Mobile Safari/537.36")
// Popular