Commit 7f9a4a90 authored by wang's avatar wang

验票

parent dd15083c
This diff is collapsed.
......@@ -6,7 +6,7 @@ if (os.platform() === 'linux') {
path = './tls-client-linux-ubuntu-amd64-v1.7.2.so';
} else {
path = './tls-client-arm64.dylib'
path = '../tls-client-darwin-amd64-v1.7.2.dylib'
// path = '../tls-client-darwin-amd64-v1.7.2.dylib'
}
// load the tls-client shared package for your OS you are currently running your nodejs script (i'm running on mac)
......
......@@ -362,7 +362,7 @@ setTimeout(r=> {
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=headers, method="POST", proxy='http://127.0.0.1:7890', debug=True, data=data
json=dict(url=url, headers=headers, method="POST", proxy=proxy, debug=True, data=data
, allow_redirects=True, random_tls=True
))
status_code = response.json()['status_code']
......
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