Atsumaru: Fix image loading (#5971)

Fix images loading
This commit is contained in:
Chopper 2024-11-11 05:36:46 -03:00 committed by GitHub
parent e35ebd7d0a
commit c0c58aee57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

View File

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

View File

@ -30,9 +30,6 @@ class Atsumaru : HttpSource() {
.rateLimit(2)
.build()
override fun headersBuilder() = super.headersBuilder()
.add("Referer", "$baseUrl/")
private fun apiHeadersBuilder() = headersBuilder().apply {
add("Accept", "*/*")
add("Host", apiUrl.toHttpUrl().host)