• Tools
  • Articles
  • Q&A
  • Login
0 0

他们在爬网页时,是怎么用的代理IP?


比如用CURL的话,代理IP该怎么用啊,是开启软件还是直接在CURL做的设置啊,求指教。

代理 php curl 网页爬虫

11 years ago
linyp

linyp


share
linyp 11 years ago

Answers

0

http://php.net/manual/en/book.curl.php


 php


 if ($this->proxy) curl_setopt($process, CURLOPT_PROXY, $this->proxy);

answered 11 years ago
linyp

苍穹D自由


share
苍穹D自由 answered 11 years ago

Your Answer

Ask Question
Related questions

php curl 如何获取验证码session_id?

curl如何通过代理IP请求https网址

Spider抓取动态内容(JavaScript指向的页面)

appstore分类推荐的页面地址是什么,怎么获取这样的地址呢?

在SAE里如何把cookie存放到storage?

wamp php函数 Call to undefined function curl_init()