Commit 204d64ee authored by wang's avatar wang

test

parent 10f5267b
...@@ -249,7 +249,8 @@ class Reese84ByPass(object): ...@@ -249,7 +249,8 @@ class Reese84ByPass(object):
} }
url = "https://makeabooking.flyscoot.com/Book/Flight?culture=en-SG&type=oneway&dst1=SIN&ast1=ADL&dst2=ADL&ast2=SIN&dd=2023-12-15&rd=null&adt=1&chd=0&inf=0#" url = "https://makeabooking.flyscoot.com/Book/Flight?culture=en-SG&type=oneway&dst1=SIN&ast1=ADL&dst2=ADL&ast2=SIN&dd=2023-12-15&rd=null&adt=1&chd=0&inf=0#"
response = self._session.get(url, headers=headers) response = self._session.get(url, headers=headers)
print(response.text) self.log.debug(f"resp {'Flight Search Results' in response.text}")
if __name__ == '__main__': if __name__ == '__main__':
...@@ -262,3 +263,4 @@ if __name__ == '__main__': ...@@ -262,3 +263,4 @@ if __name__ == '__main__':
# r = Reese84ByPass('https://www.flyscoot.com/', 'http://127.0.0.1:8890') # r = Reese84ByPass('https://www.flyscoot.com/', 'http://127.0.0.1:8890')
# while True: # while True:
print(r.start()) print(r.start())
r._test()
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