Commit 1f0305d9 authored by wang's avatar wang

开始按压验证码

parent e084ee1d
......@@ -333,17 +333,17 @@ class PxBypass():
# self.prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{random.randint(10000, 13500)}'
cks = []
s = set()
for k, v in self.cookies.items():
if k not in s:
cks.append(f'{k}={v}')
s.add(k)
# for k, v in self.cookies.items():
# if k not in s:
# cks.append(f'{k}={v}')
# s.add(k)
for k, v in self.session.cookies.get_dict().items():
cks.append(f'{k}={v}')
s.add(k)
print('; '.join(cks))
url = 'https://booking.flyfrontier.com/Flight/InternalSelect?o1=DEN&d1=LAS&dd1=2023-11-30&ADT=1&umnr=false&mon=true'
# 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://52.52.23.116/tls/forward',
# response = requests.post('http://127.0.0.1:58000/tls/forward',
json=dict(url=url, headers={
"authority": "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",
......
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