mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-06-27 10:30:31 +02:00
Fix streamtape
This commit is contained in:
@ -121,10 +121,10 @@ class Streamtape implements Match {
|
|||||||
domains = [
|
domains = [
|
||||||
'streamtape.com'
|
'streamtape.com'
|
||||||
]
|
]
|
||||||
regex = new RegExp(/\/get_video\S*(?=')/gm)
|
regex = new RegExp(/id=.*(?=')/gm)
|
||||||
|
|
||||||
async match(match: RegExpMatchArray): Promise<string> {
|
async match(match: RegExpMatchArray): Promise<string> {
|
||||||
return `https://streamtape.com${match[0]}`
|
return `https://streamtape.com/get_video?${match.reverse()[0]}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user