log yt-dl info
This commit is contained in:
parent
3b0786b81a
commit
54a1ef4a7b
|
@ -75,6 +75,7 @@ module.exports = (lib) => {
|
|||
if(url.match(yt)) { // ytdl
|
||||
ytdl.getInfo(url, (err, inf) => {
|
||||
if(!err) {
|
||||
lib.log(JSON.stringify(inf));
|
||||
var title = inf.title;
|
||||
var iurl = inf.iurl;
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue
Block a user