From beb0cfeec94cdbb4c8b7acebd0ad256067a41b67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matt=C3=A9o=20Delabre?= Date: Sat, 13 May 2023 12:50:48 -0400 Subject: [PATCH] openalex: Ignore unknown author names --- feedleware/openalex/openalex.py | 1 + 1 file changed, 1 insertion(+) diff --git a/feedleware/openalex/openalex.py b/feedleware/openalex/openalex.py index 153e251..447bd6a 100644 --- a/feedleware/openalex/openalex.py +++ b/feedleware/openalex/openalex.py @@ -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: