aboutsummaryrefslogtreecommitdiffstats
path: root/chocula/database.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2022-07-21 14:37:04 -0700
committerBryan Newbold <bnewbold@archive.org>2022-07-21 14:37:04 -0700
commitb92d1b60625592baf66b08451274e4c865028d7d (patch)
tree47b3a3782debe6a3b681538e77cee49207f80a4e /chocula/database.py
parent547d50965dfd84fe03da3b85737e9a67bfab797b (diff)
downloadchocula-b92d1b60625592baf66b08451274e4c865028d7d.tar.gz
chocula-b92d1b60625592baf66b08451274e4c865028d7d.zip
more publisher_type pattern matching
Diffstat (limited to 'chocula/database.py')
-rw-r--r--chocula/database.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/chocula/database.py b/chocula/database.py
index 70aa974..3840ae3 100644
--- a/chocula/database.py
+++ b/chocula/database.py
@@ -600,7 +600,7 @@ class ChoculaDatabase:
out["publisher_type"] = "commercial"
elif publisher in ARCHIVE_PUBLISHERS:
out["publisher_type"] = "archive"
- elif publisher in REPOSITORY_PUBLISHERS:
+ elif publisher in REPOSITORY_PUBLISHERS or "repository" in pl:
out["publisher_type"] = "repository"
elif publisher in OTHER_PUBLISHERS:
out["publisher_type"] = "other"
@@ -614,7 +614,7 @@ class ChoculaDatabase:
or "ieee" in out.get("name", "")
):
out["publisher_type"] = "society"
- elif publisher in UNI_PRESS_PUBLISHERS or "university " in pl:
+ elif publisher in UNI_PRESS_PUBLISHERS or "university " in pl or "universität" in pl:
out["publisher_type"] = "unipress"
elif "scielo" in pl:
out["publisher_type"] = "scielo"