diff --git a/README.md b/README.md index f22c46c..c22ac9f 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ const results = await youtube.search('post malone sunflower', options); ``` # Stream + ### stream(url : `string`, error_check? : `boolean`) *This is basic to create a youtube stream from a url.* ```js @@ -45,6 +46,7 @@ let source = await stream(, true) //This will check for 404 error if any ``` ![#f03c15](https://via.placeholder.com/15/f03c15/000000?text=+) `Note : enabling error_check will take more time to start streaming` + ### stream_from_info(info : `infoData`, error_check? : `boolean`) *This is basic to create a youtube stream from a info [ from video_info function ].* ```js @@ -58,6 +60,7 @@ let source = await stream_from_info(info, true) //This will check for 404 error ``` ![#f03c15](https://via.placeholder.com/15/f03c15/000000?text=+) `Note : enabling error_check will take more time to start streaming` + # Search ### search(url : `string`, options? : [SearchOptions](https://github.com/play-dl/play-dl/tree/main/play-dl/YouTube#searchoptions))