fix: oops, wrong param

This commit is contained in:
luan.lrt4@gmail.com
2022-03-22 05:50:07 -03:00
parent 574a595a01
commit 08741de831

View File

@@ -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) {