mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
Due to recent changes by YouTube, these actions can no longer be executed using web based OAuth tokens nor cookies.
20 lines
675 B
TypeScript
20 lines
675 B
TypeScript
import { Parser } from '../index.js';
|
|
import AccountChannel from './AccountChannel.js';
|
|
import AccountItemSection from './AccountItemSection.js';
|
|
|
|
import type { RawNode } from '../index.js';
|
|
import type { ObservedArray } from '../helpers.js';
|
|
import { YTNode } from '../helpers.js';
|
|
|
|
export default class AccountSectionList extends YTNode {
|
|
static type = 'AccountSectionList';
|
|
|
|
public contents: ObservedArray<AccountItemSection>;
|
|
public footers: ObservedArray<AccountChannel>;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.contents = Parser.parseArray(data.contents, AccountItemSection);
|
|
this.footers = Parser.parseArray(data.footers, AccountChannel);
|
|
}
|
|
} |