forked from recloudstream/cloudstream
AnimeWorld - Added Coming-Soon (#867)
This commit is contained in:
parent
83f3f7ff2e
commit
bec54ac72c
1 changed files with 2 additions and 0 deletions
|
@ -155,6 +155,7 @@ class AnimeWorldProvider : MainAPI() {
|
|||
episode = number
|
||||
)
|
||||
}
|
||||
val comingSoon = episodes.isEmpty()
|
||||
|
||||
val recommendations = document.select(".film-list.interesting .item").map {
|
||||
it.toSearchResult(showEpisode = false)
|
||||
|
@ -175,6 +176,7 @@ class AnimeWorldProvider : MainAPI() {
|
|||
this.duration = duration
|
||||
this.trailerUrl = trailerUrl
|
||||
this.recommendations = recommendations
|
||||
this.comingSoon = comingSoon
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue