Commit 27dbf7e2 authored by wang's avatar wang

f9 验票

parent 5cbab47e
......@@ -379,7 +379,7 @@ class PxBypass {
"Host": "booking.flyfrontier.com",
"upgrade-insecure-requests": "1",
// "user-agent": this.ua,
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"sec-fetch-site": "none",
......@@ -396,8 +396,6 @@ class PxBypass {
random_tls: true,
}));
console.log(res.data.text)
if (res.data.status_code === 200) {
console.log(res.data.text)
this.log.warn('success', res.data.status_code, res.data.text.includes('FlightData'))
......
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