mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
modify akwam desc selector (#468)
This commit is contained in:
parent
fd6eee635f
commit
487fa53b81
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
@ -197,4 +197,4 @@ class AkwamProvider : MainAPI() {
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue