mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-06-30 10:00:39 +02:00
Update advanced_search_wine.py
This commit is contained in:
@ -104,9 +104,9 @@ class AdvancedSearchWine(DVMTaskInterface):
|
|||||||
|
|
||||||
print("Sending job to Server")
|
print("Sending job to Server")
|
||||||
if options["users"]:
|
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:
|
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'}
|
headers = {'Content-type': 'application/x-www-form-urlencoded'}
|
||||||
response = requests.get(url, headers=headers)
|
response = requests.get(url, headers=headers)
|
||||||
|
Reference in New Issue
Block a user