mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-12-15 00:22:08 +01:00
16 lines
338 B
TypeScript
16 lines
338 B
TypeScript
import { HostMatchType, type Host } from '@/lib/host';
|
|
|
|
export default {
|
|
name: 'Vidmoly',
|
|
id: 'vidmoly',
|
|
domains: ['vidmoly.me', 'vidmoly.net', 'vidmoly.to'],
|
|
regex: [/(?<=file:").+\.m3u8.*(?=")/gm],
|
|
|
|
match: async function (match: RegExpMatchArray) {
|
|
return {
|
|
type: HostMatchType.HLS,
|
|
url: match[0]
|
|
};
|
|
}
|
|
} satisfies Host;
|