diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-11-14 12:29:04 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-11-15 16:46:26 -0800 |
commit | d89922064c5284a7c9ee103269193ba00697d967 (patch) | |
tree | 9ba397af43a1c6dd66fda80f2f2e9e88092c0d47 | |
parent | 9cdfeadb14b61178cecfe60c553c068490fb071f (diff) | |
download | fatcat-d89922064c5284a7c9ee103269193ba00697d967.tar.gz fatcat-d89922064c5284a7c9ee103269193ba00697d967.zip |
fix release.pmcid typo
-rw-r--r-- | python/fatcat_tools/transforms/ingest.py | 4 |
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) |