Commit b2b8e9b1 authored by wang's avatar wang

更换环境

parent c0a67338
......@@ -92,8 +92,8 @@ class PxBypass():
prox = f'http://user-uni001-region-us-sessid-{random.randint(1000,5000)}-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# prox = 'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:9000'
# prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{random.randint(10000, 13500)}'
prox = 'http://127.0.0.1:8890'
prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{random.randint(10000, 13500)}'
# prox = 'http://127.0.0.1:8890'
self.session.proxies = {
'http': prox,
'https': prox,
......@@ -176,8 +176,8 @@ class PxBypass():
self._step_3()
time.sleep(1)
self._token()
# self.add_header()
# self._token()
self.add_header()
def _init(self):
cks = '_px2=eyJ1IjoiOGRjYjQ3NjAtODl2jYi0xMWVlLTkwMmUtODE4MTcxMjRjOTBlIiwidiI6IjhlOGIyMGMzLTg5Y2ItMTFlZS05YWI1LTAwMjc4Njk4ZmY1ZiIsInQiOjYyMDIzMzg4MDAwNCwiaCI6Ijk4NjYzMWNkZDBmNTBjMWE5NjZjYjgwOGNlNzFjYTJkMWNkYzc2MjdjYTc4MTBlZDVhODdmN2FiMzYzOGU1OTgifQ==;'
......
......@@ -11,7 +11,7 @@ def test():
# webs.request_url = "http://ymx-lcc.unififi.com/ew/shop/rev-vis/shopping"
request_url = "http://lcc.unififi.com/f9/shop/rev-vis/shopping"
# webs.request_url = "http://52.52.23.116/f9/shop/rev-vis/shopping"
request_url = "http://127.0.0.1:52041/f9/shop/rev-vis/shopping"
# request_url = "http://127.0.0.1:52041/f9/shop/rev-vis/shopping"
r = requests.post(url=request_url, json=request_data)
print(r.text)
......
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