mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fixed title NontonAnimeID
This commit is contained in:
parent
e2c2c716de
commit
c47553bc77
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 7
|
||||
version = 8
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -120,7 +120,7 @@ class NontonAnimeIDProvider : MainAPI() {
|
|||
|
||||
val document = app.get(fixUrl ?: return null).document
|
||||
|
||||
val title = document.selectFirst("h1.entry-title.cs")!!.text().trim()
|
||||
val title = document.selectFirst("h1.entry-title.cs")!!.text().removeSurrounding("Nonton Anime", "Sub Indo").trim()
|
||||
val poster = document.selectFirst(".poster > img")?.attr("data-src")
|
||||
val tags = document.select(".tagline > a").map { it.text() }
|
||||
|
||||
|
|
Loading…
Reference in a new issue