mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-18 08:43:57 +00:00
chore: merge with main
This commit is contained in:
@@ -5,6 +5,7 @@ export enum Downloader {
|
||||
PixelDrain,
|
||||
Qiwi,
|
||||
Datanodes,
|
||||
Mediafire,
|
||||
}
|
||||
|
||||
export enum DownloadSourceStatus {
|
||||
|
||||
@@ -88,6 +88,7 @@ export const getDownloadersForUri = (uri: string) => {
|
||||
if (uri.startsWith("https://pixeldrain.com")) return [Downloader.PixelDrain];
|
||||
if (uri.startsWith("https://qiwi.gg")) return [Downloader.Qiwi];
|
||||
if (uri.startsWith("https://datanodes.to")) return [Downloader.Datanodes];
|
||||
if (uri.startsWith("https://www.mediafire.com")) return [Downloader.Mediafire];
|
||||
|
||||
if (realDebridHosts.some((host) => uri.startsWith(host)))
|
||||
return [Downloader.RealDebrid];
|
||||
|
||||
Reference in New Issue
Block a user