mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-29 11:01:41 +01:00
Update advanced_search_wine.py
This commit is contained in:
parent
1ba23f9ac2
commit
49706498b0
@ -113,11 +113,10 @@ class AdvancedSearchWine(DVMTaskInterface):
|
||||
headers = {'Content-type': 'application/x-www-form-urlencoded'}
|
||||
response = requests.get(url, headers=headers)
|
||||
#print(response.text)
|
||||
|
||||
result_list = []
|
||||
try:
|
||||
ob = json.loads(response.text)
|
||||
data = ob['data']
|
||||
result_list = []
|
||||
for el in data:
|
||||
try:
|
||||
e_tag = Tag.parse(["e", el['id']])
|
||||
|
Loading…
x
Reference in New Issue
Block a user