mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
committed by
GitHub
parent
408a745cc5
commit
398b89a707
12
node-youtube-dl/index.ts
Normal file
12
node-youtube-dl/index.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
//This File is in testing stage, everything will change in this
|
||||
import { playlist_info, video_basic_info, video_info, search } from "./YouTube";
|
||||
|
||||
let main = async() => {
|
||||
let time_start = Date.now()
|
||||
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()
|
||||
Reference in New Issue
Block a user