upd output

This commit is contained in:
mxr612 2024-08-22 17:53:15 +08:00
parent d362130983
commit fb7b281d1a

View File

@ -12,7 +12,9 @@ def query(query:str):
res = []
list = search_paper(query)
for i in list:
if not mysql_connector.is_loaded(i['paperId']):
if mysql_connector.is_loaded(i['paperId']):
print(i['paperId'])
else:
print(i['citationStyles']['bibtex'])
res.append({
'id':i['paperId'],