Commit 7c020df9 authored by wang's avatar wang

js

parent ba0f40bf
......@@ -31,12 +31,13 @@ class PxBypass {
"user-agent": this.ua
}
pxUrl = `https://collector-${this.appId}.px-cloud.net/api/v2/collector`
tlsUrl = 'http://52.52.23.116/tls/forward'
// tlsUrl = 'http://127.0.0.1:58000/tls/forward'
tlsUrl = 'http://52.52.23.116/tls/forwardios'
prox = `http://user-uni001-region-us-sessid-${randint(1000, 5000)}-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600`
// prox = `http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:${randint(10000, 13500)}`
// prox = 'http://127.0.0.1:8890'
// tlsUrl = 'http://127.0.0.1:58000/tls/forward'
constructor(options) {
this.log = log4js.getLogger('px')
......@@ -254,6 +255,8 @@ class PxBypass {
}
async test() {
// this.prox = 'http://127.0.0.1:8890'
// this.tlsUrl = 'http://127.0.0.1:58000/tls/forwardios'
let cks = Object.keys(this.cookies).map((v, k) => `${v}=${this.cookies[v]}`).join('; ')
let res = await axios.post(this.tlsUrl, JSON.stringify({
url: 'https://booking.flyfrontier.com/Flight/InternalSelect?o1=DEN&d1=LAS&dd1=2023-12-30&ADT=1&umnr=false&mon=true',
......
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