NikkelM / Random-YouTube-Video

A browser extension that allows you to truly randomly shuffle videos from any YouTube channel, offering many customization options.
https://chromewebstore.google.com/detail/random-youtube-video/kijgnjhogkjodpakfmhgleobifempckf
GNU Lesser General Public License v3.0
17 stars 3 forks source link

[Shuffle] Shuffle from all subscriptions #179

Open NikkelM opened 1 year ago

NikkelM commented 1 year ago

Idea by @TheAxlelotl This option would need access to a users subscriptions. The easiest way to get this would probably be the usage of Firebase auth with OAuth using the users Google account, and passing that information along to the YouTube API.

NikkelM commented 1 month ago

The channelId extracted from the event is defined as FEsubscriptions, the pageType is channel.

For the homepage, channelId is FEwhat_to_watch.

For the history page, channelId is FEhistory.

For watch later, channelId is VLWL.

For the playlists page, channelId is FEplaylist_aggregation.

For liked videos, channelId is VLLL.