@mobrovac, need help with this. Everything seems to work okay but I just cannot get the tests to behave:
When I run these, I get an error thrown from assert.js which I copied from service-template-node. The problem is
a) Unhandled exception error, function is undefined, getting thrown from assert.fail
b) This error isn't caught by the test and the test passes regardless.
Lots of other tests broken too. I'm not sure exactly what's going on; if the problem is how I wrote the tests or if there's an underlying problem with index.js (both would be my guess because a) there's an error throw and b) error isn't getting caught by the tests.)
The problem appeared to have been in scraping.js because the time-out on the promise happened while executing it (but was actually completely unrelated to it).
I'm happy with it. I added some commits to the PR, so it's basically waiting on your review. If you're OK with the additional changes, feel free to go ahead and merge. When you do, please remember to publish the new version.