This commit is contained in:
parent
80bb5f4292
commit
fdae027c01
@ -157,14 +157,14 @@ def search_ygg(query, multi, full):
|
||||
if int(downloads) < args.downloads:
|
||||
continue
|
||||
|
||||
if any(word.lower() in name for word in args.blacklist):
|
||||
if any(word and word.lower() in name for word in args.blacklist):
|
||||
continue
|
||||
|
||||
if args.year and str(args.year) not in name:
|
||||
continue
|
||||
|
||||
if args.uploader and not any(
|
||||
uploader.lower() in name for uploader in args.uploader
|
||||
uploader and uploader.lower() in name for uploader in args.uploader
|
||||
):
|
||||
continue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user