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