Revert "Create a downloader for the gamedrivers bypass"

This reverts commit 6da648b21c.
This commit is contained in:
Shisuys 2025-02-01 16:20:14 -03:00
parent 857eb93117
commit 1ed13d8a91
4 changed files with 0 additions and 13 deletions

View File

@ -260,16 +260,6 @@ export class DownloadManager {
case Downloader.PixelDrain: {
const id = game.uri!.split("/").pop();
return {
action: "start",
game_id: game.id,
url: `https://pixeldrain.com/api/file/${id}?download`,
save_path: game.downloadPath!,
};
}
case Downloader.GameDrive: {
const id = game.uri!.split("/").pop();
return {
action: "start",
game_id: game.id,

View File

@ -9,7 +9,6 @@ export const DOWNLOADER_NAME = {
[Downloader.PixelDrain]: "PixelDrain",
[Downloader.Qiwi]: "Qiwi",
[Downloader.Datanodes]: "Datanodes",
[Downloader.GameDrive]: "GameDrive",
};
export const MAX_MINUTES_TO_SHOW_IN_PLAYTIME = 120;

View File

@ -5,7 +5,6 @@ export enum Downloader {
PixelDrain,
Qiwi,
Datanodes,
GameDrive,
}
export enum DownloadSourceStatus {

View File

@ -88,7 +88,6 @@ 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://pd.cybar.xyz")) return [Downloader.GameDrive];
if (realDebridHosts.some((host) => uri.startsWith(host)))
return [Downloader.RealDebrid];