aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-11-05 12:42:54 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-11-05 12:42:54 -0800
commit44c23290c72ec67db38f1e1d40b76ba795b40d9d (patch)
tree3ef598f37a53d2337da542d7cd8079c888bcbd7c
parent227c2b58a353df250ec0e27d06b29427d4d7cb87 (diff)
downloadfatcat-44c23290c72ec67db38f1e1d40b76ba795b40d9d.tar.gz
fatcat-44c23290c72ec67db38f1e1d40b76ba795b40d9d.zip
crossref: accurate blank title counts
-rw-r--r--python/fatcat_tools/importers/crossref.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_tools/importers/crossref.py b/python/fatcat_tools/importers/crossref.py
index 0fe70884..d8abf3eb 100644
--- a/python/fatcat_tools/importers/crossref.py
+++ b/python/fatcat_tools/importers/crossref.py
@@ -160,6 +160,7 @@ class CrossrefImporter(EntityImporter):
def want(self, obj):
if not obj.get('title'):
+ self.counts['skip-blank-title'] += 1
return False
# do most of these checks in-line below