在 python 3.5 中,为了根据他们的DOI从pubmed下载一些论文,我在github https://github.com/antiufo/scihub.py上使用了这个链接
首先,我安装了所有软件包,然后我将这个类https://github.com/antiufo/scihub.py/blob/master/scihub/scihub.py复制到我的项目中,之后在scihub.py之外的一个新项目中我'已经从 SciHub 类创建了一个对象,用于通过它的DOI下载和获取论文,如下所示:
在这个链接:https ://www.ncbi.nlm.nih.gov/pubmed/28440475 DOI是:10.3892/or.2017.5600我想下载这篇论文。
from scihub import SciHub
sh = SciHub()
result = sh.fetch(identifier='10.3892/or.2017.5600')
print(result)
result = sh.download(identifier='10.3892/or.2017.5600', destination='D:\me',path='myPdfFile.pdf')
但什么也没发生。我该如何解决这个问题?