Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.69 KB

README.md

File metadata and controls

28 lines (17 loc) · 1.69 KB

Extract Van Gogh Paintings Code Challenge

Goal is to extract a list of Van Gogh paintings from the attached Google search results page.

Van Gogh paintings

Instructions

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.

Programming language wise, Ruby (with RSpec tests) is strongly 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 to make sure it works against different layouts. (Pages that contain the same kind of carrousel. Don't necessarily have to be paintings.)

The suggested time for this challenge is 4 hours. But, you can take your time and work more on it if you want.