Update MundoDonghuaProvider.kt

This commit is contained in:
Diego Sánchez 2022-12-12 23:16:23 -03:00 committed by GitHub
parent cee31ebcce
commit b365758e5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,6 +108,8 @@ class MundoDonghuaProvider : MainAPI() {
val link = it.selectFirst("a")?.attr("href") ?: "" val link = it.selectFirst("a")?.attr("href") ?: ""
if (name.contains(title, true)) { if (name.contains(title, true)) {
Episode(fixUrl(link), name) Episode(fixUrl(link), name)
} else {
return null
} }
}.reversed() }.reversed()
val episodes = doc.select("ul.donghua-list a").map { val episodes = doc.select("ul.donghua-list a").map {