mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
Some docs changes
This commit is contained in:
@@ -30,6 +30,19 @@ interface tokenOptions {
|
||||
* iv> Useragents :- array of string.
|
||||
*
|
||||
* locally in memory.
|
||||
*
|
||||
* Example :
|
||||
* ```ts
|
||||
* play.setToken({
|
||||
* youtube : {
|
||||
* cookie : "Your Cookies"
|
||||
* }
|
||||
* }) // YouTube Cookies
|
||||
*
|
||||
* play.setToken({
|
||||
* useragent: ['Your User-agent']
|
||||
* }) // Use this to avoid 429 errors.
|
||||
* ```
|
||||
* @param options {@link tokenOptions}
|
||||
*/
|
||||
export function setToken(options: tokenOptions) {
|
||||
|
||||
Reference in New Issue
Block a user