parent
50cce6c943
commit
d07881f0b6
|
@ -1,7 +1,7 @@
|
|||
ext {
|
||||
extName = 'Atsumaru'
|
||||
extClass = '.Atsumaru'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue