We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9e55f3 commit c553f4bCopy full SHA for c553f4b
1 file changed
Task/weibo.js
@@ -122,7 +122,7 @@ if ($.isNode()) {
122
function GetCookie() {
123
if ($request && $request.method != 'OPTIONS' && $request.url.match(/\/\d\/[a-z]+\/\w+\?gsid/)) {
124
const signurlVal = $request.url
125
- const token = signurlVal.match(/(gsid=[_a-zA-Z0-9-]+).+(s=\w+$)/)$1$3
+ const token = signurlVal.match(/(gsid=[_a-zA-Z0-9-]+).+(&s=\w+)/)
126
$.log(`token:${token}`)
127
if (token) $.setdata(token, 'sy_token_wb')
128
$.msg($.name, `获取微博签到Cookie: 成功`, ``)
0 commit comments