Update README.md

This commit is contained in:
Killer069 2021-08-28 12:43:12 +05:30 committed by GitHub
parent 891951dad0
commit 078d63c0d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,12 +80,16 @@ const video = await video_info(url)
# Playlist
### playlist_info(url : `string`)
### playlist_info(url : `string`, parseIncomplete : `boolean`)
*This fetches all details about a playlist.*
**parseIncomplete** is optional parameter if you want to parse playlist with hidden videos in them.
```js
const playlist = await playlist_info(url)
//This only fetches first 100 videos from a playlist
const playlist = await playlist_info(url, true)
//This only fetches first 100 videos from a playlist and also parses playlist with hidden videos
```
- #### fetch() `method`