mirror of
https://github.com/sussy-code/providers.git
synced 2026-04-17 23:11:28 +00:00
that should be proxied obviously
This commit is contained in:
parent
fe90bdaa9a
commit
16dcca270c
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ export const referer = `${vidplayBase}/`;
|
|||
// Full credits to @Ciarands!
|
||||
|
||||
export const getDecryptionKeys = async (ctx: EmbedScrapeContext): Promise<string[]> => {
|
||||
const res = await ctx.fetcher<string>('https://github.com/Ciarands/vidsrc-keys/blob/main/keys.json');
|
||||
const res = await ctx.proxiedFetcher<string>('https://github.com/Ciarands/vidsrc-keys/blob/main/keys.json');
|
||||
const regex = /"rawLines":\s*\[([\s\S]*?)\]/;
|
||||
const rawLines = res.match(regex)?.[1];
|
||||
if (!rawLines) throw new Error('No keys found');
|
||||
|
|
|
|||
Loading…
Reference in a new issue