mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-12-15 08:30:45 +01:00
16 lines
313 B
TypeScript
16 lines
313 B
TypeScript
import { HostMatchType, type Host } from '@/lib/host';
|
|
|
|
export default {
|
|
name: 'Goodstream',
|
|
id: 'goodstream',
|
|
domains: ['goodstream.uno'],
|
|
regex: [/(?<=file:\s+").*(?=")/g],
|
|
|
|
match: async function (match: RegExpMatchArray) {
|
|
return {
|
|
type: HostMatchType.HLS,
|
|
url: match[0]
|
|
};
|
|
}
|
|
} satisfies Host;
|