Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Channel)!: Remove getChannels() and has_channels, as YouTube removed the tab #542

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

absidue
Copy link
Collaborator

@absidue absidue commented Nov 24, 2023

YouTube removed the "Channels" tab on channels, so this pull request removes the getChannels() method and has_channels
getter from the YT.Channel class, as they are no longer useful. The featured channels are now shown on the channel home tab. To get them you can use the channels getter on the home tab of the channel. Please note that some channel owners might not have added that section to their home page yet, so you won't be able to get the featured channels for those channels. The home tab is the default tab that is returned when you call InnerTube#getChannel(), you can also access that tab by calling getHome() on a YT.Channel object.

…removed the tab

BREAKING CHANGE: YouTube removed the "Channels" tab on channels, so this
pull request removes the `getChannels()` method and `has_channels`
getter from the `YT.Channel` class, as they are no longer useful. The
featured channels are now shown on the channel home tab. To get them
you can use the `channels` getter on the home tab of the channel.
Please note that some channel owners might not have added that section
to their home page yet, so you won't be able to get the featured
channels for those channels. The home tab is the default tab that is
returned when you call `InnerTube#getChannel()`, you can also access
that tab by calling `getHome()` on a `YT.Channel` object.
@LuanRT LuanRT merged commit 6a5a579 into LuanRT:main Dec 1, 2023
3 of 4 checks passed
@absidue absidue deleted the remove-channel-channels branch December 1, 2023 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants