mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 14:53:24 +00:00
add credits to decryption code
This commit is contained in:
@@ -3,6 +3,8 @@ import { EmbedScrapeContext } from '@/utils/context';
|
|||||||
|
|
||||||
export const vidplayBase = 'https://vidplay.site';
|
export const vidplayBase = 'https://vidplay.site';
|
||||||
|
|
||||||
|
// This file is based on https://github.com/Ciarands/vidsrc-to-resolver/blob/960afb11c30aa6497804b4691fb1c401e539cfe7/vidsrc.py#L10
|
||||||
|
// Full credits to @Ciarands!
|
||||||
export function keyPermutation(key: string, data: any) {
|
export function keyPermutation(key: string, data: any) {
|
||||||
const state = Array.from(Array(256).keys());
|
const state = Array.from(Array(256).keys());
|
||||||
let index1 = 0;
|
let index1 = 0;
|
||||||
|
Reference in New Issue
Block a user