mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
changed Samehadaku doamin & small fix to UHDMovies
This commit is contained in:
parent
bcac1d2afa
commit
3566a7f57e
4 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 1
|
version = 2
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 40
|
version = 41
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue