feat: add support for VikingFile and display if link is available

This commit is contained in:
Moyasee
2026-01-02 23:20:08 +02:00
parent 9769eecec6
commit 8fa33119d6
12 changed files with 226 additions and 35 deletions

View File

@@ -10,6 +10,7 @@ export enum Downloader {
Hydra,
Buzzheavier,
FuckingFast,
VikingFile,
}
export enum DownloadSourceStatus {

View File

@@ -124,6 +124,9 @@ export const getDownloadersForUri = (uri: string) => {
if (uri.startsWith("https://fuckingfast.co")) {
return [Downloader.FuckingFast];
}
if (uri.startsWith("https://vikingfile.com")) {
return [Downloader.VikingFile];
}
if (realDebridHosts.some((host) => uri.startsWith(host)))
return [Downloader.RealDebrid];