mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 20:12:12 +00:00
Things were getting a bit complicated and slow with the old parser so I decided to continue #44's work on the main codebase.
19 lines
301 B
JavaScript
19 lines
301 B
JavaScript
'use strict';
|
|
|
|
const Parser = require('..');
|
|
|
|
class SingleColumnBrowseResults {
|
|
type = 'singleColumnBrowseResultsRenderer';
|
|
|
|
#data;
|
|
|
|
constructor(data) {
|
|
this.#data = data;
|
|
}
|
|
|
|
get tabs() {
|
|
return Parser.parse(this.#data.tabs);
|
|
}
|
|
}
|
|
|
|
module.exports = SingleColumnBrowseResults;
|