summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2019-12-09 19:55:13 +0100
committerMartin Czygan <martin.czygan@gmail.com>2019-12-27 00:13:40 +0100
commitf1741a635766991f76b34684d9848ca5479a3418 (patch)
tree9ec1f048ca6b36172215611ee6b359eb12fbdd8d
parentfd50b9492b5fdf3c94f11dea909d63b4b60866b2 (diff)
downloadfatcat-f1741a635766991f76b34684d9848ca5479a3418.tar.gz
fatcat-f1741a635766991f76b34684d9848ca5479a3418.zip
avoid usage of short links
-rw-r--r--python/fatcat_tools/harvest/doi_registrars.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/harvest/doi_registrars.py b/python/fatcat_tools/harvest/doi_registrars.py
index 19b32e18..dce7a2bd 100644
--- a/python/fatcat_tools/harvest/doi_registrars.py
+++ b/python/fatcat_tools/harvest/doi_registrars.py
@@ -123,8 +123,8 @@ class HarvestCrossrefWorker:
time.sleep(30.0)
continue
if http_resp.status_code == 400:
- # https://is.gd/0nsEll, https://github.com/datacite/datacite/issues/897
- print("skipping batch for {}, due to HTTP 400. Marking complete. Related: https://git.io/JeylE".format(date_str))
+ print("skipping batch for {}, due to HTTP 400. Marking complete. Related: https://github.com/datacite/datacite/issues/897".format(date_str),
+ file=sys.stderr)
break
http_resp.raise_for_status()
resp = http_resp.json()