Merge remote-tracking branch 'origin/master'

This commit is contained in:
LagradOst 2022-01-16 23:31:59 +01:00
commit 1e0d2c07ce

View file

@ -97,7 +97,7 @@ class AkwamProvider : MainAPI() {
it.text().contains("مدة الفيلم") it.text().contains("مدة الفيلم")
}?.text()?.getIntFromText() }?.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(" ", "") val rating = doc.select("span.mx-2").text().split("/").lastOrNull()?.replace(" ", "")
?.toDoubleOrNull() ?.toDoubleOrNull()