feat: video format restrictions

This commit is contained in:
ner committed 2025-08-15 18:42:49 +03:00
1 parent 82c14c1d5c
commit 6fc34e3797
7 files changed
+76 -52

No files matched your search

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