mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fix #507
This commit is contained in:
parent
09b5b76260
commit
3955446a36
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 1
|
version = 2
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -50,7 +50,7 @@ class Kinoger : MainAPI() {
|
||||||
val title = this.selectFirst("a")?.text() ?: this.selectFirst("img")?.attr("alt")
|
val title = this.selectFirst("a")?.text() ?: this.selectFirst("img")?.attr("alt")
|
||||||
?: this.selectFirst("a")?.attr("title") ?: return null
|
?: this.selectFirst("a")?.attr("title") ?: return null
|
||||||
val posterUrl = fixUrlNull(
|
val posterUrl = fixUrlNull(
|
||||||
(this.nextElementSibling()?.selectFirst("div.content_text img") ?: this.selectFirst("div.content_text img") ?: this.selectFirst("img"))?.getImageAttr()
|
(this.selectFirst("div.content_text img") ?: this.nextElementSibling()?.selectFirst("div.content_text img") ?: this.selectFirst("img"))?.getImageAttr()
|
||||||
)
|
)
|
||||||
|
|
||||||
return newTvSeriesSearchResponse(title, href, TvType.AsianDrama) {
|
return newTvSeriesSearchResponse(title, href, TvType.AsianDrama) {
|
||||||
|
|
Loading…
Reference in a new issue