Fix InfinityScans Accept header (#6857)

This commit is contained in:
Michał Marszałek 2024-12-29 07:47:19 +01:00 committed by Draff
parent 44ad6961d3
commit 696f4f2bc9
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'InfinityScans'
extClass = '.InfinityScans'
extVersionCode = 6
extVersionCode = 7
isNsfw = true
}

View File

@ -43,7 +43,7 @@ class InfinityScans : HttpSource() {
}
private val apiHeaders = headersBuilder().apply {
add("Accept", "*/*")
add("Accept", "application/json, text/javascript, */*; q=0.01")
add("Sec-Fetch-Dest", "empty")
add("Sec-Fetch-Mode", "cors")
add("Sec-Fetch-Site", "same-origin")