mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-04-01 00:18:04 +02:00
Update advanced_search_wine.py
This commit is contained in:
parent
5117b91470
commit
908c29cf93
@ -104,9 +104,9 @@ class AdvancedSearchWine(DVMTaskInterface):
|
||||
|
||||
print("Sending job to Server")
|
||||
if options["users"]:
|
||||
url = ('https://api.nostr.wine/search?query=' + options["search"] + '&kind=1' + '&pubkey=' + options["users"][0] + "&limit=100")
|
||||
url = ('https://api.nostr.wine/search?query=' + options["search"] + '&kind=1' + '&pubkey=' + options["users"][0] + "&limit=100" + "&sort=time")
|
||||
else:
|
||||
url = ('https://api.nostr.wine/search?query=' + options["search"] + '&kind=1' + "&limit=100")
|
||||
url = ('https://api.nostr.wine/search?query=' + options["search"] + '&kind=1' + "&limit=100" + "&sort=time")
|
||||
|
||||
headers = {'Content-type': 'application/x-www-form-urlencoded'}
|
||||
response = requests.get(url, headers=headers)
|
||||
|
Loading…
x
Reference in New Issue
Block a user