Skip to content

Commit

Permalink
fix(CompactMovie): Add missing import and remove unnecessary console.…
Browse files Browse the repository at this point in the history
…log (#496)
  • Loading branch information
absidue authored Aug 31, 2023
1 parent 8bc2aaa commit c26972c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/classes/CompactMovie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down

0 comments on commit c26972c

Please sign in to comment.