From 83d8e2bb4de649867b2c90bd3b2a64ad195b25e5 Mon Sep 17 00:00:00 2001 From: Stormunblessed <86633626+Stormunblessed@users.noreply.github.com> Date: Mon, 18 Apr 2022 17:52:40 +0000 Subject: [PATCH] Vidstream fix (#968) --- .../java/com/lagradost/cloudstream3/extractors/WcoStream.kt | 6 +++++- .../java/com/lagradost/cloudstream3/utils/ExtractorApi.kt | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) 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 43d91192..6eaf1ca7 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/extractors/WcoStream.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/extractors/WcoStream.kt @@ -38,6 +38,10 @@ class MwvnVizcloudInfo : WcoStream() { override var mainUrl = "https://mwvn.vizcloud.info" } +class VizcloudDigital : WcoStream() { + override var mainUrl = "https://vizcloud.digital" +} + open class WcoStream : ExtractorApi() { override var name = "VidStream" //Cause works for animekisa and wco 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" || 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")) { hlsHelper.m3u8Generation(M3u8Helper.M3u8Stream(it.file.replace("#.mp4",""), null, headers = mapOf("Referer" to url)), true) 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 915967d5..c775cbda 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/utils/ExtractorApi.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/utils/ExtractorApi.kt @@ -119,6 +119,7 @@ val extractorApis: Array = arrayOf( VizcloudLive(), VizcloudInfo(), MwvnVizcloudInfo(), + VizcloudDigital(), Mp4Upload(), StreamTape(), MixDrop(),