Skip to content

[Youtube] Extract featured channels from channel home (featured) page#1468

Open
ChanGu3 wants to merge 11 commits intoTeamNewPipe:devfrom
WSU-CptS-481-Spring-2026:feat/yt/featured-channels
Open

[Youtube] Extract featured channels from channel home (featured) page#1468
ChanGu3 wants to merge 11 commits intoTeamNewPipe:devfrom
WSU-CptS-481-Spring-2026:feat/yt/featured-channels

Conversation

@ChanGu3
Copy link

@ChanGu3 ChanGu3 commented Mar 18, 2026

  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
  • I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.

I noticed no new features on the contribution guidelines however the issue I looked at was marked as an enhancement. I'm assuming this does not count towards that and understand this may be not accepted on those terms.

Closes: #1454


This Enhancement Uses the existing ChannelInfoItem class to extract featured channels from the featured tab page on Youtube. Modified ChannelTabs and YoutubeChannelTabExtractor and the other necessary files to allow the featured tab to be extracted specifically a new item know as RendererListInfoItem or for the actual inherited file YoutubeShelfRendererListInfoItem. The featured tab (also known as home tab) on Youtube contains a list of sections which hold a list of different item types, can be arranged in multiple ways, and there can be multiple sections with the same item list so there needed to be a way to store its type and how to retrieve that list this is what is described as the RendererListInfoItem (The only supported section is the featured channels but shouldn't be to complex for additions to the other items types). The idea for the RendererListInfoItem is it stores the index of the section as a ContentFilter in the ListLinkHandler which is used during the extraction process of a particular section which I believe most don't have a unique url so for youtube's case it uses the featured (home) channel url. Using the RenderListInfoItem a new abstract ChannelListExtractor and ChannelListInfo was created to utilize the existing ChannelInfoItem for extraction specifically on Youtube the YoutubeFeaturedChannelListExtractor. I decided to use the continuation right away with the YoutubeFeaturedChannelListExtractor because it starts at the beginning of the list.

The High Level Idea without the ListInfo part to extract the featured channels from youtube,

  1. Create and Use the YoutubeChannelTabExtractor to get the list of YoutubeShelfRendererListInfoItem
  2. Identify the type on the YoutubeShelfRendererListInfoItem create the YoutubeFeaturedChannelListExtractor by using the ListLinkHandler from the same YoutubeShelfRendererListInfoItem
  3. Utilize extractor functionality to retrieve featured channels.

New-Pipe PR Required (tested on refactor branch)

  • Adding the RENDERER_LIST item to the InfoItem requires adding a case on the switch in InfoItemBuilder.holderFromInfoType() on NewPipe

@ChanGu3 ChanGu3 changed the title Feat/yt/featured channels [Youtube] Extract Featured Channels From Home (Featured) Page Mar 18, 2026
@ChanGu3 ChanGu3 changed the title [Youtube] Extract Featured Channels From Home (Featured) Page [Youtube] Extract featured channels from channel home (featured) page Mar 18, 2026
@TobiGr TobiGr added youtube service, https://www.youtube.com/ enhancement New feature or request labels Mar 18, 2026
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request youtube service, https://www.youtube.com/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fetch linked channels

2 participants