From 199e8766398c9829f6555213a908d95ef4937dfb Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Thu, 31 Aug 2023 22:46:15 +0200 Subject: [PATCH] fix(CompactMovie): Add missing import and remove unnecessary console.log --- src/parser/classes/CompactMovie.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/classes/CompactMovie.ts b/src/parser/classes/CompactMovie.ts index 7b2d18d7e..542bf5574 100644 --- a/src/parser/classes/CompactMovie.ts +++ b/src/parser/classes/CompactMovie.ts @@ -3,6 +3,7 @@ import type { RawNode } from '../index.js'; import Parser from '../index.js'; import Author from './misc/Author.js'; import NavigationEndpoint from './NavigationEndpoint.js'; +import Text from './misc/Text.js'; import Thumbnail from './misc/Thumbnail.js'; import Menu from './menus/Menu.js'; import { timeToSeconds } from '../../utils/Utils.js'; @@ -29,7 +30,6 @@ export default class CompactMovie extends YTNode { constructor(data: RawNode) { super(); - console.log(data); const overlay_time_status = data.thumbnailOverlays .find((overlay: RawNode) => overlay.thumbnailOverlayTimeStatusRenderer) ?.thumbnailOverlayTimeStatusRenderer.text || 'N/A';