mirror of
https://github.com/shufflewzc/faker3.git
synced 2026-04-04 00:44:07 +08:00
sync
This commit is contained in:
12
jd_checkCookie.ts
Normal file
12
jd_checkCookie.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import {getCookie} from "./TS_USER_AGENTS"
|
||||
|
||||
let cookie: string = '', UserName: string
|
||||
|
||||
!(async () => {
|
||||
let cookiesArr: string[] = await getCookie(true)
|
||||
for (let [index, value] of cookiesArr.entries()) {
|
||||
cookie = value
|
||||
UserName = decodeURIComponent(cookie.match(/pt_pin=([^;]*)/)![1])
|
||||
console.log(index + 1, UserName)
|
||||
}
|
||||
})()
|
||||
Reference in New Issue
Block a user