AnimeWorld - Added Coming-Soon (#867)

This commit is contained in:
Davide 2022-03-28 01:03:48 +02:00 committed by GitHub
parent 83f3f7ff2e
commit bec54ac72c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,6 +155,7 @@ class AnimeWorldProvider : MainAPI() {
episode = number episode = number
) )
} }
val comingSoon = episodes.isEmpty()
val recommendations = document.select(".film-list.interesting .item").map { val recommendations = document.select(".film-list.interesting .item").map {
it.toSearchResult(showEpisode = false) it.toSearchResult(showEpisode = false)
@ -175,6 +176,7 @@ class AnimeWorldProvider : MainAPI() {
this.duration = duration this.duration = duration
this.trailerUrl = trailerUrl this.trailerUrl = trailerUrl
this.recommendations = recommendations this.recommendations = recommendations
this.comingSoon = comingSoon
} }
} }