From 2eca08eb26f99b90e128813b26c721ea816dc4e1 Mon Sep 17 00:00:00 2001 From: Thorodinson1 Date: Wed, 12 Jul 2023 22:30:38 +0530 Subject: [PATCH] u --- .../cloudstream3/extractors/StreamoUpload.kt | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/extractors/StreamoUpload.kt b/app/src/main/java/com/lagradost/cloudstream3/extractors/StreamoUpload.kt index 3dd172e9..b44fa213 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/extractors/StreamoUpload.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/extractors/StreamoUpload.kt @@ -4,17 +4,20 @@ import com.lagradost.cloudstream3.utils.AppUtils.tryParseJson import com.lagradost.cloudstream3.utils.ExtractorApi import com.lagradost.cloudstream3.utils.ExtractorLink import com.lagradost.cloudstream3.utils.M3u8Helper +import kotlinx.coroutines.runBlocking import org.jsoup.select.Elements import java.util.regex.Matcher import java.util.regex.Pattern class StreamoUpload1 : StreamoUpload() { - override val mainUrl = "https://streamoupload.xyz" + override val name: String = "StreamoUpload1" + override val mainUrl: String = "https://streamoupload.xyz" } -open class StreamoUpload : ExtractorApi(name = "StreamoUpload") { - override val mainUrl = "https://streamoupload.xyz" - override val requiresReferer = true +open class StreamoUpload : ExtractorApi() { + override val name: String = "StreamoUpload" + override val mainUrl: String = "https://streamoupload.xyz" + override val requiresReferer: Boolean = true override suspend fun getUrl(url: String, referer: String?): List { val sources = mutableListOf() @@ -58,10 +61,3 @@ fun main() { println(link.url) } } - - - - - - -