openalex: Ignore unknown author names

This commit is contained in:
Mattéo Delabre 2023-05-13 12:50:48 -04:00
parent 2f8f7f1804
commit beb0cfeec9
Signed by: matteo
GPG Key ID: AE3FBD02DC583ABB
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ class APIClient:
authors = [
authorship["author"]["display_name"]
for authorship in work["authorships"]
if authorship["author"]["display_name"] is not None
]
if work["abstract_inverted_index"] is not None: