mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-06 04:32:40 +00:00
Update play - cookies.js
This commit is contained in:
@@ -23,7 +23,9 @@ client.on('messageCreate', async message => {
|
|||||||
/*
|
/*
|
||||||
OR if you want to get info about youtube link and then stream it
|
OR if you want to get info about youtube link and then stream it
|
||||||
|
|
||||||
let yt_info = await play.video_info(args, COOKIE)
|
let yt_info = await play.video_info(args, {
|
||||||
|
cookie : COOKIE
|
||||||
|
})
|
||||||
console.log(yt_info.video_details.title)
|
console.log(yt_info.video_details.title)
|
||||||
let stream = await play.stream_from_info(yt_info)
|
let stream = await play.stream_from_info(yt_info)
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user