getSitesFromLog('sites-http.log'); // $sites = $facade->getSites(); // $sites = Yaml::parse(file_get_contents(dirname(__FILE__) ."/sites.yaml")); $start = 0; $end = count($sites); // $start = 0; $end = (int)(count($sites) / 2); // $start = (int)(count($sites) / 2); $end = count($sites); for ($i = $start; $i < $end; $i++) { Printer::print(++$i . ". ", Color::GREEN); $facade->collectDataFromContingent($sites[--$i]); } Printer::println(); // require __DIR__ . "/add_recording.php";