fix: Renew image split rule (#15273)
This commit is contained in:
parent
87f34dd479
commit
9ee381f459
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'Jinman Tiantang'
|
||||
pkgNameSuffix = 'zh.jinmantiantang'
|
||||
extClass = '.Jinmantiantang'
|
||||
extVersionCode = 33
|
||||
extVersionCode = 34
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,9 @@ object ScrambledImageInterceptor : Interceptor {
|
|||
return BigInteger(1, md.digest(input.toByteArray())).toString(16).padStart(32, '0')
|
||||
}
|
||||
|
||||
return if (aid >= 268850) {
|
||||
return if (aid >= 421926) {
|
||||
2 * (md5(aid.toString() + imgIndex).last().toInt() % 8) + 2
|
||||
} else if (aid >= 268850) {
|
||||
2 * (md5(aid.toString() + imgIndex).last().toInt() % 10) + 2
|
||||
} else {
|
||||
10
|
||||
|
|
Loading…
Reference in New Issue