mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-19 01:03:57 +00:00
feat: adding torbox integration
This commit is contained in:
@@ -4,6 +4,7 @@ export enum Downloader {
|
||||
Gofile,
|
||||
PixelDrain,
|
||||
Qiwi,
|
||||
TorBox,
|
||||
}
|
||||
|
||||
export enum DownloadSourceStatus {
|
||||
|
||||
@@ -92,7 +92,7 @@ export const getDownloadersForUri = (uri: string) => {
|
||||
return [Downloader.RealDebrid];
|
||||
|
||||
if (uri.startsWith("magnet:")) {
|
||||
return [Downloader.Torrent, Downloader.RealDebrid];
|
||||
return [Downloader.Torrent, Downloader.TorBox, Downloader.RealDebrid];
|
||||
}
|
||||
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user