Update Gomov.kt

This commit is contained in:
Hexated 2023-07-26 22:13:31 +07:00 committed by GitHub
parent 4f4d9f63de
commit a282acbb36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,7 +79,7 @@ open class Gomov : MainAPI() {
val document = app.get(url).document val document = app.get(url).document
val title = val title =
document.selectFirst("h1.entry-title")?.text()?.substringBefore("Season")?.trim() document.selectFirst("h1.entry-title")?.text()?.substringBefore("Season")?.substringBefore("Episode")?.trim()
.toString() .toString()
val poster = val poster =
fixUrlNull(document.selectFirst("figure.pull-left > img")?.attr("src"))?.fixImageQuality() fixUrlNull(document.selectFirst("figure.pull-left > img")?.attr("src"))?.fixImageQuality()