mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding support to qiwi
This commit is contained in:
parent
76d3fead66
commit
6c24a523b7
8 changed files with 46 additions and 26 deletions
|
@ -3,6 +3,7 @@ export enum Downloader {
|
|||
Torrent,
|
||||
Gofile,
|
||||
PixelDrain,
|
||||
Qiwi,
|
||||
}
|
||||
|
||||
export enum DownloadSourceStatus {
|
||||
|
@ -75,6 +76,7 @@ export const getDownloadersForUri = (uri: string) => {
|
|||
if (uri.startsWith("https://gofile.io")) return [Downloader.Gofile];
|
||||
|
||||
if (uri.startsWith("https://pixeldrain.com")) return [Downloader.PixelDrain];
|
||||
if (uri.startsWith("https://qiwi.gg")) return [Downloader.Qiwi];
|
||||
|
||||
if (realDebridHosts.some((host) => uri.startsWith(host)))
|
||||
return [Downloader.RealDebrid];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue