diff --git a/src/providers/embeds/mixdrop.ts b/src/providers/embeds/mixdrop.ts index a1b3143..9a9ee60 100644 --- a/src/providers/embeds/mixdrop.ts +++ b/src/providers/embeds/mixdrop.ts @@ -2,6 +2,7 @@ import * as unpacker from 'unpacker'; import { makeEmbed } from '@/providers/base'; +const mixdropBase = 'https://mixdrop.ag'; const packedRegex = /(eval\(function\(p,a,c,k,e,d\){.*{}\)\))/; const linkRegex = /MDCore\.wurl="(.*?)";/; @@ -19,7 +20,6 @@ export const mixdropScraper = makeEmbed({ // this also handels the case where preview page urls are returned // Example: https://mixdrop.vc/f/pkwrgp0pizgod0 // these don't have the packed code - const mixdropBase = 'https://mixdrop.ag'; const streamRes = await ctx.proxiedFetcher(`/e/${embedId}`, { baseUrl: mixdropBase, }); diff --git a/src/providers/sources/gomovies/index.ts b/src/providers/sources/gomovies/index.ts index 42095a0..5b8fb32 100644 --- a/src/providers/sources/gomovies/index.ts +++ b/src/providers/sources/gomovies/index.ts @@ -92,7 +92,6 @@ export const goMoviesScraper = makeSourcerer({ }, }); - // there's a better way to do this but I'm too lazy to do that const upcloudSource = await getSource(ctx, sources, 'upcloud'); const vidcloudSource = await getSource(ctx, sources, 'vidcloud'); const voeSource = await getSource(ctx, sources, 'voe'); @@ -175,7 +174,6 @@ export const goMoviesScraper = makeSourcerer({ baseUrl: gomoviesBase, }); - // there's a better way to do this but I'm too lazy to do that const upcloudSource = await getSource(ctx, sources, 'upcloud'); const vidcloudSource = await getSource(ctx, sources, 'vidcloud'); const voeSource = await getSource(ctx, sources, 'voe');