Add mp4upload support

This commit is contained in:
bytedream 2022-07-19 11:09:09 +02:00
parent 2460657f2a
commit a207c336b0

View File

@ -77,19 +77,20 @@ class Mixdrop implements Match {
}
}
/*class Mp4Upload implements Match {
class Mp4Upload implements Match {
name = 'Mp4Upload'
id = 'mp4upload'
reliability = Reliability.LOW
domains = [
'mp4upload.com'
]
replace = true
regex = new RegExp(/(?<=\|)\w{2,}/gm)
async match(match: RegExpMatchArray): Promise<string> {
return `https://${match[34]}.mp4upload.com:${match[89]}/d/${match[88]}/video.mp4`
}
}*/
}
class Newgrounds implements Match {
name = 'Newgrounds'
@ -243,6 +244,7 @@ export const matches = [
new Doodstream(),
new Evoload(),
new Mixdrop(),
new Mp4Upload(),
new Newgrounds(),
new Streamtape(),
new Streamzz(),