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