Skip to content

Commit 1b1187d

Browse files
committed
1 parent c6e1386 commit 1b1187d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Task/weibo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ if ($.isNode()) {
120120

121121

122122
function GetCookie() {
123-
if ($request && $request.method != 'OPTIONS' && $request.url.match(/\/\d\/[a-z]+\/\w+\?gsid/)) {
123+
if ($request && $request.method != 'OPTIONS' && $request.url.match(/\d/user/show/.+(gsid=)/)) {
124124
const signurlVal = $request.url
125125
const token = signurlVal.match(/(gsid=[_a-zA-Z0-9-]+).+(&s=\w+)/)
126126
$.log(`token:${token}`)

0 commit comments

Comments
 (0)