You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.
This way, we don't need to use RSS to fetch feeds (and hence avoiding the 6-7 second load time when loading feeds).
The only drawback is that private instances can't use this due to them being unable to receive webhooks.
I believe this will also reduce our chance of getting rate limited significantly (due to the much fewer requests needer).
https://developers.google.com/youtube/v3/guides/push_notifications
Example Implementation in Invidious:
Subscription: https://github.com/iv-org/invidious/blob/074497b0f66b055b663015e3ed4d674d24b5b9cd/src/invidious/helpers/utils.cr#L338-L364
Webhook: https://github.com/iv-org/invidious/blob/aa2ae37365a4d752b0e8de5aa243a58568e5ed71/src/invidious.cr#L3224-L3335
The text was updated successfully, but these errors were encountered: