Skip to content

Commit

Permalink
南农高质量改为2024年数据
Browse files Browse the repository at this point in the history
  • Loading branch information
redleafnew committed Mar 9, 2024
1 parent caea40d commit 62a04c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/modules/njau.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion update.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 62a04c3

Please sign in to comment.