Commit 0d67550d authored by wang's avatar wang

f9

parent 03d03ad2
......@@ -163,7 +163,7 @@ class PxBypass {
}
async add_headers(token) {
async add_headers() {
// this.prox = `http://user-uni001-region-us-sessid-${randint(1000, 5000)}-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600`
// this.prox = `http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:${randint(10000, 13500)}`
let cks = Object.keys(this.cookies).map((v, k) => `${v}=${this.cookies[v]}`).join('; ')
......@@ -175,12 +175,9 @@ class PxBypass {
"accept-language": "en-US",
"cache-control": "no-cache",
"content-type": "application/json",
"ocp-apim-subscription-key": "dc6844776fe84b1c8b68affe7deb7916",
"origin": "https://www.flyfrontier.com",
"pragma": "no-cache",
"referer": "https://www.flyfrontier.com/",
"x-dtpc": "10$492787436_542h10vNDAFLLHTQHFKVMUIMICENMIBAMBWCDES-0e0",
'Authorization': 'Bearer ' + token,
"cookie": cks
}
let res = await axios.post('http://ymx-lcc.unififi.com/header/add', JSON.stringify({
......@@ -190,7 +187,7 @@ class PxBypass {
'brush_proxy': this.prox,
'brush_mode': 'shopping',
'brush_name': 'js0',
'brush_type': 'cookieNK',
'brush_type': 'cookieF9',
}));
this.log.debug(res.data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment