Datanodes support

This commit is contained in:
Shisuys 2025-01-03 16:58:37 -03:00
parent 59bc23bbd8
commit 82b1d710c2
6 changed files with 66 additions and 1 deletions

View file

@ -87,6 +87,7 @@ 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 (realDebridHosts.some((host) => uri.startsWith(host)))
return [Downloader.RealDebrid];