I found that the webpage on the cloud cannot be crawled. Is there any way to crack it ?? Echo & nbsp; file_get_contents ("http://weibo.yunyun.com/Weibo.php? Q = % E7 % A8 % 8B % E5 % BA % 8F % E5 % 91% 98 # p = 1 & amp; q = % E7 % A8 % 8B % E5 % BA % 8F % E5 % 91 the webpage on the cloud cannot be crawled. Is there any way to crack it ??
Echo file_get_contents ("http://weibo.yunyun.com/Weibo.php? Q = % E7 % A8 % 8B % E5 % BA % 8F % E5 % 91% 98 # p = 1 & q = % E7 % A8 % 8B % E5 % BA % 8F % E5 % 91% 98 ");
The verification code is required.
I used curl to forge the source address and ip address. I cannot crawl the source address. what can I do to crack it ?? Share:
------ Solution --------------------
You can use curl to capture data.
$ Ch = curl_init ();
// Set the URL and corresponding options
Curl_setopt ($ ch, CURLOPT_URL, "http://weibo.yunyun.com/Weibo.php? P = 1 & q = % E7 % A8 % 8B % E5 % BA % 8F % E5 % 91% 98 ");
Curl_setopt ($ ch, CURLOPT_HEADER, 0 );
// Capture the URL and pass it to the browser
Curl_exec ($ ch );
// Disable cURL resources and release system resources
Curl_close ($ ch );