I'm trying to make a little tool which scrape the pictures of an instagram account using PHP simple dom parser.
However when I try to extract content using the parser I get a blank page. Is there anyway to make it work with instagram ?
require 'simplehtmldom_1_5/simple_html_dom.php';
// Create DOM from URL or file
$html = file_get_html('https://www.instagram.com/techcrunch/');
// Find all images
foreach($html->find('img') as $element)
echo $element->src . '<br>';