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 d618491c..6cdbd375 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/extractors/WcoStream.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/extractors/WcoStream.kt @@ -18,6 +18,10 @@ class Vizcloud2 : WcoStream() { override var mainUrl = "https://vizcloud2.online" } +class VizcloudOnline : WcoStream() { + override var mainUrl = "https://vizcloud.online" +} + open class WcoStream : ExtractorApi() { override var name = "VidStream" //Cause works for animekisa and wco override var mainUrl = "https://vidstream.pro" @@ -55,8 +59,8 @@ open class WcoStream : ExtractorApi() { if (mapped.success) { mapped.media.sources.forEach { - if (mainUrl == "https://vizcloud2.ru") { - if (it.file.contains("vizcloud2.ru")) { + if (mainUrl == "https://vizcloud2.ru" || mainUrl == "https://vizcloud.online") { + if (it.file.contains("vizcloud2.ru") || it.file.contains("vizcloud.online")) { //Had to do this thing 'cause "list.m3u8#.mp4" gives 404 error so no quality is added val link1080 = it.file.replace("list.m3u8#.mp4","H4/v.m3u8") val link720 = it.file.replace("list.m3u8#.mp4","H3/v.m3u8") 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 9f9ee311..b281b30c 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/utils/ExtractorApi.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/utils/ExtractorApi.kt @@ -97,6 +97,7 @@ val extractorApis: Array = arrayOf( Vidstreamz(), Vizcloud(), Vizcloud2(), + VizcloudOnline(), Mp4Upload(), StreamTape(), MixDrop(),