mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
u
This commit is contained in:
parent
8819f46769
commit
2eca08eb26
1 changed files with 7 additions and 11 deletions
|
@ -4,17 +4,20 @@ import com.lagradost.cloudstream3.utils.AppUtils.tryParseJson
|
||||||
import com.lagradost.cloudstream3.utils.ExtractorApi
|
import com.lagradost.cloudstream3.utils.ExtractorApi
|
||||||
import com.lagradost.cloudstream3.utils.ExtractorLink
|
import com.lagradost.cloudstream3.utils.ExtractorLink
|
||||||
import com.lagradost.cloudstream3.utils.M3u8Helper
|
import com.lagradost.cloudstream3.utils.M3u8Helper
|
||||||
|
import kotlinx.coroutines.runBlocking
|
||||||
import org.jsoup.select.Elements
|
import org.jsoup.select.Elements
|
||||||
import java.util.regex.Matcher
|
import java.util.regex.Matcher
|
||||||
import java.util.regex.Pattern
|
import java.util.regex.Pattern
|
||||||
|
|
||||||
class StreamoUpload1 : StreamoUpload() {
|
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") {
|
open class StreamoUpload : ExtractorApi() {
|
||||||
override val mainUrl = "https://streamoupload.xyz"
|
override val name: String = "StreamoUpload"
|
||||||
override val requiresReferer = true
|
override val mainUrl: String = "https://streamoupload.xyz"
|
||||||
|
override val requiresReferer: Boolean = true
|
||||||
|
|
||||||
override suspend fun getUrl(url: String, referer: String?): List<ExtractorLink> {
|
override suspend fun getUrl(url: String, referer: String?): List<ExtractorLink> {
|
||||||
val sources = mutableListOf<ExtractorLink>()
|
val sources = mutableListOf<ExtractorLink>()
|
||||||
|
@ -58,10 +61,3 @@ fun main() {
|
||||||
println(link.url)
|
println(link.url)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue