added tech history to today

This commit is contained in:
martind2000 2016-02-13 18:13:47 +00:00
parent 17bb4114c3
commit b084948866
3 changed files with 5 additions and 3 deletions

View File

@ -4,5 +4,6 @@
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="silvrgit node_modules" level="project" />
</component>
</module>

View File

@ -90,7 +90,7 @@ module.exports = {
tdihbody.find('.tdihevent > p').each(function (div) {
logger.info($(this));
// logger.info($(this));
var s = $(this).text();
if (s.indexOf('Today\'s recipe:') == -1) {
output.push(s);
@ -296,5 +296,3 @@ cron.schedule('0 7 * * *', function () {
return -1;
});
module.exports.getHistory();

View File

@ -22,5 +22,8 @@
"scrape": "^0.2.3",
"ultrases": "^0.1.3",
"unstyler": "^0.2.2"
},
"scripts" : {
"start" : "node web-server.js"
}
}