From d89922064c5284a7c9ee103269193ba00697d967 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 14 Nov 2019 12:29:04 -0800 Subject: fix release.pmcid typo --- python/fatcat_tools/transforms/ingest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/fatcat_tools') diff --git a/python/fatcat_tools/transforms/ingest.py b/python/fatcat_tools/transforms/ingest.py index 293bc5e6..83cc83be 100644 --- a/python/fatcat_tools/transforms/ingest.py +++ b/python/fatcat_tools/transforms/ingest.py @@ -30,8 +30,8 @@ def release_ingest_request(release, oa_only=False, project='fatcat'): url = "https://arxiv.org/pdf/{}.pdf".format(release.ext_ids.arxiv) expect_mimetypes = ['application/pdf'] elif release.ext_ids.pmcid: - #url = "https://www.ncbi.nlm.nih.gov/pmc/articles/{}/pdf/".format(release.pmcid) - url = "http://europepmc.org/backend/ptpmcrender.fcgi?accid={}&blobtype=pdf".format(release.pmcid) + #url = "https://www.ncbi.nlm.nih.gov/pmc/articles/{}/pdf/".format(release.ext_ids.pmcid) + url = "http://europepmc.org/backend/ptpmcrender.fcgi?accid={}&blobtype=pdf".format(release.ext_ids.pmcid) expect_mimetypes = ['application/pdf'] elif release.ext_ids.doi: url = "https://doi.org/{}".format(release.ext_ids.doi) -- cgit v1.2.3