diff --git a/src/parser/classes/Video.ts b/src/parser/classes/Video.ts index 7d986f94..70edaefc 100644 --- a/src/parser/classes/Video.ts +++ b/src/parser/classes/Video.ts @@ -53,7 +53,7 @@ export default class Video extends YTNode { this.description_snippet = new Text(data.descriptionSnippet); } - if (Reflect.has(data, 'detaildMetadataSnippets')) { + if (Reflect.has(data, 'detailedMetadataSnippets')) { this.snippets = data.detailedMetadataSnippets.map((snippet: RawNode) => ({ text: new Text(snippet.snippetText), hover_text: new Text(snippet.snippetHoverText) @@ -127,4 +127,4 @@ export default class Video extends YTNode { get best_thumbnail(): Thumbnail | undefined { return this.thumbnails[0]; } -} \ No newline at end of file +}