mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-21 17:29:16 +08:00
13 lines
342 B
TypeScript
13 lines
342 B
TypeScript
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)
|
|
}
|
|
})()
|