Files
play-dl-test/node-youtube-dl/index.ts

12 lines
387 B
TypeScript
Raw Normal View History

2021-08-13 14:58:57 +05:30
//This File is in testing stage, everything will change in this
import { playlist_info, video_basic_info, video_info, search } from "./YouTube";
2021-08-07 15:53:18 +05:30
let main = async() => {
let time_start = Date.now()
2021-08-13 14:58:57 +05:30
let result = await search('Rick Roll')
console.log(result[0].url)
let time_end = Date.now()
console.log(`Time Taken : ${(time_end - time_start)/1000} seconds`)
}
main()