Commit 57c26ec6 authored by wang's avatar wang

收集环境

parent 7e712395
...@@ -5224,7 +5224,7 @@ class PxBypass { ...@@ -5224,7 +5224,7 @@ class PxBypass {
let data = [{ let data = [{
"t": "PX12095", "t": "PX12095",
"d": { "d": {
"PX11645": this.url, "PX12207": 0, "PX12458": this.env2.px11590.PX12458, "PX11902": 0, "PX11645": this.url, "PX12207": 0, "PX12458": this.env.navigatorparams.platform, "PX11902": 0,
"PX11560": randint(11600, 22600), "PX12248": 3600, "PX11385": t1, "PX12280": t2, "PX11560": randint(11600, 22600), "PX12248": 3600, "PX11385": t1, "PX12280": t2,
"PX11496": this.uuid, "PX12564": null, "PX12565": -1, "PX11496": this.uuid, "PX12564": null, "PX12565": -1,
// "PX11379": false // "PX11379": false
...@@ -5256,7 +5256,7 @@ class PxBypass { ...@@ -5256,7 +5256,7 @@ class PxBypass {
// this.str1, this.uuid, // this.str1, this.uuid,
// this.startTs, this.startTs2, this.performanceNow, this.px12280) // this.startTs, this.startTs2, this.performanceNow, this.px12280)
let px11590 = this.pxenv.get_px11590(); let px11590 = this.pxenv.get_px11590();
Object.assign(px11590.d, this.env2.px11590) // Object.assign(px11590.d, this.env2.px11590)
let data = [px11590] let data = [px11590]
let res = await this.do_collector(data) let res = await this.do_collector(data)
...@@ -5282,7 +5282,7 @@ class PxBypass { ...@@ -5282,7 +5282,7 @@ class PxBypass {
// this.startTs, this.startTs2, this.performanceNow, this.px12280) // this.startTs, this.startTs2, this.performanceNow, this.px12280)
this.pxenv.performanceNow = this.performanceNow this.pxenv.performanceNow = this.performanceNow
let d = this.pxenv.get_px11547(); let d = this.pxenv.get_px11547();
Object.assign(d.d, this.env2.px11547) // Object.assign(d.d, this.env2.px11547)
let data = [ let data = [
// this.pxenv.get_px11891(), // this.pxenv.get_px11891(),
d] d]
...@@ -5381,7 +5381,7 @@ async function run() { ...@@ -5381,7 +5381,7 @@ async function run() {
try { try {
let px = new PxBypass(false) let px = new PxBypass(false)
await px.initMongo() await px.initMongo()
await px.initMongo2() // await px.initMongo2()
await px.step1() await px.step1()
await px.step3() await px.step3()
await sleep(1000) await sleep(1000)
......
...@@ -10,8 +10,7 @@ headers = { ...@@ -10,8 +10,7 @@ headers = {
"authority": "www.flyfrontier.com", "accept": "application/json, text/plain, */*", "accept-language": "en-US"} "authority": "www.flyfrontier.com", "accept": "application/json, text/plain, */*", "accept-language": "en-US"}
url = "https://booking.flyfrontier.com/Flight/InternalSelect?o1=BNA&d1=ATL&dd1=Apr%2027,%202024&ADT=1&mon=true&promo=" url = "https://booking.flyfrontier.com/Flight/InternalSelect?o1=BNA&d1=ATL&dd1=Apr%2027,%202024&ADT=1&mon=true&promo="
cks = '_px2=eyJ1IjoiYTQ5MjA0MTAtMmVkMS0xMWVmLWIxYjItNDc2MTBlZGE2OGMwIiwidiI6ImE1Mjg2MzkzLTJlZDEtMTFlZi1iMGRkLTY1OWEwNjYxMjA2MCIsInQiOjYyMDIzMzg4MDAwNCwiaCI6Ijk3M2U3MDAxNzhjNjBjZjc1NTViYzVhMTUwZDE4MDI3NDExZTQ3N2U5ZDMwYmZlOGM2NTlhZGQzMmVjOWNkNWMifQ==; cts=a5286e50-2ed1-11ef-b0dd-9a0711ec23eb; _pxvid=a5286393-2ed1-11ef-b0dd-659a06612060' cks = '_gcl_au=1.1.58764005.1717392295; _pxvid=9c348b2e-2169-11ef-9b1e-0063d22ef58a; cjConsent=MHxOfDB8Tnww; cjUser=2fedcdc1-f7d1-43a3-a5ff-cca256ebd3b7; _fbp=fb.1.1717392295007.598017164; _tt_enable_cookie=1; _ttp=fCed3r1bIROAD1MoXaM7YzC-Wcw; ORA_FPC=id=b2909c1d-97b9-4dde-9dec-ead5c247f99d; WTPERSIST=; _pin_unauth=dWlkPU1UazVORGhsT0RFdFpXVm1aUzAwTWpZMUxXRTRabUl0WXpRNE0yTTVZamN4TmpWaA; _up=1.2.1773743971.1717392296; _gid=GA1.2.1291449389.1718868119; _gat_UA-2678252-1=1; _ga_XXXX=GS1.1.1718868118.4.0.1718868118.0.0.1747571687; _ga=GA1.1.1241519695.1717392295; _ga_P2WLKWBNNW=GS1.1.1718868118.5.0.1718868118.60.0.0; pxcts=c7e06c67-2ed5-11ef-8f28-00777ec0662d; dtCookie=v_4_srv_3_sn_CD6FF7AB8552407175864C33BDAFA8F9_perc_100000_ol_0_mul_1_app-3Aea7c4b59f27d43eb_0_rcs-3Acss_0; _px2=eyJ1IjoiYzc4NjNkNzAtMmVkNS0xMWVmLWI3ZGEtOTk3MWE0NmUzMjgyIiwidiI6IjljMzQ4YjJlLTIxNjktMTFlZi05YjFlLTAwNjNkMjJlZjU4YSIsInQiOjYyMDIzMzg4MDAwNywiaCI6ImUyYzBlNWZhZTczNWZmOWIwMGM1NGI0MDA1ODFmMDFhMGE3Y2MwMjhjNDY1NjA2OTBjMDQ2N2QzNTcxN2VjOTIifQ==; wisepops_visitor=%7B%22P9wqzAW4cp%22%3A%225054ed3f-a1ee-4caa-898f-e793ad3abb32%22%7D; wisepops_visits=%5B%222024-06-20T07%3A21%3A58.264Z%22%2C%222024-06-03T05%3A24%3A54.715Z%22%5D; _rdt_uuid=1717392298400.1cfa304a-88a7-49b4-a0d0-5abd2639dd7b; wisepops_session=%7B%22arrivalOnSite%22%3A%222024-06-20T07%3A21%3A58.264Z%22%2C%22mtime%22%3A1718868125365%2C%22pageviews%22%3A1%2C%22popups%22%3A%7B%22483108%22%3A0%7D%2C%22bars%22%3A%7B%7D%2C%22sticky%22%3A%7B%7D%2C%22countdowns%22%3A%7B%7D%2C%22src%22%3Anull%2C%22utm%22%3A%7B%7D%2C%22testIp%22%3Anull%7D; wisepops=%7B%22popups%22%3A%7B%22483108%22%3A%7B%22dc%22%3A2%2C%22d%22%3A1718868125364%2C%22cl%22%3A1%7D%7D%2C%22sub%22%3A0%2C%22ucrn%22%3A64%2C%22cid%22%3A%2278471%22%2C%22v%22%3A4%2C%22bandit%22%3A%7B%22recos%22%3A%7B%7D%7D%7D'
...@@ -37,18 +36,21 @@ for i in range(20): ...@@ -37,18 +36,21 @@ for i in range(20):
json={ json={
'url': 'https://booking.flyfrontier.com/Flight/InternalSelect?o1=BNA&d1=ATL&dd1=Apr%2027,%202024&ADT=1&mon=true&promo=', 'url': 'https://booking.flyfrontier.com/Flight/InternalSelect?o1=BNA&d1=ATL&dd1=Apr%2027,%202024&ADT=1&mon=true&promo=',
'headers': { 'headers': {
"Host": "booking.flyfrontier.com", "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"sec-ch-ua": "\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\"", "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh;q=0.7,ru;q=0.6",
"sec-ch-ua-mobile": "?0", "cache-control": "no-cache",
"sec-ch-ua-platform": "\"macOS\"", "pragma": "no-cache",
"upgrade-insecure-requests": "1", "priority": "u=0, i",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36", "sec-ch-ua": "\"Not/A)Brand\";v=\"8\", \"Chromium\";v=\"126\", \"Google Chrome\";v=\"126\"",
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", "sec-ch-ua-mobile": "?0",
"sec-fetch-site": "same-site", "sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-mode": "navigate", "sec-fetch-dest": "document",
"sec-fetch-user": "?1", "sec-fetch-mode": "navigate",
"sec-fetch-dest": "document", "sec-fetch-site": "same-site",
"accept-language": "en", "sec-fetch-user": "?1",
"upgrade-insecure-requests": "1",
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
"cookie": cks "cookie": cks
}, },
'allow_redirects': True, 'allow_redirects': 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