Update README.md

This commit is contained in:
Killer069 2021-09-24 16:02:03 +05:30 committed by GitHub
parent 7f8d814728
commit 89e17987a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,9 +59,11 @@ authorization() //After then you will be asked about type of data you want to cr
_This is basic to search with any source._
**NOTE :-** If no options.source is not specified, then it will default to youtube video search.
**NOTE :-** If options.source is not specified, then it will default to youtube video search.
```js
let data = await search('Rick Roll', { limit : 1 }) // Searches for youtube video
let data = await search('Rick Roll', { limit : 1, source { youtube : "video" } }) // Searches for youtube video
let data = await search('Rick Roll', { limit: 1, source { soundcloud : "track" } }) // Searches for spotify track.