mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-30 12:22:48 +00:00
1.2.6
Added option to pass html body data directly to video_basic_info | video_info | stream functions. Fixed Playlist ID regexp to allow multiple playlist ID support. Added Dezer advanced search Improved Deezer Share Link handling. Added cookiesHeaders options to update cookies when using external https request module. Added Artists badge in YouTubeChannel Class.
This commit is contained in:
@@ -178,3 +178,13 @@ let resource = createAudioResource(source.stream, {
|
||||
inputType : source.type
|
||||
}) // This creates resource for playing
|
||||
```
|
||||
|
||||
#### cookieHeaders(headersCookie : `string[]`)
|
||||
|
||||
_This is function to update youtube cookies when using external https module._
|
||||
|
||||
```js
|
||||
const res = ... // You need to get response.
|
||||
|
||||
play.cookieHeaders(res.headers['set-cookie']) // Updates YouTube Cookies if cookies exists.
|
||||
```
|
||||
Reference in New Issue
Block a user