owner888 / phpspider

《我用爬虫一天时间“偷了”知乎一百万用户,只为证明PHP是世界上最好的语言 》所使用的程序
3.49k stars 1.18k forks source link

2.1.3代理有问题,2.0.7没问题 #99

Open eric4048 opened 6 years ago

eric4048 commented 6 years ago

亲自测试的,2.1.3代理方法是set_proxy ,2.0.7是set_proxies, 测试了,2.0.7可以使用,2.1.3不能使用,请版主尽快修复,谢谢

owner888 commented 6 years ago

好的谢谢提醒

owner888 commented 6 years ago

可以用阿,像这样: 如果是一个的话就以字符串方式即可 requests::set_proxy(‘223.153.69.150:42354'); 多个用数组 requests::set_proxy(array('223.153.69.150:42354'));

eric4048 commented 6 years ago

好的,我试试

发自我的 iPhone

在 2018年7月16日,21:17,seatle notifications@github.com 写道:

可以用阿,像这样: 如果是一个的话就以字符串方式即可 requests::set_proxy(‘223.153.69.150:42354'); 多个用数组 requests::set_proxy(array('223.153.69.150:42354'));

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.