From 880927c9186d1bb38a6103e5c8c52bfcef41a69a Mon Sep 17 00:00:00 2001 From: g0ldyy <153996346+g0ldyy@users.noreply.github.com> Date: Tue, 6 Jan 2026 22:23:44 +0100 Subject: [PATCH] feat: fix aiostreams null infoHash --- comet/scrapers/aiostreams.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/comet/scrapers/aiostreams.py b/comet/scrapers/aiostreams.py index 59ea615..b3c2f4b 100644 --- a/comet/scrapers/aiostreams.py +++ b/comet/scrapers/aiostreams.py @@ -37,10 +37,14 @@ class AiostreamsScraper(BaseScraper): if "indexer" in torrent: tracker += f"|{torrent['indexer']}" + infoHash = torrent["infoHash"] + if infoHash is None: + continue + torrents.append( { "title": torrent["filename"], - "infoHash": torrent["infoHash"], + "infoHash": infoHash, "fileIndex": torrent.get("fileIdx", None), "seeders": torrent.get("seeders", None), "size": torrent["size"],