Commit 687c538e authored by wangmingming's avatar wangmingming

111

parent f2052e63
...@@ -47,6 +47,7 @@ class PxBypass { ...@@ -47,6 +47,7 @@ class PxBypass {
// prox = `http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:${randint(10000, 13500)}` // prox = `http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:${randint(10000, 13500)}`
prox = 'http://127.0.0.1:8890' prox = 'http://127.0.0.1:8890'
tlsUrl = 'http://127.0.0.1:58000/tls/forward' tlsUrl = 'http://127.0.0.1:58000/tls/forward'
// tlsUrl = 'http://127.0.0.1:3000/tls/forward' // tlsUrl = 'http://127.0.0.1:3000/tls/forward'
constructor(options) { constructor(options) {
...@@ -194,7 +195,7 @@ class PxBypass { ...@@ -194,7 +195,7 @@ class PxBypass {
for (var ck of cks) { for (var ck of cks) {
let tmp = ck.split('|'); let tmp = ck.split('|');
if (tmp[0] === 'o11o111o'){ if (tmp[0] === 'o11o111o') {
this.log.fatal('result', tmp[1] === '0') this.log.fatal('result', tmp[1] === '0')
} }
if (tmp[0] === 'o111ooo1') { if (tmp[0] === 'o111ooo1') {
...@@ -273,8 +274,8 @@ class PxBypass { ...@@ -273,8 +274,8 @@ class PxBypass {
this.performanceNow = randint(3000, 5000) this.performanceNow = randint(3000, 5000)
this.px12280 = this.startTs2 this.px12280 = this.startTs2
if (this.uuid === '') { if (this.uuid === '') {
this.uuid = genUuid() this.uuid = genUuid()
// this.uuid = 'f3e85a8d-965c-11ee-ae92-08214e602596'; // this.uuid = 'f3e85a8d-965c-11ee-ae92-08214e602596';
} }
let data = [{ let data = [{
"t": "PX12095", "t": "PX12095",
...@@ -343,8 +344,7 @@ class PxBypass { ...@@ -343,8 +344,7 @@ class PxBypass {
// this.rsc++; // this.rsc++;
let data1 = [{"t": "PX12167", "d": {"PX11648": true}}]
let data1 = [{"t":"PX12167","d":{"PX11648":true}}]
let res1 = await this.do_collector(data1) let res1 = await this.do_collector(data1)
} }
...@@ -404,7 +404,7 @@ class PxBypass { ...@@ -404,7 +404,7 @@ class PxBypass {
// data[i].d['PX11280'] = px11280 // data[i].d['PX11280'] = px11280
// } // }
// await this.sleep(5000) // await this.sleep(5000)
this.seq = 4 this.seq = 4
this.rsc = 3; this.rsc = 3;
let res = await this.do_collector(data) let res = await this.do_collector(data)
} }
...@@ -494,7 +494,7 @@ async function run() { ...@@ -494,7 +494,7 @@ async function run() {
await px.step2() await px.step2()
await px.sleep(1500) await px.sleep(1500)
await px.step3() await px.step3()
await px.sleep(10000) await px.sleep(6000)
await px.step4() await px.step4()
// await px.sleep(1500) // await px.sleep(1500)
......
...@@ -4775,7 +4775,7 @@ export class PxEnv { ...@@ -4775,7 +4775,7 @@ export class PxEnv {
"PX11746": createPx2(this.ua, this.vid), "PX11746": createPx2(this.ua, this.vid),
"PX11371": createPx2(this.ua, this.sid), "PX11371": createPx2(this.ua, this.sid),
"PX11902": 4, "PX11902": 4,
"PX11560": this.performance(0), "PX11560": this.performance(1),
"PX12280": this.px11280, "PX12280": this.px11280,
"PX11496": this.uuid, "PX11496": this.uuid,
"PX12564": null, "PX12564": null,
......
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