Hello, there is a page . You need to get her html code. I tried to get file_get_contents , the code was received, but the page itself was not displayed. Thinking that I checked the authorization case via TOR and the incognito mode, it was displayed correctly there. Began to try through curl

 $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://www.instagram.com/albina_nice777/'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $html = curl_exec($ch); curl_close($ch); echo($html); 

Did not help. I do not know what to do, please suggest!

    1 answer 1

    This is an instagram, it is written in the reakta. So, html is generated on the fly, the server sends js data + statics js. To get the code for the page after the render, you must either use selenium / phantom, or parse the js reacta base. If you had a node, it would be easier. Everything is bad on php