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

Channel: Fetch header informations from homepage #4241

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

syeopite
Copy link
Member

@syeopite syeopite commented Nov 8, 2023

Closes #4238

YouTube is removing the about tab from channels so Invidious can no longer utilize it to obtain basic channel information (title, banner, etc). This PR just switches the code to use the default homepage instead.

In the future we should try and look into a way to prevent making two requests to YouTube on the various pagination of the channel tabs. The simplest answer would probably be to just cache the results. But we should be able to optimize it to a single request on the initial page as the initial request also contains basic channel information we need.

@syeopite syeopite requested a review from a team as a code owner November 8, 2023 08:06
@syeopite syeopite requested review from unixfox and removed request for a team November 8, 2023 08:06
@syeopite syeopite changed the title Use channel home page to fetch channel header informatio Use channel home page to fetch channel header information Nov 8, 2023
@SamantazFox SamantazFox changed the title Use channel home page to fetch channel header information Channel: Fetch channel header informations from homepage Nov 8, 2023
@SamantazFox SamantazFox changed the title Channel: Fetch channel header informations from homepage Channel: Fetch header informations from homepage Nov 8, 2023
@SamantazFox SamantazFox merged commit c5b87e3 into iv-org:master Nov 8, 2023
6 of 7 checks passed
@syeopite syeopite deleted the fix-channel-info-fetch branch November 8, 2023 22:53
ashley0143 added a commit to ashley0143/poke that referenced this pull request Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Random API-side 500s on /channel/ - Could not get channel info.
2 participants