diff --git a/src/match/matches.ts b/src/match/matches.ts index 807214e..9861f91 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(/\/get_video\S*(?=')/gm) + regex = new RegExp(/id=.*(?=')/gm) async match(match: RegExpMatchArray): Promise { - return `https://streamtape.com${match[0]}` + return `https://streamtape.com/get_video?${match.reverse()[0]}` } }