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 something ............ You can give me some examples. ------ Solution -------------------- failed to crawl the page with CURL
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?