I need to get some images using Google Reverse Image Search, which is not supported by the API, but fortunately you can request google with a direct link to the image and it still shows the results, therefore:
$googleURL = "https://www.google.com/searchbyimage?&image_url=".$imageURL;
echo $googleURL;
Conclusion:
https:
.. Now on this page I need to follow the link to the actual results page, so my condition will look like this:
if a.text == 'Large'
elseif a.text == 'Medium'
elseif a.text == 'Visually similar images'{
}
But I'm not sure how:
- get
hrefif the condition is met a.text == 'Large', since Simple HTML DOM Parseror PHPQuerydon't have it this, like jQuery. - When retrieving the results page, how to cause a multi-down even to get full-sized image URLs, because this is what I see in the source:
jsaction="mousedown:irc.rl;keydown:irc.rlk"
, : https://www.dropbox.com/s/c8g7fs5m5zqcegb/2015-02-07_08-56-23.mp4?dl=0 (5.9mb)