modify akwam desc selector (#468)

This commit is contained in:
Red 2022-01-16 20:29:04 +00:00 committed by GitHub
parent fd6eee635f
commit 487fa53b81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ class AkwamProvider : MainAPI() {
it.text().contains("مدة الفيلم")
}?.text()?.getIntFromText()
val synopsis = doc.select("div.widget-body p").text()
val synopsis = doc.select("div.widget-body p:first-child").text()
val rating = doc.select("span.mx-2").text().split("/").lastOrNull()?.replace(" ", "")
?.toDoubleOrNull()
@ -197,4 +197,4 @@ class AkwamProvider : MainAPI() {
}
return true
}
}
}