summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-05-29 14:58:49 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-05-29 14:58:49 -0700
commitcc6d9a4dfb366b9477f1fb4acd2fdfa742864a8e (patch)
tree91f365d495c9eac52fee1f85bad5ed846006cf0b /python
parent4def29d4e67f0aaece14527ba3ddf9dc07c626c6 (diff)
parent34a64b5d8c470ae2627458d791239cfc4d66d6b3 (diff)
downloadfatcat-cc6d9a4dfb366b9477f1fb4acd2fdfa742864a8e.tar.gz
fatcat-cc6d9a4dfb366b9477f1fb4acd2fdfa742864a8e.zip
Merge remote-tracking branch 'origin/martin-harvest-fail-on-400'
Manually resolved conflicts: python/fatcat_tools/harvest/doi_registrars.py
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_tools/harvest/doi_registrars.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/python/fatcat_tools/harvest/doi_registrars.py b/python/fatcat_tools/harvest/doi_registrars.py
index a45c8b41..37628f09 100644
--- a/python/fatcat_tools/harvest/doi_registrars.py
+++ b/python/fatcat_tools/harvest/doi_registrars.py
@@ -142,10 +142,6 @@ class HarvestCrossrefWorker:
self.producer.poll(0)
time.sleep(30.0)
continue
- if http_resp.status_code == 400:
- print("skipping batch for {}, due to HTTP 400 on {}. Marking complete. Related: https://github.com/datacite/datacite/issues/897".format(http_resp.url, date_str),
- file=sys.stderr)
- break
http_resp.raise_for_status()
resp = http_resp.json()
items = self.extract_items(resp)