Skip to content

Commit

Permalink
fix extra 'uniplatform'
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaojiaodubai committed Sep 29, 2024
1 parent 98b828f commit 141f3fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CNKI.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 12,
"browserSupport": "gcsibv",
"lastUpdated": "2024-09-13 11:59:26"
"lastUpdated": "2024-09-29 12:30:28"
}

/*
Expand Down Expand Up @@ -609,7 +609,7 @@ async function scrapeWithGetExport(doc, ids, itemKey) {
// throw new Error('debug');

const postUrl = inMainland
? `https://kns.cnki.net/dm8/API/GetExport?uniplatform=${exports.platform}`
? '/dm8/API/GetExport'
: '/kns8/manage/APIGetExport';
// "1": row's sequence in search result page, defualt 1; "0": index of page in search result pages, defualt 0.
let postData = inMainland
Expand Down

0 comments on commit 141f3fa

Please sign in to comment.