mirror of
https://github.com/sussy-code/providers.git
synced 2026-08-15 11:46:38 +00:00
cleanups and credits
This commit is contained in:
parent
b014104d13
commit
ada152efd3
2 changed files with 1 additions and 4 deletions
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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[]> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue