fix spider
This commit is contained in:
parent
c17e64b509
commit
dcca13f59f
Binary file not shown.
@ -611,7 +611,7 @@ class TorrentSpider:
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def __index(items, selector):
|
def __index(items, selector):
|
||||||
if not items:
|
if not items:
|
||||||
return items
|
return None
|
||||||
if selector:
|
if selector:
|
||||||
if "contents" in selector \
|
if "contents" in selector \
|
||||||
and len(items) > int(selector.get("contents")):
|
and len(items) > int(selector.get("contents")):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user