From 08741de831d849315dc8efdec65df4751a7d8938 Mon Sep 17 00:00:00 2001 From: "luan.lrt4@gmail.com" Date: Tue, 22 Mar 2022 05:50:07 -0300 Subject: [PATCH] fix: oops, wrong param --- lib/Innertube.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Innertube.js b/lib/Innertube.js index 4c4082d9..037b5c9d 100644 --- a/lib/Innertube.js +++ b/lib/Innertube.js @@ -373,7 +373,7 @@ class Innertube { async getDetails(video_id) { if (!video_id) throw new Error('You must provide a video id'); - const data = await Actions.getVideoInfo(this, { id: video_id, is_desktop: false }); + const data = await Actions.getVideoInfo(this, { id: video_id, desktop: false }); const refined_data = new Parser(this, data, { client: 'YOUTUBE', data_type: 'VIDEO_INFO', desktop_v: false }).parse(); if (refined_data.metadata.is_live_content) {