invidious
invidious copied to clipboard
[Bug] Channels API returns 0 in `joined` and `totalViews` keys.
Describe the bug
When doing a request for any channel to the channels API (/api/v1/channels/<channelID>
) the values of the keys joined
and totalViews
return 0
when they should return the date of the creation date of the channel and the total view count of the channel.
Steps to Reproduce
- Do a request for any channel on any instance, for example, the MrBeast channel: https://inv.nadeko.net/api/v1/channels/UCX6OQ3DkcsbYNE6H8uQQuVA | https://invidious.nerdvpn.de/api/v1/channels/UCX6OQ3DkcsbYNE6H8uQQuVA | https://invidious.fdn.fr/api/v1/channels/UCX6OQ3DkcsbYNE6H8uQQuVA
- Search for the
joined
key
Screenshots
Additional context This affects FreeTube details section in the about tab of the requested channel. It is supposed to return the Views and Joined details (as can be seen here: https://github.com/iv-org/invidious/pull/4294#issue-2011247300 . I could be wrong)
i believe this is due to the removal of the about tab, now you have to do a browse request to innertube with a continuation token but im not sure where this token comes from.