summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-11-14 12:29:04 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-11-15 16:46:26 -0800
commitd89922064c5284a7c9ee103269193ba00697d967 (patch)
tree9ba397af43a1c6dd66fda80f2f2e9e88092c0d47 /python
parent9cdfeadb14b61178cecfe60c553c068490fb071f (diff)
downloadfatcat-d89922064c5284a7c9ee103269193ba00697d967.tar.gz
fatcat-d89922064c5284a7c9ee103269193ba00697d967.zip
fix release.pmcid typo
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_tools/transforms/ingest.py4
1 files changed, 2 insertions, 2 deletions
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)