mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
Update MundoDonghuaProvider.kt
This commit is contained in:
parent
fd0c5f4b42
commit
6f15c8aa14
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ class MundoDonghuaProvider : MainAPI() {
|
|||
else -> null
|
||||
}
|
||||
var counter = 0
|
||||
val specialEpisodes = docSpecial.select(".col-xs-4").mapNotNull {
|
||||
val specialEpisodes = docSpecial.select("div.row .col-xs-4").mapNotNull {
|
||||
counter++
|
||||
if (counter < 7) {
|
||||
val name = it.selectFirst("h5")?.text()?.replace("Episodio","-") ?: ""
|
||||
|
@ -123,7 +123,7 @@ class MundoDonghuaProvider : MainAPI() {
|
|||
val link = it.attr("href")
|
||||
Episode(fixUrl(link), name)
|
||||
}.reversed()
|
||||
val episodesFinal = specialEpisodes
|
||||
val episodesFinal = episodes + specialEpisodes
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue