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