Skip to content
New issue

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

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

Already on GitHub? # to your account

[YouTube] Support shows and page header on user channels #1170

Conversation

Stypox
Copy link
Member

@Stypox Stypox commented Apr 20, 2024

Full credits to @AudricV

Fixes TeamNewPipe/NewPipe#5793, fixes TeamNewPipe/NewPipe#10826.

AudricV added 9 commits April 20, 2024 12:51
The runs object was computed twice in getTextFromObject and getUrlFromObject
methods, leading to unneeded search costs. This has been avoided by storing the
array in method variables.
…lHelper

This code will be used by YoutubeChannelTabExtractor to return whether
the channel is verified in the corresponding property of all InfoItems from
this channel.

Also throw an exception when we cannot get the verified status of a channel in
YoutubeChannelExtractor due to a missing channelHeader, if the channel has no
channelAgeGateRenderer.
As there are multiple show UI elements which share a lot of common data, a base
implementation, an abstract class named YoutubeBaseShowInfoItemExtractor, has
been created to handle common cases.
Also fix naming of info items' collection methods.
…hannels

Also move duplicate strings into constants and support pageHeader channel
header in user channels on YoutubeChannelHelper methods.
Also move duplicate strings into constants and add a missing default switch
case.
…s' content

Gaming topic channels do not upload any content, all the content is coming from
other channels.

Also, uploader name, URL and verified status come are now got as much as
possible from items instead of the channel info.
@AudricV
Copy link
Member

AudricV commented Jul 24, 2024

Closing in favor of #1203.

@AudricV AudricV closed this Jul 24, 2024
@AudricV AudricV added bug Issue is related to a bug enhancement New feature or request labels Jul 24, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Issue is related to a bug enhancement New feature or request youtube service, https://www.youtube.com/
Projects
None yet
3 participants