From b8d57bc9bc449ff830365e6ed84b998f89cbe2cb Mon Sep 17 00:00:00 2001 From: Phisher98 Date: Thu, 21 Nov 2024 13:41:09 +0530 Subject: [PATCH] AllMovieland Fixed --- StreamPlay/build.gradle.kts | 2 +- .../com/HindiProviders/StreamPlayExtractor.kt | 9 ++++---- .../com/HindiProviders/StreamPlayPlugin.kt | 2 +- .../com/HindiProviders/StreamPlayTest.kt | 22 ------------------- 4 files changed, 6 insertions(+), 29 deletions(-) diff --git a/StreamPlay/build.gradle.kts b/StreamPlay/build.gradle.kts index 784c6ea0..d85e1bd1 100644 --- a/StreamPlay/build.gradle.kts +++ b/StreamPlay/build.gradle.kts @@ -3,7 +3,7 @@ import org.jetbrains.kotlin.konan.properties.Properties // use an integer for version numbers -version = 88 +version = 89 android { defaultConfig { val properties = Properties() diff --git a/StreamPlay/src/main/kotlin/com/HindiProviders/StreamPlayExtractor.kt b/StreamPlay/src/main/kotlin/com/HindiProviders/StreamPlayExtractor.kt index 13b923da..52ca842b 100644 --- a/StreamPlay/src/main/kotlin/com/HindiProviders/StreamPlayExtractor.kt +++ b/StreamPlay/src/main/kotlin/com/HindiProviders/StreamPlayExtractor.kt @@ -3310,11 +3310,10 @@ object StreamPlayExtractor : StreamPlay() { episode: Int? = null, callback: (ExtractorLink) -> Unit, ) { - Log.d("Phisher", "Test".toString()) - val doc = app.get("$allmovielandAPI/5499-love-lies-bleeding.html").toString() - val domainRegex = Regex("const AwsIndStreamDomain.*'(.*)';") - val host = domainRegex.find(doc)?.groups?.get(1)?.value.toString() - Log.d("Phisher",host) + //val doc = app.get("$allmovielandAPI/5499-love-lies-bleeding.html").toString() + //val domainRegex = Regex("const AwsIndStreamDomain.*'(.*)';") + //var host = domainRegex.find(doc)?.groups?.get(1)?.value + var host="https://keels313ale.com" val res = app.get( "$host/play/$imdbId", referer = "$allmovielandAPI/" diff --git a/StreamPlay/src/main/kotlin/com/HindiProviders/StreamPlayPlugin.kt b/StreamPlay/src/main/kotlin/com/HindiProviders/StreamPlayPlugin.kt index a9399c12..8f7d5794 100644 --- a/StreamPlay/src/main/kotlin/com/HindiProviders/StreamPlayPlugin.kt +++ b/StreamPlay/src/main/kotlin/com/HindiProviders/StreamPlayPlugin.kt @@ -28,7 +28,7 @@ class StreamPlayPlugin: Plugin() { // All providers should be added in this manner. Please don't edit the providers list directly. registerMainAPI(StreamPlay()) registerMainAPI(StreamPlayLite()) - //registerMainAPI(StreamPlayTest()) + registerMainAPI(StreamPlayTest()) registerExtractorAPI(Animefever()) registerExtractorAPI(Multimovies()) registerExtractorAPI(MultimoviesSB()) diff --git a/StreamPlay/src/main/kotlin/com/HindiProviders/StreamPlayTest.kt b/StreamPlay/src/main/kotlin/com/HindiProviders/StreamPlayTest.kt index edf639f9..8dabb865 100644 --- a/StreamPlay/src/main/kotlin/com/HindiProviders/StreamPlayTest.kt +++ b/StreamPlay/src/main/kotlin/com/HindiProviders/StreamPlayTest.kt @@ -23,28 +23,6 @@ class StreamPlayTest : StreamPlay() { val res = AppUtils.parseJson(data) Log.d("Test1", "$res") argamap( - { - invokeFlixAPI( - res.id, - res.season, - res.episode, - subtitleCallback, - callback - ) - }, - { - if (!res.isAnime) invokeVidbinge( - res.imdbId, - res.id, - res.title, - res.year, - res.season, - res.lastSeason, - res.episode, - subtitleCallback, - callback - ) - }, { if (!res.isAnime) invokeAllMovieland( res.imdbId,