feat: added download status

This commit is contained in:
ner committed 2025-08-14 21:38:24 +03:00
1 parent cd3fabc0d8
commit 82c14c1d5c
17 files changed
+189 -88

No files matched your search

+2 -1
View File
@@ -61,7 +61,8 @@ export class YTS {
quality: torrent.quality,
source: torrent.type,
year: movie.year?.toString(),
magnet: `magnet:?xt=urn:btih:${torrent.hash}&dn=${encodeURIComponent(query)}&tr=${trackers.join('&tr=')}`
magnet: `magnet:?xt=urn:btih:${torrent.hash}&dn=${encodeURIComponent(query)}&tr=${trackers.join('&tr=')}`,
hash: torrent.hash
};
}) || []
);