은승우

Update concert.js

......@@ -134,12 +134,12 @@ function handleEvent(event) {
request(options, function(error,result,body){
if(error) throw new Error(error);
var videourl = { type: 'location', label: '관련 영상', title:'name',address:''};
var videourl = { type: 'text', text:''};
var temp1 = body.split(':');
videourl.address += "https://www.youtube.com/watch?v=" + temp1[13].substr(2,11);
videourl.text += "https://www.youtube.com/watch?v=" + temp1[13].substr(2,11);
console.log(videourl.address);
console.log(videourl.text);
client.replyMessage(event.replyToken, videourl).then(resolve).catch(reject);
});
});
......