Update README.md

This commit is contained in:
Killer069
2021-08-31 09:51:06 +05:30
committed by GitHub
parent 201865af09
commit 23a2cff0ec

View File

@@ -51,7 +51,7 @@ if(validate(url)) // Will return true if url is a YouTube url
```
### stream_from_info(info : `infoData`)
*This is basic to create a youtube stream from a info [ from video_info function ].*
*This is basic to create a youtube stream from a info [ from [video_info](https://github.com/play-dl/play-dl#video_infourl--string) function ].*
```js
let info = await video_info("url")
let source = await stream_from_info(info) // This will create a stream Class which contains type and stream to be played.