上海交大研究生学位论文网:http://thesis.lib.sjtu.edu.cn/
(只能校内访问或SJTU VPN访问)
如果希望下载论文,需要参考:https://github.com/olixu/SJTU_Thesis_Crawler
安装过程
安装过程的几个坑:
(1)是pip install -r requirements.txt
而非pip install -r requirements.py
(2)报错:ModuleNotFoundError: No module named 'frontend'
>python downloader.py
Traceback (most recent call last):
File "E:\AcademicWorkplace\SJTU_Thesis_Crawler\SJTU_Thesis_Crawler-master\downloader.py", line 23, in <module>
import fitz
File "D:\Academic\Python\Python39\lib\site-packages\fitz\__init__.py", line 1, in <module>
from frontend import *
ModuleNotFoundError: No module named 'frontend'
解决办法:
先卸载PyMuPDF
pip uninstall PyMuPDF
再重新安装
pip install -r requirements.txt
(3)报错:ModuleNotFoundError: No module named 'PyInquirer'
>python downloader.py
Traceback (most recent call last):
File "E:\AcademicWorkplace\SJTU_Thesis_Crawler\SJTU_Thesis_Crawler-master\downloader.py", line 24, in <module>
from PyInquirer import style_from_dict, Token, prompt
ModuleNotFoundError: No module named 'PyInquirer'
解决办法:
pip install PyInquirer