cleanups and credits

This commit is contained in:
Pas 2025-01-30 14:58:55 -07:00
parent b014104d13
commit ada152efd3
2 changed files with 1 additions and 4 deletions

View file

@ -1,4 +1,3 @@
/* eslint-disable no-console */
import { flags } from '@/entrypoint/utils/targets';
import { SourcererEmbed, SourcererOutput, makeSourcerer } from '@/providers/base';
import { MovieScrapeContext, ShowScrapeContext } from '@/utils/context';
@ -26,8 +25,6 @@ async function comboScraper(ctx: ShowScrapeContext | MovieScrapeContext): Promis
});
}
console.log(servers);
ctx.progress(60);
if (!servers.length) throw new NotFoundError('No server playlist found');

View file

@ -31,7 +31,7 @@ export function getMagnetUrl(infoHash: string, name: string): string {
export function constructProxyUrl(magnetUrl: string): string {
const encodedMagnet = encodeURIComponent(magnetUrl);
return `https://savingshub.online/api/fetchHls?magnet=${encodedMagnet}`;
return `https://savingshub.online/api/fetchHls?magnet=${encodedMagnet}`; // Thanks to Custom and DebateMyRoomba for this API
}
export function categorizeStreams(streams: Stream[]): Record<string, Stream[]> {