Update MundoDonghuaProvider.kt

This commit is contained in:
Diego Sánchez 2022-12-12 17:00:29 -03:00 committed by GitHub
parent e55c6e2feb
commit 665ab514aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ class MundoDonghuaProvider : MainAPI() {
override suspend fun load(url: String): LoadResponse { override suspend fun load(url: String): LoadResponse {
val doc = app.get(url, timeout = 120).document val doc = app.get(url, timeout = 120).document
Val docSpecial = app.get("https://www.mundodonghua.com", timeout = 120).document val docSpecial = app.get("https://www.mundodonghua.com", timeout = 120).document
val poster = doc.selectFirst("head meta[property=og:image]")?.attr("content") ?: "" val poster = doc.selectFirst("head meta[property=og:image]")?.attr("content") ?: ""
val title = doc.selectFirst(".ls-title-serie")?.text() ?: "" val title = doc.selectFirst(".ls-title-serie")?.text() ?: ""
val description = doc.selectFirst("p.text-justify.fc-dark")?.text() ?: "" val description = doc.selectFirst("p.text-justify.fc-dark")?.text() ?: ""