Sfoglia il codice sorgente

Filter at the correct time

main
fluffy 7 mesi fa
parent
commit
39888fc079
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      zenius.py

+ 2
- 2
zenius.py Vedi File

@@ -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)

Caricamento…
Annulla
Salva