标签:免费 成功 new OLE error class timeout code fun
一些免费到代理地址
http://www.xicidaili.com/nn
https://proxy.l337.tech/txt
http://www.66ip.cn/mo.php?sxb=&tqsl=100&port=&export=&ktip=&sxa=&submit=%CC%E1++%C8%A1&textarea=http%3A%2F%2Fwww.66ip.cn%2F%3Fsxb%3D%26tqsl%3D100%26ports%255B%255D2%3D%26ktip%3D%26sxa%3D%26radio%3Dradio%26submit%3D%25CC%25E1%2B%2B%25C8%25A1
以下代码测试你是否代理成功
request({ method: ‘GET‘, url: ‘http://ip.chinaz.com/getip.aspx‘, timeout: 8000, encoding: null, proxy: ‘http://91.205.239.120:8080‘ }, function (err, _res, body) { if (err) throw new Error(err) body = body.toString(); console.log(body); })
标签:免费 成功 new OLE error class timeout code fun
原文地址:https://www.cnblogs.com/CyLee/p/9209301.html