From 5c89d977f4e563e0892caa389d0873b38be85a87 Mon Sep 17 00:00:00 2001 From: Nebula <79540507+Nebula6531@users.noreply.github.com> Date: Tue, 12 Apr 2022 17:20:16 +0100 Subject: [PATCH] Vidstream Fix (#944) * Attempt Uno * Attempt Uno Pt2 --- .../com/lagradost/cloudstream3/extractors/WcoStream.kt | 9 +++++++-- .../com/lagradost/cloudstream3/utils/ExtractorApi.kt | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/extractors/WcoStream.kt b/app/src/main/java/com/lagradost/cloudstream3/extractors/WcoStream.kt index 5f388559..4ab037d9 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/extractors/WcoStream.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/extractors/WcoStream.kt @@ -34,6 +34,10 @@ class VizcloudInfo : WcoStream() { override var mainUrl = "https://vizcloud.info" } +class MwvnVizcloudInfo : WcoStream() { + override var mainUrl = "https://mwvn.vizcloud.info" +} + open class WcoStream : ExtractorApi() { override var name = "VidStream" //Cause works for animekisa and wco override var mainUrl = "https://vidstream.pro" @@ -107,8 +111,9 @@ open class WcoStream : ExtractorApi() { } } 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") { - if (it.file.contains("m3u8")) { + || mainUrl == "https://vizcloud.xyz" || mainUrl == "https://vizcloud.live" || mainUrl == "https://vizcloud.info" + || mainUrl == "https://mwvn.vizcloud.info") { + if (it.file.contains("m3u8")) { hlsHelper.m3u8Generation(M3u8Helper.M3u8Stream(it.file.replace("#.mp4",""), null, headers = mapOf("Referer" to url)), true) .forEach { stream -> diff --git a/app/src/main/java/com/lagradost/cloudstream3/utils/ExtractorApi.kt b/app/src/main/java/com/lagradost/cloudstream3/utils/ExtractorApi.kt index f46e3b4e..febb99c4 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/utils/ExtractorApi.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/utils/ExtractorApi.kt @@ -101,6 +101,7 @@ val extractorApis: Array = arrayOf( VizcloudXyz(), VizcloudLive(), VizcloudInfo(), + MwvnVizcloudInfo(), Mp4Upload(), StreamTape(), MixDrop(),