I want to web scrape several websites, which apparently rendered using JavaScript. To be specific, I want to target this website: http://cve.mitre.org/find/index.html
This is my code:
$client = new Client();
$crawler = $client->request('GET', 'http://cve.mitre.org/find/index.html');
$form = $crawler->selectButton('Search')->form();
$crawler = $client->submit($form, array('search' => 'Symphony'));
print $crawler->html();
If I view the source code, I don't see the HTML because this request is done by JavaScript, so, does anyone know how to scrape these kind of websites?