mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fixed shinobi in sora & fixed Hdfilmcehennemi title
This commit is contained in:
parent
c82488fcbc
commit
97df334b18
8 changed files with 134 additions and 57 deletions
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 6
|
||||
version = 7
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue