mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Vidstream fix (#968)
This commit is contained in:
parent
2f69fffe87
commit
83d8e2bb4d
2 changed files with 6 additions and 1 deletions
|
@ -38,6 +38,10 @@ class MwvnVizcloudInfo : WcoStream() {
|
||||||
override var mainUrl = "https://mwvn.vizcloud.info"
|
override var mainUrl = "https://mwvn.vizcloud.info"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class VizcloudDigital : WcoStream() {
|
||||||
|
override var mainUrl = "https://vizcloud.digital"
|
||||||
|
}
|
||||||
|
|
||||||
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"
|
||||||
|
@ -112,7 +116,7 @@ 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" || mainUrl == "https://vizcloud.live" || mainUrl == "https://vizcloud.info"
|
|| mainUrl == "https://vizcloud.xyz" || mainUrl == "https://vizcloud.live" || mainUrl == "https://vizcloud.info"
|
||||||
|| mainUrl == "https://mwvn.vizcloud.info") {
|
|| mainUrl == "https://mwvn.vizcloud.info" || mainUrl == "https://vizcloud.digital") {
|
||||||
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)
|
||||||
|
|
|
@ -119,6 +119,7 @@ val extractorApis: Array<ExtractorApi> = arrayOf(
|
||||||
VizcloudLive(),
|
VizcloudLive(),
|
||||||
VizcloudInfo(),
|
VizcloudInfo(),
|
||||||
MwvnVizcloudInfo(),
|
MwvnVizcloudInfo(),
|
||||||
|
VizcloudDigital(),
|
||||||
Mp4Upload(),
|
Mp4Upload(),
|
||||||
StreamTape(),
|
StreamTape(),
|
||||||
MixDrop(),
|
MixDrop(),
|
||||||
|
|
Loading…
Reference in a new issue