1,先试用endnote,可以下载大部分文献。
从web of science 导出*.ciw文件,双击就可以导入到endnote,点击下载全文,就可以下载大部分大文献。
2,从 endnote导出DOI文件。
设置输出样式,Tools->output styles->new styles,bibliography->templates, generic->insert field,选择DOI,保存doi.txt
3,python运行代码
修改DOI文件地址,运行代码。
#!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
@File: version_1.1_doi_to_get_pdf.py
@Time: 2021/4/20 10:10 下午
@Author: genqiang_wu@163.com
@desc: 通过doi号下载文献pdf
"""
import requests
from bs4 import BeautifulSoup
import re
import os
import urllib.request
path = "C:\\Users\\dzf\\Desktop\\DZF\\"
if os.path.exists(path) == False:
os.mkdir(path)
if os.path.exists("error.txt") == True:
os.remove("error.txt")
file_doi = open("C:\\Users\\dzf\\Desktop\\DZF\\doi.txt", "r", encoding="utf-8&#