changed Samehadaku doamin & small fix to UHDMovies

This commit is contained in:
hexated 2022-11-28 15:32:55 +07:00
parent bcac1d2afa
commit 3566a7f57e
4 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers // use an integer for version numbers
version = 1 version = 2
cloudstream { cloudstream {

View file

@ -11,7 +11,7 @@ import com.lagradost.cloudstream3.utils.loadExtractor
import org.jsoup.nodes.Element import org.jsoup.nodes.Element
class Samehadaku : MainAPI() { class Samehadaku : MainAPI() {
override var mainUrl = "https://194.163.183.129" override var mainUrl = "https://samehadaku.win"
override var name = "Samehadaku" override var name = "Samehadaku"
override val hasMainPage = true override val hasMainPage = true
override var lang = "id" override var lang = "id"

View file

@ -1,5 +1,5 @@
// use an integer for version numbers // use an integer for version numbers
version = 40 version = 41
cloudstream { cloudstream {

View file

@ -1328,7 +1328,7 @@ data class FilmxyCookies(
fun String.filterIframe(seasonNum: Int?, year: Int?): Boolean { fun String.filterIframe(seasonNum: Int?, year: Int?): Boolean {
return if (seasonNum != null) { return if (seasonNum != null) {
this.contains(Regex("(?i)(S0?$seasonNum)|(Season\\s0?$seasonNum)")) && !this.contains("Download", true) this.contains(Regex("(?i)(S0?$seasonNum)|(Season\\s0?$seasonNum)|([0-9]{3,4}p)")) && !this.contains("Download", true)
} else { } else {
this.contains("$year", true) && !this.contains("Download", true) this.contains("$year", true) && !this.contains("Download", true)
} }