mirror of
https://github.com/g0ldyy/comet.git
synced 2026-01-12 01:16:12 +01:00
feat: fix aiostreams null infoHash
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user