mirror of
https://github.com/reality/dbot.git
synced 2024-12-28 05:32:50 +01:00
more youtube debugging
This commit is contained in:
parent
bc23d64686
commit
4dd6fab12f
@ -59,6 +59,9 @@ var youtube = function(dbot) {
|
||||
'json': true
|
||||
}, function(error, response, body) {
|
||||
console.log('DEBUG: well it got to the callback of the callback');
|
||||
console.log('DEBUG: ' + match[2]);
|
||||
console.log('DEBUG: ' + error);
|
||||
console.log('DEBUG: ' + body);
|
||||
if(_.isObject(body) && _.has(body, 'entry')) {
|
||||
var v = body.entry;
|
||||
if(!_.has(v, 'yt$rating')) {
|
||||
|
Loading…
Reference in New Issue
Block a user