diff --git a/src/lib/host/vidmoly.ts b/src/lib/host/vidmoly.ts index 4981f83..617eb4b 100644 --- a/src/lib/host/vidmoly.ts +++ b/src/lib/host/vidmoly.ts @@ -7,13 +7,13 @@ export default { // always points to vidmoly.net. the "outer" vidmoly site also has a link to some video, which, would // be preferred to use, as the whole site could be replaced by the native video player instead of just the iframe, // but said link doesn't always point the same video as the iframe - domains: ['vidmoly.net'], - regex: [/(?<=file:").+\.m3u8.*(?=")/gm], + domains: ['vidmoly.net', 'vidmoly.biz'], + regex: [/file:\s?'(http.*)'/], match: async function (match: RegExpMatchArray) { return { type: HostMatchType.HLS, - url: match[0] + url: match[1] }; } } satisfies Host;