mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
mess
This commit is contained in:
@@ -36,9 +36,9 @@ class Librarian(object):
|
||||
def search_crossref(self, query, uuid):
|
||||
search_result_from_cr = self.cr.works(query = query, limit = self.limit)
|
||||
print("Total results")
|
||||
print(search_result_from_cr['meesage']['total-results'])
|
||||
print(search_result_from_cr['message']['total-results'])
|
||||
print("Fetched")
|
||||
print(len(search_result_from_cr['meesage']['total-results']))
|
||||
print(len(search_result_from_cr['message']['total-results']))
|
||||
#add to sql with UUID
|
||||
#sql row - title, doi, author, uuid, last retrieved, is_available
|
||||
with open("results.json", "r+", encoding="UTF-8") as data_file:
|
||||
|
||||
Reference in New Issue
Block a user