feat: adding support to qiwi

This commit is contained in:
Chubby Granny Chaser 2024-08-18 16:19:06 +01:00
parent 76d3fead66
commit 6c24a523b7
No known key found for this signature in database
8 changed files with 46 additions and 26 deletions

View file

@ -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];