mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-22 14:08:06 +00:00
* tests: improve coverage * refactor: clean up nodes * chore: lint * feat(parser): ignore `BrandVideoShelf` Seems to be used for ads. * feat(parser): ignore `BrandVideoSingleton` too
16 lines
402 B
TypeScript
16 lines
402 B
TypeScript
import Text from './misc/Text.js';
|
|
import { YTNode } from '../helpers.js';
|
|
import type { RawNode } from '../index.js';
|
|
|
|
export default class MetadataRowHeader extends YTNode {
|
|
static type = 'MetadataRowHeader';
|
|
|
|
content: Text;
|
|
has_divider_line: boolean;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.content = new Text(data.content);
|
|
this.has_divider_line = data.hasDividerLine;
|
|
}
|
|
} |