mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-27 00:29:16 +00:00
fix: oops, wrong param
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user