mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-12-17 01:00:44 +01:00
update
This commit is contained in:
16
src/lib/host/vidmoly.ts
Normal file
16
src/lib/host/vidmoly.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { HostMatchType, type Host } from '@/lib/host';
|
||||
|
||||
export default {
|
||||
name: 'Vidmoly',
|
||||
id: 'vidmoly',
|
||||
domains: ['vidmoly.me', 'vidmoly.to'],
|
||||
regex: [/(?<=file:").+\.m3u8/gm],
|
||||
replace: true,
|
||||
|
||||
match: async function (match: RegExpMatchArray) {
|
||||
return {
|
||||
type: HostMatchType.HLS,
|
||||
url: match[0]
|
||||
};
|
||||
}
|
||||
} satisfies Host;
|
||||
Reference in New Issue
Block a user