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
1 changed files with 2 additions and 2 deletions

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",