mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
Update README.md
This commit is contained in:
@@ -80,12 +80,16 @@ const video = await video_info(url)
|
|||||||
|
|
||||||
# Playlist
|
# Playlist
|
||||||
|
|
||||||
### playlist_info(url : `string`)
|
### playlist_info(url : `string`, parseIncomplete : `boolean`)
|
||||||
*This fetches all details about a playlist.*
|
*This fetches all details about a playlist.*
|
||||||
|
|
||||||
|
**parseIncomplete** is optional parameter if you want to parse playlist with hidden videos in them.
|
||||||
```js
|
```js
|
||||||
const playlist = await playlist_info(url)
|
const playlist = await playlist_info(url)
|
||||||
//This only fetches first 100 videos from a playlist
|
//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`
|
- #### fetch() `method`
|
||||||
|
|||||||
Reference in New Issue
Block a user