summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/harvest/doi_registrars.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-03-30 20:56:04 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-03-30 21:23:11 -0700
commit851c40143d44a73a92ff2c9556b3a63f29668c2d (patch)
treeb21d56c1029a9862f94fffffa627ee643d788767 /python/fatcat_tools/harvest/doi_registrars.py
parent98933a068ec3d918deb0e7dff30aed517ca515d9 (diff)
downloadfatcat-851c40143d44a73a92ff2c9556b3a63f29668c2d.tar.gz
fatcat-851c40143d44a73a92ff2c9556b3a63f29668c2d.zip
crossref: switch from index-date to update-date
This goes against what the API docs recommend, but we are currently far behind on updates and need to catch up. Other than what the docs say, this seems to be consistent with the behavior we want.
Diffstat (limited to 'python/fatcat_tools/harvest/doi_registrars.py')
-rw-r--r--python/fatcat_tools/harvest/doi_registrars.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/harvest/doi_registrars.py b/python/fatcat_tools/harvest/doi_registrars.py
index 66fc033c..3acb7d96 100644
--- a/python/fatcat_tools/harvest/doi_registrars.py
+++ b/python/fatcat_tools/harvest/doi_registrars.py
@@ -107,7 +107,7 @@ class HarvestCrossrefWorker:
return Producer(producer_conf)
def params(self, date_str):
- filter_param = 'from-index-date:{},until-index-date:{}'.format(
+ filter_param = 'from-update-date:{},until-update-date:{}'.format(
date_str, date_str)
return {
'filter': filter_param,