fixed title NontonAnimeID
This commit is contained in:
parent
e2c2c716de
commit
c47553bc77
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 7
|
version = 8
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -120,7 +120,7 @@ class NontonAnimeIDProvider : MainAPI() {
|
||||||
|
|
||||||
val document = app.get(fixUrl ?: return null).document
|
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 poster = document.selectFirst(".poster > img")?.attr("data-src")
|
||||||
val tags = document.select(".tagline > a").map { it.text() }
|
val tags = document.select(".tagline > a").map { it.text() }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue