From 610ce67d675d8a51275dfc85fcfc3114d6a8beac Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Mon, 31 Aug 2015 19:39:50 +0000 Subject: [PATCH] add things --- scripts/cafe.coffee | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/cafe.coffee b/scripts/cafe.coffee index 214a565..87f82cd 100644 --- a/scripts/cafe.coffee +++ b/scripts/cafe.coffee @@ -30,10 +30,6 @@ module.exports = (robot) -> robot.http("http://www.hobbsbrook.com/amenities/dining/") .get() (err, res, body) -> # pretend there's error checking code here - - if res.statusCode isnt 200 - res.send "Request didn't come back HTTP 200 :(" - return $ = cheerio.load(body); res.send $(':header:contains(275)').parent().parent().find('.btn-pdf').attr('href')