fix spider

This commit is contained in:
jxxghp 2023-07-08 08:33:07 +08:00
parent c17e64b509
commit dcca13f59f
2 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ class TorrentSpider:
@staticmethod
def __index(items, selector):
if not items:
return items
return None
if selector:
if "contents" in selector \
and len(items) > int(selector.get("contents")):