constants: {
errors: {
type: ((key, expected, received) => string);
};
requestOptions: {
maxRedirections: number;
userAgent: string;
};
urls: {
base: string;
channel: {
base: ((id) => string);
};
playlist: {
base: ((id) => string);
baseUrlRegex: RegExp;
continuation: ((key) => string);
getIdRegex: RegExp;
};
search: {
base: ((terms) => string);
filters: {
channel: string;
film: string;
playlist: string;
programme: string;
video: string;
};
};
video: {
base: ((id) => string);
};
};
} = ...
Type declaration
errors: {
type: ((key, expected, received) => string);
}
type: ((key, expected, received) => string)
- (key, expected, received): string
Parameters
- key: string
- expected: string
- received: string
Returns string
requestOptions: {
maxRedirections: number;
userAgent: string;
}
maxRedirections: number
userAgent: string
urls: {
base: string;
channel: {
base: ((id) => string);
};
playlist: {
base: ((id) => string);
baseUrlRegex: RegExp;
continuation: ((key) => string);
getIdRegex: RegExp;
};
search: {
base: ((terms) => string);
filters: {
channel: string;
film: string;
playlist: string;
programme: string;
video: string;
};
};
video: {
base: ((id) => string);
};
}
base: string
channel: {
base: ((id) => string);
}
base: ((id) => string)
- (id): string
Returns string
playlist: {
base: ((id) => string);
baseUrlRegex: RegExp;
continuation: ((key) => string);
getIdRegex: RegExp;
}
base: ((id) => string)
- (id): string
Returns string
baseUrlRegex: RegExp
continuation: ((key) => string)
- (key): string
Returns string
getIdRegex: RegExp
search: {
base: ((terms) => string);
filters: {
channel: string;
film: string;
playlist: string;
programme: string;
video: string;
};
}
base: ((terms) => string)
- (terms): string
Returns string
filters: {
channel: string;
film: string;
playlist: string;
programme: string;
video: string;
}
channel: string
film: string
playlist: string
programme: string
video: string
video: {
base: ((id) => string);
}
base: ((id) => string)
- (id): string
Returns string