mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-19 09:13:57 +00:00
New hosters
This commit is contained in:
@@ -8,6 +8,8 @@ export enum Downloader {
|
||||
Mediafire,
|
||||
TorBox,
|
||||
Hydra,
|
||||
Buzzheavier,
|
||||
FuckingFast,
|
||||
}
|
||||
|
||||
export enum DownloadSourceStatus {
|
||||
|
||||
@@ -114,6 +114,16 @@ export const getDownloadersForUri = (uri: string) => {
|
||||
if (uri.startsWith("https://datanodes.to")) return [Downloader.Datanodes];
|
||||
if (uri.startsWith("https://www.mediafire.com"))
|
||||
return [Downloader.Mediafire];
|
||||
if (
|
||||
uri.startsWith("https://buzzheavier.com") ||
|
||||
uri.startsWith("https://bzzhr.co") ||
|
||||
uri.startsWith("https://fuckingfast.net")
|
||||
) {
|
||||
return [Downloader.Buzzheavier];
|
||||
}
|
||||
if (uri.startsWith("https://fuckingfast.co")) {
|
||||
return [Downloader.FuckingFast];
|
||||
}
|
||||
|
||||
if (realDebridHosts.some((host) => uri.startsWith(host)))
|
||||
return [Downloader.RealDebrid];
|
||||
|
||||
Reference in New Issue
Block a user