From ce8bc855b99e81a67676c4fd89e2a9241a108d93 Mon Sep 17 00:00:00 2001 From: ByteDream Date: Sun, 23 Oct 2022 16:56:05 +0200 Subject: [PATCH] Update dead sites --- README.md | 14 ++++++--- src/match/matches.ts | 69 -------------------------------------------- 2 files changed, 10 insertions(+), 73 deletions(-) diff --git a/README.md b/README.md index 5d81385..ad6ce73 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,6 @@ Install the addon directly from the [firefox addon store](https://addons.mozilla | Site | Supported | Note | |-----------------------------------------------------------------------|-----------|--------------------------------------------------------------------------------------------------------------| | [doodstream.com](doodstream.com) / [dood.pm](https://dood.pm) | ✔️ | | -| [evoload.io](https://evoload.io) | ⚠️️ | Website down / Timeout | | [filemoon.sx](https://filemoon.sx) | ✔ | | | [mcloud.to](https://mcloud.to/) | ❌ | Reverse engineering the site costs too much time ([#5](https://github.com/ByteDream/stream-bypass/issues/5)) | | [mixdrop.co](https://mixdrop.co) | ✔ ️ | | @@ -80,10 +79,8 @@ Install the addon directly from the [firefox addon store](https://addons.mozilla | [streamzz.to](https://streamzz.to) / [streamz.ws](https://streamz.ws) | ✔ | | | [upstream.to](https://upstream.to) | ✔ | | | [videovard.sx](https://videovard.sx) | ❌ | Reverse engineering the site costs too much time | -| [vidlox.me](https://vidlox.me) | ⚠ | Website down / Timeout | | [vidoza.net](https://vidoza.net) | ✔ | | -| [vistream.pro](https://vidstream.pro) | ❌ | Reverse engineering the site costs too much time ([#5](https://github.com/ByteDream/stream-bypass/issues/5)) | -| [vivo.sx](https://vivo.sx) | ⚠️ | Website down / Timeout | +| [vidstream.pro](https://vidstream.pro) | ❌ | Reverse engineering the site costs too much time ([#5](https://github.com/ByteDream/stream-bypass/issues/5)) | | [voe.sx](https://voe.sx) | ✔ | | | [vupload.com](https://vupload.com) | ✔ | | @@ -93,6 +90,15 @@ Install the addon directly from the [firefox addon store](https://addons.mozilla Some sites put much effort in obfuscating their code / how they receive the video stream so that it simply cost too much time for me to reverse engineer it and find out how to bypass the native video player of the site. +
+ Hall of dead sites + +
+ ## ⚙️ Building If you want to build the addon from source and not using the [installation](#installation) way, follow the instructions. diff --git a/src/match/matches.ts b/src/match/matches.ts index ffe1cc5..9afcc74 100644 --- a/src/match/matches.ts +++ b/src/match/matches.ts @@ -41,30 +41,6 @@ class Doodstream implements Match { } } -class Evoload implements Match { - name = 'Evoload' - id = 'evoload' - reliability = Reliability.NORMAL - domains = [ - 'evoload.io' - ] - regex = new RegExp(/.*/gm) - - async match(match: RegExpMatchArray): Promise { - const code = window.location.pathname.split('/').slice(-1)[0] - const response = await fetch('https://evoload.io/SecurePlayer', { - method: 'POST', - headers: { - 'Content-Type': 'application/json' - }, - body: JSON.stringify({code: code}) - }) - - const json = await response.json() - return json['stream']['src'] - } -} - class Filemoon implements Match { name = 'Filemoon' id = 'filemoon' @@ -187,20 +163,6 @@ class Upstream implements Match { } } -class Vidlox implements Match { - name = 'Vidlox' - id = 'vidlox' - reliability = Reliability.LOW - domains = [ - 'vidlox.me' - ] - regex = new RegExp(/(?<=\[")\S+?(?=")/gm) - - async match(match: RegExpMatchArray): Promise { - return match[0] - } -} - class Vidoza implements Match { name = 'Vidoza' id = 'vidoza' @@ -215,34 +177,6 @@ class Vidoza implements Match { } } -class Vivo implements Match { - name = 'Vivo' - id = 'vivo' - reliability = Reliability.LOW - domains = [ - 'vivo.sx' - ] - regex = new RegExp(/(?<=source:\s')(\S+)(?=')/gms) - - async match(match: RegExpMatchArray): Promise { - return this.rot47(decodeURIComponent(match[0])) - } - - // decrypts a string with the rot47 algorithm (https://en.wikipedia.org/wiki/ROT13#Variants) - rot47(encoded: string): string { - const s = [] - for(let i = 0; i < encoded.length; i++) { - const j = encoded.charCodeAt(i) - if((j >= 33) && (j <= 126)) { - s[i] = String.fromCharCode(33+((j+ 14)%94)) - } else { - s[i] = String.fromCharCode(j) - } - } - return s.join('') - } -} - class Voe implements Match { name = 'Voe' id = 'voe' @@ -273,7 +207,6 @@ class Vupload implements Match { export const matches = [ new Doodstream(), - new Evoload(), new Filemoon(), new Mixdrop(), new Mp4Upload(), @@ -281,9 +214,7 @@ export const matches = [ new Streamtape(), new Streamzz(), new Upstream(), - new Vidlox(), new Vidoza(), - new Vivo(), new Voe(), new Vupload() ]