aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-11-13 16:20:45 -0800
committerBryan Newbold <bnewbold@archive.org>2020-11-13 16:20:45 -0800
commit409d2b07435f7c851bb7679bc086cdb1b8b5b10c (patch)
treefbe7831ac36be6b8754ea5038e47455c855526b9
parent1b7c25729f40653be19de62d6c44dceea5c390a4 (diff)
downloadfatcat-scholar-409d2b07435f7c851bb7679bc086cdb1b8b5b10c.tar.gz
fatcat-scholar-409d2b07435f7c851bb7679bc086cdb1b8b5b10c.zip
refs: extract fatcat crossref pages metadata
-rw-r--r--fatcat_scholar/transform.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/transform.py b/fatcat_scholar/transform.py
index 10382af..e92e34a 100644
--- a/fatcat_scholar/transform.py
+++ b/fatcat_scholar/transform.py
@@ -561,7 +561,7 @@ def refs_from_release_refs(release: ReleaseEntity) -> Sequence[RefStructured]:
publisher=extra.get("publisher"),
volume=extra.get("volume"),
issue=extra.get("issue"),
- pages=extra.get("pages"),
+ pages=extra.get("pages") or extra.get("page"),
doi=extra.get("doi"),
pmid=extra.get("pmid"),
pmcid=extra.get("pmcid"),