Using Wikipedia's API to get a list of colours

I've begun a small interactive web project to visualise some colour data. I've chosen to use Wikipedia as my source of information, so the first step is to use their API to pull all the required data into a format that I can really play with.

The code below demonstrates API calls to Wikipedia to get raw page HTML and to get redirects, traversing HTML using jQuery to extract information, and piping and collating results from a number of queries into one big array of objects.

See the Pen Scrape list of colours from Wikipedia by Damien Clarke (@dxinteractive) on CodePen.