mirror of
https://github.com/daarkdemon/cs-darkdemon-extensions.git
synced 2024-08-14 23:57:20 +00:00
Merge pull request #5 from BholeyKaBhakt/master
This commit is contained in:
commit
4c0fd2d936
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
version = 1
|
||||
version = 2
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -41,7 +41,7 @@ class StreamBlastersProvider : MainAPI() { // all providers must be an instance
|
|||
}
|
||||
|
||||
private fun Element.toSearchResult(): SearchResponse? {
|
||||
val title = this.selectFirst("a")?.text()?.trim() ?: return null
|
||||
val title = this.selectFirst("img")?.attr("alt")?.trim() ?: return null
|
||||
val href = fixUrl(this.selectFirst("a")?.attr("href").toString())
|
||||
val posterUrl = fixUrlNull(this.selectFirst("img")?.attr("data-src"))
|
||||
val quality = getQualityFromString(this.select("span.quality").text())
|
||||
|
|
Loading…
Reference in a new issue