fix some broken episodes (wrong cdn domain)

This commit is contained in:
jmir1
2021-07-16 15:46:59 +02:00
parent a7dc15f20d
commit 142fe7cc02
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'twist.moe'
pkgNameSuffix = 'en.twistmoe'
extClass = '.TwistMoe'
extVersionCode = 2
extVersionCode = 3
libVersion = '12'
}
dependencies {

View File

@ -190,7 +190,7 @@ class TwistMoe : AnimeHttpSource() {
val source = entry.asJsonObject.get("source").asString
val ivAndKey = aes.getIvAndKey(source)
val toDecode = aes.getToDecode(source)
val url = "https://cdn.twist.moe" +
val url = "https://air-cdn.twist.moe" +
aes.unpad(aes.aesDecrypt(toDecode, ivAndKey.sliceArray(0..31), ivAndKey.sliceArray(32..47)))
videoList.add(Video(url, "1080p", url, null))
}