mirror of
https://github.com/daarkdemon/cs-darkdemon-extensions.git
synced 2024-08-14 23:57:20 +00:00
fix(MHDTVWorld): check movies condition
This commit is contained in:
parent
27b38209a6
commit
a68cac245b
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
version = 1
|
||||
version = 2
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
@ -110,7 +110,7 @@ class MHDTVProvider : MainAPI() { // all providers must be an instance of MainAP
|
|||
posterUrl = thumbs
|
||||
)
|
||||
}
|
||||
return if (!document.select(".sgeneros a").last()?.text()!!.contains("movies")) {
|
||||
return if (document.select(".sgeneros a:contains(Movies)").isNullOrEmpty()) {
|
||||
newTvSeriesLoadResponse(title, url, TvType.TvSeries, episodes) {
|
||||
this.posterUrl = poster
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue