summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools')
-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 10492c17..3201c180 100644
--- a/python/fatcat_tools/harvest/doi_registrars.py
+++ b/python/fatcat_tools/harvest/doi_registrars.py
@@ -182,7 +182,7 @@ class HarvestDataciteWorker(HarvestCrossrefWorker):
return resp['meta']['total']
def extract_key(self, obj):
- return obj['doi'].encode('utf-8')
+ return obj['attributes']['doi'].encode('utf-8')
def update_params(self, params, resp):
params['page[number]'] = resp['meta']['page'] + 1