File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " hubot-mayer-imbiss" ,
33 "description" : " Hubot script package for quick access to the Tageskarte of the second Metzger on the Venloer Straße" ,
4- "version" : " 0.0.4 " ,
4+ "version" : " 0.0.6 " ,
55 "author" : " madflow <madflow@localhost>" ,
66 "license" : " WFYBPL" ,
77 "keywords" : [
Original file line number Diff line number Diff line change 11cheerio = require (' cheerio' )
2- windows1252 = require (' windows-1252' )
32leet = require (' leet' );
43cool = require (' cool-ascii-faces' )
54
@@ -29,14 +28,14 @@ module.exports = (robot) ->
2928
3029 robot .respond / metzger/ i , (msg ) ->
3130
32- robot .http (robot .base_url , { encoding : ' binary ' } )
31+ robot .http (robot .base_url )
3332 .get () (err , res , body ) ->
3433
3534 if res .statusCode isnt 200
3635 msg .send " HTTP 200 erwartet... Die Erwartung wurde nicht erfüllt :S"
3736 return
3837
39- $ = cheerio .load (windows1252 . decode ( body) )
38+ $ = cheerio .load (body)
4039
4140 resp = ' '
4241
You can’t perform that action at this time.
0 commit comments