here is the problem, im scraping images from site (phillips.cz). Images which i need are in slider.. if i am on page and click to view the whole source code, copy it into my page.html and scrape the source code from scraper.php the slider is there with images.
But when I use simple html dom - code
<?php
//header("Content-type:text/plaintext");
//Importing classes
require_once("simple_html_dom.php");
require_once("ProjektX.php");
//Creating instance of crawler
$cr = new Crawler();
//Here i have ID of products which i edit d
$lines = file("basic.txt");
$lines = array_unique($lines);
$lines = array_values($lines);
//Here im editing them
foreach($lines as $a)
$odkazy[] = "https://www.philips.cz" . trim($a);
//For testing im trying to get just one product of 2000
$odkazy = $cr->oddo(0,1,$odkazy);
foreach($odkazy as $a) {
$html = new simple_html_dom();
$html->load_file("https://www.philips.cz/c-p/7022331PH/stolni-svitidlo");
}
//Outputing the html source code
echo($html);
?>
It loads page BUT without the slider image. So back to my question - Why does it take just source code without the slider? And if you could direct me on the right path. Here is URL where im trying to get that slider images - https://www.philips.cz/c-p/7022331PH/stolni-svitidlo
</div>