From: Dan Scott Date: Fri, 2 Mar 2018 22:48:02 +0000 (-0500) Subject: Prep ebooks: we know if it's Springer X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4525e229944ac387dc1af66de71f2c0c8de098a4;p=contrib%2FConifer.git Prep ebooks: we know if it's Springer Signed-off-by: Dan Scott --- diff --git a/tools/ebooks/prep_ebook_records.py b/tools/ebooks/prep_ebook_records.py index d613ec7eba..d386d7945a 100755 --- a/tools/ebooks/prep_ebook_records.py +++ b/tools/ebooks/prep_ebook_records.py @@ -1126,6 +1126,8 @@ 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: + link_text = "%s (%s)" % (data['link_text'], 'Springer') else: link_text = "%s" % (data['link_text']) subs.extend([