diff --git a/src/parser/youtube/Channel.ts b/src/parser/youtube/Channel.ts index 832825f02..4300bd303 100644 --- a/src/parser/youtube/Channel.ts +++ b/src/parser/youtube/Channel.ts @@ -185,11 +185,6 @@ export default class Channel extends TabbedFeed { return new Channel(this.actions, tab.page, true); } - async getChannels(): Promise { - const tab = await this.getTabByURL('channels'); - return new Channel(this.actions, tab.page, true); - } - /** * Retrieves the about page. * Note that this does not return a new {@link Channel} object. @@ -245,10 +240,6 @@ export default class Channel extends TabbedFeed { return this.hasTabWithURL('community'); } - get has_channels(): boolean { - return this.hasTabWithURL('channels'); - } - get has_about(): boolean { return this.hasTabWithURL('about'); } diff --git a/test/main.test.ts b/test/main.test.ts index 3f78eb645..59e1dc59b 100644 --- a/test/main.test.ts +++ b/test/main.test.ts @@ -208,14 +208,6 @@ describe('YouTube.js Tests', () => { expect(community.posts.length).toBeGreaterThan(0); }); - test('Channel#getChannels', async () => { - const channels = await channel.getChannels(); - expect(channels).toBeDefined(); - expect(channels.current_tab).toBeDefined(); - expect(channels.current_tab?.content).toBeDefined(); - expect(channels.channels.length).toBeGreaterThan(0); - }); - test('Channel#getAbout', async () => { const about = await channel.getAbout(); expect(about).toBeDefined();