Simple hubot script that grabs a url and outputs the title.
Want to see pretty graphs? Log in now!
npm install hubot-url-describer
|4||downloads in the last week|
|8||downloads in the last month|
|Last Published By|
|Version||0.1.1 last updated 4 months ago|
|Dependencies (6)||htmlparser2, require, request, sinon, underscore.string, underscore|
Simple hubot script that grabs a url and outputs the title
- Install the module:
npm install --save hubot-url-describer
- Add it
hubot-url-describerto your external-scripts.json file in your hubot directory
0.1.1 - 2013-12-07
- Switched html parser to use a SAX design as it should be faster and code is a lot cleaner
- Handled case with page with no title - #4
- Handled case when page doesn't start with a html tag - #4
- Added case to handle twitter:title if title doesn't exist (shouldn't happen, but why not)
Copyright (c) 2013 Gavin Mogan Licensed under the MIT license.