mirror of
https://github.com/bytedream/stream-bypass.git
synced 2026-08-04 21:10:40 +02:00
fix vidmoly
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user