fix vidmoly

This commit is contained in:
2026-07-07 17:36:04 +02:00
parent b929f0956d
commit df3c66a24c
+3 -3
View File
@@ -7,13 +7,13 @@ export default {
// always points to vidmoly.net. the "outer" vidmoly site also has a link to some video, which, would // 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, // 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 // but said link doesn't always point the same video as the iframe
domains: ['vidmoly.net'], domains: ['vidmoly.net', 'vidmoly.biz'],
regex: [/(?<=file:").+\.m3u8.*(?=")/gm], regex: [/file:\s?'(http.*)'/],
match: async function (match: RegExpMatchArray) { match: async function (match: RegExpMatchArray) {
return { return {
type: HostMatchType.HLS, type: HostMatchType.HLS,
url: match[0] url: match[1]
}; };
} }
} satisfies Host; } satisfies Host;