diff --git a/node-youtube-dl/Spotify/index.ts b/node-youtube-dl/Spotify/index.ts index 5ebd525..f6bb312 100644 --- a/node-youtube-dl/Spotify/index.ts +++ b/node-youtube-dl/Spotify/index.ts @@ -1 +1,4 @@ -//Spotify Work \ No newline at end of file +//Spotify Work +import stream from 'stream' + +console.log(new stream.PassThrough()) \ No newline at end of file diff --git a/node-youtube-dl/index.ts b/node-youtube-dl/index.ts index c2176cf..112c842 100644 --- a/node-youtube-dl/index.ts +++ b/node-youtube-dl/index.ts @@ -1,12 +1,14 @@ //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`) -} +// 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() \ No newline at end of file +// main() + +export var youtube = { playlist_info, video_basic_info, video_info, search } \ No newline at end of file