This commit is contained in:
mrq 2022-10-21 02:14:15 +00:00
parent 06183b494e
commit 3bec2624fb

View File

@ -42,7 +42,7 @@ boorus = {
}
config = {
'config': './data/config/fetch.json',
'source': './data/config/fetch.json',
'booru': "e621", # booru definition to use from the above object, currently only supports e621
@ -93,7 +93,7 @@ if len(args) == 0:
print('No arguments passed, example: `python3 fetch.py \"kemono -dog\"`')
quit()
config['query'] = urllib.parse.quote(" ".join(args))
config['query'] = urllib.parse.quote(args)
def parse():
global booru, config, cache