mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-25 07:42:11 +00:00
feat(VideoInfo): add game_info and category (#333)
This commit is contained in:
15
src/parser/classes/RichMetadataRow.ts
Normal file
15
src/parser/classes/RichMetadataRow.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import Parser from '../index.js';
|
||||
import { YTNode } from '../helpers.js';
|
||||
|
||||
class RichMetadataRow extends YTNode {
|
||||
static type = 'RichMetadataRow';
|
||||
|
||||
contents;
|
||||
|
||||
constructor(data: any) {
|
||||
super();
|
||||
this.contents = Parser.parseArray(data.contents);
|
||||
}
|
||||
}
|
||||
|
||||
export default RichMetadataRow;
|
||||
Reference in New Issue
Block a user