We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d200d6 commit fc0d40bCopy full SHA for fc0d40b
1 file changed
Task/weibo.js
@@ -96,7 +96,7 @@ function GetCookie() {
96
$.msg($.name, `获取微博签到Cookie: 成功`, ``)
97
}
98
else if ($request && $request.method != 'OPTIONS' && $request.headers.Cookie.indexOf("SUB=") > -1) {
99
- const cookieval = $request.url;
+ const cookieval = $$request.headers.Cookie.match(/SUB=[\w\-]+/);
100
if (cookies) {
101
if (cookies.indexOf(cookieval) > -1) {
102
$.log("此账号Cookie已存在,本次跳过")
0 commit comments