mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-05-09 20:25:14 +02:00
Fix streamtape regex
This commit is contained in:
parent
b07d0b4be6
commit
e2b8d884af
@ -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<string> {
|
||||
return `https://streamtape.com/get_video?${match[0]}`
|
||||
return `https://streamtape.com${match[0]}`
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user