fix(Innertube)!: Remove getTrending as YouTube removed the trending feed (#1114)

This commit is contained in:
absidue
2026-01-30 19:27:31 +01:00
committed by GitHub
parent b78c1aaede
commit 7c144ee013
2 changed files with 0 additions and 14 deletions

View File

@@ -364,12 +364,6 @@ export default class Innertube {
return new History(this.actions, response);
}
async getTrending(): Promise<TabbedFeed<IBrowseResponse>> {
const browse_endpoint = new NavigationEndpoint({ browseEndpoint: { browseId: 'FEtrending' } });
const response = await browse_endpoint.call(this.#session.actions);
return new TabbedFeed(this.actions, response);
}
async getCourses(): Promise<Feed<IBrowseResponse>> {
const browse_endpoint = new NavigationEndpoint({ browseEndpoint: { browseId: 'FEcourses_destination' } });
const response = await browse_endpoint.call(this.#session.actions, { parse: true });