From f30399c0d8cd8be1a0db617a8fe26abdf3895d7c Mon Sep 17 00:00:00 2001 From: Killer069 <65385476+killer069@users.noreply.github.com> Date: Mon, 30 Aug 2021 18:47:44 +0530 Subject: [PATCH] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) 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))