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

View file

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