解决Zotero在校园网VPN下抓取失败的问题

寒暑假在校外,无法内网访问学术网站,只能用VPN,但是这样zotero的抓取规则无法匹配网址,导致抓取失败。如何解决?其实zotero支持代理抓取。以计量大学的VPN为例进行展示:

1. 打开浏览器的zotero插件

2. 在左侧Proxies菜单中设置

在configured Proxies 中添加条目:webvpn.video.cjlu.cn

3. 设置Proxied URL Scheme

在Proxied URL Scheme 中添加: %h-s.video.cjlu.edu.cn:8118/%p

4. 再次刷新即可抓取

d61cf8be3336a88643c9680d484e3a6f_720.png

5. 原理

其实proxy上写的很清楚了:

1
2
3
4
You may use the following variables in your proxy schemes:  
%h - The hostname of the proxied site (e.g., www.example.com)
%p - The path of the proxied page excluding the leading slash (e.g., about/index.html)
%u - Full encoded proxied site url (e.g. https://www.example.com/about/index.html)

您可以在代理方案中使用以下变量:
%h-代理站点的主机名(例如www.example.com)
%p-代理页面的路径,不包括前导斜线(例如about/index.html)
%u-完整编码的代理站点url(例如。https://www.example.com/about/index.html)

以计量大学为例,VPN访问IEEE时,网站长这个样子:
https://ieeexplore-ieee-org-s.video.cjlu.edu.cn:8118/Xplore/home.jsp
zotero不认识这个网站,因此需要把代理的源网站告诉他在哪就可以了。其他学校的网站还需要同学们自行摸索。


解决Zotero在校园网VPN下抓取失败的问题
http://06scure.github.io/2025/04/16/20150416/
作者
Obscure
发布于
2025年4月16日
许可协议