fixed shinobi in sora & fixed Hdfilmcehennemi title

This commit is contained in:
hexated 2023-02-25 04:32:34 +07:00
parent c82488fcbc
commit 97df334b18
8 changed files with 134 additions and 57 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 6
version = 7
cloudstream {

View file

@ -42,7 +42,7 @@ class Hdfilmcehennemi : MainAPI() {
}
private fun Element.toSearchResult(): SearchResponse? {
val title = this.selectFirst("a")?.text() ?: return null
val title = this.selectFirst("h2.title")?.text() ?: return null
val href = fixUrlNull(this.selectFirst("a")?.attr("href")) ?: return null
val posterUrl = fixUrlNull(this.selectFirst("img")?.attr("data-src"))
return newMovieSearchResponse(title, href, TvType.Movie) {