From e2b8d884af6c8249e1a250800cff20fee8ac31c5 Mon Sep 17 00:00:00 2001 From: bytedream Date: Wed, 13 Jul 2022 18:21:03 +0200 Subject: [PATCH] Fix streamtape regex --- src/match/matches.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/match/matches.ts b/src/match/matches.ts index b178a13..807214e 100644 --- a/src/match/matches.ts +++ b/src/match/matches.ts @@ -121,10 +121,10 @@ class Streamtape implements Match { domains = [ 'streamtape.com' ] - regex = new RegExp(/id=\S*(?=')/gm) + regex = new RegExp(/\/get_video\S*(?=')/gm) async match(match: RegExpMatchArray): Promise { - return `https://streamtape.com/get_video?${match[0]}` + return `https://streamtape.com${match[0]}` } }