Try to replicate and (if necessary) fix bug reported here. Feel free to ask follow up questions to the reporter.
https://github.com/wikimedia/html-metadata/issues/53
We use the node.js html-metadata library to scrape metadata from webpages. This metadata is then used to generate a citation for the webpage using citoid. Editors can use this citation when they're writing or editing an article on Wikipedia as a reference.
For this you will need to install node and npm: https://www.joyent.com/blog/installing-node-and-npm/.
You will also need to fork the html-metadata library on github: https://help.github.com/articles/fork-a-repo/
Tests can be run by doing
npm test