Files
YouTube.js/lib/parser/classes/menus/MenuServiceItemDownload.js
LuanRT 68cb841c00 refactor!: finish parser migration
Finally! :)

This removes all code related to the old parser.

#65
2022-07-11 06:19:10 -03:00

14 lines
353 B
JavaScript

'use strict';
const NavigationEndpoint = require('../NavigationEndpoint');
class MenuServiceItemDownload {
type = 'MenuServiceItemDownload';
constructor(data) {
this.has_separator = data.hasSeparator;
this.endpoint = new NavigationEndpoint(data.navigationEndpoint || data.serviceEndpoint);
}
}
module.exports = MenuServiceItemDownload;