From e871dd6994c2a591c73de4311cb0b4a66899ad59 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Tue, 21 Jan 2020 20:27:01 -0500 Subject: [PATCH] Use the DOI to determine platform for 956 Springer Signed-off-by: Dan Scott --- tools/ebooks/prep_ebook_records.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ebooks/prep_ebook_records.py b/tools/ebooks/prep_ebook_records.py index 3c9b8b7bf5..480e87026d 100755 --- a/tools/ebooks/prep_ebook_records.py +++ b/tools/ebooks/prep_ebook_records.py @@ -1292,7 +1292,7 @@ def get_subfields(field, data, platform): # We don't know what the 956 platform is if platform and field.tag != "956": link_text = "%s (%s)" % (data["link_text"], platform) - elif url.find("springer.com") > -1: + elif url.find("springer.com") > -1 or url.find("doi.org/10.1057/") > -1: link_text = "%s (%s)" % (data["link_text"], "Springer") else: link_text = "%s" % (data["link_text"]) -- 2.11.0