mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-05-11 13:15:13 +02:00
Add mp4upload support
This commit is contained in:
parent
2460657f2a
commit
a207c336b0
@ -77,19 +77,20 @@ class Mixdrop implements Match {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*class Mp4Upload implements Match {
|
class Mp4Upload implements Match {
|
||||||
name = 'Mp4Upload'
|
name = 'Mp4Upload'
|
||||||
id = 'mp4upload'
|
id = 'mp4upload'
|
||||||
reliability = Reliability.LOW
|
reliability = Reliability.LOW
|
||||||
domains = [
|
domains = [
|
||||||
'mp4upload.com'
|
'mp4upload.com'
|
||||||
]
|
]
|
||||||
|
replace = true
|
||||||
regex = new RegExp(/(?<=\|)\w{2,}/gm)
|
regex = new RegExp(/(?<=\|)\w{2,}/gm)
|
||||||
|
|
||||||
async match(match: RegExpMatchArray): Promise<string> {
|
async match(match: RegExpMatchArray): Promise<string> {
|
||||||
return `https://${match[34]}.mp4upload.com:${match[89]}/d/${match[88]}/video.mp4`
|
return `https://${match[34]}.mp4upload.com:${match[89]}/d/${match[88]}/video.mp4`
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
|
|
||||||
class Newgrounds implements Match {
|
class Newgrounds implements Match {
|
||||||
name = 'Newgrounds'
|
name = 'Newgrounds'
|
||||||
@ -243,6 +244,7 @@ export const matches = [
|
|||||||
new Doodstream(),
|
new Doodstream(),
|
||||||
new Evoload(),
|
new Evoload(),
|
||||||
new Mixdrop(),
|
new Mixdrop(),
|
||||||
|
new Mp4Upload(),
|
||||||
new Newgrounds(),
|
new Newgrounds(),
|
||||||
new Streamtape(),
|
new Streamtape(),
|
||||||
new Streamzz(),
|
new Streamzz(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user