YouTube WIP (#5)

YouTube downloader and searcher added
This commit is contained in:
C++, JS, TS, Python Developer
2021-08-13 15:17:35 +05:30
committed by GitHub
parent 408a745cc5
commit 398b89a707
16 changed files with 1250 additions and 0 deletions

12
node-youtube-dl/index.ts Normal file
View 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()