修改企鹅阅读,云端Node.js专用。
This commit is contained in:
@@ -14,15 +14,7 @@
|
||||
"qqreadtimeurl1",
|
||||
"qqreadtimehd1"
|
||||
],
|
||||
"settings": [
|
||||
{
|
||||
"id": "qqreadurl1",
|
||||
"name": "qqreadurl1",
|
||||
"val": "https://mqqapi.reader.qq.com/mqq/user/init",
|
||||
"type": "text",
|
||||
"desc": ""
|
||||
}
|
||||
],
|
||||
"settings": [],
|
||||
"author": "@ziye12",
|
||||
"repo": "https://github.com/ziye12/JavaScript ",
|
||||
"icons": [
|
||||
|
@@ -75,7 +75,7 @@ const maxtime = 20//每日上传时长限制,默认20小时
|
||||
const wktimess = 1200//周奖励领取标准,默认1200分钟
|
||||
var tz = ''
|
||||
const qqreadurlVal = `https://mqqapi.reader.qq.com/mqq/user/init`;
|
||||
// const qqreadurlKey = 'qqreadurl' + jbid
|
||||
const qqreadurlKey = 'qqreadurl' + jbid
|
||||
// const qqreadurlVal = $.getdata(qqreadurlKey)
|
||||
|
||||
const qqreadheaderKey = 'qqreadhd' + jbid
|
||||
@@ -174,7 +174,7 @@ function GetCookie() {
|
||||
// if (qqreadbodyVal) $.setdata(qqreadbodyVal, qqreadbodyKey)
|
||||
// $.log(`[${jsname}] 获取阅读: 成功,qqreadbodyVal: ${qqreadbodyVal}`)
|
||||
|
||||
|
||||
$.setdata(qqreadurlVal, qqreadurlKey);
|
||||
const qqreadheaderVal = JSON.stringify($request.headers)
|
||||
if (qqreadheaderVal) $.setdata(qqreadheaderVal, qqreadheaderKey)
|
||||
$.log(`[${jsname}] 获取Cookie: 成功,qqreadheaderVal: ${qqreadheaderVal}`)
|
||||
|
Reference in New Issue
Block a user