Skip to content

Instantly share code, notes, and snippets.

@danielantelo
Last active July 24, 2016 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielantelo/70e2d7e9523662bf45ab to your computer and use it in GitHub Desktop.
Save danielantelo/70e2d7e9523662bf45ab to your computer and use it in GitHub Desktop.
Student.com Screen Scrape Task

Student.com Screen Scrape Task

Outline

Create a composer based PHP script that scrapes http://www.unite-students.com/liverpool and gathers the Property names, room types in each property and minimum price for each room type.

Output

The script should output a CSV with at a minimum the following fields

Field Description
Property Name The name of the property e.g. Larch House
Room Type The room type e.g. Basic En­suite
Starting price The price that the room type starts from e.g. £99

Rules

  • Your project must be composer based
  • You can use any readily available composer bundle to aid you
  • The project must be completed and returned by email within 24hrs of receiving
  • Creative thinking & going the extra mile is encouraged! For example you could add a switch to your command line script to output in other formats such as JSON

Submission

  • Please make your test available as a git repo we can clone locally to play with.
  • Please include a README in Markdown format explaining your technology choices, approach and anything else you want us to know about your task.

Questions

Feel free to email any questions to daniel.antelo@student.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment