fix(MHDTVWorld): check movies condition

This commit is contained in:
darkdemon 2022-12-03 14:46:34 +05:30
parent 27b38209a6
commit a68cac245b
No known key found for this signature in database
GPG Key ID: 698A958D1F0F2899
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
version = 1 version = 2
cloudstream { cloudstream {

View File

@ -110,7 +110,7 @@ class MHDTVProvider : MainAPI() { // all providers must be an instance of MainAP
posterUrl = thumbs 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) { newTvSeriesLoadResponse(title, url, TvType.TvSeries, episodes) {
this.posterUrl = poster this.posterUrl = poster
} }