Goal is to extract a list of Van Gogh paintings from the attached Google search results page.
This is already fully supported on SerpApi. (relevant test, html file, sample json, and expected array.)
Try to come up with your own solution and your own test.
Extract the painting name
, extensions
array (date), and Google link
in an array.
Fork this repository and make a PR when ready. Do not use more than 4 hours of your time.
Programming language wise, Ruby is suggested but feel free to use whatever you feel like.
Parse directly the HTML result page (html file) in this repository. No extra HTTP requests should be needed for anything.
Add also to your array the painting thumbnails present in the result page file (not the ones where extra requests are needed).
Test against 2 other similar result pages. Pages contains same kind of carrousel.