commit 55f7a16acea8d01dd4cd1493b2f376a3cb36956a
parent aa4582c4cbed07fdf5a608a0f14b70348e5e8308
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Tue, 18 Jan 2022 20:28:00 +0100
todo
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/adddoi b/adddoi
@@ -39,6 +39,8 @@ def searchurl(doi):
assert(data['best_oa_location']['host_type'] == 'repository')
return data['best_oa_location']['url_for_pdf']
+# TODO: this is just trusting the API, a better approach is in the S2ORC ACL
+# paper https://aclanthology.org/2020.acl-main.447.pdf section 2.6
# Search for the DOI given a title; e.g. "computation in Noisy Radio Networks"
# Credit to user13348, slight modifications
# http://tex.stackexchange.com/questions/6810/automatically-adding-doi-fields-to-a-hand-made-bibliography