Commit b734c35d authored by wangmingming's avatar wangmingming

Update main.py

parent 31adf5c5
...@@ -21,7 +21,7 @@ if not pathlib.Path('nacos-data/snapshot/').exists(): ...@@ -21,7 +21,7 @@ if not pathlib.Path('nacos-data/snapshot/').exists():
def check_pull(): def check_pull():
get_url = 'https://ymx-lcc.unififi.com/header/task/pull/cookieY4?brush_name=test' get_url = 'http://ymx-lcc.unififi.com/header/task/pull/cookieY4?brush_name=test'
r = requests.get(get_url) r = requests.get(get_url)
return r.json() return r.json()
def get_proxy(): def get_proxy():
...@@ -51,7 +51,7 @@ def exec(thread_id): ...@@ -51,7 +51,7 @@ def exec(thread_id):
id_ = uuid.uuid4().hex id_ = uuid.uuid4().hex
try: try:
px = get_proxy()['url'] px = get_proxy()['url']
cf = Reese84ByPass(target="https://www.allegiantair.com/", proxy=px, thread_name=f'{thread_id}') cf = Reese84ByPass(target="https://www.volaris.com/", proxy=px, thread_name=f'{thread_id}')
headers, cookies = cf.start() headers, cookies = cf.start()
# cf.test() # cf.test()
add_header(headers, cookies, px, thread_id) add_header(headers, cookies, px, thread_id)
......
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