Fix invalid header referer in Dmzj (#1065)
Fix invalid header referer in Dmzj
This commit is contained in:
parent
9105f9aef8
commit
2f75e4e56c
|
@ -5,8 +5,8 @@ ext {
|
|||
appName = 'Tachiyomi: Dmzj'
|
||||
pkgNameSuffix = 'zh.dmzj'
|
||||
extClass = '.Dmzj'
|
||||
extVersionCode = 4
|
||||
libVersion = '1.0'
|
||||
extVersionCode = 5
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -265,7 +265,7 @@ class Dmzj : HttpSource() {
|
|||
|
||||
//Headers
|
||||
override fun headersBuilder()
|
||||
= super.headersBuilder().add("Referer", "https://manhua.dmzj.com")!!
|
||||
= super.headersBuilder().add("Referer", "http://www.dmzj.com/")!!
|
||||
|
||||
private open class UriPartFilter(displayName: String, val vals: Array<Pair<String, String>>,
|
||||
defaultValue: Int = 0) :
|
||||
|
|
Loading…
Reference in New Issue