Answer the question
In order to leave comments, you need to log in
CURL how to wait out a redirect?
The situation is this, when parsing a page, the first page is displayed first, the information is literally immediately updated, but the information is still collected from the first one.
How to solve a similar problem? Will timeout help?
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl, CURLOPT_MAXREDIRS, 10);
registered
registered, but in my opinion there is no redirect there, that is, the url is the same, but the information is new
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question