mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 03:22:15 +00:00
15 lines
297 B
JavaScript
15 lines
297 B
JavaScript
'use strict';
|
|
|
|
const Parser = require('..');
|
|
|
|
class SectionList {
|
|
type = 'sectionListRenderer';
|
|
|
|
constructor(data) {
|
|
this.target_id = data.targetId || null;
|
|
this.contents = Parser.parse(data.contents);
|
|
this.header = Parser.parse(data.header);
|
|
}
|
|
}
|
|
|
|
module.exports = SectionList; |