A dirty script aims to generate bibtex from CNKI/万方 database by paper title.
pip install -r requirements.txt
- Put PDF file downloaded from CNKI into folder
paper
, each name of file is the title of the paper. eg:
$ tree ./paper
.
├── 基于Fuzzing技术的WEB应用程序漏洞挖掘技术研究.pdf
├── 基于计算机漏洞的挖掘技术研究.pdf
└── 基于静态分析技术的PHP代码自动化缺陷检测工具的研究与设计.pdf
- Login into CNKI, get the following cookies
- ASP.NET_SessionId
- SID_kns
- update parameter
cookies
of classCNKI
inconfig.py
- Run
python cnki.py
to generate the bibtex file - check the
paper
folder you will find.bib
files eg:
@article{ YMmtfQlqkooVrfeI,
title = {基于Fuzzing技术的WEB应用程序漏洞挖掘技术研究},
author = {陈景峰},
year = {2012},
keywords = {Web应用程序漏洞,Fuzzing技术,漏洞挖掘},
abstract = {随着Internet与Web2.0技术的快速发展...},
journal = {北方工业大学},
}
- import bibtex files into any reference manager software(eg: mendeley)
Follow the 1st, 4th, 5th and 6th steps of
cnki.py
usage, because 万方 database does not need login.
- Put PDF file downloaded from CNKI into folder
paper
, each name of file is the title of the paper. eg:
$ tree ./paper
.
├── 基于Fuzzing技术的WEB应用程序漏洞挖掘技术研究.pdf
├── 基于计算机漏洞的挖掘技术研究.pdf
└── 基于静态分析技术的PHP代码自动化缺陷检测工具的研究与设计.pdf
- Run
python wanfang.py
to generate the bibtex file - check the
paper
folder you will find.bib
files eg:
@article{ YMmtfQlqkooVrfeI,
title = {基于Fuzzing技术的WEB应用程序漏洞挖掘技术研究},
author = {陈景峰},
year = {2012},
keywords = {Web应用程序漏洞,Fuzzing技术,漏洞挖掘},
abstract = {随着Internet与Web2.0技术的快速发展...},
journal = {北方工业大学},
}
- import bibtex files into any reference manager software(eg: mendeley)