F
F
Fuckingawesomenigga2019-08-27 17:53:10
PHP
Fuckingawesomenigga, 2019-08-27 17:53:10

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

1 answer(s)
D
DevMan, 2019-08-27
@fuckingawesomenigga

wangyu: infa is loaded dynamically (zhs'om) - neither curl nor timeout will help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question