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