fixed title NontonAnimeID

This commit is contained in:
hexated 2022-11-29 01:56:02 +07:00
parent 7c3f1683e0
commit 874958bc6e
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 7
version = 8
cloudstream {

View file

@ -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() }