YouTube - docs
This commit is contained in:
parent
e653cbf645
commit
8d30d5dc80
@ -57,7 +57,7 @@ let id = extractID(url)
|
|||||||
|
|
||||||
**[Cookies](https://github.com/play-dl/play-dl/discussions/34) are optional and are required for playing age restricted videos.**
|
**[Cookies](https://github.com/play-dl/play-dl/discussions/34) are optional and are required for playing age restricted videos.**
|
||||||
|
|
||||||
**Note :*** cookies are required for retrying purposes.
|
**Note :** cookies are required for retrying purposes.
|
||||||
```js
|
```js
|
||||||
let info = await video_info("url")
|
let info = await video_info("url")
|
||||||
let source = await stream_from_info(info) // This will create a stream Class which contains type and stream to be played.
|
let source = await stream_from_info(info) // This will create a stream Class which contains type and stream to be played.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user