CURL failed to crawl the page. CURL failed to crawl the page but I crawled the website www.baidu.com. I think it's because the original website interpreted the road, or what ...... (I guess, I don't know why.) do you want to forge a head as you often say. Or what CURL fails to capture the page?
Failed to crawl the page with CURL
However, I can successfully crawl the website www.baidu.com.
I think it's because the original website interpreted the road, or what ...... (I guess I don't know why)
Is it necessary to forge a head as you often say. Or something ............
You can give me some examples.
------ Solution --------------------
Discussion
What do you return?
How can I get this ???
Reference:
First, let's see what the other party has returned to you...
If no conditions are known, you cannot determine the method of the other party.
------ Solution --------------------
Not completely consistent ..
So you don't need to test the baidu. what is the url you want to access?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service