Stream first then spotify
This commit is contained in:
parent
c6cdf5ee6c
commit
1c8c3cebd5
@ -1 +1,4 @@
|
||||
//Spotify Work
|
||||
//Spotify Work
|
||||
import stream from 'stream'
|
||||
|
||||
console.log(new stream.PassThrough())
|
||||
@ -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()
|
||||
// main()
|
||||
|
||||
export var youtube = { playlist_info, video_basic_info, video_info, search }
|
||||
Loading…
x
Reference in New Issue
Block a user