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

Add links for genres #119

Closed
dimqua opened this issue Aug 17, 2018 · 7 comments
Closed

Add links for genres #119

dimqua opened this issue Aug 17, 2018 · 7 comments

Comments

@dimqua
Copy link
Contributor

dimqua commented Aug 17, 2018

There are links to channels for each of YouTube "genres" or categories in the descriptions of each video, but they don't work with Invidious, for example:

https://www.youtube.com/channel/UCYfdidRxbB8Qhf0Nx7ioOYw

https://www.invidio.us/channel/UCYfdidRxbB8Qhf0Nx7ioOYw

@omarroth
Copy link
Contributor

I didn't realize those linked to YouTube channels, thank you! Should be a pretty quick fix.

@omarroth
Copy link
Contributor

omarroth commented Aug 17, 2018

Looks like the pages they link to will be empty until #116 is merged. Genre pages don't have any videos of their own, and instead have playlists "Top Stories", "Live Now", etc.

I'm also curious if there is a list of these YouTube channels anywhere? The best I can find is https://gdata.youtube.com/schemas/2007/categories.cat?hl=en which provides a list but doesn't provide a channel link.

@dimqua
Copy link
Contributor Author

dimqua commented Aug 17, 2018

@omarroth
Copy link
Contributor

omarroth commented Sep 4, 2018

Added with 53732cd, although it may take a bit for videos to update to include the new URL.

@omarroth omarroth closed this as completed Sep 4, 2018
@dimqua
Copy link
Contributor Author

dimqua commented Sep 4, 2018

But I don't see any videos, for example https://www.invidio.us/channel/UCiDF_uaU1V00dAc8ddKvNxA

@omarroth
Copy link
Contributor

omarroth commented Sep 4, 2018

Right. Genre channels are an edge case, as they link to videos but don't have any themselves.

@omarroth
Copy link
Contributor

omarroth commented Sep 5, 2018

Added some extra handling for genre channels with 5632e58. For some reason YouTube will happily provide URLs to non-existent channels. For example, http://invidio.us/watch?v=lRfdMiURV4s provides an invalid URL for Education - Topic. RSS feeds for genre channels also don't work (on YouTube at least, Invidious seems to be able to handle them). The only other problem I found was with the News - Topic channel, because it only links to livestreams, so the /videos tab is empty.

That's about all I have to mention, you can subscribe properly, view RSS feed, everything you would be able to on a normal channel. Feel free to open a new issue for genre channels if some of them don't work.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants