This commit is contained in:
parent
514c403e66
commit
cde3adcbe5
@ -83,8 +83,9 @@ def get_files(id):
|
|||||||
|
|
||||||
|
|
||||||
def search_ygg(query, multi):
|
def search_ygg(query, multi):
|
||||||
|
year = args.year or ""
|
||||||
ygg_params = {
|
ygg_params = {
|
||||||
"name": f"{query} {args.year}",
|
"name": f"{query} {year}",
|
||||||
"description": "",
|
"description": "",
|
||||||
"file": "",
|
"file": "",
|
||||||
"uploader": "",
|
"uploader": "",
|
||||||
@ -128,7 +129,7 @@ def search_ygg(query, multi):
|
|||||||
if get_files(id) > 1:
|
if get_files(id) > 1:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
print(f"{name} {args.year} {link}")
|
print(f"{name} {year} {link}")
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user