mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
- Finished Library parser - Fixed search continuations - Improved channel parser - Improved playlist parser - Added support for posts of type poll - Improved History parser - Removed redundant code
14 lines
309 B
JavaScript
14 lines
309 B
JavaScript
'use strict';
|
|
|
|
const Parser = require('..');
|
|
|
|
class PlaylistSidebarSecondaryInfo {
|
|
type = 'PlaylistSidebarSecondaryInfo';
|
|
|
|
constructor(data) {
|
|
this.owner = Parser.parse(data.videoOwner) || null;
|
|
this.button = Parser.parse(data.button) || null;
|
|
}
|
|
}
|
|
|
|
module.exports = PlaylistSidebarSecondaryInfo; |