mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-05-09 20:25:14 +02:00
Fix streamzz and remove vidoza
This commit is contained in:
parent
774d3b52d7
commit
806320a0de
@ -107,12 +107,13 @@ class Streamzz implements Match {
|
|||||||
id = 'streamzz'
|
id = 'streamzz'
|
||||||
reliability = Reliability.NORMAL
|
reliability = Reliability.NORMAL
|
||||||
domains = [
|
domains = [
|
||||||
'streamzz.to'
|
'streamzz.to',
|
||||||
|
'streamz.ws'
|
||||||
]
|
]
|
||||||
regex = new RegExp(/https?:\/\/get.streamz.tw\/getlink-\w+\.dll/gm)
|
regex = new RegExp(/(?<=\|)\w{2,}/gm)
|
||||||
|
|
||||||
async match(match: RegExpMatchArray): Promise<string> {
|
async match(match: RegExpMatchArray): Promise<string> {
|
||||||
return match[0]
|
return `https://get.${document.domain.split('.')[0]}.tw/getlink-${match.sort((a, b) => b.length - a.length)[0]}.dll`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -166,20 +167,6 @@ class Vidstream implements Match {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class Vidoza implements Match {
|
|
||||||
name = 'Vidoza'
|
|
||||||
id = 'vidoza'
|
|
||||||
reliability = Reliability.NORMAL
|
|
||||||
domains = [
|
|
||||||
'vidoza.net'
|
|
||||||
]
|
|
||||||
regex = new RegExp(/(?<=src:(\s*)?")\S*(?=")/gm)
|
|
||||||
|
|
||||||
async match(match: RegExpMatchArray): Promise<string> {
|
|
||||||
return match[0]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
class Vivo implements Match {
|
class Vivo implements Match {
|
||||||
name = 'Vivo'
|
name = 'Vivo'
|
||||||
id = 'vivo'
|
id = 'vivo'
|
||||||
@ -245,7 +232,6 @@ export const matches = [
|
|||||||
new Streamzz(),
|
new Streamzz(),
|
||||||
new Upstream(),
|
new Upstream(),
|
||||||
new Vidlox(),
|
new Vidlox(),
|
||||||
new Vidoza(),
|
|
||||||
new Vivo(),
|
new Vivo(),
|
||||||
new Voe(),
|
new Voe(),
|
||||||
new Vupload()
|
new Vupload()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user