I'm trying to scrape google for reverse image search results using Goutte (its basically a wrapper around Guzzle + Symfony DOM parser).
I'm doing:
$googleURL = "https://www.google.com/searchbyimage?&image_url=".$imageURL;
$crawler = $client->request('GET', $googleURL);
$client->followRedirects(true);
print_r($crawler,1);
.. and the output (https://paste.ee/p/spfYA) contains the correct URL but the body
(HTML) is of the default search page, the one without results.
What should I do to get the search results as HTML.