【文件属性】:
文件名称:google_scholar_parser:解析Google学术搜索“引用页面”的脚本
文件大小:33KB
文件格式:ZIP
更新时间:2021-05-04 01:39:41
HTML
google_scholar_parser
解析Google学术搜索“引用页面”的脚本
使用 v1.5。
要求
它在Python2.7中运行,并且需要库BeautifulSoup(version3)。 您可以使用以下命令安装BeautifulSoup:
pip install -r requirements.txt
用法
请注意,如果您连续快速执行过多请求,Google可能会阻止您。 您可能要使用tor或随机的睡眠时间。 例如:
import time ;
random . seed ();
n = random . random () * 5 ;
time . sleep ( n );
使用其DOI获得出版物的引用:
python scholar.py -c 1 10.1111/j.1096-3642.2009.00627.x
输出:
Titl
【文件预览】:
google_scholar_parser-master
----.gitignore(2KB)
----requirements.txt(37B)
----CHANGELOG.md(350B)
----README.md(2KB)
----parser()
--------__init__.py(26B)
--------scholar_cites.py(9KB)
--------scholar.py(14KB)
----tests()
--------__init__.py(26B)
--------test_utils.py(501B)
--------Data()