From 4ddba57cd19abea72c110e62f144b20bf076d07f Mon Sep 17 00:00:00 2001 From: "C++, JS, TS, Python Developer" <65385476+killer069@users.noreply.github.com> Date: Sun, 22 Aug 2021 18:39:16 +0530 Subject: [PATCH] Update README.md --- play-dl/YouTube/README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/play-dl/YouTube/README.md b/play-dl/YouTube/README.md index b93f0ac..95a67a9 100644 --- a/play-dl/YouTube/README.md +++ b/play-dl/YouTube/README.md @@ -70,14 +70,12 @@ console.log(playlist.videoCount) // This displays total no. of videos in a playl ``` ## Search Command Usage :- -### 1. search(url : `string`, options? : [SearchOptions](https://github.com/node-youtube-dl/node-youtube-dl/tree/Killer/node-youtube-dl/YouTube#searchoptions)) +### 1. search(url : `string`, options? : [SearchOptions](https://github.com/play-dl/play-dl/tree/main/play-dl/YouTube#searchoptions)) *This enables all searching mechanism (video, channel, playlist)* ```js let result = await search('Rick Roll') console.log(result[0].url) ``` ### SearchOptions -``` -type?: "video" | "playlist" | "channel" | "all"; -limit?: number; -``` +- Type : `video` | `channel` | `playlist` +- Limit : `number`