快速入门

k 或同等内容 - 网站解锁器需要不安全标志才能工作

curl -k -v -x unblock.smartdaili-china.com:60000 -U "USERNAME:PASSWORD" "https://ip.smartproxy.com/"
import requests

proxies = {
    'http': 'http://USERNAME:[email protected]:60000',
    'https': 'http://USERNAME:[email protected]:60000'
}

response = requests.request(
    'GET',
    'https://ip.smartproxy.com/',
    verify=False,
    proxies=proxies,
)

print(response.text)

import fetch from 'node-fetch';
import createHttpsProxyAgent from 'https-proxy-agent'

const username = 'USERNAME';
const password = 'PASSWORD';

const agent = createHttpsProxyAgent(
  `http://${username}:${password}@unblock.smartdaili-china.com:60000`
);

process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = 0;

const response = await fetch('https://ip.smartproxy.com/', {
  method: 'get',
  agent: agent,
});

console.log(await response.text());