Commit 07d862f3 authored by wang's avatar wang

js

parent 69b716b6
...@@ -36,9 +36,11 @@ class PxBypass { ...@@ -36,9 +36,11 @@ class PxBypass {
prox = `http://user-uni001-region-us-sessid-${randint(1000, 5000)}-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600` 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://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:${randint(10000, 13500)}`
// prox = 'http://127.0.0.1:8890'
constructor(options) { constructor(options) {
this.log = log4js.getLogger('px') this.log = log4js.getLogger('px')
this.log.info(`proxy ${this.prox}`)
this.url = 'https://www.flyfrontier.com/' this.url = 'https://www.flyfrontier.com/'
this.log.level = 'debug' this.log.level = 'debug'
this.uuid = ''; this.uuid = '';
...@@ -115,7 +117,7 @@ class PxBypass { ...@@ -115,7 +117,7 @@ class PxBypass {
proxy: this.prox, proxy: this.prox,
})); }));
let inRes = JSON.parse(res.data.text) let inRes = JSON.parse(res.data.text)
this.log.info(inRes) // this.log.info(inRes)
this.parseRes(inRes) this.parseRes(inRes)
} catch (err) { } catch (err) {
console.error(err); console.error(err);
......
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