Update Anime4upProvider.kt

This commit is contained in:
Zaw 2022-12-01 15:27:44 +03:00 committed by GitHub
parent 9de22b9e1f
commit c4e94f6386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ open class Anime4up : MainAPI() {
}
}
val moshahdaID = doc.select("input[name=\"moshahda\"]").attr("value").decodeBase64()?.utf8()
if(moshahdaID != "null") {
if(moshahdaID.isNotEmpty()) {
mapOf(
"Original" to "download_o",
"720" to "download_x",
@ -164,4 +164,4 @@ open class Anime4up : MainAPI() {
}
return true
}
}
}