This commit is contained in:
Arjix 2021-08-20 22:16:26 +03:00 committed by GitHub
parent 8e29f84f0b
commit 3e09d3710c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,7 +235,7 @@ class TrailersToProvider : MainAPI() {
if (episode == null) {
episode = index + 1
}
val epName = if (gValues?.component3()?.isNotEmpty() == true) gValues.component3() else "Episode ${gValues?.component2()}"
val epName = if (gValues?.component3()?.isNotEmpty() == true) gValues.component3() else "Episode $episode"
val infoHeaders = main.select("span.small-text")
val date = infoHeaders?.get(0)?.text()
val ratingText = infoHeaders?.get(1)?.text()?.replace("/ 10", "")