forked from recloudstream/cloudstream
parent
3797808350
commit
7fa18fad00
3 changed files with 8 additions and 2 deletions
|
@ -28,7 +28,7 @@ class NineAnimeProvider : MainAPI() {
|
||||||
"Recently Updated (Chinese)"
|
"Recently Updated (Chinese)"
|
||||||
),
|
),
|
||||||
Pair("$mainUrl/ajax/home/widget?name=random", "Random"),
|
Pair("$mainUrl/ajax/home/widget?name=random", "Random"),
|
||||||
).map { (url, name) ->
|
).apmap { (url, name) ->
|
||||||
val home = Jsoup.parse(
|
val home = Jsoup.parse(
|
||||||
app.get(
|
app.get(
|
||||||
url
|
url
|
||||||
|
|
|
@ -22,6 +22,10 @@ class VizcloudOnline : WcoStream() {
|
||||||
override var mainUrl = "https://vizcloud.online"
|
override var mainUrl = "https://vizcloud.online"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class VizcloudXyz : WcoStream() {
|
||||||
|
override var mainUrl = "https://vizcloud.xyz"
|
||||||
|
}
|
||||||
|
|
||||||
open class WcoStream : ExtractorApi() {
|
open class WcoStream : ExtractorApi() {
|
||||||
override var name = "VidStream" //Cause works for animekisa and wco
|
override var name = "VidStream" //Cause works for animekisa and wco
|
||||||
override var mainUrl = "https://vidstream.pro"
|
override var mainUrl = "https://vidstream.pro"
|
||||||
|
@ -94,7 +98,8 @@ open class WcoStream : ExtractorApi() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mainUrl == "https://vidstream.pro" || mainUrl == "https://vidstreamz.online" || mainUrl == "https://vizcloud2.online") {
|
if (mainUrl == "https://vidstream.pro" || mainUrl == "https://vidstreamz.online" || mainUrl == "https://vizcloud2.online"
|
||||||
|
|| mainUrl == "https://vizcloud.xyz") {
|
||||||
if (it.file.contains("m3u8")) {
|
if (it.file.contains("m3u8")) {
|
||||||
hlsHelper.m3u8Generation(M3u8Helper.M3u8Stream(it.file.replace("#.mp4",""), null,
|
hlsHelper.m3u8Generation(M3u8Helper.M3u8Stream(it.file.replace("#.mp4",""), null,
|
||||||
headers = mapOf("Referer" to url)), true)
|
headers = mapOf("Referer" to url)), true)
|
||||||
|
|
|
@ -98,6 +98,7 @@ val extractorApis: Array<ExtractorApi> = arrayOf(
|
||||||
Vizcloud(),
|
Vizcloud(),
|
||||||
Vizcloud2(),
|
Vizcloud2(),
|
||||||
VizcloudOnline(),
|
VizcloudOnline(),
|
||||||
|
VizcloudXyz(),
|
||||||
Mp4Upload(),
|
Mp4Upload(),
|
||||||
StreamTape(),
|
StreamTape(),
|
||||||
MixDrop(),
|
MixDrop(),
|
||||||
|
|
Loading…
Reference in a new issue