forked from recloudstream/cloudstream
Vidstream Fix (#848)
This commit is contained in:
parent
71fb7538f3
commit
ea13c66a86
2 changed files with 7 additions and 2 deletions
|
@ -18,6 +18,10 @@ class Vizcloud2 : WcoStream() {
|
||||||
override var mainUrl = "https://vizcloud2.online"
|
override var mainUrl = "https://vizcloud2.online"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class VizcloudOnline : WcoStream() {
|
||||||
|
override var mainUrl = "https://vizcloud.online"
|
||||||
|
}
|
||||||
|
|
||||||
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"
|
||||||
|
@ -55,8 +59,8 @@ open class WcoStream : ExtractorApi() {
|
||||||
|
|
||||||
if (mapped.success) {
|
if (mapped.success) {
|
||||||
mapped.media.sources.forEach {
|
mapped.media.sources.forEach {
|
||||||
if (mainUrl == "https://vizcloud2.ru") {
|
if (mainUrl == "https://vizcloud2.ru" || mainUrl == "https://vizcloud.online") {
|
||||||
if (it.file.contains("vizcloud2.ru")) {
|
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
|
//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 link1080 = it.file.replace("list.m3u8#.mp4","H4/v.m3u8")
|
||||||
val link720 = it.file.replace("list.m3u8#.mp4","H3/v.m3u8")
|
val link720 = it.file.replace("list.m3u8#.mp4","H3/v.m3u8")
|
||||||
|
|
|
@ -97,6 +97,7 @@ val extractorApis: Array<ExtractorApi> = arrayOf(
|
||||||
Vidstreamz(),
|
Vidstreamz(),
|
||||||
Vizcloud(),
|
Vizcloud(),
|
||||||
Vizcloud2(),
|
Vizcloud2(),
|
||||||
|
VizcloudOnline(),
|
||||||
Mp4Upload(),
|
Mp4Upload(),
|
||||||
StreamTape(),
|
StreamTape(),
|
||||||
MixDrop(),
|
MixDrop(),
|
||||||
|
|
Loading…
Reference in a new issue