i am trying to scrape this page . I want to get statistics part of image. when you will click on "Info Button " , then you can see it's information and all stuff. Statistic part is generate dynamically . i have got all static part but i am not able to get dynamic part. suggestions or code will be very helpful.
Here is my code to get static content:
$data = file_get_contents('https://www.pexels.com/photo/person-in-front-of-laptop-on-brown-wooden-table-2115217/');
print_r($data)
NOTE : They provide API service as well but as much i have read them they are not allowing access to image Statistics part. so what i am planing is to .
- Call API and get Search result.
- Get all Images URL from result and scrape statistic part from there .