From ac31945372b4dc987f9a34771c2b097dd7273096 Mon Sep 17 00:00:00 2001 From: bytedream Date: Tue, 1 Feb 2022 22:07:51 +0100 Subject: [PATCH] Removed upstream.com --- README.md | 10 +++++----- SUPPORTED | 1 - src/manifest.json | 3 +-- src/match.ts | 4 ++-- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 44d9577..b813deb 100644 --- a/README.md +++ b/README.md @@ -32,14 +32,14 @@ Supported streaming providers (for a complete list of all supported websites, se
  • streamtape.com
  • streamzz.to
  • thevideome.com
  • -
  • upstream.to
  • vidlox.me
  • vidstream.pro
  • vidoza.net
  • vivo.st
  • vivo.sx
  • voe.sx
  • -
  • vupload.com
  • +
  • vupload.com
  • + --- @@ -50,10 +50,10 @@ Supported streaming providers (for a complete list of all supported websites, se The addon was tested on -- Firefox (95.0.2) -- Ungoogled Chromium (96.0) +- Firefox (96.0.3) +- Ungoogled Chromium (97.0) - Vivaldi (5.0) -- Opera (82.0) +- Opera (83.0) ## Installing diff --git a/SUPPORTED b/SUPPORTED index f7db220..52bf5b4 100644 --- a/SUPPORTED +++ b/SUPPORTED @@ -4,7 +4,6 @@ mixdrop.co streamtape.com streamzz.to thevideome.com -upstream.to vidlox.me vidstream.pro vidoza.net diff --git a/src/manifest.json b/src/manifest.json index 0c0d290..267bab3 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -3,7 +3,7 @@ "name": "Stream Bypass", "author": "ByteDream", "description": "A multi-browser addon / extension for multiple streaming providers which redirects directly to the source video.", - "version": "1.4.2", + "version": "1.5.0", "homepage_url": "https://github.com/ByteDream/stream-bypass", "browser_specific_settings": { "gecko": { @@ -20,7 +20,6 @@ "*://streamtape.com/*", "*://streamzz.to/*", "*://thevideome.com/*", - "*://upstream.to/*", "*://vidlox.me/*", "*://vidstream.pro/*", "*://vidoza.net/*", diff --git a/src/match.ts b/src/match.ts index 9c149d2..9df83f8 100644 --- a/src/match.ts +++ b/src/match.ts @@ -58,7 +58,7 @@ class TheVideoMe implements Match { class Upstream implements Match { async match(match: RegExpMatchArray): Promise { - return `https://${match[48]}.upstreamcdn.co/hls/,${match.sort((a, b) => {return b.length - a.length})[0]},.urlset/master.m3u8` + return `https://${match[47]}.upstreamcdn.co/hls/${match.sort((a, b) => {return b.length - a.length})[0]}/master.m3u8` } } @@ -114,7 +114,7 @@ const matches = [ ['streamtape.com', new RegExp(/id=\S*(?=')/gm), new Streamtape(), Reliability.NORMAL], ['streamzz.to', new RegExp(/https?:\/\/get.streamz.tw\/getlink-\w+\.dll/gm), null, Reliability.NORMAL], ['thevideome.com', new RegExp(/(?<=\|)\w{2,}/gm), new TheVideoMe(), Reliability.NORMAL], - ['upstream.to', new RegExp(/(?<=\|)\w{2,}/gm), new Upstream(), Reliability.LOW], + //['upstream.to', new RegExp(/(?<=\|)\w{2,}/gm), new Upstream(), Reliability.LOW], ['vidlox.me', new RegExp(/(?<=\[")\S+?(?=")/gm), null, Reliability.NORMAL], ['vidstream.pro', new RegExp(/(?<=')\w+(?=';)/gm), new Vidstream(), Reliability.LOW], ['vidoza.net', new RegExp(/(?<=src:(\s*)?")\S*(?=")/gm), null, Reliability.NORMAL],