Minor performance improvement

This commit is contained in:
absidue
2022-04-24 12:48:27 +02:00
parent ff0129d9db
commit 5f993c4c0b
2 changed files with 3 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ export class YouTubePlayList {
async next(limit = Infinity): Promise<YouTubeVideo[]> {
if (!this._continuation || !this._continuation.token) return [];
const nextPage = await request(`${BASE_API}${this._continuation.api}`, {
const nextPage = await request(`${BASE_API}${this._continuation.api}&prettyPrint=false`, {
method: 'POST',
body: JSON.stringify({
continuation: this._continuation.token,