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'
|
||||
reliability = Reliability.NORMAL
|
||||
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> {
|
||||
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 {
|
||||
name = 'Vivo'
|
||||
id = 'vivo'
|
||||
@ -245,7 +232,6 @@ export const matches = [
|
||||
new Streamzz(),
|
||||
new Upstream(),
|
||||
new Vidlox(),
|
||||
new Vidoza(),
|
||||
new Vivo(),
|
||||
new Voe(),
|
||||
new Vupload()
|
||||
|
Loading…
x
Reference in New Issue
Block a user