feat: fix aiostreams null infoHash

This commit is contained in:
g0ldyy
2026-01-06 22:23:44 +01:00
parent 77c9f043c3
commit 880927c918
+5 -1
View File
@@ -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"],