From c57cd034075cb361b9a988bb89842e2e43306ecb Mon Sep 17 00:00:00 2001 From: bytedream Date: Mon, 20 May 2024 15:38:06 +0200 Subject: [PATCH] Fix vidmoly & add it to README --- README.md | 1 + src/lib/match.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index acf1108..2b0a890 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ The best way to install the extension are the official browser extension stores: | [streamzz.to](https://streamzz.to) / [streamz.ws](https://streamz.ws) | ✔ | | | [upstream.to](https://upstream.to) | ✔ | | | [videovard.sx](https://videovard.sx) | ❌ | Reverse engineering the site costs too much time | +| [vidmoly.me](https://vidmoly.me) | ✔ | | | [vidoza.net](https://vidoza.net) | ✔ | | | [vidstream.pro](https://vidstream.pro) | ❌ | Reverse engineering the site costs too much time ([#5](https://github.com/ByteDream/stream-bypass/issues/5)) | | [voe.sx](https://voe.sx) | ✔ | | diff --git a/src/lib/match.ts b/src/lib/match.ts index 4b155e7..96914cb 100644 --- a/src/lib/match.ts +++ b/src/lib/match.ts @@ -199,9 +199,10 @@ export const Vidmoly: Match = { name: 'Vidmoly', id: 'vidmoly', domains: ['vidmoly.me', 'vidmoly.to'], - regex: /(?<=file:").+\.m3u8(?=")/gm, + regex: /(?<=file:").+\.m3u8/gm, match: async (match: RegExpMatchArray) => { + alert('a'); return match[0]; } };