mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 11:32:27 +00:00
This is due to a minor page redesign by YouTube Music. See https://9to5google.com/2024/06/20/youtube-music-web-album-playlist-redesign/.
17 lines
480 B
TypeScript
17 lines
480 B
TypeScript
import { Parser, type RawNode } from '../index.js';
|
|
import { YTNode } from '../helpers.js';
|
|
|
|
export default class MusicEditablePlaylistDetailHeader extends YTNode {
|
|
static type = 'MusicEditablePlaylistDetailHeader';
|
|
|
|
header: YTNode;
|
|
edit_header: YTNode;
|
|
playlist_id: string;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.header = Parser.parseItem(data.header);
|
|
this.edit_header = Parser.parseItem(data.editHeader);
|
|
this.playlist_id = data.playlistId;
|
|
}
|
|
} |