mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
changes in episodes add
This commit is contained in:
parent
de7028db0d
commit
a0ae106e5f
1 changed files with 2 additions and 2 deletions
|
@ -114,12 +114,12 @@ class MundoDonghuaProvider : MainAPI() {
|
|||
val name = it.selectFirst(".fs-16")?.text()
|
||||
val link = it.attr("href")
|
||||
Episode(fixUrl(link), name)
|
||||
}.plus(specialEpisodes).reversed()
|
||||
}.reversed()
|
||||
val typeinfo = doc.select("div.row div.col-md-6.pl-15 p.fc-dark").text()
|
||||
val tvType = if (typeinfo.contains(Regex("Tipo.*Pel.cula"))) TvType.AnimeMovie else TvType.Anime
|
||||
return newAnimeLoadResponse(title, url, tvType) {
|
||||
posterUrl = poster
|
||||
addEpisodes(DubStatus.Subbed, episodes)
|
||||
addEpisodes(DubStatus.Subbed, episodes + specialEpisodes)
|
||||
showStatus = status
|
||||
plot = description
|
||||
tags = genres
|
||||
|
|
Loading…
Reference in a new issue