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

Comments

@dimqua
Copy link
Contributor

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

This comment has been minimized.

Copy link
Owner

commented Aug 17, 2018

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

@omarroth

This comment has been minimized.

Copy link
Owner

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

This comment has been minimized.

Copy link
Contributor Author

commented Aug 17, 2018

@omarroth

This comment has been minimized.

Copy link
Owner

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 Sep 4, 2018
@dimqua

This comment has been minimized.

Copy link
Contributor Author

commented Sep 4, 2018

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

@omarroth

This comment has been minimized.

Copy link
Owner

commented Sep 4, 2018

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

@omarroth

This comment has been minimized.

Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.