mirror of
https://github.com/p-stream/providers.git
synced 2026-04-18 14:12:05 +00:00
add credits to decryption code
This commit is contained in:
parent
9b338b6f3b
commit
a07f54e0cf
1 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,8 @@ import { EmbedScrapeContext } from '@/utils/context';
|
|||
|
||||
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) {
|
||||
const state = Array.from(Array(256).keys());
|
||||
let index1 = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue