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
7c3f1683e0
commit
874958bc6e
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