From 52207df393d3aa781a4623d8a2e911d7ab9aa611 Mon Sep 17 00:00:00 2001 From: LuanRT Date: Thu, 11 Aug 2022 20:41:54 -0300 Subject: [PATCH] chore: lint --- src/parser/youtube/VideoInfo.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parser/youtube/VideoInfo.ts b/src/parser/youtube/VideoInfo.ts index 6f6de94b..df195341 100644 --- a/src/parser/youtube/VideoInfo.ts +++ b/src/parser/youtube/VideoInfo.ts @@ -453,7 +453,7 @@ class VideoInfo { if (!format.index_range || !format.init_range) throw new InnertubeError('Index and init ranges not available', { format }); - const url = new URL(format.decipher(this.#player)); + const url = new URL(format.decipher()); url.searchParams.set('cpn', this.#cpn); set.appendChild(this.#el(document, 'Representation', { @@ -498,7 +498,7 @@ class VideoInfo { }; const format = this.chooseFormat(opts); - const format_url = format.decipher(this.#player); + const format_url = format.decipher(); // If we're not downloading the video in chunks, we just use fetch once. if (opts.type === 'video+audio' && !options.range) {