add things
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user