mirror of
https://github.com/bytedream/stream-bypass.git
synced 2026-02-04 05:16:27 +01:00
fix vidmoly
This commit is contained in:
@@ -3,7 +3,11 @@ import { HostMatchType, type Host } from '@/lib/host';
|
||||
export default {
|
||||
name: 'Vidmoly',
|
||||
id: 'vidmoly',
|
||||
domains: ['vidmoly.me', 'vidmoly.net', 'vidmoly.to'],
|
||||
// vidmoly has multiple domains, but regardless of the domain, the actual videos are loaded via an iframe which
|
||||
// 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],
|
||||
|
||||
match: async function (match: RegExpMatchArray) {
|
||||
|
||||
Reference in New Issue
Block a user