Commit e084ee1d authored by wang's avatar wang

开始按压验证码

parent b9f2480c
...@@ -8,7 +8,7 @@ session = tls_client.Session(client_identifier='chrome_117') ...@@ -8,7 +8,7 @@ session = tls_client.Session(client_identifier='chrome_117')
headers = {"authority": "booking.flyfrontier.com", "accept-language": "en-US,en;q=0.9", headers = {"authority": "booking.flyfrontier.com", "accept-language": "en-US,en;q=0.9",
"sec-ch-ua": "\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\"", "sec-ch-ua": "\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\"",
"sec-fetch-user": "?1", "upgrade-insecure-requests": "1", "sec-fetch-user": "?1", "upgrade-insecure-requests": "1",
"cookie": 'pxcts=c9473f96-8d9c-11ee-b354-8f03ae70afda; _pxvid=c8e93e4b-8d9c-11ee-9272-663cb4dc90b9; _px2=eyJ1IjoiYzhkZmQxNzAtOGQ5Yy0xMWVlLTg4MjEtZjgyMjhmZWI3ZmExIiwidiI6ImM4ZTkzZTRiLThkOWMtMTFlZS05MjcyLTY2M2NiNGRjOTBiOSIsInQiOjE3MDExNDE4MDMyNTQsImgiOiI1OWIxMWMyZTlmMmNmNjU5NzU5NGY4ZDZjOTk2ZmI2NGIwNmE2YmJjYmNmYjViZjkyMTI0ZGY4YmM4NzUwOWVmIn0=; _pxhd=df9c5947757d294a6219dd08ad9a1887cafdf8a31d67847a605683760931e171:c8e93e4b-8d9c-11ee-9272-663cb4dc90b9; pxcts=c9473f96-8d9c-11ee-b354-8f03ae70afda; _px2=eyJ1IjoiYzhkZmQxNzAtOGQ5Yy0xMWVlLTg4MjEtZjgyMjhmZWI3ZmExIiwidiI6ImM4ZTkzZTRiLThkOWMtMTFlZS05MjcyLTY2M2NiNGRjOTBiOSIsInQiOjE3MDExNDE4MDMyNTQsImgiOiI1OWIxMWMyZTlmMmNmNjU5NzU5NGY4ZDZjOTk2ZmI2NGIwNmE2YmJjYmNmYjViZjkyMTI0ZGY4YmM4NzUwOWVmIn0=' "cookie": '_pxvid=df9b5e9f-8da1-11ee-92b6-85f882d3bbb6; _px2=eyJ1IjoiZGZhZDQ2MzAtOGRhMS0xMWVlLThjN2MtZmY4ZWZjMjNjMGM4IiwidiI6ImRmOWI1ZTlmLThkYTEtMTFlZS05MmI2LTg1Zjg4MmQzYmJiNiIsInQiOjYyMDIzMzg4MDAwNCwiaCI6IjM3ZDU4YWE5Mjg4NWM1N2YyY2M4OGQ3MWQzNjA5YWNjOGFkODU0MjJhMTlkNDdkM2FjOGJkYjE1YzNiZTM4NjAifQ==; pxcts=e052a93b-8da1-11ee-9a64-0dd9dd3dc14d; _pxhd=295b4b2e270b1e09232ac3f4a18790ad08d00fc860889dd33be78dfa12d9f66c:df9b5e9f-8da1-11ee-92b6-85f882d3bbb6; _px2=eyJ1IjoiZGZhZDQ2MzAtOGRhMS0xMWVlLThjN2MtZmY4ZWZjMjNjMGM4IiwidiI6ImRmOWI1ZTlmLThkYTEtMTFlZS05MmI2LTg1Zjg4MmQzYmJiNiIsInQiOjYyMDIzMzg4MDAwNCwiaCI6IjM3ZDU4YWE5Mjg4NWM1N2YyY2M4OGQ3MWQzNjA5YWNjOGFkODU0MjJhMTlkNDdkM2FjOGJkYjE1YzNiZTM4NjAifQ==; pxcts=e052a93b-8da1-11ee-9a64-0dd9dd3dc14d'
...@@ -20,6 +20,8 @@ headers = {"authority": "booking.flyfrontier.com", "accept-language": "en-US,en; ...@@ -20,6 +20,8 @@ headers = {"authority": "booking.flyfrontier.com", "accept-language": "en-US,en;
"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", "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",
"pragma": "no-cache", "sec-fetch-mode": "navigate", "pragma": "no-cache", "sec-fetch-mode": "navigate",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.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/117.0.0.0 Safari/537.36"}
url = "https://booking.flyfrontier.com/Flight/InternalSelect?o1=DEN&d1=LAS&dd1=2023-11-30&ADT=1&umnr=false&mon=true" url = "https://booking.flyfrontier.com/Flight/InternalSelect?o1=DEN&d1=LAS&dd1=2023-11-30&ADT=1&umnr=false&mon=true"
# cks = [] # cks = []
...@@ -31,9 +33,9 @@ url = "https://booking.flyfrontier.com/Flight/InternalSelect?o1=DEN&d1=LAS&dd1=2 ...@@ -31,9 +33,9 @@ url = "https://booking.flyfrontier.com/Flight/InternalSelect?o1=DEN&d1=LAS&dd1=2
prox = 'http://user-uni001-region-us-sessid-1114-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600' prox = 'http://user-uni001-region-us-sessid-1114-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{random.randint(10000, 13500)}' prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{random.randint(10000, 13500)}'
# prox = 'http://127.0.0.1:7890' prox = 'http://127.0.0.1:8890'
response = requests.post('http://52.52.23.116/tls/forward', # response = requests.post('http://52.52.23.116/tls/forward',
# response = requests.post('http://127.0.0.1:58000/tls/forward', response = requests.post('http://127.0.0.1:58000/tls/forward',
json=dict(url=url, method="GET", proxy=prox, headers=headers, debug=True) json=dict(url=url, method="GET", proxy=prox, headers=headers, debug=True)
) )
# response = session.post(url, headers=h, data=data, proxy={ # response = session.post(url, headers=h, data=data, proxy={
......
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