From 62a04c30b91c8adef5f012aa5f2ecc4586e03062 Mon Sep 17 00:00:00 2001 From: redleafnew Date: Sat, 9 Mar 2024 16:07:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=97=E5=86=9C=E9=AB=98=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E6=94=B9=E4=B8=BA2024=E5=B9=B4=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/modules/njau.ts | 4 ++-- update.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 80eea85..94d8c18 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "greenfrog", - "version": "0.16.04", + "version": "0.17.00", "description": "Zotero plugin for update journal information from easyScholar", "config": { "addonName": "Green Frog", @@ -40,7 +40,7 @@ }, "homepage": "https://github.com/redleafnew/zotero-updateifsE#readme", "dependencies": { - "zotero-plugin-toolkit": "^2.3.11" + "zotero-plugin-toolkit": "^2.3.23" }, "devDependencies": { "@types/node": "^20.10.4", diff --git a/src/modules/njau.ts b/src/modules/njau.ts index 81782a8..0dc20ca 100644 --- a/src/modules/njau.ts +++ b/src/modules/njau.ts @@ -47,14 +47,14 @@ export function njauCore(item: Zotero.Item): any { return undefined } }; -// 南京农业大学高质量期刊 +// 南京农业大学高质量期刊 更新为2024数据 export async function njauJournal(item: Zotero.Item) { var pubT = item.getField('publicationTitle'); var body = `keyword=${encodeURIComponent(pubT)}`; var resp = await Zotero.HTTP.request( "POST", - "http://phq.njau.edu.cn/admin_getJournal.action", + "http://phq.njau.edu.cn/admin_getJournal2024.action", { headers: { "User-Agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36 Edg/114.0.1823.37", diff --git a/update.json b/update.json index 02a1b99..5653505 100644 --- a/update.json +++ b/update.json @@ -12,7 +12,7 @@ } }, { - "version": "0.16.04", + "version": "0.17.00", "update_link": "https://github.com/redleafnew/zotero-updateifsE/releases/latest/download/greenfrog.xpi", "applications": { "zotero": {