Merge branch 'hexated:master' into patch-1

This commit is contained in:
Luna712 2023-09-21 18:21:47 -06:00 committed by GitHub
commit d43c4c6c67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 9 deletions

View file

@ -1,7 +1,7 @@
import org.jetbrains.kotlin.konan.properties.Properties import org.jetbrains.kotlin.konan.properties.Properties
// use an integer for version numbers // use an integer for version numbers
version = 12 version = 13
android { android {
defaultConfig { defaultConfig {

View file

@ -6,7 +6,7 @@ import com.lagradost.cloudstream3.utils.httpsify
import com.lagradost.cloudstream3.utils.loadExtractor import com.lagradost.cloudstream3.utils.loadExtractor
open class DutaMovie : Gomov() { open class DutaMovie : Gomov() {
override var mainUrl = "https://dutamovie21.live" override var mainUrl = "https://dutamovie21.xyz"
override var name = "DutaMovie" override var name = "DutaMovie"
override val mainPage = mainPageOf( override val mainPage = mainPageOf(

View file

@ -8,8 +8,8 @@ import com.lagradost.cloudstream3.mainPageOf
import com.lagradost.cloudstream3.utils.ExtractorLink import com.lagradost.cloudstream3.utils.ExtractorLink
import com.lagradost.cloudstream3.utils.loadExtractor import com.lagradost.cloudstream3.utils.loadExtractor
class Ngefilm : DutaMovie() { class Ngefilm : Gomov() {
override var mainUrl = "https://ngefilm21.monster" override var mainUrl = "https://nge-film21.site"
override var name = "Ngefilm" override var name = "Ngefilm"
override val mainPage = mainPageOf( override val mainPage = mainPageOf(

View file

@ -9,7 +9,7 @@ import org.jsoup.nodes.Element
import java.net.URI import java.net.URI
class Nodrakorid : DutaMovie() { class Nodrakorid : DutaMovie() {
override var mainUrl = "https://no-drak-or.xyz" override var mainUrl = "https://no-drakor.xyz"
override var name = "Nodrakorid" override var name = "Nodrakorid"
override val mainPage = mainPageOf( override val mainPage = mainPageOf(

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

@ -12,7 +12,7 @@ import org.jsoup.Jsoup
class Hdmovie2 : Movierulzhd() { class Hdmovie2 : Movierulzhd() {
override var mainUrl = "https://hdmovie2.codes" override var mainUrl = "https://hdmovie2.social"
override var name = "Hdmovie2" override var name = "Hdmovie2"

View file

@ -2206,8 +2206,8 @@ object SoraExtractor : SoraStream() {
.attr("href") .attr("href")
val res = app.get(fixUrl(streamUrl, monsterMainUrl)).document val res = app.get(fixUrl(streamUrl, monsterMainUrl)).document
val script = res.selectFirst("script:containsData(hash:)")?.data() val script = res.selectFirst("script:containsData(hash:)")?.data()
val hash = Regex("hash:\\s*['\"](\\S+)['\"],").find(script ?: return)?.groupValues?.get(1) val hash = Regex("hash:\\s*['\"](\\S+)['\"]").find(script ?: return)?.groupValues?.get(1)
val expires = Regex("expires:\\s*(\\d+),").find(script)?.groupValues?.get(1) val expires = Regex("expires:\\s*(\\d+)").find(script)?.groupValues?.get(1)
val videoUrl = if (season == null) { val videoUrl = if (season == null) {
"$monsterMainUrl/api/v1/security/movie-access?id_movie=$episodeId&hash=$hash&expires=$expires" "$monsterMainUrl/api/v1/security/movie-access?id_movie=$episodeId&hash=$hash&expires=$expires"