Finished web scraping example with a hacker news top 30 links

This commit is contained in:
Sahat Yalkabov
2013-12-07 18:53:00 -05:00
parent 5b99baa007
commit 44c90b7156
5 changed files with 32 additions and 4 deletions

2
app.js
View File

@ -64,7 +64,7 @@ app.get('/api', api.getApi);
app.get('/api/foursquare', passportConf.ensureAuthenticated, api.getFoursquare);
app.get('/api/tumblr', passportConf.ensureAuthenticated, api.getTumblr);
app.get('/api/facebook', passportConf.ensureAuthenticated, api.getFacebook);
app.get('/api/scraping', passportConf.ensureAuthenticated, api.getScraping);
app.get('/api/scraping', api.getScraping);
app.get('/contact', contact.getContact);
app.post('/contact', contact.postContact);