Update README.md

This commit is contained in:
Killer069 2021-09-06 14:05:33 +05:30 committed by GitHub
parent ca87a9877e
commit efa03480c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ let id = extractID(url)
## Stream ## Stream
### stream(url : `string`, options : `StreamOptions`) ### stream(url : `string`, options : [StreamOptions](https://github.com/play-dl/play-dl/tree/main/docs/YouTube#streamoptions))
*This is basic to create a youtube stream from a url or videoID.* *This is basic to create a youtube stream from a url or videoID.*
@ -56,7 +56,7 @@ let id = extractID(url)
}) // This creates resource for playing }) // This creates resource for playing
``` ```
### stream_from_info(info : `infoData`, options : `StreamOptions`) ### stream_from_info(info : `infoData`, options : [StreamOptions](https://github.com/play-dl/play-dl/tree/main/docs/YouTube#streamoptions))
*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 ].* *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 ```js
let info = await video_info("url") let info = await video_info("url")