diff --git a/science_access/online_app_backend.py b/science_access/online_app_backend.py index d3daee87f6da28ab16bd5136f92274043609e6ed..113a7edea13dd6c407b52bde3fc56d3b0425f606 100644 --- a/science_access/online_app_backend.py +++ b/science_access/online_app_backend.py @@ -180,7 +180,7 @@ def call_from_front_end(NAME): ar = [] bi =[p for p in iterate_publications_as_json(max_results=50, filter=filter_, queries=queries)] for p in bi[0:9]: - res = str('https://api.unpaywall.org/v2/')+str(p['DOI']))+str('?email=YOUR_EMAIL') + res = str('https://api.unpaywall.org/v2/')+str(p['DOI'])+str('?email=YOUR_EMAIL') response = requests.get(res) temp = response['best_oa_location']['url_for_pdf']