瀏覽代碼

Filter at the correct time

main
fluffy 7 月之前
父節點
當前提交
39888fc079
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      zenius.py

+ 2
- 2
zenius.py 查看文件

@@ -169,9 +169,9 @@ if __name__ == "__main__":
seen_cats = set()
categories = args.categories
while categories:
for url in {cat for cat in categories if cat not in seen_cats}:
for url in categories:
found = mirror(url, args)
seen_cats.add(url)
if args.recurse:
print(f'Recursively fetching categories: {list(found)}')
categories = found
categories = (cat for cat in found if cat not in seen_cats)

Loading…
取消
儲存