Skip to content

Commit

Permalink
first version of crossref & opencitations seracher #41
Browse files Browse the repository at this point in the history
  • Loading branch information
Kashyap Maheshwari authored and kashyapm94 committed Jun 11, 2023
1 parent 1bd690c commit d6b692e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion findpapers/searchers/acm_searcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def _get_paper(paper_page: html.HtmlElement, paper_doi: str, paper_url: str) ->
else:
publication = None

paper_authors = [f"{x.get('family')}, {x.get('given')}" for x in paper_metadata.get("author", [])]
paper_authors = [f"{a.get('family')}, {a.get('given')}" for a in paper_metadata.get("author", [])]

if issued := paper_metadata.get("issued"):
date_parts = issued["date-parts"][0]
Expand Down

0 comments on commit d6b692e

Please sign in to comment.