mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
YouTube examples
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import { playlist_info } from "./YouTube";
|
||||
//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 playlist = await playlist_info('https://www.youtube.com/watch?v=bM7SZ5SBzyY&list=PLzkuLC6Yvumv_Rd5apfPRWEcjf9b1JRnq')
|
||||
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`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user