Update Anime4upProvider.kt

This commit is contained in:
Zaw 2022-12-02 14:58:36 +03:00 committed by GitHub
parent 3d27ee2530
commit e978acc46a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,8 +138,8 @@ open class Anime4up : MainAPI() {
loadExtractor(it.value, data, subtitleCallback, callback)
}
}
val moshahdaID = doc.select("input[name=\"moshahda\"]").attr("value").decodeBase64()?.utf8()
if(moshahdaID?.isNotEmpty()) {
val moshahdaID = doc.select("input[name=\"moshahda\"]").attr("value").decodeBase64()?.utf8() ?: ""
if(moshahdaID.isNotEmpty()) {
mapOf(
"Original" to "download_o",
"720" to "download_x",